/Linux-v5.4/drivers/usb/dwc2/ |
D | hcd_intr.c | 188 u32 grxsts, chnum, bcnt, dpid, pktsts; in dwc2_rx_fifo_level_intr() local 195 chnum = (grxsts & GRXSTS_HCHNUM_MASK) >> GRXSTS_HCHNUM_SHIFT; in dwc2_rx_fifo_level_intr() 196 chan = hsotg->hc_ptr_array[chnum]; in dwc2_rx_fifo_level_intr() 208 dev_vdbg(hsotg->dev, " Ch num = %d\n", chnum); in dwc2_rx_fifo_level_intr() 437 struct dwc2_host_chan *chan, int chnum, in dwc2_get_actual_xfer_length() argument 444 hctsiz = dwc2_readl(hsotg, HCTSIZ(chnum)); in dwc2_get_actual_xfer_length() 491 struct dwc2_host_chan *chan, int chnum, in dwc2_update_urb_state() argument 498 int xfer_length = dwc2_get_actual_xfer_length(hsotg, chan, chnum, qtd, in dwc2_update_urb_state() 521 hctsiz = dwc2_readl(hsotg, HCTSIZ(chnum)); in dwc2_update_urb_state() 523 __func__, (chan->ep_is_in ? "IN" : "OUT"), chnum); in dwc2_update_urb_state() [all …]
|
D | hcd.h | 473 static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr) in disable_hc_int() argument 475 u32 mask = dwc2_readl(hsotg, HCINTMSK(chnum)); in disable_hc_int() 478 dwc2_writel(hsotg, mask, HCINTMSK(chnum)); in disable_hc_int() 591 struct dwc2_host_chan *chan, int chnum, 759 struct dwc2_host_chan *chan, int chnum,
|
D | hcd_ddma.c | 1151 int chnum, struct dwc2_qtd *qtd, in dwc2_process_non_isoc_desc() argument 1209 dwc2_hcd_save_data_toggle(hsotg, chan, chnum, in dwc2_process_non_isoc_desc() 1223 int chnum, in dwc2_complete_non_isoc_xfer_ddma() argument 1247 if (dwc2_process_non_isoc_desc(hsotg, chan, chnum, qtd, in dwc2_complete_non_isoc_xfer_ddma() 1267 dwc2_hcd_save_data_toggle(hsotg, chan, chnum, NULL); in dwc2_complete_non_isoc_xfer_ddma() 1300 struct dwc2_host_chan *chan, int chnum, in dwc2_hcd_complete_xfer_ddma() argument 1353 dwc2_complete_non_isoc_xfer_ddma(hsotg, chan, chnum, in dwc2_hcd_complete_xfer_ddma()
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmutil/ |
D | d11.c | 48 BRCMU_CHSPEC_CH_SHIFT, ch->chnum); in brcmu_d11n_encchspec() 54 if (ch->chnum <= CH_MAX_2G_CHANNEL) in brcmu_d11n_encchspec() 83 BRCMU_CHSPEC_CH_SHIFT, ch->chnum); in brcmu_d11ac_encchspec() 90 if (ch->chnum <= CH_MAX_2G_CHANNEL) in brcmu_d11ac_encchspec() 100 ch->chnum = (u8)(ch->chspec & BRCMU_CHSPEC_CH_MASK); in brcmu_d11n_decchspec() 101 ch->control_ch_num = ch->chnum; in brcmu_d11n_decchspec() 141 ch->chnum = (u8)(ch->chspec & BRCMU_CHSPEC_CH_MASK); in brcmu_d11ac_decchspec() 142 ch->control_ch_num = ch->chnum; in brcmu_d11ac_decchspec()
|
/Linux-v5.4/drivers/usb/musb/ |
D | davinci.h | 72 #define DAVINCI_TXCPPI_STATERAM_OFFSET(chnum) \ argument 73 (DAVINCI_CPPI_STATERAM_BASE_OFFSET + ((chnum) * 0x40)) 74 #define DAVINCI_RXCPPI_STATERAM_OFFSET(chnum) \ argument 75 (DAVINCI_CPPI_STATERAM_BASE_OFFSET + 0x20 + ((chnum) * 0x40))
|
/Linux-v5.4/drivers/gpu/ipu-v3/ |
D | ipu-common.c | 359 int chnum; member 363 { .chnum = 5, .reg = IDMAC_CH_LOCK_EN_1, .shift = 0, }, 364 { .chnum = 11, .reg = IDMAC_CH_LOCK_EN_1, .shift = 2, }, 365 { .chnum = 12, .reg = IDMAC_CH_LOCK_EN_1, .shift = 4, }, 366 { .chnum = 14, .reg = IDMAC_CH_LOCK_EN_1, .shift = 6, }, 367 { .chnum = 15, .reg = IDMAC_CH_LOCK_EN_1, .shift = 8, }, 368 { .chnum = 20, .reg = IDMAC_CH_LOCK_EN_1, .shift = 10, }, 369 { .chnum = 21, .reg = IDMAC_CH_LOCK_EN_1, .shift = 12, }, 370 { .chnum = 22, .reg = IDMAC_CH_LOCK_EN_1, .shift = 14, }, 371 { .chnum = 23, .reg = IDMAC_CH_LOCK_EN_1, .shift = 16, }, [all …]
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/include/ |
D | brcmu_d11.h | 132 u8 chnum; member
|
/Linux-v5.4/drivers/rapidio/ |
D | rio_cm.c | 381 u16 chnum; in riocm_req_handler() local 383 chnum = ntohs(hh->dst_ch); in riocm_req_handler() 385 ch = riocm_get_channel(chnum); in riocm_req_handler() 391 riocm_debug(RX_CMD, "channel %d is not in listen state", chnum); in riocm_req_handler() 427 u16 chnum; in riocm_resp_handler() local 429 chnum = ntohs(hh->dst_ch); in riocm_resp_handler() 430 ch = riocm_get_channel(chnum); in riocm_resp_handler()
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | p2p.c | 931 ch.chnum = channel; in brcmf_p2p_discover_listen() 1065 ch.chnum = channel; in brcmf_p2p_act_frm_search() 1071 ch.chnum = SOCIAL_CHAN_1; in brcmf_p2p_act_frm_search() 1074 ch.chnum = SOCIAL_CHAN_2; in brcmf_p2p_act_frm_search() 1077 ch.chnum = SOCIAL_CHAN_3; in brcmf_p2p_act_frm_search() 1953 ch.chnum = BRCMF_P2P_TEMP_CHAN; in brcmf_p2p_get_current_chanspec()
|
D | cfg80211.c | 253 ch_inf.chnum = ieee80211_frequency_to_channel(ch->center_freq1); in chandef_to_chanspec() 326 ch_inf.chnum = ieee80211_frequency_to_channel(ch->center_freq); in channel_to_chanspec() 5046 chandef->center_freq1 = ieee80211_channel_to_frequency(ch.chnum, band); in brcmf_cfg80211_get_channel() 6184 ch.chnum = 0; in brcmf_enable_bw40_2g()
|
/Linux-v5.4/drivers/staging/octeon-usb/ |
D | octeon-hcd.h | 822 __BITFIELD_FIELD(u32 chnum : 4,
|
D | octeon-hcd.c | 1168 channel = rx_status.s.chnum; in cvmx_usb_poll_rx_fifo()
|