/linux-master/drivers/iio/adc/ |
H A D | rockchip_saradc.c | 63 void (*start)(struct rockchip_saradc *info, int chn); 86 static void rockchip_saradc_start_v1(struct rockchip_saradc *info, int chn) argument 91 writel(SARADC_CTRL_POWER_CTRL | (chn & SARADC_CTRL_CHN_MASK) | 95 static void rockchip_saradc_start_v2(struct rockchip_saradc *info, int chn) argument 109 FIELD_PREP(SARADC2_CONV_CHANNELS, chn); 114 static void rockchip_saradc_start(struct rockchip_saradc *info, int chn) argument 116 info->data->start(info, chn);
|
H A D | ti-ads131e08.c | 618 unsigned int chn, i = 0; local 640 for_each_set_bit(chn, indio_dev->active_scan_mask, indio_dev->masklength) { 641 src = st->rx_buf + ADS131E08_NUM_STATUS_BYTES + chn * num_bytes;
|
/linux-master/drivers/s390/cio/ |
H A D | trace.h | 367 __field(u8, chn) 378 __entry->chn = crw->chn; 384 TP_printk("cc=%d slct=%d oflw=%d chn=%d rsc=%d anc=%d erc=0x%x " 387 __entry->chn, __entry->rsc, __entry->anc,
|
H A D | chp.c | 590 "chn=%d, rsc=%X, anc=%d, erc=%X, rsid=%X\n", 591 crw0->slct, crw0->oflw, crw0->chn, crw0->rsc, crw0->anc,
|
/linux-master/drivers/dma/ |
H A D | dma-jz4780.c | 184 unsigned int chn, unsigned int reg) 186 return readl(jzdma->chn_base + reg + JZ_DMA_REG_CHAN(chn)); 190 unsigned int chn, unsigned int reg, u32 val) 192 writel(val, jzdma->chn_base + reg + JZ_DMA_REG_CHAN(chn)); 208 unsigned int chn) 218 jz4780_dma_ctrl_writel(jzdma, reg, BIT(chn)); 223 unsigned int chn) 227 jz4780_dma_ctrl_writel(jzdma, JZ_DMA_REG_DCKEC, BIT(chn)); 183 jz4780_dma_chn_readl(struct jz4780_dma_dev *jzdma, unsigned int chn, unsigned int reg) argument 189 jz4780_dma_chn_writel(struct jz4780_dma_dev *jzdma, unsigned int chn, unsigned int reg, u32 val) argument 207 jz4780_dma_chan_enable(struct jz4780_dma_dev *jzdma, unsigned int chn) argument 222 jz4780_dma_chan_disable(struct jz4780_dma_dev *jzdma, unsigned int chn) argument
|
H A D | sprd-dma.c | 437 u32 val, chn = schan->chn_num + 1; local 441 val = chn & SPRD_DMA_GLB_SRC_CHN_MASK; 451 val = chn & SPRD_DMA_GLB_SRC_CHN_MASK; 461 val = (chn << SPRD_DMA_GLB_DEST_CHN_OFFSET) & 471 val = (chn << SPRD_DMA_GLB_DEST_CHN_OFFSET) &
|
/linux-master/sound/pci/rme9652/ |
H A D | rme9652.c | 1245 unsigned int chn; local 1251 for (chn = 0; chn < rme9652->ss_channels; ++chn) { 1252 if (ucontrol->value.integer.value[chn]) 1253 thru_bits |= 1 << chn; 1259 for (chn = 0; chn < rme9652->ss_channels; ++chn) { 1260 if (!(change & (1 << chn))) 1998 int chn; local [all...] |
/linux-master/sound/pci/ca0106/ |
H A D | ca0106.h | 708 unsigned int chn); 712 unsigned int chn,
|
H A D | ca0106_main.c | 333 unsigned int chn) 338 regptr = (reg << 16) | chn; 349 unsigned int chn, 355 regptr = (reg << 16) | chn; 331 snd_ca0106_ptr_read(struct snd_ca0106 * emu, unsigned int reg, unsigned int chn) argument 347 snd_ca0106_ptr_write(struct snd_ca0106 *emu, unsigned int reg, unsigned int chn, unsigned int data) argument
|
/linux-master/drivers/scsi/aacraid/ |
H A D | linit.c | 391 int chn, tid; local 398 chn = aac_logical_to_phys(sdev_channel(sdev)); 400 if (chn < AAC_MAX_BUSES && tid < AAC_MAX_TARGETS && aac->sa_firmware) { 401 devtype = aac->hba_map[chn][tid].devtype; 404 depth = aac->hba_map[chn][tid].qd_limit; 519 int chn, tid, is_native_device = 0; local 521 chn = aac_logical_to_phys(sdev_channel(sdev)); 523 if (chn < AAC_MAX_BUSES && tid < AAC_MAX_TARGETS && 524 aac->hba_map[chn][tid].devtype == AAC_DEVTYPE_NATIVE_RAW) 549 scsi_change_queue_depth(sdev, aac->hba_map[chn][ti [all...] |
H A D | commctrl.c | 488 u32 chn; local 581 chn = user_srbcmd->channel; 582 if (chn < AAC_MAX_BUSES && user_srbcmd->id < AAC_MAX_TARGETS && 583 dev->hba_map[chn][user_srbcmd->id].devtype == 603 hbacmd->it_nexus = dev->hba_map[chn][user_srbcmd->id].rmw_nexus;
|
/linux-master/sound/soc/pxa/ |
H A D | pxa-ssp.c | 537 int chn = params_channels(params); local 543 int bclk = rate * chn * (width / 8); 553 ((chn == 2) && (ttsa != 1)) || (width == 32),
|
/linux-master/sound/core/seq/oss/ |
H A D | seq_oss_midi.c | 583 ossev.v.chn = ev->data.note.channel; 591 ossev.l.chn = ev->data.control.channel; 596 ossev.l.chn = ev->data.control.channel;
|
/linux-master/drivers/xen/ |
H A D | xen-scsiback.c | 72 unsigned int chn; /* channel */ member in struct:ids_tuple 658 if ((entry->v.chn == v->chn) && 721 vir.chn = ring_req->channel; 727 pr_debug("the v2p of (chn:%d, tgt:%d, lun:%d) doesn't exist.\n", 728 vir.chn, vir.tgt, vir.lun); 911 if ((entry->v.chn == v->chn) && 1114 &vir.hst, &vir.chn, &vir.tgt, &vir.lun);
|
/linux-master/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_prueth.c | 141 static int emac_tx_complete_packets(struct prueth_emac *emac, int chn, argument 154 tx_chn = &emac->tx_chns[chn]; 186 netif_txq = netdev_get_tx_queue(ndev, chn); 1090 struct prueth_rx_chn *chn, 1096 for (i = 0; i < chn->descs_num; i++) { 1101 ret = prueth_dma_rx_push(emac, skb, chn); 1105 chn->name, ret); 1128 static void prueth_reset_rx_chan(struct prueth_rx_chn *chn, argument 1134 k3_udma_glue_reset_rx_chn(chn->rx_chn, i, chn, 1089 prueth_prepare_rx_chan(struct prueth_emac *emac, struct prueth_rx_chn *chn, int buf_size) argument [all...] |
/linux-master/drivers/scsi/ |
H A D | xen-scsifront.c | 1047 unsigned int hst, chn, tgt, lun; local 1072 "%u:%u:%u:%u", &hst, &chn, &tgt, &lun); 1089 if (scsi_add_device(info->host, chn, tgt, lun)) { 1103 sdev = scsi_device_lookup(info->host, chn, tgt, lun);
|
/linux-master/sound/pci/emu10k1/ |
H A D | emuproc.c | 541 unsigned int chn) 545 regptr = (reg << 16) | chn; 557 unsigned int chn, 562 regptr = (reg << 16) | chn; 538 snd_ptr_read(struct snd_emu10k1 * emu, unsigned int iobase, unsigned int reg, unsigned int chn) argument 554 snd_ptr_write(struct snd_emu10k1 *emu, unsigned int iobase, unsigned int reg, unsigned int chn, unsigned int data) argument
|
H A D | emu10k1x.c | 281 unsigned int chn) 286 regptr = (reg << 16) | chn; 297 unsigned int chn, 303 regptr = (reg << 16) | chn; 279 snd_emu10k1x_ptr_read(struct emu10k1x * emu, unsigned int reg, unsigned int chn) argument 295 snd_emu10k1x_ptr_write(struct emu10k1x *emu, unsigned int reg, unsigned int chn, unsigned int data) argument
|
/linux-master/include/sound/ |
H A D | emu10k1.h | 1830 unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn); 1831 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data); 1832 void snd_emu10k1_ptr_write_multiple(struct snd_emu10k1 *emu, unsigned int chn, ...); 1833 unsigned int snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn); 1834 void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data);
|
/linux-master/drivers/hv/ |
H A D | channel_mgmt.c | 697 static bool hv_cpuself_used(u32 cpu, struct vmbus_channel *chn) argument 699 struct vmbus_channel *primary = chn->primary_channel; 711 if (sc != chn && sc->target_cpu == cpu)
|
/linux-master/sound/pci/ice1712/ |
H A D | ice1712.c | 588 u32 period_size, rate, tmp, chn; local 601 chn = substream->number * 2; 603 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_ADDR0, runtime->dma_addr); 604 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT0, period_size); 605 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_ADDR1, runtime->dma_addr + (runtime->periods > 1 ? period_size + 1 : 0)); 606 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT1, period_size); 607 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_RATE, rate); 608 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_VOLUME, 0); 609 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_CONTROL, tmp); 611 snd_ice1712_ds_write(ice, chn [all...] |
/linux-master/drivers/iio/imu/ |
H A D | adis16400.c | 670 #define ADIS16400_VOLTAGE_CHAN(addr, bits, name, si, chn) { \ 673 .channel = chn, \
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-nuss.c | 536 dev_err(common->dev, "couldn't enable rx chn: %d\n", ret); 543 dev_err(common->dev, "couldn't enable tx chn %d: %d\n", 817 dev_err(dev, "RX: pop chn fail %d\n", ret); 989 int chn, unsigned int budget, bool *tdown) 1000 tx_chn = &common->tx_chns[chn]; 1022 netif_txq = netdev_get_tx_queue(ndev, chn); 1029 dev_dbg(dev, "%s:%u pkt:%d\n", __func__, chn, num_tx); 1035 int chn, unsigned int budget, bool *tdown) 1046 tx_chn = &common->tx_chns[chn]; 1071 netif_txq = netdev_get_tx_queue(ndev, chn); 988 am65_cpsw_nuss_tx_compl_packets(struct am65_cpsw_common *common, int chn, unsigned int budget, bool *tdown) argument 1034 am65_cpsw_nuss_tx_compl_packets_2g(struct am65_cpsw_common *common, int chn, unsigned int budget, bool *tdown) argument [all...] |
/linux-master/drivers/clk/imx/ |
H A D | clk.h | 21 void imx_mmdc_mask_handshake(void __iomem *ccm_base, unsigned int chn);
|
/linux-master/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 160 struct vmbus_channel *chn local 163 if (!chn) 169 aread = hv_get_bytes_to_read(&chn->inbound); 173 aread = hv_get_bytes_to_read(&chn->outbound);
|