Home
last modified time | relevance | path

Searched refs:chan_num (Results 1 – 25 of 35) 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.c421 int chan_num = -1; in knav_dma_open_channel() local
429 chan_num = of_channel_match_helper(dev->of_node, name, &instance); in knav_dma_open_channel()
430 if (chan_num < 0) { in knav_dma_open_channel()
438 "unknown", chan_num, instance); in knav_dma_open_channel()
462 if (chan->channel == chan_num) { in knav_dma_open_channel()
467 if (chan->flow == chan_num) { in knav_dma_open_channel()
475 chan_num, instance); in knav_dma_open_channel()
482 chan_num); in knav_dma_open_channel()
494 chan_num, instance); in knav_dma_open_channel()
579 unsigned chan_num) in pktdma_init_chan() argument
[all …]
/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.c464 channel->chan_num = i; in xilly_setupchannels()
768 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
858 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
947 iowrite32(1 | (channel->chan_num << 1) | in xillybus_read()
1069 iowrite32((channel->chan_num << 1) | /* Channel ID */ in xillybus_myflush()
1312 iowrite32((channel->chan_num << 1) | in xillybus_write()
1490 iowrite32(1 | (channel->chan_num << 1) | in xillybus_open()
1512 iowrite32((channel->chan_num << 1) | in xillybus_open()
1556 iowrite32((channel->chan_num << 1) | /* Channel ID */ in xillybus_release()
1570 iowrite32(1 | (channel->chan_num << 1) | in xillybus_release()
[all …]
Dxillybus.h46 int chan_num; member
/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/staging/wfx/
Dhif_tx.c230 int chan_start_idx, int chan_num, int *timeout) in hif_scan() argument
235 sizeof(struct hif_req_start_scan_alt) + chan_num * sizeof(u8); in hif_scan()
239 WARN(chan_num > HIF_API_MAX_NB_CHANNELS, "invalid params"); in hif_scan()
255 body->num_of_channels = chan_num; in hif_scan()
256 for (i = 0; i < chan_num; i++) in hif_scan()
275 tmo = chan_num * max(tmo_chan_bg, tmo_chan_fg) + 512 * USEC_PER_TU; in hif_scan()
Dhif_tx.h43 int chan_start, int chan_num, int *timeout);
/drivers/dma/
Dhisi_dma.c106 u32 chan_num; member
350 for (i = 0; i < hdma_dev->chan_num; i++) { in hisi_dma_alloc_qps_mem()
407 for (i = 0; i < hdma_dev->chan_num; i++) { in hisi_dma_enable_qps()
420 for (i = 0; i < hdma_dev->chan_num; i++) { in hisi_dma_disable_qps()
459 for (i = 0; i < hdma_dev->chan_num; i++) { in hisi_dma_request_qps_irq()
536 hdma_dev->chan_num = HISI_DMA_CHAN_NUM; in hisi_dma_probe()
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()
/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
230 (*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/ath/ath11k/
Dhal_rx.h86 u16 chan_num; member
112 __le32 chan_num; member
/drivers/net/wireless/marvell/mwifiex/
Ddecl.h236 u8 chan_num; member
Dscan.c2291 u32 ssid_len, chan_idx, scan_type, scan_dur, chan_num; in mwifiex_cmd_802_11_bg_scan_config() local
2438 chan_num = in mwifiex_cmd_802_11_bg_scan_config()
2443 chan_num * in mwifiex_cmd_802_11_bg_scan_config()
2522 chan_stats.chan_num = fw_chan_stats->chan_num; in mwifiex_update_chan_statistics()
2533 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.h242 int chan_num);

12