Searched refs:sw (Results 1 – 9 of 9) sorted by relevance
/include/linux/usb/ |
D | role.h | 47 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role); 48 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw); 51 void usb_role_switch_put(struct usb_role_switch *sw); 56 void usb_role_switch_unregister(struct usb_role_switch *sw); 58 static inline int usb_role_switch_set_role(struct usb_role_switch *sw, in usb_role_switch_set_role() argument 64 static inline enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role() argument 80 static inline void usb_role_switch_put(struct usb_role_switch *sw) { } in usb_role_switch_put() argument 89 static inline void usb_role_switch_unregister(struct usb_role_switch *sw) { } in usb_role_switch_unregister() argument
|
D | typec_mux.h | 13 typedef int (*typec_switch_set_fn_t)(struct typec_switch *sw, 23 void typec_switch_put(struct typec_switch *sw); 27 void typec_switch_unregister(struct typec_switch *sw); 29 void typec_switch_set_drvdata(struct typec_switch *sw, void *data); 30 void *typec_switch_get_drvdata(struct typec_switch *sw);
|
D | typec.h | 198 struct typec_switch *sw; member
|
/include/linux/ |
D | rfkill.h | 208 void rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw); 273 static inline void rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw) in rfkill_set_states() argument
|
D | console.h | 108 int do_take_over_console(const struct consw *sw, int first, int last, int deflt); 109 void give_up_console(const struct consw *sw);
|
D | input.h | 177 unsigned long sw[BITS_TO_LONGS(SW_CNT)]; member
|
/include/linux/input/ |
D | sparse-keymap.h | 40 } sw; member
|
/include/scsi/ |
D | libsas.h | 216 static inline void INIT_SAS_WORK(struct sas_work *sw, void (*fn)(struct work_struct *)) in INIT_SAS_WORK() argument 218 INIT_WORK(&sw->work, fn); in INIT_SAS_WORK() 219 INIT_LIST_HEAD(&sw->drain_node); in INIT_SAS_WORK()
|
/include/net/ |
D | tls.h | 319 struct tls_sw_context_rx sw; member
|