Home | History | Annotate | Download | only in linux

Lines Matching full:protocol

139 	struct list_head protocol_list;	/* node in protocol's list of cards */
142 struct pnp_protocol * protocol;
184 struct list_head protocol_list; /* node in list of device's protocol */
188 struct pnp_protocol * protocol;
248 #define pnp_can_read(dev) (((dev)->protocol) && ((dev)->protocol->get) && \
250 #define pnp_can_write(dev) (((dev)->protocol) && ((dev)->protocol->set) && \
252 #define pnp_can_disable(dev) (((dev)->protocol) && ((dev)->protocol->disable) && \
259 #define pnp_device_is_isapnp(dev) ((dev)->protocol == (&isapnp_protocol))
266 #define pnp_device_is_pnpbios(dev) ((dev)->protocol == (&pnpbios_protocol))
325 * Protocol Management
338 unsigned char number; /* protocol number*/
345 #define protocol_for_each_card(protocol,card) \
346 for((card) = protocol_to_pnp_card((protocol)->cards.next); \
347 (card) != protocol_to_pnp_card(&(protocol)->cards); \
349 #define protocol_for_each_dev(protocol,dev) \
350 for((dev) = protocol_to_pnp_dev((protocol)->devices.next); \
351 (dev) != protocol_to_pnp_dev(&(protocol)->devices); \
358 int pnp_register_protocol(struct pnp_protocol *protocol);
359 void pnp_unregister_protocol(struct pnp_protocol *protocol);
395 /* protocol helpers */
405 static inline int pnp_register_protocol(struct pnp_protocol *protocol) { return -ENODEV; }
406 static inline void pnp_unregister_protocol(struct pnp_protocol *protocol) { }
442 /* protocol helpers */