Home
last modified time | relevance | path

Searched refs:sw (Results 1 – 9 of 9) sorted by relevance

/include/linux/usb/
Drole.h47 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
Dtypec_mux.h13 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);
Dtypec.h198 struct typec_switch *sw; member
/include/linux/
Drfkill.h208 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
Dconsole.h108 int do_take_over_console(const struct consw *sw, int first, int last, int deflt);
109 void give_up_console(const struct consw *sw);
Dinput.h177 unsigned long sw[BITS_TO_LONGS(SW_CNT)]; member
/include/linux/input/
Dsparse-keymap.h40 } sw; member
/include/scsi/
Dlibsas.h216 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/
Dtls.h319 struct tls_sw_context_rx sw; member