Home
last modified time | relevance | path

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

12

/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()
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()
314 mbox->controller.num_chans = mbox->chan_num; in hi6220_mbox_probe()
318 for (i = 0; i < mbox->chan_num; i++) { in hi6220_mbox_probe()
/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,
/drivers/soc/ti/
Dknav_dma.c431 int chan_num = -1; in knav_dma_open_channel() local
439 chan_num = of_channel_match_helper(dev->of_node, name, &instance); in knav_dma_open_channel()
440 if (chan_num < 0) { in knav_dma_open_channel()
448 "unknown", chan_num, instance); in knav_dma_open_channel()
472 if (chan->channel == chan_num) { in knav_dma_open_channel()
477 if (chan->flow == chan_num) { in knav_dma_open_channel()
485 chan_num, instance); in knav_dma_open_channel()
492 chan_num); in knav_dma_open_channel()
504 chan_num, instance); in knav_dma_open_channel()
589 unsigned chan_num) in pktdma_init_chan() argument
[all …]
/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()
/drivers/dma/
Dmic_x100_dma.h204 u32 chan_num = ch->ch_num; in mic_dma_chan_set_owner() local
206 dcr = (dcr & ~(0x1 << (chan_num * 2))) | (ch->owner << (chan_num * 2)); in mic_dma_chan_set_owner()
Dmmp_tdma.c632 int chan_num = TDMA_CHANNEL_NUM; in mmp_tdma_probe() local
648 for (i = 0; i < chan_num; i++) { in mmp_tdma_probe()
669 if (irq_num != chan_num) { in mmp_tdma_probe()
678 for (i = 0; i < chan_num; i++) { in mmp_tdma_probe()
679 irq = (irq_num != chan_num) ? 0 : platform_get_irq(pdev, i); in mmp_tdma_probe()
Dmic_x100_dma.c671 int i, chan_num, first_chan = mic_dma_dev->start_ch; in mic_dma_reg_show() local
683 chan_num = ch->ch_num; in mic_dma_reg_show()
685 chan_num, in mic_dma_reg_show()
/drivers/char/xillybus/
Dxillybus_core.c475 channel->chan_num = i; in xilly_setupchannels()
779 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
869 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
958 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
1080 iowrite32((channel->chan_num << 1) | /* Channel ID */ in xillybus_myflush()
1323 iowrite32((channel->chan_num << 1) | in xillybus_write()
1517 iowrite32(1 | (channel->chan_num << 1) | in xillybus_open()
1539 iowrite32((channel->chan_num << 1) | in xillybus_open()
1583 iowrite32((channel->chan_num << 1) | /* Channel ID */ in xillybus_release()
1597 iowrite32(1 | (channel->chan_num << 1) | in xillybus_release()
[all …]
Dxillybus.h45 int chan_num; member
/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);
/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-dvb.c109 struct channel_info *tsin, int chan_num) in c8sectpfe_frontend_attach() argument
229 (*fe)->id = chan_num; in c8sectpfe_frontend_attach()
Dc8sectpfe-dvb.h15 int chan_num);
Dc8sectpfe-core.c65 int chan_num; in c8sectpfe_timer_interrupt() local
68 for (chan_num = 0; chan_num < fei->tsin_count; chan_num++) { in c8sectpfe_timer_interrupt()
69 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt()
/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
/drivers/net/wireless/quantenna/qtnfmac/
Dcore.h99 u32 chan_num; member
/drivers/net/wireless/marvell/mwifiex/
Ddecl.h236 u8 chan_num; member
Dscan.c2294 u32 ssid_len, chan_idx, scan_type, scan_dur, chan_num; in mwifiex_cmd_802_11_bg_scan_config() local
2441 chan_num = in mwifiex_cmd_802_11_bg_scan_config()
2446 chan_num * in mwifiex_cmd_802_11_bg_scan_config()
2525 chan_stats.chan_num = fw_chan_stats->chan_num; in mwifiex_update_chan_statistics()
2536 chan_stats.chan_num, in mwifiex_update_chan_statistics()
D11h.c157 cr_req->chan_desc.chan_num = radar_params->chandef->chan->hw_value; in mwifiex_cmd_issue_chan_report_request()
/drivers/media/platform/ti-vpe/
Dvpdma.h241 int chan_num);
/drivers/dma/ioat/
Ddma.h26 #define chan_num(ch) ((int)((ch)->reg_base - (ch)->ioat_dma->reg_base) / 0x80) macro
/drivers/dma/sh/
Dshdma-base.c990 int chan_num) in shdma_init() argument
1011 sdev->schan = kcalloc(chan_num, sizeof(*sdev->schan), GFP_KERNEL); in shdma_init()

12