Home
last modified time | relevance | path

Searched refs:chan_num (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/mailbox/
H A Dhi6220-mailbox.c82 unsigned int chan_num; member
234 if (i >= mbox->chan_num || dst_irq >= mbox->chan_num || in hi6220_mbox_xlate()
235 ack_irq >= mbox->chan_num) { in hi6220_mbox_xlate()
275 mbox->chan_num = MBOX_CHAN_MAX; in hi6220_mbox_probe()
277 mbox->chan_num, sizeof(*mbox->mchan), GFP_KERNEL); in hi6220_mbox_probe()
282 mbox->chan_num, sizeof(*mbox->chan), GFP_KERNEL); in hi6220_mbox_probe()
312 mbox->controller.num_chans = mbox->chan_num; in hi6220_mbox_probe()
316 for (i = 0; i < mbox->chan_num; i++) { in hi6220_mbox_probe()
/linux/drivers/net/ethernet/ti/
H A Ddavinci_cpdma.c103 int chan_num; member
113 int chan_num; member
163 #define is_rx_chan(chan) ((chan)->chan_num >= CPDMA_MAX_CHANNELS)
165 #define __chan_linear(chan_num) ((chan_num) & (CPDMA_MAX_CHANNELS - 1)) argument
166 #define chan_linear(chan) __chan_linear((chan)->chan_num)
365 rate_reg = CPDMA_TX_PRI0_RATE + 4 * chan->chan_num; in cpdma_chan_set_chan_shaper()
441 chan->chan_num); in cpdma_chan_fit_rate()
505 rate_reg = CPDMA_TX_PRI0_RATE + 4 * ch->chan_num; in cpdma_chan_set_factors()
521 ctlr->chan_num = 0; in cpdma_ctlr_create()
734 if (!ctlr->chan_num) in cpdma_chan_split_pool()
[all …]
H A Ddavinci_cpdma.h71 struct cpdma_chan *cpdma_chan_create(struct cpdma_ctlr *ctlr, int chan_num,
/linux/drivers/soc/ti/
H A Dknav_dma.c412 int chan_num = -1; in knav_dma_open_channel() local
420 chan_num = of_channel_match_helper(dev->of_node, name, &instance); in knav_dma_open_channel()
421 if (chan_num < 0) { in knav_dma_open_channel()
429 "unknown", chan_num, instance); in knav_dma_open_channel()
452 if (iter2->channel == chan_num) { in knav_dma_open_channel()
457 if (iter2->flow == chan_num) { in knav_dma_open_channel()
465 chan_num, instance); in knav_dma_open_channel()
472 chan_num); in knav_dma_open_channel()
484 chan_num, instance); in knav_dma_open_channel()
569 unsigned chan_num) in pktdma_init_chan() argument
[all …]
/linux/drivers/dma/
H A Dhisi_dma.c162 u32 chan_num; member
166 struct hisi_dma_chan chan[] __counted_by(chan_num);
591 for (i = 0; i < hdma_dev->chan_num; i++) { in hisi_dma_alloc_qps_mem()
708 for (i = 0; i < hdma_dev->chan_num; i++) { in hisi_dma_enable_qps()
721 for (i = 0; i < hdma_dev->chan_num; i++) { in hisi_dma_disable_qps()
762 for (i = 0; i < hdma_dev->chan_num; i++) { in hisi_dma_request_qps_irq()
885 regsets = devm_kcalloc(dev, hdma_dev->chan_num, in hisi_dma_create_chan_dir()
894 for (i = 0; i < hdma_dev->chan_num; i++) { in hisi_dma_create_chan_dir()
956 u32 chan_num; in hisi_dma_probe() local
982 chan_num = hisi_dma_get_chan_num(pdev); in hisi_dma_probe()
[all …]
/linux/drivers/char/xillybus/
H A Dxillyusb.c883 int chan_num) in process_in_opcode() argument
887 int chan_idx = chan_num >> 1; in process_in_opcode()
891 chan_num); in process_in_opcode()
901 chan_num); in process_in_opcode()
944 int chan_num = 0, opcode; in process_bulk_in() local
959 chan_num = xdev->leftover_chan_num; in process_bulk_in()
967 chan_num = ctrlword & 0xfff; in process_bulk_in()
980 rc = process_in_opcode(xdev, opcode, chan_num); in process_bulk_in()
992 chan_idx = chan_num >> 1; in process_bulk_in()
994 if (!(chan_num & 1) || chan_idx >= xdev->num_channels || in process_bulk_in()
[all …]
H A Dxillybus_core.c500 channel->chan_num = i; in xilly_setupchannels()
801 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
891 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
980 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
1101 iowrite32((channel->chan_num << 1) | /* Channel ID */ in xillybus_myflush()
1342 iowrite32((channel->chan_num << 1) | in xillybus_write()
1520 iowrite32(1 | (channel->chan_num << 1) | in xillybus_open()
1542 iowrite32((channel->chan_num << 1) | in xillybus_open()
1586 iowrite32((channel->chan_num << 1) | /* Channel ID */ in xillybus_release()
1600 iowrite32(1 | (channel->chan_num << 1) | in xillybus_release()
[all …]
H A Dxillybus.h46 int chan_num; member
/linux/drivers/media/pci/cx25821/
H A Dcx25821-video.h44 extern int cx25821_video_irq(struct cx25821_dev *dev, int chan_num, u32 status);
45 extern void cx25821_video_unregister(struct cx25821_dev *dev, int chan_num);
/linux/drivers/edac/
H A Di10nm_base.c159 int i, j, imc_num, chan_num; in enable_retry_rd_err_log() local
167 chan_num = res_cfg->ddr_chan_num; in enable_retry_rd_err_log()
174 for (j = 0; j < chan_num; j++) in enable_retry_rd_err_log()
182 chan_num = res_cfg->hbm_chan_num; in enable_retry_rd_err_log()
189 for (j = 0; j < chan_num; j++) { in enable_retry_rd_err_log()
348 int n, imc_num, chan_num = 0; in i10nm_get_imc_num() local
364 if (!chan_num) { in i10nm_get_imc_num()
365 chan_num = n; in i10nm_get_imc_num()
366 edac_dbg(2, "Get DDR CH number: %d\n", chan_num); in i10nm_get_imc_num()
367 } else if (chan_num != n) { in i10nm_get_imc_num()
[all …]
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_dma.c335 static void sxgbe_enable_tso(void __iomem *ioaddr, u8 chan_num) in sxgbe_enable_tso() argument
339 ctrl = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(chan_num)); in sxgbe_enable_tso()
341 writel(ctrl, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(chan_num)); in sxgbe_enable_tso()
H A Dsxgbe_dma.h42 void (*enable_tso)(void __iomem *ioaddr, u8 chan_num);
/linux/drivers/media/platform/st/sti/c8sectpfe/
H A Dc8sectpfe-dvb.c108 struct channel_info *tsin, int chan_num) in c8sectpfe_frontend_attach() argument
229 (*fe)->id = chan_num; in c8sectpfe_frontend_attach()
H A Dc8sectpfe-dvb.h15 int chan_num);
/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_tx.c267 int chan_start_idx, int chan_num) in wfx_hif_scan() argument
271 size_t buf_len = sizeof(struct wfx_hif_req_start_scan_alt) + chan_num * sizeof(u8); in wfx_hif_scan()
274 WARN(chan_num > HIF_API_MAX_NB_CHANNELS, "invalid params"); in wfx_hif_scan()
287 body->num_of_channels = chan_num; in wfx_hif_scan()
288 for (i = 0; i < chan_num; i++) in wfx_hif_scan()
H A Dhif_tx.h56 int chan_start, int chan_num);
/linux/drivers/net/wireless/intersil/p54/
H A Deeprom.c146 unsigned int *chan_num, in p54_generate_band() argument
195 priv->survey[*chan_num].channel = &tmp->channels[j]; in p54_generate_band()
196 priv->survey[*chan_num].filled = SURVEY_INFO_NOISE_DBM | in p54_generate_band()
200 dest->hw_value = (*chan_num); in p54_generate_band()
202 (*chan_num)++; in p54_generate_band()
344 priv->chan_num = max_channel_num; in p54_generate_channel_lists()
H A Dp54.h202 unsigned int chan_num; member
/linux/include/linux/
H A Dshdma-base.h123 int chan_num);
/linux/drivers/net/wireless/ath/ath11k/
H A Dhal_rx.h131 u16 chan_num; member
200 __le32 chan_num; member
/linux/drivers/net/wireless/marvell/mwifiex/
H A Ddecl.h246 u8 chan_num; member
H A Dscan.c2266 u32 ssid_len, chan_idx, scan_type, scan_dur, chan_num; in mwifiex_cmd_802_11_bg_scan_config() local
2412 chan_num = in mwifiex_cmd_802_11_bg_scan_config()
2417 chan_num * in mwifiex_cmd_802_11_bg_scan_config()
2496 chan_stats.chan_num = fw_chan_stats->chan_num; in mwifiex_update_chan_statistics()
2507 chan_stats.chan_num, in mwifiex_update_chan_statistics()
H A D11h.c145 cr_req->chan_desc.chan_num = radar_params->chandef->chan->hw_value; in mwifiex_cmd_issue_chan_report_request()
/linux/drivers/dma/amd/qdma/
H A Dqdma.h256 u32 chan_num; member
/linux/drivers/media/platform/ti/vpe/
H A Dvpdma.h242 int chan_num);

12