Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/fjes/
H A Dfjes_hw.c209 int epidx; in fjes_hw_setup() local
247 for (epidx = 0; epidx < hw->max_epid; epidx++) { in fjes_hw_setup()
248 if (epidx != hw->my_epid) { in fjes_hw_setup()
249 buf_pair = &hw->ep_shm_info[epidx]; in fjes_hw_setup()
282 for (epidx = 0; epidx < hw->max_epid ; epidx++) { in fjes_hw_setup()
283 if (epidx == hw->my_epid) in fjes_hw_setup()
285 fjes_hw_free_epbuf(&hw->ep_shm_info[epidx].tx); in fjes_hw_setup()
286 fjes_hw_free_epbuf(&hw->ep_shm_info[epidx].rx); in fjes_hw_setup()
303 int epidx; in fjes_hw_cleanup() local
316 for (epidx = 0; epidx < hw->max_epid ; epidx++) { in fjes_hw_cleanup()
[all …]
H A Dfjes_main.c174 int epidx; in fjes_setup_resources() local
180 for (epidx = 0; epidx < hw->max_epid; epidx++) { in fjes_setup_resources()
181 hw->ep_shm_info[epidx].es_status = in fjes_setup_resources()
182 hw->hw_info.res_buf->info.info[epidx].es_status; in fjes_setup_resources()
183 hw->ep_shm_info[epidx].zone = in fjes_setup_resources()
184 hw->hw_info.res_buf->info.info[epidx].zone; in fjes_setup_resources()
197 for (epidx = 0; epidx < (hw->max_epid); epidx++) { in fjes_setup_resources()
198 if ((epidx != hw->my_epid) && in fjes_setup_resources()
199 (hw->ep_shm_info[epidx].es_status == in fjes_setup_resources()
201 fjes_hw_raise_interrupt(hw, epidx, in fjes_setup_resources()
[all …]
H A Dfjes_debugfs.c32 int epidx; in fjes_dbg_status_show() local
35 for (epidx = 0; epidx < max_epid; epidx++) { in fjes_dbg_status_show()
36 if (epidx == my_epid) { in fjes_dbg_status_show()
38 epidx, '-', '-', '-'); in fjes_dbg_status_show()
41 epidx, in fjes_dbg_status_show()
42 ep_status_string[fjes_hw_get_partner_ep_status(hw, epidx)], in fjes_dbg_status_show()
43 fjes_hw_epid_is_same_zone(hw, epidx) ? 'Y' : 'N', in fjes_dbg_status_show()
44 fjes_hw_epid_is_shared(hw->hw_info.share, epidx) ? 'Y' : 'N'); in fjes_dbg_status_show()
H A Dfjes_ethtool.c48 int epidx; in fjes_get_ethtool_stats() local
57 for (epidx = 0; epidx < hw->max_epid; epidx++) { in fjes_get_ethtool_stats()
58 if (epidx == hw->my_epid) in fjes_get_ethtool_stats()
60 data[i++] = hw->ep_shm_info[epidx].ep_stats in fjes_get_ethtool_stats()
62 data[i++] = hw->ep_shm_info[epidx].ep_stats in fjes_get_ethtool_stats()
64 data[i++] = hw->ep_shm_info[epidx].ep_stats.send_intr_rx; in fjes_get_ethtool_stats()
65 data[i++] = hw->ep_shm_info[epidx].ep_stats.send_intr_unshare; in fjes_get_ethtool_stats()
66 data[i++] = hw->ep_shm_info[epidx].ep_stats in fjes_get_ethtool_stats()
68 data[i++] = hw->ep_shm_info[epidx].ep_stats.recv_intr_rx; in fjes_get_ethtool_stats()
69 data[i++] = hw->ep_shm_info[epidx].ep_stats.recv_intr_unshare; in fjes_get_ethtool_stats()
[all …]
/openbmc/linux/drivers/usb/dwc2/
H A Ddebugfs.c295 unsigned int epidx; in dwc2_hsotg_create_debug() local
305 for (epidx = 0; epidx < hsotg->num_of_eps; epidx++) { in dwc2_hsotg_create_debug()
308 ep = hsotg->eps_out[epidx]; in dwc2_hsotg_create_debug()
313 for (epidx = 1; epidx < hsotg->num_of_eps; epidx++) { in dwc2_hsotg_create_debug()
316 ep = hsotg->eps_in[epidx]; in dwc2_hsotg_create_debug()
/openbmc/linux/sound/usb/
H A Dmidi.c1935 int i, j, epidx; in snd_usbmidi_get_ms_info() local
1953 epidx = 0; in snd_usbmidi_get_ms_info()
1969 if (endpoints[epidx].out_ep) { in snd_usbmidi_get_ms_info()
1970 if (++epidx >= MIDI_MAX_ENDPOINTS) { in snd_usbmidi_get_ms_info()
1976 endpoints[epidx].out_ep = usb_endpoint_num(ep); in snd_usbmidi_get_ms_info()
1978 endpoints[epidx].out_interval = ep->bInterval; in snd_usbmidi_get_ms_info()
1985 endpoints[epidx].out_interval = 1; in snd_usbmidi_get_ms_info()
1986 endpoints[epidx].out_cables = in snd_usbmidi_get_ms_info()
1989 endpoints[epidx].assoc_out_jacks[j] = ms_ep->baAssocJackID[j]; in snd_usbmidi_get_ms_info()
1990 for (; j < ARRAY_SIZE(endpoints[epidx].assoc_out_jacks); ++j) in snd_usbmidi_get_ms_info()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dusb.c305 u8 epidx; in _rtl_usb_init() local
310 for (epidx = 0; epidx < epnums; epidx++) { in _rtl_usb_init()
313 pep_desc = &usb_intf->cur_altsetting->endpoint[epidx].desc; in _rtl_usb_init()
/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_cmds.h291 u8 epidx[13]; /* dword 0 */ member
577 u8 epidx[11]; /* dword 0 */ member
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.h366 u8 epidx[13]; /* dword 0*/ member
456 u8 epidx[11]; /* dword 0*/ member