Home
last modified time | relevance | path

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

12

/drivers/mailbox/
Dhi6220-mailbox.c90 unsigned int chan_num; member
242 if (i >= mbox->chan_num || dst_irq >= mbox->chan_num || in hi6220_mbox_xlate()
243 ack_irq >= mbox->chan_num) { in hi6220_mbox_xlate()
284 mbox->chan_num = MBOX_CHAN_MAX; in hi6220_mbox_probe()
286 mbox->chan_num * sizeof(*mbox->mchan), GFP_KERNEL); in hi6220_mbox_probe()
291 mbox->chan_num * sizeof(*mbox->chan), GFP_KERNEL); in hi6220_mbox_probe()
323 mbox->controller.num_chans = mbox->chan_num; in hi6220_mbox_probe()
327 for (i = 0; i < mbox->chan_num; i++) { in hi6220_mbox_probe()
/drivers/net/ethernet/ti/
Ddavinci_cpdma.c110 int chan_num; member
120 int chan_num; member
161 #define is_rx_chan(chan) ((chan)->chan_num >= CPDMA_MAX_CHANNELS)
163 #define __chan_linear(chan_num) ((chan_num) & (CPDMA_MAX_CHANNELS - 1)) argument
164 #define chan_linear(chan) __chan_linear((chan)->chan_num)
361 rate_reg = CPDMA_TX_PRI0_RATE + 4 * chan->chan_num; in cpdma_chan_set_chan_shaper()
429 chan->chan_num); in cpdma_chan_fit_rate()
502 rate_reg = CPDMA_TX_PRI0_RATE + 4 * ch->chan_num; in cpdma_chan_set_factors()
518 ctlr->chan_num = 0; in cpdma_ctlr_create()
739 if (!ctlr->chan_num) in cpdma_chan_split_pool()
[all …]
Ddavinci_cpdma.h76 struct cpdma_chan *cpdma_chan_create(struct cpdma_ctlr *ctlr, int chan_num,
/drivers/soc/ti/
Dknav_dma.c424 int chan_num = -1; in knav_dma_open_channel() local
432 chan_num = of_channel_match_helper(dev->of_node, name, &instance); in knav_dma_open_channel()
433 if (chan_num < 0) { in knav_dma_open_channel()
441 "unknown", chan_num, instance); in knav_dma_open_channel()
465 if (chan->channel == chan_num) { in knav_dma_open_channel()
470 if (chan->flow == chan_num) { in knav_dma_open_channel()
478 chan_num, instance); in knav_dma_open_channel()
485 chan_num); in knav_dma_open_channel()
497 chan_num, instance); in knav_dma_open_channel()
582 unsigned chan_num) in pktdma_init_chan() argument
[all …]
/drivers/media/pci/cx25821/
Dcx25821-video.h57 extern int cx25821_video_irq(struct cx25821_dev *dev, int chan_num, u32 status);
58 extern void cx25821_video_unregister(struct cx25821_dev *dev, int chan_num);
Dcx25821-video.c98 int cx25821_video_irq(struct cx25821_dev *dev, int chan_num, u32 status) in cx25821_video_irq() argument
102 const struct sram_channel *channel = dev->channels[chan_num].sram_channels; in cx25821_video_irq()
673 void cx25821_video_unregister(struct cx25821_dev *dev, int chan_num) in cx25821_video_unregister() argument
677 if (video_is_registered(&dev->channels[chan_num].vdev)) { in cx25821_video_unregister()
678 video_unregister_device(&dev->channels[chan_num].vdev); in cx25821_video_unregister()
679 v4l2_ctrl_handler_free(&dev->channels[chan_num].hdl); in cx25821_video_unregister()
Dcx25821-audio-upstream.c412 static int cx25821_audio_upstream_irq(struct cx25821_dev *dev, int chan_num, in cx25821_audio_upstream_irq() argument
417 const struct sram_channel *channel = dev->channels[chan_num].sram_channels; in cx25821_audio_upstream_irq()
/drivers/dma/
Dmic_x100_dma.h215 u32 chan_num = ch->ch_num; in mic_dma_chan_set_owner() local
217 dcr = (dcr & ~(0x1 << (chan_num * 2))) | (ch->owner << (chan_num * 2)); in mic_dma_chan_set_owner()
Dmmp_tdma.c627 int chan_num = TDMA_CHANNEL_NUM; in mmp_tdma_probe() local
643 for (i = 0; i < chan_num; i++) { in mmp_tdma_probe()
664 if (irq_num != chan_num) { in mmp_tdma_probe()
673 for (i = 0; i < chan_num; i++) { in mmp_tdma_probe()
674 irq = (irq_num != chan_num) ? 0 : platform_get_irq(pdev, i); in mmp_tdma_probe()
Dmic_x100_dma.c691 int i, chan_num, first_chan = mic_dma_dev->start_ch; in mic_dma_reg_seq_show() local
703 chan_num = ch->ch_num; in mic_dma_reg_seq_show()
705 chan_num, in mic_dma_reg_seq_show()
/drivers/char/xillybus/
Dxillybus_core.c478 channel->chan_num = i; in xilly_setupchannels()
782 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
872 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
961 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
1083 iowrite32((channel->chan_num << 1) | /* Channel ID */ in xillybus_myflush()
1326 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.h48 int chan_num; member
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_dma.c338 static void sxgbe_enable_tso(void __iomem *ioaddr, u8 chan_num) in sxgbe_enable_tso() argument
342 ctrl = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(chan_num)); in sxgbe_enable_tso()
344 writel(ctrl, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(chan_num)); in sxgbe_enable_tso()
Dsxgbe_dma.h45 void (*enable_tso)(void __iomem *ioaddr, u8 chan_num);
/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-dvb.c118 struct channel_info *tsin, int chan_num) in c8sectpfe_frontend_attach() argument
238 (*fe)->id = chan_num; in c8sectpfe_frontend_attach()
Dc8sectpfe-dvb.h18 int chan_num);
Dc8sectpfe-core.c68 int chan_num; in c8sectpfe_timer_interrupt() local
71 for (chan_num = 0; chan_num < fei->tsin_count; chan_num++) { in c8sectpfe_timer_interrupt()
72 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt()
/drivers/net/wireless/intersil/p54/
Deeprom.c149 unsigned int *chan_num, in p54_generate_band() argument
197 priv->survey[*chan_num].channel = &tmp->channels[j]; in p54_generate_band()
198 priv->survey[*chan_num].filled = SURVEY_INFO_NOISE_DBM | in p54_generate_band()
202 dest->hw_value = (*chan_num); in p54_generate_band()
204 (*chan_num)++; in p54_generate_band()
346 priv->chan_num = max_channel_num; in p54_generate_channel_lists()
Dp54.h205 unsigned int chan_num; member
/drivers/net/wireless/quantenna/qtnfmac/
Dcore.h132 u32 chan_num; member
/drivers/net/wireless/marvell/mwifiex/
Ddecl.h236 u8 chan_num; member
Dscan.c2296 u32 ssid_len, chan_idx, scan_type, scan_dur, chan_num; in mwifiex_cmd_802_11_bg_scan_config() local
2443 chan_num = in mwifiex_cmd_802_11_bg_scan_config()
2448 chan_num * in mwifiex_cmd_802_11_bg_scan_config()
2527 chan_stats.chan_num = fw_chan_stats->chan_num; in mwifiex_update_chan_statistics()
2538 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.h244 int chan_num);
/drivers/dma/ioat/
Ddma.h38 #define chan_num(ch) ((int)((ch)->reg_base - (ch)->ioat_dma->reg_base) / 0x80) macro

12