/drivers/usb/wusbcore/ |
D | rh.c | 99 static int wusbhc_rh_port_reset(struct wusbhc *wusbhc, u8 port_idx) in wusbhc_rh_port_reset() argument 102 struct wusb_port *port = wusb_port_by_idx(wusbhc, port_idx); in wusbhc_rh_port_reset() 247 u8 selector, u8 port_idx) in wusbhc_rh_set_port_feat() argument 251 if (port_idx > wusbhc->ports_max) in wusbhc_rh_set_port_feat() 266 wusb_port_by_idx(wusbhc, port_idx)->status |= USB_PORT_STAT_POWER; in wusbhc_rh_set_port_feat() 270 return wusbhc_rh_port_reset(wusbhc, port_idx); in wusbhc_rh_set_port_feat() 274 port_idx, feature, selector); in wusbhc_rh_set_port_feat() 278 port_idx, feature, selector); in wusbhc_rh_set_port_feat() 291 u8 selector, u8 port_idx) in wusbhc_rh_clear_port_feat() argument 296 if (port_idx > wusbhc->ports_max) in wusbhc_rh_clear_port_feat() [all …]
|
D | devconnect.c | 164 const char *pr_cdid, u8 port_idx) in wusbhc_cack_add() argument 183 wusb_dev->port_idx = port_idx; in wusbhc_cack_add() 199 dev_addr = (port_idx + 2) | WUSB_DEV_ADDR_UNAUTH; in wusbhc_cack_add() 202 "port %u\n", dev_addr, port_idx); in wusbhc_cack_add() 368 dev_dbg(wusbhc->dev, "disconnecting device from port %d\n", wusb_dev->port_idx); in __wusbhc_dev_disconnect() 580 wusb_dev->port_idx)); in wusbhc_handle_dn_disconnect() 653 void __wusbhc_dev_disable(struct wusbhc *wusbhc, u8 port_idx) in __wusbhc_dev_disable() argument 660 wusb_dev = wusb_port_by_idx(wusbhc, port_idx)->wusb_dev; in __wusbhc_dev_disable() 664 port_idx); in __wusbhc_dev_disable() 667 __wusbhc_dev_disconnect(wusbhc, wusb_port_by_idx(wusbhc, port_idx)); in __wusbhc_dev_disable() [all …]
|
D | security.c | 90 tkid = &wusb_port_by_idx(wusbhc, wusb_dev->port_idx)->ptk_tkid; in wusbhc_next_tkid() 497 result = wusbhc->set_ptk(wusbhc, wusb_dev->port_idx, tkid, in wusb_dev_4way_handshake() 546 int port_idx; in wusbhc_gtk_rekey_work() local 560 for (port_idx = 0; port_idx < wusbhc->ports_max; port_idx++) { in wusbhc_gtk_rekey_work() 561 wusb_dev = wusbhc->port[port_idx].wusb_dev; in wusbhc_gtk_rekey_work() 577 __func__, wusb_dev->port_idx); in wusbhc_gtk_rekey_work() 582 __func__, wusb_dev->port_idx); in wusbhc_gtk_rekey_work()
|
D | dev-sysfs.c | 38 u8 port_idx; in wusb_disconnect_store() local 50 port_idx = wusb_port_no_to_idx(usb_dev->portnum); in wusb_disconnect_store() 51 __wusbhc_dev_disable(wusbhc, port_idx); in wusb_disconnect_store()
|
D | wusbhc.h | 101 u8 port_idx; member 286 int (*set_ptk)(struct wusbhc *wusbhc, u8 port_idx, 455 u8 port_idx) in wusb_port_by_idx() argument 457 return &wusbhc->port[port_idx]; in wusb_port_by_idx()
|
/drivers/usb/host/whci/ |
D | wusb.c | 106 int idx = wusb_dev->port_idx; in whc_dev_info_set() 171 int whc_set_ptk(struct wusbhc *wusbhc, u8 port_idx, u32 tkid, in whc_set_ptk() argument 175 struct di_buf_entry *di = &whc->di_buf[port_idx]; in whc_set_ptk() 181 ret = whc_set_key(whc, port_idx, tkid, ptk, key_size, false); in whc_set_ptk() 186 di->addr_sec_info |= WHC_DI_SECURE | WHC_DI_KEY_IDX(port_idx); in whc_set_ptk() 190 ret = whc_update_di(whc, port_idx); in whc_set_ptk()
|
D | whcd.h | 160 int whc_set_ptk(struct wusbhc *wusbhc, u8 port_idx, u32 tkid,
|
/drivers/usb/host/ |
D | hwa-hc.c | 451 0, wusb_dev->port_idx << 8 | iface_no, in __hwahc_op_dev_info_set() 465 static int __hwahc_dev_set_key(struct wusbhc *wusbhc, u8 port_idx, u32 tkid, in __hwahc_dev_set_key() argument 492 port_idx << 8 | iface_no, in __hwahc_dev_set_key() 506 static int __hwahc_op_set_ptk(struct wusbhc *wusbhc, u8 port_idx, u32 tkid, in __hwahc_op_set_ptk() argument 520 result = __hwahc_dev_set_key(wusbhc, port_idx, tkid, in __hwahc_op_set_ptk() 534 encryption_value, port_idx << 8 | iface_no, in __hwahc_op_set_ptk() 538 "port index %u to %s (value %d): %d\n", port_idx, in __hwahc_op_set_ptk()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_cpl.h | 552 __u8 port_idx:1; member 556 __u8 port_idx:1; member
|