Home
last modified time | relevance | path

Searched refs:chnum (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/usb/dwc2/
H A Dhcd_intr.c158 u32 grxsts, chnum, bcnt, dpid, pktsts; in dwc2_rx_fifo_level_intr() local
165 chnum = (grxsts & GRXSTS_HCHNUM_MASK) >> GRXSTS_HCHNUM_SHIFT; in dwc2_rx_fifo_level_intr()
166 chan = hsotg->hc_ptr_array[chnum]; in dwc2_rx_fifo_level_intr()
178 dev_vdbg(hsotg->dev, " Ch num = %d\n", chnum); in dwc2_rx_fifo_level_intr()
407 struct dwc2_host_chan *chan, int chnum, in dwc2_get_actual_xfer_length() argument
414 hctsiz = dwc2_readl(hsotg, HCTSIZ(chnum)); in dwc2_get_actual_xfer_length()
453 * @chnum: Channel number
461 struct dwc2_host_chan *chan, int chnum, in dwc2_update_urb_state() argument
468 int xfer_length = dwc2_get_actual_xfer_length(hsotg, chan, chnum, qtd, in dwc2_update_urb_state()
491 hctsiz = dwc2_readl(hsotg, HCTSIZ(chnum)); in dwc2_update_urb_state()
511 dwc2_hcd_save_data_toggle(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hcd_save_data_toggle() argument
556 dwc2_update_isoc_urb_state(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd,enum dwc2_halt_status halt_status) dwc2_update_isoc_urb_state() argument
835 dwc2_complete_non_periodic_xfer(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd,enum dwc2_halt_status halt_status) dwc2_complete_non_periodic_xfer() argument
884 dwc2_complete_periodic_xfer(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd,enum dwc2_halt_status halt_status) dwc2_complete_periodic_xfer() argument
901 dwc2_xfercomp_isoc_split_in(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_xfercomp_isoc_split_in() argument
959 dwc2_hc_xfercomp_intr(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_xfercomp_intr() argument
1092 dwc2_hc_stall_intr(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_stall_intr() argument
1142 dwc2_update_urb_state_abn(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_hcd_urb * urb,struct dwc2_qtd * qtd,enum dwc2_halt_status halt_status) dwc2_update_urb_state_abn() argument
1179 dwc2_hc_nak_intr(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_nak_intr() argument
1284 dwc2_hc_ack_intr(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_ack_intr() argument
1363 dwc2_hc_nyet_intr(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_nyet_intr() argument
1487 dwc2_hc_babble_intr(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_babble_intr() argument
1521 dwc2_hc_ahberr_intr(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_ahberr_intr() argument
1625 dwc2_hc_xacterr_intr(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_xacterr_intr() argument
1683 dwc2_hc_frmovrun_intr(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_frmovrun_intr() argument
1716 dwc2_hc_datatglerr_intr(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_datatglerr_intr() argument
1741 dwc2_halt_status_ok(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_halt_status_ok() argument
1801 dwc2_hc_chhltd_intr_dma(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_chhltd_intr_dma() argument
1979 dwc2_hc_chhltd_intr(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,int chnum,struct dwc2_qtd * qtd) dwc2_hc_chhltd_intr() argument
2014 dwc2_hc_n_intr(struct dwc2_hsotg * hsotg,int chnum) dwc2_hc_n_intr() argument
[all...]
H A Dhcd.h444 static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr) in disable_hc_int() argument
446 u32 mask = dwc2_readl(hsotg, HCINTMSK(chnum)); in disable_hc_int()
449 dwc2_writel(hsotg, mask, HCINTMSK(chnum)); in disable_hc_int()
562 struct dwc2_host_chan *chan, int chnum,
730 struct dwc2_host_chan *chan, int chnum,
H A Dhcd_ddma.c1128 int chnum, struct dwc2_qtd *qtd, in dwc2_process_non_isoc_desc() argument
1186 dwc2_hcd_save_data_toggle(hsotg, chan, chnum, in dwc2_process_non_isoc_desc()
1200 int chnum, in dwc2_complete_non_isoc_xfer_ddma() argument
1224 if (dwc2_process_non_isoc_desc(hsotg, chan, chnum, qtd, in dwc2_complete_non_isoc_xfer_ddma()
1244 dwc2_hcd_save_data_toggle(hsotg, chan, chnum, NULL); in dwc2_complete_non_isoc_xfer_ddma()
1277 struct dwc2_host_chan *chan, int chnum, in dwc2_hcd_complete_xfer_ddma() argument
1330 dwc2_complete_non_isoc_xfer_ddma(hsotg, chan, chnum, in dwc2_hcd_complete_xfer_ddma()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmutil/
H A Dd11.c48 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/drivers/gpu/ipu-v3/
H A Dipu-common.c262 int chnum; member
266 { .chnum = 5, .reg = IDMAC_CH_LOCK_EN_1, .shift = 0, },
267 { .chnum = 11, .reg = IDMAC_CH_LOCK_EN_1, .shift = 2, },
268 { .chnum = 12, .reg = IDMAC_CH_LOCK_EN_1, .shift = 4, },
269 { .chnum = 14, .reg = IDMAC_CH_LOCK_EN_1, .shift = 6, },
270 { .chnum = 15, .reg = IDMAC_CH_LOCK_EN_1, .shift = 8, },
271 { .chnum = 20, .reg = IDMAC_CH_LOCK_EN_1, .shift = 10, },
272 { .chnum = 21, .reg = IDMAC_CH_LOCK_EN_1, .shift = 12, },
273 { .chnum = 22, .reg = IDMAC_CH_LOCK_EN_1, .shift = 14, },
274 { .chnum = 23, .reg = IDMAC_CH_LOCK_EN_1, .shift = 16, },
[all …]
/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-dpr.c515 int chnum; in dcss_dpr_write_sysctrl() local
519 for (chnum = 0; chnum < 3; chnum++) { in dcss_dpr_write_sysctrl()
520 struct dcss_dpr_ch *ch = &dpr->ch[chnum]; in dcss_dpr_write_sysctrl()
H A Ddcss-scaler.c828 int chnum; in dcss_scaler_write_sclctrl() local
832 for (chnum = 0; chnum < 3; chnum++) { in dcss_scaler_write_sclctrl()
833 struct dcss_scaler_ch *ch = &scl->ch[chnum]; in dcss_scaler_write_sclctrl()
/linux/drivers/net/wireless/broadcom/brcm80211/include/
H A Dbrcmu_d11.h132 u8 chnum; member
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi_v2.c360 unsigned char chnum, bool dsd_bypass) in mtk_hdmi_audio_dsd_config() argument
382 static inline void mtk_hdmi_v2_hw_i2s_ch_number(struct mtk_hdmi *hdmi, u8 chnum) in mtk_hdmi_v2_hw_i2s_ch_number() argument
384 regmap_update_bits(hdmi->regs, AIP_CTRL, I2S_EN, FIELD_PREP(I2S_EN, chnum)); in mtk_hdmi_v2_hw_i2s_ch_number()
387 static void mtk_hdmi_v2_hw_i2s_ch_mapping(struct mtk_hdmi *hdmi, u8 chnum, u8 mapping) in mtk_hdmi_v2_hw_i2s_ch_mapping() argument
392 switch (chnum) { in mtk_hdmi_v2_hw_i2s_ch_mapping()
426 if (chnum == 2) in mtk_hdmi_v2_hw_i2s_ch_mapping()
/linux/drivers/rapidio/
H A Drio_cm.c377 u16 chnum; in riocm_req_handler() local
379 chnum = ntohs(hh->dst_ch); in riocm_req_handler()
381 ch = riocm_get_channel(chnum); in riocm_req_handler()
387 riocm_debug(RX_CMD, "channel %d is not in listen state", chnum); in riocm_req_handler()
423 u16 chnum; in riocm_resp_handler() local
425 chnum = ntohs(hh->dst_ch); in riocm_resp_handler()
426 ch = riocm_get_channel(chnum); in riocm_resp_handler()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.c951 ch.chnum = channel; in brcmf_p2p_discover_listen()
1088 ch.chnum = channel; in brcmf_p2p_act_frm_search()
1094 ch.chnum = SOCIAL_CHAN_1; in brcmf_p2p_act_frm_search()
1097 ch.chnum = SOCIAL_CHAN_2; in brcmf_p2p_act_frm_search()
1100 ch.chnum = SOCIAL_CHAN_3; in brcmf_p2p_act_frm_search()
2026 ch.chnum = BRCMF_P2P_TEMP_CHAN; in brcmf_p2p_get_current_chanspec()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dga100.c447 u32 chnum = 1 << (chcfg & 0x0000000f); in ga100_runl_new() local
453 runl = nvkm_runl_new(fifo, id, addr, chnum); in ga100_runl_new()
/linux/drivers/usb/host/
H A Docteon-hcd.h822 __BITFIELD_FIELD(u32 chnum : 4,
H A Docteon-hcd.c1170 channel = rx_status.s.chnum; in cvmx_usb_poll_rx_fifo()