Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/mailbox/
Dhi6220-mailbox.c81 unsigned int chan_num; member
233 if (i >= mbox->chan_num || dst_irq >= mbox->chan_num || in hi6220_mbox_xlate()
234 ack_irq >= mbox->chan_num) { in hi6220_mbox_xlate()
274 mbox->chan_num = MBOX_CHAN_MAX; in hi6220_mbox_probe()
276 mbox->chan_num, sizeof(*mbox->mchan), GFP_KERNEL); in hi6220_mbox_probe()
281 mbox->chan_num, sizeof(*mbox->chan), GFP_KERNEL); in hi6220_mbox_probe()
311 mbox->controller.num_chans = mbox->chan_num; in hi6220_mbox_probe()
315 for (i = 0; i < mbox->chan_num; i++) { in hi6220_mbox_probe()
/linux-6.1.9/drivers/net/ethernet/ti/
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 …]
Ddavinci_cpdma.h71 struct cpdma_chan *cpdma_chan_create(struct cpdma_ctlr *ctlr, int chan_num,
/linux-6.1.9/drivers/soc/ti/
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-6.1.9/drivers/media/pci/cx25821/
Dcx25821-video.h47 extern int cx25821_video_irq(struct cx25821_dev *dev, int chan_num, u32 status);
48 extern void cx25821_video_unregister(struct cx25821_dev *dev, int chan_num);
Dcx25821-video.c85 int cx25821_video_irq(struct cx25821_dev *dev, int chan_num, u32 status) in cx25821_video_irq() argument
89 const struct sram_channel *channel = dev->channels[chan_num].sram_channels; in cx25821_video_irq()
657 void cx25821_video_unregister(struct cx25821_dev *dev, int chan_num) in cx25821_video_unregister() argument
661 if (video_is_registered(&dev->channels[chan_num].vdev)) { in cx25821_video_unregister()
662 video_unregister_device(&dev->channels[chan_num].vdev); in cx25821_video_unregister()
663 v4l2_ctrl_handler_free(&dev->channels[chan_num].hdl); in cx25821_video_unregister()
/linux-6.1.9/drivers/char/xillybus/
Dxillyusb.c878 int chan_num) in process_in_opcode() argument
882 int chan_idx = chan_num >> 1; in process_in_opcode()
886 chan_num); in process_in_opcode()
896 chan_num); in process_in_opcode()
939 int chan_num = 0, opcode; in process_bulk_in() local
954 chan_num = xdev->leftover_chan_num; in process_bulk_in()
962 chan_num = ctrlword & 0xfff; in process_bulk_in()
975 rc = process_in_opcode(xdev, opcode, chan_num); in process_bulk_in()
987 chan_idx = chan_num >> 1; in process_bulk_in()
989 if (!(chan_num & 1) || chan_idx >= xdev->num_channels || in process_bulk_in()
[all …]
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 …]
Dxillybus.h46 int chan_num; member
/linux-6.1.9/drivers/dma/
Dhisi_dma.c162 u32 chan_num; member
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()
983 hdma_dev = devm_kzalloc(dev, struct_size(hdma_dev, chan, chan_num), in hisi_dma_probe()
[all …]
Dmmp_tdma.c645 int chan_num = TDMA_CHANNEL_NUM; in mmp_tdma_probe() local
661 for (i = 0; i < chan_num; i++) { in mmp_tdma_probe()
682 if (irq_num != chan_num) { in mmp_tdma_probe()
691 for (i = 0; i < chan_num; i++) { in mmp_tdma_probe()
692 irq = (irq_num != chan_num) ? 0 : platform_get_irq(pdev, i); in mmp_tdma_probe()
/linux-6.1.9/drivers/media/platform/st/sti/c8sectpfe/
Dc8sectpfe-dvb.h15 int chan_num);
Dc8sectpfe-dvb.c108 struct channel_info *tsin, int chan_num) in c8sectpfe_frontend_attach() argument
229 (*fe)->id = chan_num; in c8sectpfe_frontend_attach()
Dc8sectpfe-core.c64 int chan_num; in c8sectpfe_timer_interrupt() local
67 for (chan_num = 0; chan_num < fei->tsin_count; chan_num++) { in c8sectpfe_timer_interrupt()
68 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt()
/linux-6.1.9/drivers/net/ethernet/samsung/sxgbe/
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()
Dsxgbe_dma.h42 void (*enable_tso)(void __iomem *ioaddr, u8 chan_num);
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dhif_tx.c224 int chan_start_idx, int chan_num) in wfx_hif_scan() argument
228 size_t buf_len = sizeof(struct wfx_hif_req_start_scan_alt) + chan_num * sizeof(u8); in wfx_hif_scan()
231 WARN(chan_num > HIF_API_MAX_NB_CHANNELS, "invalid params"); in wfx_hif_scan()
244 body->num_of_channels = chan_num; in wfx_hif_scan()
245 for (i = 0; i < chan_num; i++) in wfx_hif_scan()
Dhif_tx.h56 int chan_start, int chan_num);
/linux-6.1.9/sound/soc/sh/
Dfsi.c259 int chan_num:16; member
445 return frames * fsi->chan_num; in fsi_frame2sample()
450 return samples / fsi->chan_num; in fsi_sample2frame()
946 bpfmd = fsi->chan_num * 32; in fsi_clk_set_rate_external()
981 bpfmd = fsi->chan_num * 32; in fsi_clk_set_rate_cpg()
1480 for (i = 1; i < fsi->chan_num; i <<= 1) in fsi_fifo_init()
1483 fsi->chan_num, frame_capa); in fsi_fifo_init()
1617 fsi->chan_num = 2; in fsi_set_fmt_dai()
1621 fsi->chan_num = 2; in fsi_set_fmt_dai()
1638 fsi->chan_num = 2; in fsi_set_fmt_spdif()
/linux-6.1.9/drivers/net/wireless/intersil/p54/
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()
Dp54.h202 unsigned int chan_num; member
/linux-6.1.9/include/linux/
Dshdma-base.h123 int chan_num);
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dhal_rx.h130 u16 chan_num; member
199 __le32 chan_num; member
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Ddecl.h224 u8 chan_num; member
/linux-6.1.9/drivers/media/platform/ti/vpe/
Dvpdma.h242 int chan_num);

12