channels 61 arch/arm/mach-ep93xx/dma.c .channels = ep93xx_dma_m2p_channels, channels 92 arch/arm/mach-ep93xx/dma.c .channels = ep93xx_dma_m2m_channels, channels 363 arch/arm/mach-s3c24xx/common.c .channels = s3c2410_dma_channels, channels 432 arch/arm/mach-s3c24xx/common.c .channels = s3c2412_dma_channels, channels 524 arch/arm/mach-s3c24xx/common.c .channels = s3c2440_dma_channels, channels 598 arch/arm/mach-s3c24xx/common.c .channels = s3c2443_dma_channels, channels 615 arch/arm/plat-orion/common.c .channels = orion_xor0_channels_data, channels 676 arch/arm/plat-orion/common.c .channels = orion_xor1_channels_data, channels 83 arch/sh/drivers/dma/dma-api.c channel = &info->channels[i]; channels 147 arch/sh/drivers/dma/dma-api.c struct dma_channel *channel = &info->channels[i]; channels 171 arch/sh/drivers/dma/dma-api.c channel = &info->channels[i]; channels 264 arch/sh/drivers/dma/dma-api.c channel = &info->channels[i]; channels 326 arch/sh/drivers/dma/dma-api.c struct dma_channel *channel = info->channels + i; channels 348 arch/sh/drivers/dma/dma-api.c BUG_ON((info->flags & DMAC_CHANNELS_CONFIGURED) && !info->channels); channels 363 arch/sh/drivers/dma/dma-api.c info->channels = kzalloc(size, GFP_KERNEL); channels 364 arch/sh/drivers/dma/dma-api.c if (!info->channels) channels 371 arch/sh/drivers/dma/dma-api.c struct dma_channel *chan = &info->channels[i]; channels 398 arch/sh/drivers/dma/dma-api.c dma_remove_sysfs_files(info->channels + i, info); channels 401 arch/sh/drivers/dma/dma-api.c kfree(info->channels); channels 61 arch/sh/drivers/dma/dma-g2.c struct dma_channel *chan = info->channels + i; channels 94 arch/sh/include/asm/dma.h struct dma_channel *channels; channels 270 arch/x86/include/uapi/asm/kvm.h struct kvm_pit_channel_state channels[3]; channels 276 arch/x86/include/uapi/asm/kvm.h struct kvm_pit_channel_state channels[3]; channels 38 arch/x86/kernel/hpet.c struct hpet_channel *channels; channels 141 arch/x86/kernel/hpet.c u32 i, id, period, cfg, status, channels, l, h; channels 157 arch/x86/kernel/hpet.c channels = ((id & HPET_ID_NUMBER) >> HPET_ID_NUMBER_SHIFT) + 1; channels 159 arch/x86/kernel/hpet.c for (i = 0; i < channels; i++) { channels 205 arch/x86/kernel/hpet.c struct hpet_channel *hc = hpet_base.channels + i; channels 230 arch/x86/kernel/hpet.c struct hpet_channel *hc = hpet_base.channels + i; channels 562 arch/x86/kernel/hpet.c struct hpet_channel *hc = hpet_base.channels + i; channels 610 arch/x86/kernel/hpet.c struct hpet_channel *hc = hpet_base.channels + i; channels 815 arch/x86/kernel/hpet.c unsigned int i, channels; channels 850 arch/x86/kernel/hpet.c channels = ((id & HPET_ID_NUMBER) >> HPET_ID_NUMBER_SHIFT) + 1; channels 856 arch/x86/kernel/hpet.c if (IS_ENABLED(CONFIG_HPET_EMULATE_RTC) && channels < 2) channels 859 arch/x86/kernel/hpet.c hc = kcalloc(channels, sizeof(*hc), GFP_KERNEL); channels 864 arch/x86/kernel/hpet.c hpet_base.channels = hc; channels 865 arch/x86/kernel/hpet.c hpet_base.nr_channels = channels; channels 876 arch/x86/kernel/hpet.c for (i = 0; i < channels; i++, hc++) { channels 906 arch/x86/kernel/hpet.c hpet_legacy_clockevent_register(&hpet_base.channels[0]); channels 907 arch/x86/kernel/hpet.c hpet_base.channels[0].mode = HPET_MODE_LEGACY; channels 909 arch/x86/kernel/hpet.c hpet_base.channels[1].mode = HPET_MODE_LEGACY; channels 915 arch/x86/kernel/hpet.c kfree(hpet_base.channels); channels 916 arch/x86/kernel/hpet.c hpet_base.channels = NULL; channels 991 arch/x86/kernel/hpet.c hpet_writel(hpet_base.channels[i].boot_cfg, HPET_Tn_CFG(i)); channels 1091 arch/x86/kernel/hpet.c struct clock_event_device *evt = &hpet_base.channels[0].evt; channels 1189 arch/x86/kernel/hpet.c struct clock_event_device *evt = &hpet_base.channels[0].evt; channels 56 arch/x86/kvm/i8254.c struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; channels 79 arch/x86/kvm/i8254.c return pit->pit_state.channels[channel].gate; channels 117 arch/x86/kvm/i8254.c struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; channels 144 arch/x86/kvm/i8254.c struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; channels 176 arch/x86/kvm/i8254.c struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; channels 186 arch/x86/kvm/i8254.c struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; channels 367 arch/x86/kvm/i8254.c ps->channels[channel].count = val; channels 370 arch/x86/kvm/i8254.c ps->channels[channel].count_load_time = ktime_get(); channels 376 arch/x86/kvm/i8254.c switch (ps->channels[0].mode) { channels 402 arch/x86/kvm/i8254.c saved_mode = pit->pit_state.channels[0].mode; channels 403 arch/x86/kvm/i8254.c pit->pit_state.channels[0].mode = 0xff; /* disable timer */ channels 405 arch/x86/kvm/i8254.c pit->pit_state.channels[0].mode = saved_mode; channels 453 arch/x86/kvm/i8254.c s = &pit_state->channels[channel]; channels 463 arch/x86/kvm/i8254.c s = &pit_state->channels[channel]; channels 479 arch/x86/kvm/i8254.c s = &pit_state->channels[addr]; channels 518 arch/x86/kvm/i8254.c s = &pit_state->channels[addr]; channels 621 arch/x86/kvm/i8254.c c = &pit->pit_state.channels[i]; channels 27 arch/x86/kvm/i8254.h struct kvm_kpit_channel_state channels[3]; channels 4654 arch/x86/kvm/x86.c BUILD_BUG_ON(sizeof(*ps) != sizeof(kps->channels)); channels 4657 arch/x86/kvm/x86.c memcpy(ps, &kps->channels, sizeof(*ps)); channels 4668 arch/x86/kvm/x86.c memcpy(&pit->pit_state.channels, ps, sizeof(*ps)); channels 4670 arch/x86/kvm/x86.c kvm_pit_load_count(pit, i, ps->channels[i].count, 0); channels 4678 arch/x86/kvm/x86.c memcpy(ps->channels, &kvm->arch.vpit->pit_state.channels, channels 4679 arch/x86/kvm/x86.c sizeof(ps->channels)); channels 4698 arch/x86/kvm/x86.c memcpy(&pit->pit_state.channels, &ps->channels, channels 4699 arch/x86/kvm/x86.c sizeof(pit->pit_state.channels)); channels 4702 arch/x86/kvm/x86.c kvm_pit_load_count(pit, i, pit->pit_state.channels[i].count, channels 163 drivers/acpi/acpica/amlresrc.h u16 channels; channels 53 drivers/acpi/acpica/rsdumpinfo.c {ACPI_RSD_SHORTLIST, ACPI_RSD_OFFSET(dma.channels[0]), "Channel List", channels 400 drivers/acpi/acpica/rsdumpinfo.c {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(fixed_dma.channels), "Channels", channels 239 drivers/acpi/acpica/rsirq.c {ACPI_RSC_BITMASK, ACPI_RS_OFFSET(data.dma.channels[0]), channels 112 drivers/char/xillybus/xillybus.h struct xilly_channel **channels; channels 191 drivers/char/xillybus/xillybus_core.c channel = ep->channels[msg_channel]; channels 233 drivers/char/xillybus/xillybus_core.c !ep->channels[msg_channel]->wr_supports_nonempty) { channels 238 drivers/char/xillybus/xillybus_core.c channel = ep->channels[msg_channel]; channels 260 drivers/char/xillybus/xillybus_core.c !ep->channels[msg_channel]->num_wr_buffers) { channels 264 drivers/char/xillybus/xillybus_core.c channel = ep->channels[msg_channel]; channels 436 drivers/char/xillybus/xillybus_core.c ep->channels = devm_kcalloc(dev, ep->num_channels + 1, channels 439 drivers/char/xillybus/xillybus_core.c if (!ep->channels) channels 442 drivers/char/xillybus/xillybus_core.c ep->channels[0] = NULL; /* Channel 0 is message buf. */ channels 479 drivers/char/xillybus/xillybus_core.c ep->channels[i] = channel++; channels 503 drivers/char/xillybus/xillybus_core.c channel = ep->channels[channelnum]; /* NULL for msg channel */ channels 568 drivers/char/xillybus/xillybus_core.c unsigned char *idt = endpoint->channels[1]->wr_buffers[0]->addr; channels 613 drivers/char/xillybus/xillybus_core.c channel = endpoint->channels[1]; /* This should be generated ad-hoc */ channels 1439 drivers/char/xillybus/xillybus_core.c channel = endpoint->channels[1 + minor - endpoint->lowest_minor]; channels 118 drivers/clocksource/sh_cmt.c struct sh_cmt_channel *channels; channels 1012 drivers/clocksource/sh_cmt.c cmt->channels = kcalloc(cmt->num_channels, sizeof(*cmt->channels), channels 1014 drivers/clocksource/sh_cmt.c if (cmt->channels == NULL) { channels 1028 drivers/clocksource/sh_cmt.c ret = sh_cmt_setup_channel(&cmt->channels[i], i, hwidx, channels 1041 drivers/clocksource/sh_cmt.c kfree(cmt->channels); channels 45 drivers/clocksource/sh_mtu2.c struct sh_mtu2_channel *channels; channels 419 drivers/clocksource/sh_mtu2.c mtu->channels = kcalloc(mtu->num_channels, sizeof(*mtu->channels), channels 421 drivers/clocksource/sh_mtu2.c if (mtu->channels == NULL) { channels 427 drivers/clocksource/sh_mtu2.c ret = sh_mtu2_setup_channel(&mtu->channels[i], i, mtu); channels 437 drivers/clocksource/sh_mtu2.c kfree(mtu->channels); channels 59 drivers/clocksource/sh_tmu.c struct sh_tmu_channel *channels; channels 561 drivers/clocksource/sh_tmu.c tmu->channels = kcalloc(tmu->num_channels, sizeof(*tmu->channels), channels 563 drivers/clocksource/sh_tmu.c if (tmu->channels == NULL) { channels 573 drivers/clocksource/sh_tmu.c ret = sh_tmu_channel_setup(&tmu->channels[i], i, channels 584 drivers/clocksource/sh_tmu.c kfree(tmu->channels); channels 1430 drivers/counter/104-quad-8.c indio_dev->channels = quad8_channels; channels 656 drivers/counter/stm32-lptimer-cnt.c indio_dev->channels = &stm32_lptim_enc_channels; channels 658 drivers/counter/stm32-lptimer-cnt.c indio_dev->channels = &stm32_lptim_cnt_channels; channels 702 drivers/crypto/ccp/ccp-dmaengine.c INIT_LIST_HEAD(&dma_dev->channels); channels 721 drivers/crypto/ccp/ccp-dmaengine.c list_add_tail(&dma_chan->device_node, &dma_dev->channels); channels 339 drivers/dma/acpi-dma.c pdata->dma_spec.chan_id = dma->channels; channels 856 drivers/dma/altera-msgdma.c INIT_LIST_HEAD(&dma_dev->channels); channels 872 drivers/dma/altera-msgdma.c list_add_tail(&mdev->dmachan.device_node, &dma_dev->channels); channels 113 drivers/dma/amba-pl08x.c u8 channels; channels 825 drivers/dma/amba-pl08x.c for (i = 0; i < pl08x->vd->channels; i++) { channels 839 drivers/dma/amba-pl08x.c if (i == pl08x->vd->channels) { channels 917 drivers/dma/amba-pl08x.c list_for_each_entry(p, &pl08x->memcpy.channels, vc.chan.device_node) channels 925 drivers/dma/amba-pl08x.c list_for_each_entry(p, &pl08x->slave.channels, vc.chan.device_node) channels 2311 drivers/dma/amba-pl08x.c for (i = 0; i < pl08x->vd->channels; i++) { channels 2370 drivers/dma/amba-pl08x.c struct dma_device *dmadev, unsigned int channels, bool slave) channels 2375 drivers/dma/amba-pl08x.c INIT_LIST_HEAD(&dmadev->channels); channels 2382 drivers/dma/amba-pl08x.c for (i = 0; i < channels; i++) { channels 2433 drivers/dma/amba-pl08x.c next, &dmadev->channels, vc.chan.device_node) { channels 2468 drivers/dma/amba-pl08x.c for (i = 0; i < pl08x->vd->channels; i++) { channels 2487 drivers/dma/amba-pl08x.c list_for_each_entry(chan, &pl08x->memcpy.channels, vc.chan.device_node) { channels 2496 drivers/dma/amba-pl08x.c list_for_each_entry(chan, &pl08x->slave.channels, channels 2531 drivers/dma/amba-pl08x.c list_for_each_entry(chan, &pl08x->slave.channels, vc.chan.device_node) { channels 2754 drivers/dma/amba-pl08x.c vd->channels = (val >> 12) & 0x0f; channels 2869 drivers/dma/amba-pl08x.c pl08x->phy_chans = kzalloc((vd->channels * sizeof(*pl08x->phy_chans)), channels 2876 drivers/dma/amba-pl08x.c for (i = 0; i < vd->channels; i++) { channels 2923 drivers/dma/amba-pl08x.c pl08x->vd->channels, false); channels 2995 drivers/dma/amba-pl08x.c .channels = 8, channels 3003 drivers/dma/amba-pl08x.c .channels = 8, channels 3012 drivers/dma/amba-pl08x.c .channels = 8, channels 3020 drivers/dma/amba-pl08x.c .channels = 2, channels 1886 drivers/dma/at_hdmac.c INIT_LIST_HEAD(&atdma->dma_common.channels); channels 1895 drivers/dma/at_hdmac.c &atdma->dma_common.channels); channels 2007 drivers/dma/at_hdmac.c list_for_each_entry_safe(chan, _chan, &atdma->dma_common.channels, channels 2045 drivers/dma/at_hdmac.c list_for_each_entry_safe(chan, _chan, &atdma->dma_common.channels, channels 2080 drivers/dma/at_hdmac.c list_for_each_entry_safe(chan, _chan, &atdma->dma_common.channels, channels 2130 drivers/dma/at_hdmac.c list_for_each_entry_safe(chan, _chan, &atdma->dma_common.channels, channels 1883 drivers/dma/at_xdmac.c list_for_each_entry_safe(chan, _chan, &atxdmac->dma.channels, device_node) { channels 1902 drivers/dma/at_xdmac.c list_for_each_entry_safe(chan, _chan, &atxdmac->dma.channels, device_node) { channels 1941 drivers/dma/at_xdmac.c list_for_each_entry_safe(chan, _chan, &atxdmac->dma.channels, device_node) { channels 2065 drivers/dma/at_xdmac.c INIT_LIST_HEAD(&atxdmac->dma.channels); channels 2071 drivers/dma/at_xdmac.c &atxdmac->dma.channels); channels 1601 drivers/dma/bcm-sba-raid.c INIT_LIST_HEAD(&dma_dev->channels); channels 1602 drivers/dma/bcm-sba-raid.c list_add_tail(&sba->dma_chan.device_node, &dma_dev->channels); channels 851 drivers/dma/bcm2835-dma.c list_for_each_entry_safe(c, next, &od->ddev.channels, channels 939 drivers/dma/bcm2835-dma.c INIT_LIST_HEAD(&od->ddev.channels); channels 2596 drivers/dma/coh901318.c INIT_LIST_HEAD(&dma->channels); channels 2622 drivers/dma/coh901318.c &dma->channels); channels 892 drivers/dma/dma-axi-dmac.c INIT_LIST_HEAD(&dma_dev->channels); channels 948 drivers/dma/dma-jz4780.c INIT_LIST_HEAD(&dd->channels); channels 364 drivers/dma/dmaengine.c list_for_each_entry(chan, &device->channels, device_node) channels 403 drivers/dma/dmaengine.c list_for_each_entry(chan, &device->channels, device_node) { channels 447 drivers/dma/dmaengine.c list_for_each_entry(chan, &device->channels, device_node) channels 513 drivers/dma/dmaengine.c list_for_each_entry(chan, &dev->channels, device_node) { channels 519 drivers/dma/dmaengine.c list_for_each_entry(chan, &dev->channels, device_node) { channels 809 drivers/dma/dmaengine.c list_for_each_entry(chan, &device->channels, device_node) { channels 847 drivers/dma/dmaengine.c list_for_each_entry(chan, &device->channels, device_node) channels 1017 drivers/dma/dmaengine.c list_for_each_entry(chan, &device->channels, device_node) { channels 1061 drivers/dma/dmaengine.c list_for_each_entry(chan, &device->channels, device_node) { channels 1091 drivers/dma/dmaengine.c list_for_each_entry(chan, &device->channels, device_node) { channels 1120 drivers/dma/dmaengine.c list_for_each_entry(chan, &device->channels, device_node) { channels 130 drivers/dma/dmatest.c struct list_head channels; channels 135 drivers/dma/dmatest.c .channels = LIST_HEAD_INIT(test_info.channels), channels 239 drivers/dma/dmatest.c list_for_each_entry(dtc, &info->channels, node) { channels 255 drivers/dma/dmatest.c list_for_each_entry(dtc, &info->channels, node) { channels 1028 drivers/dma/dmatest.c list_add_tail(&dtc->node, &info->channels); channels 1101 drivers/dma/dmatest.c list_for_each_entry(dtc, &info->channels, node) { channels 1119 drivers/dma/dmatest.c list_for_each_entry_safe(dtc, _dtc, &info->channels, node) { channels 1201 drivers/dma/dmatest.c list_for_each_entry(dtc, &info->channels, node) { channels 1204 drivers/dma/dmatest.c dtc = list_last_entry(&info->channels, channels 1219 drivers/dma/dmatest.c dtc = list_last_entry(&info->channels, struct dmatest_chan, node); channels 1274 drivers/dma/dmatest.c list_for_each_entry(dtc, &info->channels, node) { channels 885 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c INIT_LIST_HEAD(&dw->dma.channels); channels 975 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c list_for_each_entry_safe(chan, _chan, &dw->dma.channels, channels 662 drivers/dma/dw-edma/dw-edma-core.c INIT_LIST_HEAD(&dma->channels); channels 912 drivers/dma/dw-edma/dw-edma-core.c list_for_each_entry_safe(chan, _chan, &dw->wr_edma.channels, channels 918 drivers/dma/dw-edma/dw-edma-core.c list_for_each_entry_safe(chan, _chan, &dw->rd_edma.channels, channels 1136 drivers/dma/dw/core.c INIT_LIST_HEAD(&dw->dma.channels); channels 1144 drivers/dma/dw/core.c &dw->dma.channels); channels 1146 drivers/dma/dw/core.c list_add(&dwc->chan.device_node, &dw->dma.channels); channels 1254 drivers/dma/dw/core.c list_for_each_entry_safe(dwc, _dwc, &dw->dma.channels, channels 214 drivers/dma/ep93xx_dma.c struct ep93xx_dma_chan channels[]; channels 1333 drivers/dma/ep93xx_dma.c INIT_LIST_HEAD(&dma_dev->channels); channels 1335 drivers/dma/ep93xx_dma.c const struct ep93xx_dma_chan_data *cdata = &pdata->channels[i]; channels 1336 drivers/dma/ep93xx_dma.c struct ep93xx_dma_chan *edmac = &edma->channels[i]; channels 1358 drivers/dma/ep93xx_dma.c &dma_dev->channels); channels 1399 drivers/dma/ep93xx_dma.c struct ep93xx_dma_chan *edmac = &edma->channels[i]; channels 654 drivers/dma/fsl-edma-common.c &dmadev->channels, vchan.chan.device_node) { channels 109 drivers/dma/fsl-edma.c list_for_each_entry_safe(chan, _chan, &fsl_edma->dma_dev.channels, device_node) { channels 336 drivers/dma/fsl-edma.c INIT_LIST_HEAD(&fsl_edma->dma_dev.channels); channels 1162 drivers/dma/fsl-qdma.c INIT_LIST_HEAD(&fsl_qdma->dma_dev.channels); channels 1212 drivers/dma/fsl-qdma.c &dmadev->channels, vchan.chan.device_node) { channels 785 drivers/dma/fsl_raid.c INIT_LIST_HEAD(&dma_dev->channels); channels 1190 drivers/dma/fsldma.c list_add_tail(&chan->common.device_node, &fdev->common.channels); channels 1226 drivers/dma/fsldma.c INIT_LIST_HEAD(&fdev->common.channels); channels 437 drivers/dma/hsu/hsu.c INIT_LIST_HEAD(&hsu->dma.channels); channels 558 drivers/dma/idma64.c INIT_LIST_HEAD(&idma64->dma.channels); channels 146 drivers/dma/img-mdc-dma.c struct mdc_chan channels[MDC_MAX_DMA_CHANNELS]; channels 817 drivers/dma/img-mdc-dma.c list_for_each_entry(chan, &mdma->dma_dev.channels, device_node) { channels 968 drivers/dma/img-mdc-dma.c INIT_LIST_HEAD(&mdma->dma_dev.channels); channels 970 drivers/dma/img-mdc-dma.c struct mdc_chan *mchan = &mdma->channels[i]; channels 1031 drivers/dma/img-mdc-dma.c list_for_each_entry_safe(mchan, next, &mdma->dma_dev.channels, channels 1055 drivers/dma/img-mdc-dma.c struct mdc_chan *mchan = &mdma->channels[i]; channels 1135 drivers/dma/imx-dma.c INIT_LIST_HEAD(&imxdma->dma_device.channels); channels 1180 drivers/dma/imx-dma.c &imxdma->dma_device.channels); channels 2066 drivers/dma/imx-sdma.c INIT_LIST_HEAD(&sdma->dma_device.channels); channels 330 drivers/dma/ioat/init.c dma_chan = container_of(dma->channels.next, struct dma_chan, channels 562 drivers/dma/ioat/init.c INIT_LIST_HEAD(&dma->channels); channels 577 drivers/dma/ioat/init.c INIT_LIST_HEAD(&dma->channels); channels 778 drivers/dma/ioat/init.c list_add_tail(&ioat_chan->dma_chan.device_node, &dma->channels); channels 843 drivers/dma/ioat/init.c dma_chan = container_of(dma->channels.next, struct dma_chan, channels 1077 drivers/dma/ioat/init.c list_for_each_entry(c, &dma->channels, device_node) { channels 1180 drivers/dma/ioat/init.c list_for_each_entry(c, &dma->channels, device_node) { channels 80 drivers/dma/ioat/sysfs.c list_for_each_entry(c, &dma->channels, device_node) { channels 101 drivers/dma/ioat/sysfs.c list_for_each_entry(c, &dma->channels, device_node) { channels 858 drivers/dma/iop-adma.c dma_chan = container_of(device->common.channels.next, channels 956 drivers/dma/iop-adma.c dma_chan = container_of(device->common.channels.next, channels 1118 drivers/dma/iop-adma.c dma_chan = container_of(device->common.channels.next, channels 1254 drivers/dma/iop-adma.c list_for_each_entry_safe(chan, _chan, &device->common.channels, channels 1312 drivers/dma/iop-adma.c INIT_LIST_HEAD(&dma_dev->channels); channels 1382 drivers/dma/iop-adma.c list_add_tail(&iop_chan->common.device_node, &dma_dev->channels); channels 1629 drivers/dma/ipu/ipu_idmac.c INIT_LIST_HEAD(&dma->channels); channels 1644 drivers/dma/ipu/ipu_idmac.c list_add_tail(&dma_chan->device_node, &dma->channels); channels 308 drivers/dma/k3dma.c list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { channels 917 drivers/dma/k3dma.c INIT_LIST_HEAD(&d->slave.channels); channels 993 drivers/dma/k3dma.c list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { channels 215 drivers/dma/mcf-edma.c INIT_LIST_HEAD(&mcf_edma->dma_dev.channels); channels 785 drivers/dma/mediatek/mtk-cqdma.c INIT_LIST_HEAD(&dd->channels); channels 951 drivers/dma/mediatek/mtk-hsdma.c INIT_LIST_HEAD(&dd->channels); channels 458 drivers/dma/mediatek/mtk-uart-apdma.c while (!list_empty(&mtkd->ddev.channels)) { channels 459 drivers/dma/mediatek/mtk-uart-apdma.c struct mtk_chan *c = list_first_entry(&mtkd->ddev.channels, channels 519 drivers/dma/mediatek/mtk-uart-apdma.c INIT_LIST_HEAD(&mtkd->ddev.channels); channels 610 drivers/dma/mic_x100_dma.c INIT_LIST_HEAD(&mic_dma_dev->dma_dev.channels); channels 615 drivers/dma/mic_x100_dma.c &mic_dma_dev->dma_dev.channels); channels 999 drivers/dma/mmp_pdma.c list_add_tail(&chan->chan.device_node, &pdev->device.channels); channels 1070 drivers/dma/mmp_pdma.c INIT_LIST_HEAD(&pdev->device.channels); channels 583 drivers/dma/mmp_tdma.c &tdev->device.channels); channels 661 drivers/dma/mmp_tdma.c INIT_LIST_HEAD(&tdev->device.channels); channels 519 drivers/dma/moxart-dma.c INIT_LIST_HEAD(&dma->channels); channels 218 drivers/dma/mpc512x_dma.c struct mpc_dma_chan channels[MPC_DMA_CHANNELS]; channels 243 drivers/dma/mpc512x_dma.c return container_of(mchan, struct mpc_dma, channels[c->chan_id]); channels 327 drivers/dma/mpc512x_dma.c mchan = &mdma->channels[ch + off]; channels 387 drivers/dma/mpc512x_dma.c mchan = &mdma->channels[i]; channels 987 drivers/dma/mpc512x_dma.c INIT_LIST_HEAD(&dma->channels); channels 997 drivers/dma/mpc512x_dma.c mchan = &mdma->channels[i]; channels 1009 drivers/dma/mpc512x_dma.c list_add_tail(&mchan->chan.device_node, &dma->channels); channels 1023 drivers/dma/mv_xor.c list_for_each_entry_safe(chan, _chan, &mv_chan->dmadev.channels, channels 1080 drivers/dma/mv_xor.c INIT_LIST_HEAD(&dma_dev->channels); channels 1126 drivers/dma/mv_xor.c list_add_tail(&mv_chan->dmachan.device_node, &dma_dev->channels); channels 1238 drivers/dma/mv_xor.c struct mv_xor_chan *mv_chan = xordev->channels[i]; channels 1259 drivers/dma/mv_xor.c struct mv_xor_chan *mv_chan = xordev->channels[i]; channels 1408 drivers/dma/mv_xor.c xordev->channels[i] = chan; channels 1411 drivers/dma/mv_xor.c } else if (pdata && pdata->channels) { channels 1417 drivers/dma/mv_xor.c cd = &pdata->channels[i]; channels 1431 drivers/dma/mv_xor.c xordev->channels[i] = chan; channels 1439 drivers/dma/mv_xor.c if (xordev->channels[i]) { channels 1440 drivers/dma/mv_xor.c mv_xor_channel_remove(xordev->channels[i]); channels 1442 drivers/dma/mv_xor.c irq_dispose_mapping(xordev->channels[i]->irq); channels 81 drivers/dma/mv_xor.h struct mv_xor_chan *channels[MV_XOR_MAX_CHANNELS]; channels 837 drivers/dma/mv_xor_v2.c INIT_LIST_HEAD(&dma_dev->channels); channels 852 drivers/dma/mv_xor_v2.c &dma_dev->channels); channels 805 drivers/dma/mxs-dma.c INIT_LIST_HEAD(&mxs_dma->dma_device.channels); channels 821 drivers/dma/mxs-dma.c &mxs_dma->dma_device.channels); channels 1265 drivers/dma/nbpfaxi.c &dma_dev->channels); channels 1390 drivers/dma/nbpfaxi.c INIT_LIST_HEAD(&dma_dev->channels); channels 343 drivers/dma/of-dma.c list_for_each_entry(chan, &dev->channels, device_node) channels 1015 drivers/dma/owl-dma.c next, &od->dma.channels, vc.chan.device_node) { channels 1104 drivers/dma/owl-dma.c INIT_LIST_HEAD(&od->dma.channels); channels 121 drivers/dma/pch_dma.c struct pch_dma_chan channels[MAX_CHAN_NR]; channels 708 drivers/dma/pch_dma.c pd_chan = &pd->channels[i]; channels 750 drivers/dma/pch_dma.c list_for_each_entry_safe(chan, _c, &pd->dma.channels, device_node) { channels 773 drivers/dma/pch_dma.c list_for_each_entry_safe(chan, _c, &pd->dma.channels, device_node) { channels 885 drivers/dma/pch_dma.c INIT_LIST_HEAD(&pd->dma.channels); channels 888 drivers/dma/pch_dma.c struct pch_dma_chan *pd_chan = &pd->channels[i]; channels 903 drivers/dma/pch_dma.c list_add_tail(&pd_chan->chan.device_node, &pd->dma.channels); channels 951 drivers/dma/pch_dma.c list_for_each_entry_safe(chan, _c, &pd->dma.channels, channels 485 drivers/dma/pl330.c struct pl330_thread *channels; channels 1596 drivers/dma/pl330.c struct pl330_thread *thrd = &pl330->channels[i]; channels 1655 drivers/dma/pl330.c _stop(&pl330->channels[i]); channels 1686 drivers/dma/pl330.c thrd = &pl330->channels[id]; channels 1763 drivers/dma/pl330.c thrd = &pl330->channels[i]; channels 1878 drivers/dma/pl330.c pl330->channels = kcalloc(1 + chans, sizeof(*thrd), channels 1880 drivers/dma/pl330.c if (!pl330->channels) channels 1885 drivers/dma/pl330.c thrd = &pl330->channels[i]; channels 1893 drivers/dma/pl330.c thrd = &pl330->channels[chans]; channels 1988 drivers/dma/pl330.c thrd = &pl330->channels[i]; channels 1993 drivers/dma/pl330.c kfree(pl330->channels); channels 2918 drivers/dma/pl330.c struct pl330_thread *thrd = &pl330->channels[ch]; channels 3086 drivers/dma/pl330.c INIT_LIST_HEAD(&pd->channels); channels 3113 drivers/dma/pl330.c list_add_tail(&pch->chan.device_node, &pd->channels); channels 3183 drivers/dma/pl330.c list_for_each_entry_safe(pch, _p, &pl330->ddma.channels, channels 3226 drivers/dma/pl330.c list_for_each_entry_safe(pch, _p, &pl330->ddma.channels, channels 4126 drivers/dma/ppc4xx/adma.c INIT_LIST_HEAD(&adev->common.channels); channels 4143 drivers/dma/ppc4xx/adma.c list_add_tail(&chan->common.device_node, &adev->common.channels); channels 4251 drivers/dma/ppc4xx/adma.c list_for_each_entry_safe(chan, _chan, &adev->common.channels, channels 1226 drivers/dma/pxa_dma.c list_for_each_entry_safe(c, cn, &dmadev->channels, channels 1319 drivers/dma/pxa_dma.c INIT_LIST_HEAD(&pdev->slave.channels); channels 385 drivers/dma/qcom/bam_dma.c struct bam_chan *channels; channels 802 drivers/dma/qcom/bam_dma.c struct bam_chan *bchan = &bdev->channels[i]; channels 1087 drivers/dma/qcom/bam_dma.c bchan = &bdev->channels[i]; channels 1144 drivers/dma/qcom/bam_dma.c return dma_get_slave_channel(&(bdev->channels[request].vc.chan)); channels 1298 drivers/dma/qcom/bam_dma.c bdev->channels = devm_kcalloc(bdev->dev, bdev->num_channels, channels 1299 drivers/dma/qcom/bam_dma.c sizeof(*bdev->channels), GFP_KERNEL); channels 1301 drivers/dma/qcom/bam_dma.c if (!bdev->channels) { channels 1307 drivers/dma/qcom/bam_dma.c INIT_LIST_HEAD(&bdev->common.channels); channels 1310 drivers/dma/qcom/bam_dma.c bam_channel_init(bdev, &bdev->channels[i], i); channels 1377 drivers/dma/qcom/bam_dma.c tasklet_kill(&bdev->channels[i].vc.task); channels 1402 drivers/dma/qcom/bam_dma.c bam_dma_terminate_all(&bdev->channels[i].vc.chan); channels 1403 drivers/dma/qcom/bam_dma.c tasklet_kill(&bdev->channels[i].vc.task); channels 1405 drivers/dma/qcom/bam_dma.c if (!bdev->channels[i].fifo_virt) channels 1409 drivers/dma/qcom/bam_dma.c bdev->channels[i].fifo_virt, channels 1410 drivers/dma/qcom/bam_dma.c bdev->channels[i].fifo_phys); channels 101 drivers/dma/qcom/hidma.c INIT_LIST_HEAD(&dmadev->ddev.channels); channels 222 drivers/dma/qcom/hidma.c list_add_tail(&mchan->chan.device_node, &ddev->channels); channels 800 drivers/dma/qcom/hidma.c INIT_LIST_HEAD(&dmadev->ddev.channels); channels 878 drivers/dma/qcom/hidma.c INIT_LIST_HEAD(&dmadev->ddev.channels); channels 150 drivers/dma/qcom/hidma_dbg.c list_for_each(position, &dmadev->ddev.channels) { channels 263 drivers/dma/s3c24xx-dma.c struct s3c24xx_dma_channel *cdata = &pdata->channels[s3cchan->id]; channels 464 drivers/dma/s3c24xx-dma.c &pdata->channels[s3cchan->id]; channels 590 drivers/dma/s3c24xx-dma.c list_for_each_entry(p, &s3cdma->memcpy.channels, vc.chan.device_node) channels 597 drivers/dma/s3c24xx-dma.c list_for_each_entry(p, &s3cdma->slave.channels, channels 884 drivers/dma/s3c24xx-dma.c struct s3c24xx_dma_channel *cdata = &pdata->channels[s3cchan->id]; channels 982 drivers/dma/s3c24xx-dma.c struct s3c24xx_dma_channel *cdata = &pdata->channels[s3cchan->id]; channels 1089 drivers/dma/s3c24xx-dma.c struct dma_device *dmadev, unsigned int channels, bool slave) channels 1094 drivers/dma/s3c24xx-dma.c INIT_LIST_HEAD(&dmadev->channels); channels 1101 drivers/dma/s3c24xx-dma.c for (i = 0; i < channels; i++) { channels 1138 drivers/dma/s3c24xx-dma.c next, &dmadev->channels, vc.chan.device_node) { channels 335 drivers/dma/sa11x0-dma.c list_for_each_entry(c, &d->slave.channels, vc.chan.device_node) { channels 840 drivers/dma/sa11x0-dma.c INIT_LIST_HEAD(&dmadev->channels); channels 894 drivers/dma/sa11x0-dma.c list_for_each_entry_safe(c, cn, &dmadev->channels, vc.chan.device_node) { channels 205 drivers/dma/sh/rcar-dmac.c struct rcar_dmac_chan *channels; channels 817 drivers/dma/sh/rcar-dmac.c struct rcar_dmac_chan *chan = &dmac->channels[i]; channels 1767 drivers/dma/sh/rcar-dmac.c list_add_tail(&chan->device_node, &dmac->engine.channels); channels 1845 drivers/dma/sh/rcar-dmac.c dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, channels 1846 drivers/dma/sh/rcar-dmac.c sizeof(*dmac->channels), GFP_KERNEL); channels 1847 drivers/dma/sh/rcar-dmac.c if (!dmac->channels) channels 1898 drivers/dma/sh/rcar-dmac.c INIT_LIST_HEAD(&engine->channels); channels 1904 drivers/dma/sh/rcar-dmac.c ret = rcar_dmac_chan_probe(dmac, &dmac->channels[i], i); channels 978 drivers/dma/sh/shdma-base.c &sdev->dma_dev.channels); channels 1015 drivers/dma/sh/shdma-base.c INIT_LIST_HEAD(&dma_dev->channels); channels 103 drivers/dma/sh/usb-dmac.c struct usb_dmac_chan *channels; channels 678 drivers/dma/sh/usb-dmac.c if (!dmac->channels[i].iomem) channels 680 drivers/dma/sh/usb-dmac.c usb_dmac_chan_halt(&dmac->channels[i]); channels 784 drivers/dma/sh/usb-dmac.c dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, channels 785 drivers/dma/sh/usb-dmac.c sizeof(*dmac->channels), GFP_KERNEL); channels 786 drivers/dma/sh/usb-dmac.c if (!dmac->channels) channels 811 drivers/dma/sh/usb-dmac.c INIT_LIST_HEAD(&dmac->engine.channels); channels 814 drivers/dma/sh/usb-dmac.c ret = usb_dmac_chan_probe(dmac, &dmac->channels[i], i); channels 875 drivers/dma/sh/usb-dmac.c usb_dmac_chan_remove(dmac, &dmac->channels[i]); channels 121 drivers/dma/sirf-dma.c struct sirfsoc_dma_chan channels[SIRFSOC_DMA_CHANNELS]; channels 159 drivers/dma/sirf-dma.c return container_of(schan, struct sirfsoc_dma, channels[c->chan_id]); channels 282 drivers/dma/sirf-dma.c schan = &sdma->channels[ch]; channels 304 drivers/dma/sirf-dma.c schan = &sdma->channels[0]; channels 350 drivers/dma/sirf-dma.c schan = &sdma->channels[i]; channels 836 drivers/dma/sirf-dma.c return dma_get_slave_channel(&sdma->channels[request].chan); channels 919 drivers/dma/sirf-dma.c INIT_LIST_HEAD(&dma->channels); channels 926 drivers/dma/sirf-dma.c schan = &sdma->channels[i]; channels 938 drivers/dma/sirf-dma.c list_add_tail(&schan->chan.device_node, &dma->channels); channels 1042 drivers/dma/sirf-dma.c schan = &sdma->channels[ch]; channels 1085 drivers/dma/sirf-dma.c schan = &sdma->channels[ch]; channels 212 drivers/dma/sprd-dma.c struct sprd_dma_chn channels[0]; channels 230 drivers/dma/sprd-dma.c return container_of(schan, struct sprd_dma_dev, channels[c->chan_id]); channels 575 drivers/dma/sprd-dma.c schan = &sdev->channels[i]; channels 1094 drivers/dma/sprd-dma.c struct_size(sdev, channels, chn_count), channels 1137 drivers/dma/sprd-dma.c INIT_LIST_HEAD(&sdev->dma_dev.channels); channels 1152 drivers/dma/sprd-dma.c dma_chn = &sdev->channels[i]; channels 1214 drivers/dma/sprd-dma.c list_for_each_entry_safe(c, cn, &sdev->dma_dev.channels, channels 792 drivers/dma/st_fdma.c INIT_LIST_HEAD(&fdev->dma_device.channels); channels 2789 drivers/dma/ste_dma40.c INIT_LIST_HEAD(&dma->channels); channels 2811 drivers/dma/ste_dma40.c &dma->channels); channels 1341 drivers/dma/stm32-dma.c INIT_LIST_HEAD(&dd->channels); channels 1630 drivers/dma/stm32-mdma.c INIT_LIST_HEAD(&dd->channels); channels 1153 drivers/dma/sun4i-dma.c INIT_LIST_HEAD(&priv->slave.channels); channels 478 drivers/dma/sun6i-dma.c list_for_each_entry(vchan, &sdev->slave.channels, vc.chan.device_node) { channels 1293 drivers/dma/sun6i-dma.c INIT_LIST_HEAD(&sdc->slave.channels); channels 229 drivers/dma/tegra20-apb-dma.c struct tegra_dma_channel channels[0]; channels 1392 drivers/dma/tegra20-apb-dma.c struct_size(tdma, channels, cdata->nr_channels), channels 1443 drivers/dma/tegra20-apb-dma.c INIT_LIST_HEAD(&tdma->dma_dev.channels); channels 1445 drivers/dma/tegra20-apb-dma.c struct tegra_dma_channel *tdc = &tdma->channels[i]; channels 1470 drivers/dma/tegra20-apb-dma.c &tdma->dma_dev.channels); channels 1535 drivers/dma/tegra20-apb-dma.c struct tegra_dma_channel *tdc = &tdma->channels[i]; channels 1556 drivers/dma/tegra20-apb-dma.c tdc = &tdma->channels[i]; channels 1575 drivers/dma/tegra20-apb-dma.c struct tegra_dma_channel *tdc = &tdma->channels[i]; channels 1613 drivers/dma/tegra20-apb-dma.c struct tegra_dma_channel *tdc = &tdma->channels[i]; channels 167 drivers/dma/tegra210-adma.c struct tegra_adma_chan channels[0]; channels 724 drivers/dma/tegra210-adma.c tdc = &tdma->channels[i]; channels 762 drivers/dma/tegra210-adma.c tdc = &tdma->channels[i]; channels 830 drivers/dma/tegra210-adma.c struct_size(tdma, channels, cdata->nr_channels), channels 851 drivers/dma/tegra210-adma.c INIT_LIST_HEAD(&tdma->dma_dev.channels); channels 853 drivers/dma/tegra210-adma.c struct tegra_adma_chan *tdc = &tdma->channels[i]; channels 928 drivers/dma/tegra210-adma.c irq_dispose_mapping(tdma->channels[i].irq); channels 942 drivers/dma/tegra210-adma.c irq_dispose_mapping(tdma->channels[i].irq); channels 808 drivers/dma/ti/cppi41.c list_add_tail(&cchan->chan.device_node, &cdd->ddev.channels); channels 1067 drivers/dma/ti/cppi41.c INIT_LIST_HEAD(&cdd->ddev.channels); channels 1198 drivers/dma/ti/cppi41.c list_for_each_entry(c, &cdd->ddev.channels, chan.device_node) channels 1930 drivers/dma/ti/edma.c INIT_LIST_HEAD(&s_ddev->channels); channels 1961 drivers/dma/ti/edma.c INIT_LIST_HEAD(&m_ddev->channels); channels 2486 drivers/dma/ti/edma.c &dmadev->channels, vchan.chan.device_node) { channels 1446 drivers/dma/ti/omap-dma.c while (!list_empty(&od->ddev.channels)) { channels 1447 drivers/dma/ti/omap-dma.c struct omap_chan *c = list_first_entry(&od->ddev.channels, channels 1509 drivers/dma/ti/omap-dma.c INIT_LIST_HEAD(&od->ddev.channels); channels 91 drivers/dma/timb_dma.c struct timb_dma_chan channels[0]; channels 264 drivers/dma/timb_dma.c struct timb_dma_chan *td_chan = td->channels + i; channels 582 drivers/dma/timb_dma.c struct timb_dma_chan *td_chan = td->channels + i; channels 638 drivers/dma/timb_dma.c td = kzalloc(struct_size(td, channels, pdata->nr_channels), channels 681 drivers/dma/timb_dma.c INIT_LIST_HEAD(&td->dma.channels); channels 684 drivers/dma/timb_dma.c struct timb_dma_chan *td_chan = &td->channels[i]; channels 686 drivers/dma/timb_dma.c pdata->channels + i; channels 715 drivers/dma/timb_dma.c list_add_tail(&td_chan->chan.device_node, &td->dma.channels); channels 1110 drivers/dma/txx9dmac.c INIT_LIST_HEAD(&dc->dma.channels); channels 1127 drivers/dma/txx9dmac.c list_add_tail(&dc->chan.device_node, &dc->chan.device->channels); channels 71 drivers/dma/uniphier-mdmac.c struct uniphier_mdmac_chan channels[0]; channels 352 drivers/dma/uniphier-mdmac.c struct uniphier_mdmac_chan *mc = &mdev->channels[chan_id]; channels 396 drivers/dma/uniphier-mdmac.c mdev = devm_kzalloc(dev, struct_size(mdev, channels, nr_chans), channels 429 drivers/dma/uniphier-mdmac.c INIT_LIST_HEAD(&ddev->channels); channels 471 drivers/dma/uniphier-mdmac.c list_for_each_entry(chan, &mdev->ddev.channels, device_node) { channels 141 drivers/dma/virt-dma.c list_add_tail(&vc->chan.device_node, &dmadev->channels); channels 1551 drivers/dma/xgene-dma.c INIT_LIST_HEAD(&dma_dev->channels); channels 1552 drivers/dma/xgene-dma.c list_add_tail(&chan->dma_chan.device_node, &dma_dev->channels); channels 2520 drivers/dma/xilinx/xilinx_dma.c list_add_tail(&chan->common.device_node, &xdev->common.channels); channels 2698 drivers/dma/xilinx/xilinx_dma.c INIT_LIST_HEAD(&xdev->common.channels); channels 915 drivers/dma/xilinx/zynqmp_dma.c list_add_tail(&chan->common.device_node, &zdev->common.channels); channels 1044 drivers/dma/xilinx/zynqmp_dma.c INIT_LIST_HEAD(&zdev->common.channels); channels 225 drivers/dma/zx_dma.c list_for_each_entry_safe(c, cn, &d->slave.channels, channels 810 drivers/dma/zx_dma.c INIT_LIST_HEAD(&d->slave.channels); channels 892 drivers/dma/zx_dma.c list_for_each_entry_safe(c, cn, &d->slave.channels, channels 1403 drivers/edac/amd64_edac.c int i, j, channels = 0; channels 1429 drivers/edac/amd64_edac.c channels++; channels 1435 drivers/edac/amd64_edac.c if (channels > 2) channels 1436 drivers/edac/amd64_edac.c channels = 2; channels 1438 drivers/edac/amd64_edac.c amd64_info("MCT channel count: %d\n", channels); channels 1440 drivers/edac/amd64_edac.c return channels; channels 1445 drivers/edac/amd64_edac.c int i, channels = 0; channels 1449 drivers/edac/amd64_edac.c channels += !!(pvt->umc[i].sdp_ctrl & UMC_SDP_INIT); channels 1451 drivers/edac/amd64_edac.c amd64_info("MCT channel count: %d\n", channels); channels 1453 drivers/edac/amd64_edac.c return channels; channels 2930 drivers/edac/amd64_edac.c dimm = mci->csrows[cs]->channels[umc]->dimm; channels 2992 drivers/edac/amd64_edac.c csrow->channels[0]->dimm->nr_pages = nr_pages; channels 2999 drivers/edac/amd64_edac.c csrow->channels[1]->dimm->nr_pages = row_dct1_pages; channels 3013 drivers/edac/amd64_edac.c dimm = csrow->channels[j]->dimm; channels 197 drivers/edac/amd76x_edac.c dimm = csrow->channels[0]->dimm; channels 267 drivers/edac/aspeed_edac.c dimm = csrow->channels[0]->dimm; channels 153 drivers/edac/cell_edac.c dimm = csrow->channels[j]->dimm; channels 369 drivers/edac/cpc925_edac.c dimm = csrow->channels[j]->dimm; channels 1127 drivers/edac/e752x_edac.c struct dimm_info *dimm = csrow->channels[i]->dimm; channels 410 drivers/edac/e7xxx_edac.c dimm = csrow->channels[j]->dimm; channels 172 drivers/edac/edac_mc.c edac_dbg(4, " csrow->channels = %p\n", csrow->channels); channels 293 drivers/edac/edac_mc.c if (csr->channels) { channels 295 drivers/edac/edac_mc.c kfree(csr->channels[chn]); channels 296 drivers/edac/edac_mc.c kfree(csr->channels); channels 403 drivers/edac/edac_mc.c csr->channels = kcalloc(tot_channels, sizeof(*csr->channels), channels 405 drivers/edac/edac_mc.c if (!csr->channels) channels 409 drivers/edac/edac_mc.c chan = kzalloc(sizeof(**csr->channels), GFP_KERNEL); channels 412 drivers/edac/edac_mc.c csr->channels[chn] = chan; channels 429 drivers/edac/edac_mc.c chan = mci->csrows[row]->channels[chn]; channels 719 drivers/edac/edac_mc.c nr_pages += csrow->channels[j]->dimm->nr_pages; channels 724 drivers/edac/edac_mc.c if (csrow->channels[j]->dimm->nr_pages) channels 725 drivers/edac/edac_mc.c edac_mc_dump_channel(csrow->channels[j]); channels 864 drivers/edac/edac_mc.c struct dimm_info *dimm = csrow->channels[j]->dimm; channels 1210 drivers/edac/edac_mc.c mci->csrows[row]->channels[chan]->ce_count += error_count; channels 168 drivers/edac/edac_mc_sysfs.c nr_pages += csrow->channels[i]->dimm->nr_pages; channels 177 drivers/edac/edac_mc_sysfs.c return sprintf(data, "%s\n", edac_mem_types[csrow->channels[0]->dimm->mtype]); channels 185 drivers/edac/edac_mc_sysfs.c return sprintf(data, "%s\n", dev_types[csrow->channels[0]->dimm->dtype]); channels 194 drivers/edac/edac_mc_sysfs.c return sprintf(data, "%s\n", edac_caps[csrow->channels[0]->dimm->edac_mode]); channels 204 drivers/edac/edac_mc_sysfs.c struct rank_info *rank = csrow->channels[chan]; channels 220 drivers/edac/edac_mc_sysfs.c struct rank_info *rank = csrow->channels[chan]; channels 244 drivers/edac/edac_mc_sysfs.c struct rank_info *rank = csrow->channels[chan]; channels 367 drivers/edac/edac_mc_sysfs.c if (!csrow->channels[idx]->dimm->nr_pages) channels 395 drivers/edac/edac_mc_sysfs.c nr_pages += csrow->channels[chan]->dimm->nr_pages; channels 688 drivers/edac/edac_mc_sysfs.c ri->channels[chan]->ce_count = 0; channels 817 drivers/edac/edac_mc_sysfs.c struct dimm_info *dimm = csrow->channels[j]->dimm; channels 448 drivers/edac/fsl_ddr_edac.c dimm = csrow->channels[0]->dimm; channels 409 drivers/edac/i3000_edac.c struct dimm_info *dimm = csrow->channels[j]->dimm; channels 199 drivers/edac/i82443bxgx_edac.c dimm = csrow->channels[0]->dimm; channels 118 drivers/edac/i82860_edac.c dimm = mci->csrows[row]->channels[0]->dimm; channels 164 drivers/edac/i82860_edac.c dimm = csrow->channels[0]->dimm; channels 377 drivers/edac/i82875p_edac.c dimm = csrow->channels[j]->dimm; channels 313 drivers/edac/i82975x_edac.c (1 << mci->csrows[row]->channels[chan]->dimm->grain)); channels 408 drivers/edac/i82975x_edac.c dimm = mci->csrows[index]->channels[chan]->dimm; channels 412 drivers/edac/i82975x_edac.c snprintf(csrow->channels[chan]->dimm->label, EDAC_MC_LABEL_LEN, "DIMM %c%d", channels 670 drivers/edac/mv64x60_edac.c dimm = csrow->channels[0]->dimm; channels 133 drivers/edac/pasemi_edac.c dimm = csrow->channels[0]->dimm; channels 85 drivers/edac/pnd2_edac.c int channels; channels 1345 drivers/edac/pnd2_edac.c layers[0].size = ops->channels; channels 1514 drivers/edac/pnd2_edac.c .channels = APL_NUM_CHANNELS, channels 1529 drivers/edac/pnd2_edac.c .channels = DNV_NUM_CHANNELS, channels 972 drivers/edac/ppc4xx_edac.c struct dimm_info *dimm = csi->channels[j]->dimm; channels 233 drivers/edac/r82600_edac.c dimm = csrow->channels[0]->dimm; channels 1587 drivers/edac/sb_edac.c int channels = pvt->info.type == KNIGHTS_LANDING ? KNL_MAX_CHANNELS channels 1607 drivers/edac/sb_edac.c for (i = 0; i < channels; i++) { channels 784 drivers/edac/synopsys_edac.c dimm = csi->channels[j]->dimm; channels 384 drivers/edac/x38_edac.c struct dimm_info *dimm = csrow->channels[j]->dimm; channels 625 drivers/firewire/core-card.c static int dummy_set_iso_channels(struct fw_iso_context *ctx, u64 *channels) channels 131 drivers/firewire/core-cdev.c u64 channels; channels 1036 drivers/firewire/core-cdev.c return fw_iso_context_set_channels(ctx, &a->channels); channels 1269 drivers/firewire/core-cdev.c r->channels, &channel, &bandwidth, channels 1304 drivers/firewire/core-cdev.c r->channels = 1ULL << channel; channels 1352 drivers/firewire/core-cdev.c if ((request->channels == 0 && request->bandwidth == 0) || channels 1368 drivers/firewire/core-cdev.c r->channels = request->channels; channels 175 drivers/firewire/core-iso.c int fw_iso_context_set_channels(struct fw_iso_context *ctx, u64 *channels) channels 177 drivers/firewire/core-iso.c return ctx->card->driver->set_iso_channels(ctx, channels); channels 102 drivers/firewire/core.h int (*set_iso_channels)(struct fw_iso_context *ctx, u64 *channels); channels 2921 drivers/firewire/ohci.c static void set_multichannel_mask(struct fw_ohci *ohci, u64 channels) channels 2923 drivers/firewire/ohci.c u32 hi = channels >> 32, lo = channels; channels 2929 drivers/firewire/ohci.c ohci->mc_channels = channels; channels 2938 drivers/firewire/ohci.c u64 *uninitialized_var(channels); channels 2957 drivers/firewire/ohci.c channels = &ohci->ir_context_channels; channels 2960 drivers/firewire/ohci.c index = *channels & 1ULL << channel ? ffs(*mask) - 1 : -1; channels 2962 drivers/firewire/ohci.c *channels &= ~(1ULL << channel); channels 3016 drivers/firewire/ohci.c *channels |= 1ULL << channel; channels 3142 drivers/firewire/ohci.c static int ohci_set_iso_channels(struct fw_iso_context *base, u64 *channels) channels 3154 drivers/firewire/ohci.c if (~ohci->ir_context_channels & ~ohci->mc_channels & *channels) { channels 3155 drivers/firewire/ohci.c *channels = ohci->ir_context_channels; channels 3158 drivers/firewire/ohci.c set_multichannel_mask(ohci, *channels); channels 254 drivers/firmware/arm_scpi.c struct scpi_chan *channels; channels 489 drivers/firmware/arm_scpi.c scpi_chan = scpi_info->channels + chan; channels 858 drivers/firmware/arm_scpi.c mbox_free_channel(info->channels[i].chan); channels 920 drivers/firmware/arm_scpi.c scpi_info->channels = devm_kcalloc(dev, count, sizeof(struct scpi_chan), channels 922 drivers/firmware/arm_scpi.c if (!scpi_info->channels) channels 932 drivers/firmware/arm_scpi.c struct scpi_chan *pchan = scpi_info->channels + idx; channels 203 drivers/firmware/tegra/bpmp-tegra186.c bpmp->soc->channels.cpu_tx.offset); channels 208 drivers/firmware/tegra/bpmp-tegra186.c bpmp->soc->channels.cpu_rx.offset); channels 213 drivers/firmware/tegra/bpmp-tegra186.c unsigned int index = bpmp->soc->channels.thread.offset + i; channels 186 drivers/firmware/tegra/bpmp-tegra210.c bpmp->soc->channels.cpu_tx.offset); channels 191 drivers/firmware/tegra/bpmp-tegra210.c bpmp->soc->channels.cpu_rx.offset); channels 196 drivers/firmware/tegra/bpmp-tegra210.c unsigned int index = bpmp->soc->channels.thread.offset + i; channels 84 drivers/firmware/tegra/bpmp.c count = bpmp->soc->channels.thread.count; channels 117 drivers/firmware/tegra/bpmp.c unsigned long timeout = channel->bpmp->soc->channels.cpu_tx.timeout; channels 163 drivers/firmware/tegra/bpmp.c unsigned long timeout = channel->bpmp->soc->channels.cpu_tx.timeout; channels 256 drivers/firmware/tegra/bpmp.c unsigned long timeout = bpmp->soc->channels.thread.timeout; channels 257 drivers/firmware/tegra/bpmp.c unsigned int count = bpmp->soc->channels.thread.count; channels 376 drivers/firmware/tegra/bpmp.c timeout = usecs_to_jiffies(bpmp->soc->channels.thread.timeout); channels 665 drivers/firmware/tegra/bpmp.c count = bpmp->soc->channels.thread.count; channels 704 drivers/firmware/tegra/bpmp.c bpmp->threaded.count = bpmp->soc->channels.thread.count; channels 813 drivers/firmware/tegra/bpmp.c .channels = { channels 835 drivers/firmware/tegra/bpmp.c .channels = { channels 248 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h int channels; channels 1371 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (sad->channels > max_channels) { channels 1373 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c MAX_CHANNELS, sad->channels); channels 1378 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c max_channels = sad->channels; channels 1430 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c adev->mode_info.audio.pin[i].channels = -1; channels 1397 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (sad->channels > max_channels) { channels 1399 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c MAX_CHANNELS, sad->channels); channels 1404 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c max_channels = sad->channels; channels 1472 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c adev->mode_info.audio.pin[i].channels = -1; channels 1275 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (sad->channels > max_channels) { channels 1277 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c MAX_CHANNELS, sad->channels); channels 1282 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c max_channels = sad->channels; channels 1345 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c adev->mode_info.audio.pin[i].channels = -1; channels 1324 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (sad->channels > max_channels) { channels 1325 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c value = (sad->channels << channels 1331 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c max_channels = sad->channels; channels 1393 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c adev->mode_info.audio.pin[i].channels = -1; channels 596 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->mode_info.audio.pin[i].channels = -1; channels 111 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c edid_caps->audio_modes[i].channel_count = sad->channels + 1; channels 1144 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c } channels; channels 1221 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.FL = speaker_flags.FL_FR; channels 1222 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.FR = speaker_flags.FL_FR; channels 1223 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.LFE = speaker_flags.LFE; channels 1224 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.FC = speaker_flags.FC; channels 1230 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.RL_RC = speaker_flags.RL_RR; channels 1231 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.RR = speaker_flags.RL_RR; channels 1232 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.RC_RLC_FLC = speaker_flags.RC; channels 1234 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.RL_RC = speaker_flags.RC; channels 1239 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.RC_RLC_FLC = speaker_flags.FLC_FRC; channels 1240 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.RRC_FRC = speaker_flags.FLC_FRC; channels 1242 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.RC_RLC_FLC = speaker_flags.RLC_RRC; channels 1243 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c cea_channels.channels.RRC_FRC = speaker_flags.RLC_RRC; channels 1339 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c uint32_t channels = 0; channels 1347 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c channels = speakers_to_channels(audio_info->flags.speaker_flags).all; channels 1353 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c REG_UPDATE(AFMT_AUDIO_PACKET_CONTROL2, AFMT_AUDIO_CHANNEL_ENABLE, channels); channels 603 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c uint32_t channels; channels 631 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c channels = get_reg_field_value(value_control, channels 639 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c channels + 1, /* not mentioned in programming guide, channels 1106 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c } channels; channels 1183 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.FL = speaker_flags.FL_FR; channels 1184 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.FR = speaker_flags.FL_FR; channels 1185 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.LFE = speaker_flags.LFE; channels 1186 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.FC = speaker_flags.FC; channels 1192 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.RL_RC = speaker_flags.RL_RR; channels 1193 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.RR = speaker_flags.RL_RR; channels 1194 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.RC_RLC_FLC = speaker_flags.RC; channels 1196 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.RL_RC = speaker_flags.RC; channels 1201 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.RC_RLC_FLC = speaker_flags.FLC_FRC; channels 1202 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.RRC_FRC = speaker_flags.FLC_FRC; channels 1204 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.RC_RLC_FLC = speaker_flags.RLC_RRC; channels 1205 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c cea_channels.channels.RRC_FRC = speaker_flags.RLC_RRC; channels 1280 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c uint32_t channels = 0; channels 1288 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c channels = speakers_to_channels(audio_info->flags.speaker_flags).all; channels 1294 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c REG_UPDATE(AFMT_AUDIO_PACKET_CONTROL2, AFMT_AUDIO_CHANNEL_ENABLE, channels); channels 538 drivers/gpu/drm/bridge/sii902x.c if (params->channels > 2) channels 129 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c unsigned channels; channels 196 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c i = dw->channels; channels 409 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c if (runtime->channels == 2) channels 430 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c conf1 = default_hdmi_channel_config[runtime->channels - 2].conf1; channels 431 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c ca = default_hdmi_channel_config[runtime->channels - 2].ca; channels 437 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c dw_hdmi_set_channel_count(dw->data.hdmi, runtime->channels); channels 450 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c dw->channels = runtime->channels; channels 61 drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c switch (hparms->channels) { channels 105 drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c dw_hdmi_set_channel_count(hdmi, hparms->channels); channels 4218 drivers/gpu/drm/drm_edid.c (*sads)[j].channels = sad[0] & 0x7; channels 2031 drivers/gpu/drm/exynos/exynos_hdmi.c audio_infoframe->channels = 2; channels 1042 drivers/gpu/drm/mediatek/mtk_hdmi.c frame.channels = mtk_hdmi_aud_get_chnl_count( channels 1536 drivers/gpu/drm/mediatek/mtk_hdmi.c unsigned int chan = params->cea.channels; channels 443 drivers/gpu/drm/msm/hdmi/hdmi.c params->sample_width, params->cea.channels); channels 445 drivers/gpu/drm/msm/hdmi/hdmi.c switch (params->cea.channels) { channels 85 drivers/gpu/drm/msm/hdmi/hdmi_audio.c audio->enabled, info->channels, info->channel_allocation, channels 158 drivers/gpu/drm/msm/hdmi/hdmi_audio.c COND(info->channels != 2, HDMI_AUDIO_PKT_CTRL2_LAYOUT) | channels 232 drivers/gpu/drm/msm/hdmi/hdmi_audio.c audio->infoframe.channels = nchannels[num_of_channels]; channels 52 drivers/gpu/drm/nouveau/nouveau_abi16.c INIT_LIST_HEAD(&abi16->channels); channels 165 drivers/gpu/drm/nouveau/nouveau_abi16.c list_for_each_entry_safe(chan, temp, &abi16->channels, head) { channels 300 drivers/gpu/drm/nouveau/nouveau_abi16.c list_add(&chan->head, &abi16->channels); channels 359 drivers/gpu/drm/nouveau/nouveau_abi16.c list_for_each_entry(chan, &abi16->channels, head) { channels 32 drivers/gpu/drm/nouveau/nouveau_abi16.h struct list_head channels; channels 517 drivers/gpu/drm/nouveau/nouveau_chan.c struct nv_device_info_v1_data channels; channels 521 drivers/gpu/drm/nouveau/nouveau_chan.c .m.count = sizeof(args.v) / sizeof(args.v.channels), channels 522 drivers/gpu/drm/nouveau/nouveau_chan.c .v.channels.mthd = NV_DEVICE_FIFO_CHANNELS, channels 528 drivers/gpu/drm/nouveau/nouveau_chan.c if (ret || args.v.channels.mthd == NV_DEVICE_INFO_INVALID) channels 531 drivers/gpu/drm/nouveau/nouveau_chan.c drm->chan.nr = args.v.channels.data; channels 705 drivers/gpu/drm/nouveau/nouveau_gem.c list_for_each_entry(temp, &abi16->channels, head) { channels 779 drivers/gpu/drm/omapdrm/dss/venc.c u32 channels; channels 788 drivers/gpu/drm/omapdrm/dss/venc.c r = of_property_read_u32(ep, "ti,channels", &channels); channels 795 drivers/gpu/drm/omapdrm/dss/venc.c switch (channels) { channels 804 drivers/gpu/drm/omapdrm/dss/venc.c channels); channels 186 drivers/gpu/drm/omapdrm/omap_crtc.c struct drm_crtc *crtc = priv->channels[channel]->crtc; channels 199 drivers/gpu/drm/omapdrm/omap_crtc.c struct drm_crtc *crtc = priv->channels[channel]->crtc; channels 209 drivers/gpu/drm/omapdrm/omap_crtc.c struct drm_crtc *crtc = priv->channels[channel]->crtc; channels 220 drivers/gpu/drm/omapdrm/omap_crtc.c struct drm_crtc *crtc = priv->channels[channel]->crtc; channels 232 drivers/gpu/drm/omapdrm/omap_crtc.c struct drm_crtc *crtc = priv->channels[channel]->crtc; channels 251 drivers/gpu/drm/omapdrm/omap_crtc.c struct drm_crtc *crtc = priv->channels[channel]->crtc; channels 145 drivers/gpu/drm/omapdrm/omap_drv.c memset(&priv->channels, 0, sizeof(priv->channels)); channels 320 drivers/gpu/drm/omapdrm/omap_drv.c if (WARN_ON(priv->channels[channel] != NULL)) channels 323 drivers/gpu/drm/omapdrm/omap_drv.c priv->channels[channel] = pipe; channels 54 drivers/gpu/drm/omapdrm/omap_drv.h struct omap_drm_pipeline *channels[8]; channels 1092 drivers/gpu/drm/radeon/cypress_dpm.c u32 channels = 2; channels 1096 drivers/gpu/drm/radeon/cypress_dpm.c channels = 4; channels 1098 drivers/gpu/drm/radeon/cypress_dpm.c channels = 1; channels 1100 drivers/gpu/drm/radeon/cypress_dpm.c for (i = 0; i < channels; i++) { channels 96 drivers/gpu/drm/radeon/dce3_1_afmt.c if (sad->channels > max_channels) { channels 97 drivers/gpu/drm/radeon/dce3_1_afmt.c value = MAX_CHANNELS(sad->channels) | channels 100 drivers/gpu/drm/radeon/dce3_1_afmt.c max_channels = sad->channels; channels 237 drivers/gpu/drm/radeon/dce6_afmt.c if (sad->channels > max_channels) { channels 238 drivers/gpu/drm/radeon/dce6_afmt.c value = MAX_CHANNELS(sad->channels) | channels 241 drivers/gpu/drm/radeon/dce6_afmt.c max_channels = sad->channels; channels 185 drivers/gpu/drm/radeon/evergreen_hdmi.c if (sad->channels > max_channels) { channels 186 drivers/gpu/drm/radeon/evergreen_hdmi.c value = MAX_CHANNELS(sad->channels) | channels 189 drivers/gpu/drm/radeon/evergreen_hdmi.c max_channels = sad->channels; channels 67 drivers/gpu/drm/radeon/r600_hdmi.c status.channels = (value & 0x7) + 1; channels 123 drivers/gpu/drm/radeon/r600_hdmi.c if (rdev->audio.pin[0].channels != audio_status.channels || channels 430 drivers/gpu/drm/radeon/r600_hdmi.c audio.channels, audio.rate, audio.bits_per_sample); channels 440 drivers/gpu/drm/radeon/r600_hdmi.c frame.channels = audio.channels; channels 1746 drivers/gpu/drm/radeon/radeon.h int channels; channels 325 drivers/gpu/drm/radeon/radeon_audio.c rdev->audio.pin[i].channels = -1; channels 775 drivers/gpu/drm/rockchip/cdn-dp-core.c .channels = params->channels, channels 27 drivers/gpu/drm/rockchip/cdn-dp-core.h int channels; channels 835 drivers/gpu/drm/rockchip/cdn-dp-reg.c if (audio->channels == 2) { channels 842 drivers/gpu/drm/rockchip/cdn-dp-reg.c } else if (audio->channels == 4) { channels 850 drivers/gpu/drm/rockchip/cdn-dp-reg.c val = MAX_NUM_CH(audio->channels); channels 851 drivers/gpu/drm/rockchip/cdn-dp-reg.c val |= NUM_OF_I2S_PORTS(audio->channels); channels 863 drivers/gpu/drm/rockchip/cdn-dp-reg.c val |= AUDIO_CH_NUM(audio->channels); channels 868 drivers/gpu/drm/rockchip/cdn-dp-reg.c for (i = 0; i < (audio->channels + 1) / 2; i++) { channels 849 drivers/gpu/drm/sti/sti_hdmi.c switch (info->channels) { channels 864 drivers/gpu/drm/sti/sti_hdmi.c info->channels); channels 14 drivers/gpu/drm/tegra/hda.c unsigned int mul, div, bits, channels; channels 59 drivers/gpu/drm/tegra/hda.c channels = (format & AC_FMT_CHAN_MASK) >> AC_FMT_CHAN_SHIFT; channels 62 drivers/gpu/drm/tegra/hda.c fmt->channels = channels + 1; channels 13 drivers/gpu/drm/tegra/hda.h unsigned int channels; channels 511 drivers/gpu/drm/tegra/hdmi.c if (hdmi->format.channels == 2) channels 738 drivers/gpu/drm/tegra/hdmi.c frame.channels = hdmi->format.channels; channels 2187 drivers/gpu/drm/tegra/sor.c frame.channels = sor->format.channels; channels 2216 drivers/gpu/drm/tegra/sor.c if (sor->format.channels != 2) channels 65 drivers/gpu/drm/vc4/vc4_hdmi.c int channels; channels 438 drivers/gpu/drm/vc4/vc4_hdmi.c frame.audio.channels = hdmi->audio.channels; channels 852 drivers/gpu/drm/vc4/vc4_hdmi.c hdmi->audio.channels = params_channels(params); channels 869 drivers/gpu/drm/vc4/vc4_hdmi.c channel_mask = GENMASK(hdmi->audio.channels - 1, 0); channels 922 drivers/gpu/drm/vc4/vc4_hdmi.c VC4_SET_FIELD(hdmi->audio.channels, channels 19 drivers/gpu/host1x/channel.c chlist->channels = kcalloc(num_channels, sizeof(struct host1x_channel), channels 21 drivers/gpu/host1x/channel.c if (!chlist->channels) channels 28 drivers/gpu/host1x/channel.c kfree(chlist->channels); channels 40 drivers/gpu/host1x/channel.c kfree(chlist->channels); channels 70 drivers/gpu/host1x/channel.c struct host1x_channel *ch = &host->channel_list.channels[index]; channels 109 drivers/gpu/host1x/channel.c chlist->channels[index].id = index; channels 113 drivers/gpu/host1x/channel.c return &chlist->channels[index]; channels 20 drivers/gpu/host1x/channel.h struct host1x_channel *channels; channels 276 drivers/gpu/ipu-v3/ipu-common.c list_for_each_entry(channel, &ipu->channels, list) { channels 291 drivers/gpu/ipu-v3/ipu-common.c list_add(&channel->list, &ipu->channels); channels 1419 drivers/gpu/ipu-v3/ipu-common.c INIT_LIST_HEAD(&ipu->channels); channels 103 drivers/gpu/ipu-v3/ipu-dc.c struct ipu_dc channels[IPU_DC_NUM_CHANNELS]; channels 311 drivers/gpu/ipu-v3/ipu-dc.c dc = &priv->channels[channel]; channels 360 drivers/gpu/ipu-v3/ipu-dc.c priv->channels[i].chno = i; channels 361 drivers/gpu/ipu-v3/ipu-dc.c priv->channels[i].priv = priv; channels 362 drivers/gpu/ipu-v3/ipu-dc.c priv->channels[i].base = priv->dc_reg + channel_offsets[i]; channels 367 drivers/gpu/ipu-v3/ipu-dc.c priv->channels[1].base + DC_WR_CH_CONF); channels 369 drivers/gpu/ipu-v3/ipu-dc.c priv->channels[5].base + DC_WR_CH_CONF); channels 95 drivers/gpu/ipu-v3/ipu-dmfc.c struct dmfc_channel channels[DMFC_NUM_CHANNELS]; channels 162 drivers/gpu/ipu-v3/ipu-dmfc.c return &priv->channels[i]; channels 193 drivers/gpu/ipu-v3/ipu-dmfc.c priv->channels[i].priv = priv; channels 194 drivers/gpu/ipu-v3/ipu-dmfc.c priv->channels[i].ipu = ipu; channels 195 drivers/gpu/ipu-v3/ipu-dmfc.c priv->channels[i].data = &dmfcdata[i]; channels 200 drivers/gpu/ipu-v3/ipu-dmfc.c priv->channels[i].slots = 2; channels 175 drivers/gpu/ipu-v3/ipu-prv.h struct list_head channels; channels 106 drivers/hsi/clients/hsi_char.c struct hsc_channel channels[HSC_DEVS]; channels 228 drivers/hsi/clients/hsi_char.c struct hsc_channel *channel = cl_data->channels + msg->channel; channels 248 drivers/hsi/clients/hsi_char.c struct hsc_channel *channel = cl_data->channels + msg->channel; channels 276 drivers/hsi/clients/hsi_char.c struct hsc_channel *channel = cl_data->channels; channels 349 drivers/hsi/clients/hsi_char.c if ((rxc->channels == 0) || (rxc->channels > HSC_DEVS)) channels 351 drivers/hsi/clients/hsi_char.c if (rxc->channels & (rxc->channels - 1)) channels 357 drivers/hsi/clients/hsi_char.c cl->rx_cfg.num_hw_channels = rxc->channels; channels 373 drivers/hsi/clients/hsi_char.c rxc->channels = cl->rx_cfg.num_hw_channels; channels 384 drivers/hsi/clients/hsi_char.c if ((txc->channels == 0) || (txc->channels > HSC_DEVS)) channels 386 drivers/hsi/clients/hsi_char.c if (txc->channels & (txc->channels - 1)) channels 392 drivers/hsi/clients/hsi_char.c cl->tx_cfg.num_hw_channels = txc->channels; channels 407 drivers/hsi/clients/hsi_char.c txc->channels = cl->tx_cfg.num_hw_channels; channels 599 drivers/hsi/clients/hsi_char.c channel = cl_data->channels + (iminor(inode) & HSC_CH_MASK); channels 710 drivers/hsi/clients/hsi_char.c for (i = 0, channel = cl_data->channels; i < HSC_DEVS; i++, channel++) { channels 38 drivers/hsi/controllers/omap_ssi.h u32 channels; channels 84 drivers/hsi/controllers/omap_ssi.h unsigned int channels; channels 86 drivers/hsi/controllers/omap_ssi_port.c for (ch = 0; ch < omap_port->channels; ch++) { channels 113 drivers/hsi/controllers/omap_ssi_port.c for (ch = 0; ch < omap_port->channels; ch++) { channels 393 drivers/hsi/controllers/omap_ssi_port.c BUG_ON(msg->channel >= omap_port->sst.channels); channels 396 drivers/hsi/controllers/omap_ssi_port.c BUG_ON(msg->channel >= omap_port->ssr.channels); channels 497 drivers/hsi/controllers/omap_ssi_port.c omap_port->channels = max(cl->rx_cfg.num_hw_channels, channels 503 drivers/hsi/controllers/omap_ssi_port.c omap_port->sst.channels = cl->tx_cfg.num_hw_channels; channels 509 drivers/hsi/controllers/omap_ssi_port.c omap_port->ssr.channels = cl->rx_cfg.num_hw_channels; channels 566 drivers/hsi/controllers/omap_ssi_port.c for (i = 0; i < omap_port->channels; i++) { channels 683 drivers/hsi/controllers/omap_ssi_port.c for (i = 0; i < omap_port->channels; i++) { channels 697 drivers/hsi/controllers/omap_ssi_port.c for (i = 0; i < omap_port->channels; i++) { channels 847 drivers/hsi/controllers/omap_ssi_port.c for (i = 0; i < omap_port->channels; i++) { channels 973 drivers/hsi/controllers/omap_ssi_port.c for (ch = 0; ch < omap_port->channels; ch++) { channels 1311 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(omap_port->sst.channels, base + SSI_SST_CHANNELS_REG); channels 1317 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(omap_port->ssr.channels, base + SSI_SSR_CHANNELS_REG); channels 62 drivers/hsi/hsi_core.c kfree(cl->tx_cfg.channels); channels 63 drivers/hsi/hsi_core.c kfree(cl->rx_cfg.channels); channels 78 drivers/hsi/hsi_core.c if (cl->tx_cfg.channels) { channels 79 drivers/hsi/hsi_core.c size = cl->tx_cfg.num_channels * sizeof(*cl->tx_cfg.channels); channels 80 drivers/hsi/hsi_core.c cl->tx_cfg.channels = kmemdup(info->tx_cfg.channels, size, channels 82 drivers/hsi/hsi_core.c if (!cl->tx_cfg.channels) channels 87 drivers/hsi/hsi_core.c if (cl->rx_cfg.channels) { channels 88 drivers/hsi/hsi_core.c size = cl->rx_cfg.num_channels * sizeof(*cl->rx_cfg.channels); channels 89 drivers/hsi/hsi_core.c cl->rx_cfg.channels = kmemdup(info->rx_cfg.channels, size, channels 91 drivers/hsi/hsi_core.c if (!cl->rx_cfg.channels) channels 109 drivers/hsi/hsi_core.c kfree(cl->tx_cfg.channels); channels 257 drivers/hsi/hsi_core.c cl->rx_cfg.channels = kcalloc(cells, sizeof(channel), GFP_KERNEL); channels 258 drivers/hsi/hsi_core.c if (!cl->rx_cfg.channels) { channels 263 drivers/hsi/hsi_core.c cl->tx_cfg.channels = kcalloc(cells, sizeof(channel), GFP_KERNEL); channels 264 drivers/hsi/hsi_core.c if (!cl->tx_cfg.channels) { channels 284 drivers/hsi/hsi_core.c cl->rx_cfg.channels[i] = channel; channels 285 drivers/hsi/hsi_core.c cl->tx_cfg.channels[i] = channel; channels 304 drivers/hsi/hsi_core.c kfree(cl->tx_cfg.channels); channels 306 drivers/hsi/hsi_core.c kfree(cl->rx_cfg.channels); channels 742 drivers/hsi/hsi_core.c if (!cl->rx_cfg.channels) channels 746 drivers/hsi/hsi_core.c if (!strcmp(cl->rx_cfg.channels[i].name, name)) channels 747 drivers/hsi/hsi_core.c return cl->rx_cfg.channels[i].id; channels 42 drivers/hwmon/adcxx.c u32 channels; channels 61 drivers/hwmon/adcxx.c if (adc->channels == 1) { channels 153 drivers/hwmon/adcxx.c int channels = spi_get_device_id(spi)->driver_data; channels 164 drivers/hwmon/adcxx.c adc->channels = channels; channels 171 drivers/hwmon/adcxx.c for (i = 0; i < 3 + adc->channels; i++) { channels 204 drivers/hwmon/adcxx.c for (i = 0; i < 3 + adc->channels; i++) channels 27 drivers/hwmon/iio_hwmon.c struct iio_channel *channels; channels 47 drivers/hwmon/iio_hwmon.c struct iio_channel *chan = &state->channels[sattr->index]; channels 72 drivers/hwmon/iio_hwmon.c struct iio_channel *channels; channels 76 drivers/hwmon/iio_hwmon.c channels = devm_iio_channel_get_all(dev); channels 77 drivers/hwmon/iio_hwmon.c if (IS_ERR(channels)) { channels 78 drivers/hwmon/iio_hwmon.c if (PTR_ERR(channels) == -ENODEV) channels 80 drivers/hwmon/iio_hwmon.c return PTR_ERR(channels); channels 87 drivers/hwmon/iio_hwmon.c st->channels = channels; channels 90 drivers/hwmon/iio_hwmon.c while (st->channels[st->num_channels].indio_dev) channels 108 drivers/hwmon/iio_hwmon.c ret = iio_get_channel_type(&st->channels[i], &type); channels 142 drivers/hwmon/ina3221.c u32 channels = hweight16(config & INA3221_CONFIG_CHs_EN_MASK); channels 147 drivers/hwmon/ina3221.c return DIV_ROUND_CLOSEST(interval * 1000 / 2, channels * samples); channels 153 drivers/hwmon/ina3221.c u32 channels = hweight16(config & INA3221_CONFIG_CHs_EN_MASK); channels 162 drivers/hwmon/ina3221.c return channels * (vbus_ct + vsh_ct) * samples; channels 63 drivers/hwmon/max6697.c int channels; channels 100 drivers/hwmon/max6697.c .channels = 8, channels 108 drivers/hwmon/max6697.c .channels = 5, channels 115 drivers/hwmon/max6697.c .channels = 5, channels 122 drivers/hwmon/max6697.c .channels = 7, channels 129 drivers/hwmon/max6697.c .channels = 7, channels 136 drivers/hwmon/max6697.c .channels = 7, channels 144 drivers/hwmon/max6697.c .channels = 5, channels 152 drivers/hwmon/max6697.c .channels = 7, channels 159 drivers/hwmon/max6697.c .channels = 7, channels 166 drivers/hwmon/max6697.c .channels = 5, channels 190 drivers/hwmon/max6697.c for (i = 0; i < data->chip->channels; i++) { channels 388 drivers/hwmon/max6697.c if (channel >= chip->channels) channels 507 drivers/hwmon/max6697.c int factor = chip->channels; channels 98 drivers/hwmon/tmp421.c unsigned long channels; channels 134 drivers/hwmon/tmp421.c for (i = 0; i < data->channels; i++) { channels 295 drivers/hwmon/tmp421.c data->channels = (unsigned long) channels 298 drivers/hwmon/tmp421.c data->channels = id->driver_data; channels 305 drivers/hwmon/tmp421.c for (i = 0; i < data->channels; i++) channels 23 drivers/hwtracing/intel_th/sth.c void __iomem *channels; channels 33 drivers/hwtracing/intel_th/sth.c struct intel_th_channel __iomem *sw_map = sth->channels; channels 193 drivers/hwtracing/intel_th/sth.c void __iomem *base, *channels; channels 208 drivers/hwtracing/intel_th/sth.c channels = devm_ioremap(dev, res->start, resource_size(res)); channels 209 drivers/hwtracing/intel_th/sth.c if (!channels) channels 218 drivers/hwtracing/intel_th/sth.c sth->channels = channels; channels 62 drivers/hwtracing/stm/core.c static DEVICE_ATTR_RO(channels); channels 194 drivers/hwtracing/stm/policy.c CONFIGFS_ATTR(stp_policy_node_, channels); channels 70 drivers/i2c/busses/i2c-amd756-s4882.c u8 channels) channels 80 drivers/i2c/busses/i2c-amd756-s4882.c if (last_channels != channels) { channels 82 drivers/i2c/busses/i2c-amd756-s4882.c mplxdata.byte = channels; channels 90 drivers/i2c/busses/i2c-amd756-s4882.c last_channels = channels; channels 66 drivers/i2c/busses/i2c-nforce2-s4985.c u8 channels) channels 75 drivers/i2c/busses/i2c-nforce2-s4985.c if (last_channels != channels) { channels 77 drivers/i2c/busses/i2c-nforce2-s4985.c mplxdata.byte = channels; channels 85 drivers/i2c/busses/i2c-nforce2-s4985.c last_channels = channels; channels 459 drivers/ide/setup-pci.c int channels = (d->host_flags & IDE_HFLAG_SINGLE) ? 1 : 2, port; channels 466 drivers/ide/setup-pci.c for (port = 0; port < channels; ++port) { channels 270 drivers/iio/accel/adis16201.c indio_dev->channels = adis16201_channels; channels 280 drivers/iio/accel/adis16209.c indio_dev->channels = adis16209_channels; channels 253 drivers/iio/accel/adxl345_core.c indio_dev->channels = adxl345_channels; channels 938 drivers/iio/accel/adxl372.c indio_dev->channels = adxl372_channels; channels 41 drivers/iio/accel/bma180.c const struct iio_chan_spec *channels; channels 744 drivers/iio/accel/bma180.c indio_dev->channels = data->part_info->channels; channels 244 drivers/iio/accel/bma220_spi.c indio_dev->channels = bma220_channels; channels 153 drivers/iio/accel/bmc150-accel-core.c const struct iio_chan_spec *channels; channels 1020 drivers/iio/accel/bmc150-accel-core.c .channels = bmc150_accel_channels, channels 1030 drivers/iio/accel/bmc150-accel-core.c .channels = bmc150_accel_channels, channels 1040 drivers/iio/accel/bmc150-accel-core.c .channels = bmc150_accel_channels, channels 1050 drivers/iio/accel/bmc150-accel-core.c .channels = bma250e_accel_channels, channels 1060 drivers/iio/accel/bmc150-accel-core.c .channels = bma222e_accel_channels, channels 1070 drivers/iio/accel/bmc150-accel-core.c .channels = bma280_accel_channels, channels 1578 drivers/iio/accel/bmc150-accel-core.c indio_dev->channels = data->chip_info->channels; channels 192 drivers/iio/accel/cros_ec_accel_legacy.c indio_dev->channels = cros_ec_accel_legacy_channels; channels 126 drivers/iio/accel/da280.c indio_dev->channels = da280_channels; channels 238 drivers/iio/accel/da311.c indio_dev->channels = da311_channels; channels 166 drivers/iio/accel/dmard06.c indio_dev->channels = dmard06_channels; channels 122 drivers/iio/accel/dmard09.c indio_dev->channels = dmard09_channels; channels 203 drivers/iio/accel/dmard10.c indio_dev->channels = dmard10_channels; channels 119 drivers/iio/accel/hid-sensor-accel-3d.c static void accel_3d_adjust_channel_bit_mask(struct iio_chan_spec *channels, channels 122 drivers/iio/accel/hid-sensor-accel-3d.c channels[channel].scan_type.sign = 's'; channels 124 drivers/iio/accel/hid-sensor-accel-3d.c channels[channel].scan_type.realbits = size * 8; channels 126 drivers/iio/accel/hid-sensor-accel-3d.c channels[channel].scan_type.storagebits = sizeof(u32) * 8; channels 290 drivers/iio/accel/hid-sensor-accel-3d.c struct iio_chan_spec *channels, channels 305 drivers/iio/accel/hid-sensor-accel-3d.c accel_3d_adjust_channel_bit_mask(channels, channels 375 drivers/iio/accel/hid-sensor-accel-3d.c indio_dev->channels = kmemdup(channel_spec, channel_size, GFP_KERNEL); channels 377 drivers/iio/accel/hid-sensor-accel-3d.c if (!indio_dev->channels) { channels 382 drivers/iio/accel/hid-sensor-accel-3d.c (struct iio_chan_spec *)indio_dev->channels, channels 433 drivers/iio/accel/hid-sensor-accel-3d.c kfree(indio_dev->channels); channels 448 drivers/iio/accel/hid-sensor-accel-3d.c kfree(indio_dev->channels); channels 1292 drivers/iio/accel/kxcjk-1013.c indio_dev->channels = kxcjk1013_channels; channels 411 drivers/iio/accel/kxsd9.c indio_dev->channels = kxsd9_channels; channels 139 drivers/iio/accel/mc3230.c indio_dev->channels = mc3230_channels; channels 265 drivers/iio/accel/mma7455_core.c indio_dev->channels = mma7455_channels; channels 195 drivers/iio/accel/mma7660.c indio_dev->channels = mma7660_channels; channels 174 drivers/iio/accel/mma8452.c const struct iio_chan_spec *channels; channels 1302 drivers/iio/accel/mma8452.c .channels = mma8451_channels, channels 1326 drivers/iio/accel/mma8452.c .channels = mma8452_channels, channels 1342 drivers/iio/accel/mma8452.c .channels = mma8453_channels, channels 1358 drivers/iio/accel/mma8452.c .channels = mma8652_channels, channels 1367 drivers/iio/accel/mma8452.c .channels = mma8653_channels, channels 1381 drivers/iio/accel/mma8452.c .channels = mma8451_channels, channels 1597 drivers/iio/accel/mma8452.c indio_dev->channels = data->chip_info->channels; channels 477 drivers/iio/accel/mma9551.c indio_dev->channels = mma9551_channels; channels 1107 drivers/iio/accel/mma9553.c indio_dev->channels = mma9553_channels; channels 420 drivers/iio/accel/mxc4005.c indio_dev->channels = mxc4005_channels; channels 142 drivers/iio/accel/mxc6255.c indio_dev->channels = mxc6255_channels; channels 1474 drivers/iio/accel/sca3000.c indio_dev->channels = sca3000_channels_with_temp; channels 1478 drivers/iio/accel/sca3000.c indio_dev->channels = sca3000_channels; channels 115 drivers/iio/accel/ssp_accel_sensor.c indio_dev->channels = ssp_acc_channels; channels 1015 drivers/iio/accel/st_accel_core.c struct iio_chan_spec *channels) channels 1136 drivers/iio/accel/st_accel_core.c channels[i].ext_info = mount_matrix_ext_info; channels 1147 drivers/iio/accel/st_accel_core.c struct iio_chan_spec *channels) channels 1176 drivers/iio/accel/st_accel_core.c struct iio_chan_spec *channels; channels 1195 drivers/iio/accel/st_accel_core.c channels = devm_kmemdup(&indio_dev->dev, channels 1198 drivers/iio/accel/st_accel_core.c if (!channels) { channels 1203 drivers/iio/accel/st_accel_core.c if (apply_acpi_orientation(indio_dev, channels)) channels 1207 drivers/iio/accel/st_accel_core.c indio_dev->channels = channels; channels 522 drivers/iio/accel/stk8312.c indio_dev->channels = stk8312_channels; channels 406 drivers/iio/accel/stk8ba50.c indio_dev->channels = stk8ba50_channels; channels 467 drivers/iio/adc/ad7124.c indio_dev->channels = chan; channels 307 drivers/iio/adc/ad7266.c const struct iio_chan_spec *channels; channels 317 drivers/iio/adc/ad7266.c .channels = ad7266_channels_u, channels 322 drivers/iio/adc/ad7266.c .channels = ad7266_channels_u_fixed, channels 327 drivers/iio/adc/ad7266.c .channels = ad7266_channels_s, channels 332 drivers/iio/adc/ad7266.c .channels = ad7266_channels_s_fixed, channels 337 drivers/iio/adc/ad7266.c .channels = ad7266_channels_diff_u, channels 342 drivers/iio/adc/ad7266.c .channels = ad7266_channels_diff_fixed_u, channels 347 drivers/iio/adc/ad7266.c .channels = ad7266_channels_diff_s, channels 352 drivers/iio/adc/ad7266.c .channels = ad7266_channels_diff_fixed_s, channels 372 drivers/iio/adc/ad7266.c indio_dev->channels = chan_info->channels; channels 502 drivers/iio/adc/ad7291.c indio_dev->channels = ad7291_channels; channels 318 drivers/iio/adc/ad7298.c indio_dev->channels = ad7298_channels; channels 266 drivers/iio/adc/ad7476.c indio_dev->channels = st->chip_info->channel; channels 392 drivers/iio/adc/ad7606.c .channels = ad7605_channels, channels 396 drivers/iio/adc/ad7606.c .channels = ad7606_channels, channels 402 drivers/iio/adc/ad7606.c .channels = ad7606_channels, channels 408 drivers/iio/adc/ad7606.c .channels = ad7606_channels, channels 414 drivers/iio/adc/ad7606.c .channels = ad7606_channels, channels 420 drivers/iio/adc/ad7606.c .channels = ad7616_channels, channels 631 drivers/iio/adc/ad7606.c indio_dev->channels = st->chip_info->channels; channels 53 drivers/iio/adc/ad7606.h const struct iio_chan_spec *channels; channels 237 drivers/iio/adc/ad7606_spi.c indio_dev->channels = ad7616_sw_channels; channels 280 drivers/iio/adc/ad7606_spi.c indio_dev->channels = ad7606b_sw_channels; channels 248 drivers/iio/adc/ad7766.c indio_dev->channels = ad7766_channels; channels 585 drivers/iio/adc/ad7768-1.c indio_dev->channels = ad7768_channels; channels 306 drivers/iio/adc/ad7780.c indio_dev->channels = &st->chip_info->channel; channels 110 drivers/iio/adc/ad7791.c const struct iio_chan_spec *channels; channels 117 drivers/iio/adc/ad7791.c .channels = ad7787_channels, channels 123 drivers/iio/adc/ad7791.c .channels = ad7790_channels, channels 128 drivers/iio/adc/ad7791.c .channels = ad7791_channels, channels 133 drivers/iio/adc/ad7791.c .channels = ad7790_channels, channels 139 drivers/iio/adc/ad7791.c .channels = ad7791_channels, channels 383 drivers/iio/adc/ad7791.c indio_dev->channels = st->info->channels; channels 145 drivers/iio/adc/ad7793.c const struct iio_chan_spec *channels; channels 330 drivers/iio/adc/ad7793.c >> (st->chip_info->channels[0].scan_type.realbits - channels 605 drivers/iio/adc/ad7793.c .channels = ad7785_channels, channels 618 drivers/iio/adc/ad7793.c .channels = ad7792_channels, channels 631 drivers/iio/adc/ad7793.c .channels = ad7793_channels, channels 644 drivers/iio/adc/ad7793.c .channels = ad7794_channels, channels 657 drivers/iio/adc/ad7793.c .channels = ad7795_channels, channels 670 drivers/iio/adc/ad7793.c .channels = ad7796_channels, channels 678 drivers/iio/adc/ad7793.c .channels = ad7797_channels, channels 686 drivers/iio/adc/ad7793.c .channels = ad7798_channels, channels 695 drivers/iio/adc/ad7793.c .channels = ad7799_channels, channels 758 drivers/iio/adc/ad7793.c indio_dev->channels = st->chip_info->channels; channels 309 drivers/iio/adc/ad7887.c indio_dev->channels = st->chip_info->channel; channels 312 drivers/iio/adc/ad7887.c indio_dev->channels = &st->chip_info->channel[1]; channels 73 drivers/iio/adc/ad7923.c const struct iio_chan_spec *channels; channels 115 drivers/iio/adc/ad7923.c .channels = ad7904_channels, channels 119 drivers/iio/adc/ad7923.c .channels = ad7914_channels, channels 123 drivers/iio/adc/ad7923.c .channels = ad7924_channels, channels 291 drivers/iio/adc/ad7923.c indio_dev->channels = info->channels; channels 251 drivers/iio/adc/ad7949.c indio_dev->channels = ad7949_adc_channels; channels 808 drivers/iio/adc/ad799x.c indio_dev->channels = st->chip_config->channel; channels 358 drivers/iio/adc/ad_sigma_delta.c indio_dev->channels[channel].address); channels 412 drivers/iio/adc/ad_sigma_delta.c reg_size = indio_dev->channels[0].scan_type.realbits + channels 413 drivers/iio/adc/ad_sigma_delta.c indio_dev->channels[0].scan_type.shift; channels 260 drivers/iio/adc/aspeed_adc.c indio_dev->channels = aspeed_adc_iio_channels; channels 467 drivers/iio/adc/at91-sama5d2_adc.c if (indio_dev->channels[i].scan_index == chan) channels 480 drivers/iio/adc/at91-sama5d2_adc.c return indio_dev->channels + index; channels 1666 drivers/iio/adc/at91-sama5d2_adc.c indio_dev->channels = at91_adc_channels; channels 256 drivers/iio/adc/at91_adc.c chan = idev->channels + i; channels 516 drivers/iio/adc/at91_adc.c idev->channels = chan_array; channels 574 drivers/iio/adc/at91_adc.c struct iio_chan_spec const *chan = idev->channels + bit; channels 589 drivers/iio/adc/at91_adc.c struct iio_chan_spec const *chan = idev->channels + bit; channels 600 drivers/iio/adc/axp20x_adc.c struct iio_chan_spec const *channels; channels 611 drivers/iio/adc/axp20x_adc.c .channels = axp20x_adc_channels, channels 621 drivers/iio/adc/axp20x_adc.c .channels = axp22x_adc_channels, channels 631 drivers/iio/adc/axp20x_adc.c .channels = axp813_adc_channels, channels 689 drivers/iio/adc/axp20x_adc.c indio_dev->channels = info->data->channels; channels 276 drivers/iio/adc/axp288_adc.c indio_dev->channels = axp288_adc_channels; channels 580 drivers/iio/adc/bcm_iproc_adc.c indio_dev->channels = iproc_adc_iio_channels; channels 329 drivers/iio/adc/berlin2-adc.c indio_dev->channels = berlin2_adc_channels; channels 164 drivers/iio/adc/cc10001_adc.c channel = indio_dev->channels[scan_idx].channel; channels 303 drivers/iio/adc/cc10001_adc.c indio_dev->channels = chan_array; channels 990 drivers/iio/adc/cpcap-adc.c indio_dev->channels = cpcap_adc_channels; channels 361 drivers/iio/adc/da9150-gpadc.c indio_dev->channels = da9150_gpadc_channels; channels 658 drivers/iio/adc/dln2-adc.c indio_dev->channels = dln2->iio_channels; channels 349 drivers/iio/adc/envelope-detector.c indio_dev->channels = &envelope_detector_iio_channel; channels 178 drivers/iio/adc/ep93xx_adc.c iiodev->channels = ep93xx_adc_channels; channels 865 drivers/iio/adc/exynos_adc.c indio_dev->channels = exynos_adc_iio_channels; channels 356 drivers/iio/adc/fsl-imx25-gcq.c indio_dev->channels = mx25_gcq_channels; channels 496 drivers/iio/adc/hi8435.c idev->channels = hi8435_channels; channels 384 drivers/iio/adc/hx711.c indio_dev->channels[i].channel); channels 569 drivers/iio/adc/hx711.c indio_dev->channels = hx711_chan_spec; channels 521 drivers/iio/adc/imx7d_adc.c indio_dev->channels = imx7d_adc_iio_channels; channels 1021 drivers/iio/adc/ina2xx-adc.c indio_dev->channels = ina226_channels; channels 1025 drivers/iio/adc/ina2xx-adc.c indio_dev->channels = ina219_channels; channels 388 drivers/iio/adc/ingenic-adc.c iio_dev->channels = ingenic_channels; channels 212 drivers/iio/adc/lp8788_adc.c indio_dev->channels = lp8788_adc_channels; channels 160 drivers/iio/adc/lpc18xx_adc.c indio_dev->channels = lpc18xx_adc_iio_channels; channels 187 drivers/iio/adc/lpc32xx_adc.c iodev->channels = lpc32xx_adc_iio_channels; channels 191 drivers/iio/adc/lpc32xx_adc.c iodev->channels = lpc32xx_adc_iio_scale_channels; channels 124 drivers/iio/adc/ltc2471.c indio_dev->channels = ltc2473_channel; channels 126 drivers/iio/adc/ltc2471.c indio_dev->channels = ltc2471_channel; channels 115 drivers/iio/adc/ltc2485.c indio_dev->channels = ltc2485_channel; channels 214 drivers/iio/adc/ltc2497.c indio_dev->channels = ltc2497_channel; channels 182 drivers/iio/adc/max1027.c const struct iio_chan_spec *channels; channels 189 drivers/iio/adc/max1027.c .channels = max1027_channels, channels 194 drivers/iio/adc/max1027.c .channels = max1029_channels, channels 199 drivers/iio/adc/max1027.c .channels = max1031_channels, channels 418 drivers/iio/adc/max1027.c indio_dev->channels = st->info->channels; channels 123 drivers/iio/adc/max11100.c indio_dev->channels = max11100_channels; channels 171 drivers/iio/adc/max1118.c &indio_dev->channels[scan_index]; channels 225 drivers/iio/adc/max1118.c indio_dev->channels = max1118_channels; channels 135 drivers/iio/adc/max1363.c const struct iio_chan_spec *channels; channels 1050 drivers/iio/adc/max1363.c .channels = max1361_channels, channels 1060 drivers/iio/adc/max1363.c .channels = max1361_channels, channels 1070 drivers/iio/adc/max1363.c .channels = max1363_channels, channels 1080 drivers/iio/adc/max1363.c .channels = max1363_channels, channels 1091 drivers/iio/adc/max1363.c .channels = max1036_channels, channels 1101 drivers/iio/adc/max1363.c .channels = max1036_channels, channels 1111 drivers/iio/adc/max1363.c .channels = max1038_channels, channels 1121 drivers/iio/adc/max1363.c .channels = max1038_channels, channels 1131 drivers/iio/adc/max1363.c .channels = max1136_channels, channels 1141 drivers/iio/adc/max1363.c .channels = max1136_channels, channels 1151 drivers/iio/adc/max1363.c .channels = max1138_channels, channels 1161 drivers/iio/adc/max1363.c .channels = max1138_channels, channels 1171 drivers/iio/adc/max1363.c .channels = max1236_channels, channels 1181 drivers/iio/adc/max1363.c .channels = max1236_channels, channels 1191 drivers/iio/adc/max1363.c .channels = max1238_channels, channels 1201 drivers/iio/adc/max1363.c .channels = max1238_channels, channels 1211 drivers/iio/adc/max1363.c .channels = max1036_channels, channels 1221 drivers/iio/adc/max1363.c .channels = max1036_channels, channels 1231 drivers/iio/adc/max1363.c .channels = max11602_channels, channels 1241 drivers/iio/adc/max1363.c .channels = max11602_channels, channels 1251 drivers/iio/adc/max1363.c .channels = max1038_channels, channels 1261 drivers/iio/adc/max1363.c .channels = max1038_channels, channels 1271 drivers/iio/adc/max1363.c .channels = max1136_channels, channels 1281 drivers/iio/adc/max1363.c .channels = max1136_channels, channels 1291 drivers/iio/adc/max1363.c .channels = max11608_channels, channels 1301 drivers/iio/adc/max1363.c .channels = max11608_channels, channels 1311 drivers/iio/adc/max1363.c .channels = max1138_channels, channels 1321 drivers/iio/adc/max1363.c .channels = max1138_channels, channels 1331 drivers/iio/adc/max1363.c .channels = max1363_channels, channels 1341 drivers/iio/adc/max1363.c .channels = max1363_channels, channels 1351 drivers/iio/adc/max1363.c .channels = max11614_channels, channels 1361 drivers/iio/adc/max1363.c .channels = max11614_channels, channels 1371 drivers/iio/adc/max1363.c .channels = max1238_channels, channels 1381 drivers/iio/adc/max1363.c .channels = max1238_channels, channels 1391 drivers/iio/adc/max1363.c .channels = max11644_channels, channels 1401 drivers/iio/adc/max1363.c .channels = max11644_channels, channels 1411 drivers/iio/adc/max1363.c .channels = max11646_channels, channels 1421 drivers/iio/adc/max1363.c .channels = max11646_channels, channels 1645 drivers/iio/adc/max1363.c indio_dev->channels = st->chip_info->channels; channels 567 drivers/iio/adc/max9611.c indio_dev->channels = max9611_channels; channels 64 drivers/iio/adc/mcp320x.c const struct iio_chan_spec *channels; channels 302 drivers/iio/adc/mcp320x.c .channels = mcp3201_channels, channels 307 drivers/iio/adc/mcp320x.c .channels = mcp3202_channels, channels 312 drivers/iio/adc/mcp320x.c .channels = mcp3204_channels, channels 317 drivers/iio/adc/mcp320x.c .channels = mcp3208_channels, channels 322 drivers/iio/adc/mcp320x.c .channels = mcp3201_channels, channels 327 drivers/iio/adc/mcp320x.c .channels = mcp3202_channels, channels 332 drivers/iio/adc/mcp320x.c .channels = mcp3204_channels, channels 337 drivers/iio/adc/mcp320x.c .channels = mcp3208_channels, channels 342 drivers/iio/adc/mcp320x.c .channels = mcp3201_channels, channels 347 drivers/iio/adc/mcp320x.c .channels = mcp3201_channels, channels 354 drivers/iio/adc/mcp320x.c .channels = mcp3201_channels, channels 360 drivers/iio/adc/mcp320x.c .channels = mcp3201_channels, channels 366 drivers/iio/adc/mcp320x.c .channels = mcp3201_channels, channels 396 drivers/iio/adc/mcp320x.c indio_dev->channels = chip_info->channels; channels 358 drivers/iio/adc/mcp3422.c indio_dev->channels = mcp3421_channels; channels 365 drivers/iio/adc/mcp3422.c indio_dev->channels = mcp3422_channels; channels 370 drivers/iio/adc/mcp3422.c indio_dev->channels = mcp3424_channels; channels 303 drivers/iio/adc/mcp3911.c indio_dev->channels = mcp3911_channels; channels 116 drivers/iio/adc/men_z188_adc.c indio_dev->channels = z188_adc_iio_channels; channels 1041 drivers/iio/adc/meson_saradc.c &indio_dev->channels[7], channels 1049 drivers/iio/adc/meson_saradc.c &indio_dev->channels[7], channels 1290 drivers/iio/adc/meson_saradc.c indio_dev->channels = meson_sar_adc_and_temp_iio_channels; channels 1294 drivers/iio/adc/meson_saradc.c indio_dev->channels = meson_sar_adc_iio_channels; channels 253 drivers/iio/adc/mt6577_auxadc.c indio_dev->channels = mt6577_auxadc_iio_channels; channels 732 drivers/iio/adc/mxs-lradc-adc.c iio->channels = mx23_lradc_chan_spec; channels 737 drivers/iio/adc/mxs-lradc-adc.c iio->channels = mx28_lradc_chan_spec; channels 536 drivers/iio/adc/nau7802.c indio_dev->channels = nau7802_chan_array; channels 281 drivers/iio/adc/npcm_adc.c indio_dev->channels = npcm_adc_iio_channels; channels 599 drivers/iio/adc/palmas_gpadc.c indio_dev->channels = palmas_gpadc_iio_channel; channels 197 drivers/iio/adc/qcom-pm8xxx-xoadc.c const struct xoadc_channel *channels; channels 851 drivers/iio/adc/qcom-pm8xxx-xoadc.c adc->variant->channels, channels 941 drivers/iio/adc/qcom-pm8xxx-xoadc.c indio_dev->channels = adc->iio_chans; channels 978 drivers/iio/adc/qcom-pm8xxx-xoadc.c .channels = pm8018_xoadc_channels, channels 983 drivers/iio/adc/qcom-pm8xxx-xoadc.c .channels = pm8038_xoadc_channels, channels 988 drivers/iio/adc/qcom-pm8xxx-xoadc.c .channels = pm8058_xoadc_channels, channels 995 drivers/iio/adc/qcom-pm8xxx-xoadc.c .channels = pm8921_xoadc_channels, channels 781 drivers/iio/adc/qcom-spmi-adc5.c indio_dev->channels = adc->iio_chans; channels 561 drivers/iio/adc/qcom-spmi-iadc.c indio_dev->channels = iadc_channels; channels 915 drivers/iio/adc/qcom-spmi-vadc.c indio_dev->channels = vadc->iio_chans; channels 322 drivers/iio/adc/rcar-gyroadc.c const struct iio_chan_spec *channels; channels 346 drivers/iio/adc/rcar-gyroadc.c channels = rcar_gyroadc_iio_channels_1; channels 351 drivers/iio/adc/rcar-gyroadc.c channels = rcar_gyroadc_iio_channels_2; channels 356 drivers/iio/adc/rcar-gyroadc.c channels = rcar_gyroadc_iio_channels_3; channels 420 drivers/iio/adc/rcar-gyroadc.c indio_dev->channels = channels; channels 38 drivers/iio/adc/rockchip_saradc.c const struct iio_chan_spec *channels; channels 138 drivers/iio/adc/rockchip_saradc.c .channels = rockchip_saradc_iio_channels, channels 150 drivers/iio/adc/rockchip_saradc.c .channels = rockchip_rk3066_tsadc_iio_channels, channels 166 drivers/iio/adc/rockchip_saradc.c .channels = rockchip_rk3399_saradc_iio_channels, channels 315 drivers/iio/adc/rockchip_saradc.c indio_dev->channels = info->data->channels; channels 554 drivers/iio/adc/sc27xx_adc.c indio_dev->channels = sc27xx_channels; channels 42 drivers/iio/adc/sd_adc_modulator.c iio->channels = &iio_sd_mod_ch; channels 344 drivers/iio/adc/spear_adc.c indio_dev->channels = spear_adc_iio_channels; channels 965 drivers/iio/adc/stm32-adc.c chan = indio_dev->channels + bit; channels 1292 drivers/iio/adc/stm32-adc.c if (indio_dev->channels[i].channel == iiospec->args[0]) channels 1664 drivers/iio/adc/stm32-adc.c struct iio_chan_spec *channels; channels 1704 drivers/iio/adc/stm32-adc.c channels = devm_kcalloc(&indio_dev->dev, num_channels, channels 1706 drivers/iio/adc/stm32-adc.c if (!channels) channels 1723 drivers/iio/adc/stm32-adc.c stm32_adc_chan_init_one(indio_dev, &channels[scan_index], val, channels 1735 drivers/iio/adc/stm32-adc.c stm32_adc_chan_init_one(indio_dev, &channels[scan_index], channels 1751 drivers/iio/adc/stm32-adc.c stm32_adc_smpr_init(adc, channels[i].channel, smp); channels 1755 drivers/iio/adc/stm32-adc.c indio_dev->channels = channels; channels 342 drivers/iio/adc/stm32-dfsdm-adc.c chan = indio_dev->channels + bit; channels 361 drivers/iio/adc/stm32-dfsdm-adc.c chan = indio_dev->channels + bit; channels 481 drivers/iio/adc/stm32-dfsdm-adc.c chan = indio_dev->channels + bit; channels 555 drivers/iio/adc/stm32-dfsdm-adc.c chan = indio_dev->channels + bit; channels 569 drivers/iio/adc/stm32-dfsdm-adc.c chan = indio_dev->channels + bit; channels 1448 drivers/iio/adc/stm32-dfsdm-adc.c indio_dev->channels = ch; channels 1492 drivers/iio/adc/stm32-dfsdm-adc.c indio_dev->channels = ch; channels 1680 drivers/iio/adc/stm32-dfsdm-adc.c chan = indio_dev->channels + i; channels 320 drivers/iio/adc/stmpe-adc.c indio_dev->channels = info->stmpe_adc_iio_channels; channels 315 drivers/iio/adc/stx104.c indio_dev->channels = stx104_channels_diff; channels 318 drivers/iio/adc/stx104.c indio_dev->channels = stx104_channels_sing; channels 509 drivers/iio/adc/sun4i-gpadc-iio.c indio_dev->channels = sun8i_a33_gpadc_channels; channels 542 drivers/iio/adc/sun4i-gpadc-iio.c indio_dev->channels = sun4i_gpadc_channels; channels 577 drivers/iio/adc/sun4i-gpadc-iio.c indio_dev->channels = sun4i_gpadc_channels_no_temp; channels 95 drivers/iio/adc/ti-adc081c.c const struct iio_chan_spec* channels; channels 101 drivers/iio/adc/ti-adc081c.c .channels = _name ## _channels, \ channels 190 drivers/iio/adc/ti-adc081c.c iio->channels = model->channels; channels 211 drivers/iio/adc/ti-adc0832.c &indio_dev->channels[scan_index]; channels 256 drivers/iio/adc/ti-adc0832.c indio_dev->channels = adc0831_channels; channels 261 drivers/iio/adc/ti-adc0832.c indio_dev->channels = adc0832_channels; channels 266 drivers/iio/adc/ti-adc0832.c indio_dev->channels = adc0834_channels; channels 271 drivers/iio/adc/ti-adc0832.c indio_dev->channels = adc0838_channels; channels 167 drivers/iio/adc/ti-adc084s021.c &indio_dev->channels[scan_index]; channels 219 drivers/iio/adc/ti-adc084s021.c indio_dev->channels = adc084s021_channels; channels 257 drivers/iio/adc/ti-adc108s102.c indio_dev->channels = adc108s102_channels; channels 343 drivers/iio/adc/ti-adc12138.c &indio_dev->channels[scan_index]; channels 417 drivers/iio/adc/ti-adc12138.c indio_dev->channels = adc12132_channels; channels 421 drivers/iio/adc/ti-adc12138.c indio_dev->channels = adc12138_channels; channels 21 drivers/iio/adc/ti-adc128s052.c const struct iio_chan_spec *channels; channels 161 drivers/iio/adc/ti-adc128s052.c indio_dev->channels = adc128_config[config].channels; channels 118 drivers/iio/adc/ti-adc161s626.c ret = ti_adc_read_measurement(data, &indio_dev->channels[0], channels 193 drivers/iio/adc/ti-adc161s626.c indio_dev->channels = ti_adc141s626_channels; channels 199 drivers/iio/adc/ti-adc161s626.c indio_dev->channels = ti_adc161s626_channels; channels 962 drivers/iio/adc/ti-ads1015.c indio_dev->channels = ads1015_channels; channels 968 drivers/iio/adc/ti-ads1015.c indio_dev->channels = ads1115_channels; channels 981 drivers/iio/adc/ti-ads1015.c int realbits = indio_dev->channels[i].scan_type.realbits; channels 91 drivers/iio/adc/ti-ads124s08.c const struct iio_chan_spec *channels; channels 143 drivers/iio/adc/ti-ads124s08.c .channels = ads124s08_channels, channels 147 drivers/iio/adc/ti-ads124s08.c .channels = ads124s06_channels, channels 332 drivers/iio/adc/ti-ads124s08.c indio_dev->channels = ads124s_priv->chip_info->channels; channels 117 drivers/iio/adc/ti-ads7950.c const struct iio_chan_spec *channels; channels 230 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7950_channels, channels 234 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7951_channels, channels 238 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7952_channels, channels 242 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7953_channels, channels 246 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7954_channels, channels 250 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7955_channels, channels 254 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7956_channels, channels 258 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7957_channels, channels 262 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7958_channels, channels 266 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7959_channels, channels 270 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7960_channels, channels 274 drivers/iio/adc/ti-ads7950.c .channels = ti_ads7961_channels, channels 562 drivers/iio/adc/ti-ads7950.c indio_dev->channels = info->channels; channels 155 drivers/iio/adc/ti-ads8344.c indio_dev->channels = ads8344_channels; channels 60 drivers/iio/adc/ti-ads8688.c const struct iio_chan_spec *channels; channels 406 drivers/iio/adc/ti-ads8688.c .channels = ads8684_channels, channels 410 drivers/iio/adc/ti-ads8688.c .channels = ads8688_channels, channels 455 drivers/iio/adc/ti-ads8688.c indio_dev->channels = st->chip_info->channels; channels 48 drivers/iio/adc/ti-tlc4541.c const struct iio_chan_spec *channels; channels 81 drivers/iio/adc/ti-tlc4541.c .channels = tlc3541_channels, channels 85 drivers/iio/adc/ti-tlc4541.c .channels = tlc4541_channels, channels 182 drivers/iio/adc/ti-tlc4541.c indio_dev->channels = info->channels; channels 53 drivers/iio/adc/ti_am335x_adc.c int channels; channels 77 drivers/iio/adc/ti_am335x_adc.c step_en = ((1 << adc_dev->channels) - 1); channels 78 drivers/iio/adc/ti_am335x_adc.c step_en <<= TOTAL_STEPS - adc_dev->channels + 1; channels 123 drivers/iio/adc/ti_am335x_adc.c for (i = 0; i < adc_dev->channels; i++) { channels 320 drivers/iio/adc/ti_am335x_adc.c for_each_set_bit(bit, indio_dev->active_scan_mask, adc_dev->channels) { channels 431 drivers/iio/adc/ti_am335x_adc.c static int tiadc_channel_init(struct iio_dev *indio_dev, int channels) channels 438 drivers/iio/adc/ti_am335x_adc.c indio_dev->num_channels = channels; channels 439 drivers/iio/adc/ti_am335x_adc.c chan_array = kcalloc(channels, sizeof(*chan_array), GFP_KERNEL); channels 444 drivers/iio/adc/ti_am335x_adc.c for (i = 0; i < channels; i++, chan++) { channels 457 drivers/iio/adc/ti_am335x_adc.c indio_dev->channels = chan_array; channels 464 drivers/iio/adc/ti_am335x_adc.c kfree(indio_dev->channels); channels 494 drivers/iio/adc/ti_am335x_adc.c (IDLE_TIMEOUT * adc_dev->channels); channels 582 drivers/iio/adc/ti_am335x_adc.c int channels = 0; channels 586 drivers/iio/adc/ti_am335x_adc.c adc_dev->channel_line[channels] = val; channels 589 drivers/iio/adc/ti_am335x_adc.c adc_dev->open_delay[channels] = STEPCONFIG_OPENDLY; channels 590 drivers/iio/adc/ti_am335x_adc.c adc_dev->sample_delay[channels] = STEPCONFIG_SAMPLEDLY; channels 591 drivers/iio/adc/ti_am335x_adc.c adc_dev->step_avg[channels] = 16; channels 593 drivers/iio/adc/ti_am335x_adc.c channels++; channels 597 drivers/iio/adc/ti_am335x_adc.c adc_dev->step_avg, channels); channels 599 drivers/iio/adc/ti_am335x_adc.c adc_dev->open_delay, channels); channels 601 drivers/iio/adc/ti_am335x_adc.c adc_dev->sample_delay, channels); channels 603 drivers/iio/adc/ti_am335x_adc.c adc_dev->channels = channels; channels 638 drivers/iio/adc/ti_am335x_adc.c err = tiadc_channel_init(indio_dev, adc_dev->channels); channels 129 drivers/iio/adc/twl4030-madc.c unsigned long channels; channels 184 drivers/iio/adc/twl4030-madc.c req.channels = BIT(chan->channel); channels 381 drivers/iio/adc/twl4030-madc.c long channels, int *buf, channels 388 drivers/iio/adc/twl4030-madc.c for_each_set_bit(i, &channels, TWL4030_MADC_MAX_CHANNELS) { channels 508 drivers/iio/adc/twl4030-madc.c r->channels, r->rbuf, r->raw); channels 529 drivers/iio/adc/twl4030-madc.c r->channels, r->rbuf, r->raw); channels 630 drivers/iio/adc/twl4030-madc.c ret = twl_i2c_write_u16(TWL4030_MODULE_MADC, req->channels, method->sel); channels 638 drivers/iio/adc/twl4030-madc.c ret = twl_i2c_write_u16(TWL4030_MODULE_MADC, req->channels, channels 663 drivers/iio/adc/twl4030-madc.c req->channels, req->rbuf, req->raw); channels 779 drivers/iio/adc/twl4030-madc.c iio_dev->channels = twl4030_madc_iio_channels; channels 932 drivers/iio/adc/twl6030-gpadc.c indio_dev->channels = pdata->iio_channels; channels 869 drivers/iio/adc/vf610_adc.c indio_dev->channels = vf610_adc_iio_channels; channels 127 drivers/iio/adc/viperboard_adc.c indio_dev->channels = vprbrd_adc_iio_channels; channels 773 drivers/iio/adc/xilinx-xadc-core.c scan_mask |= BIT(indio_dev->channels[i].scan_index); channels 1098 drivers/iio/adc/xilinx-xadc-core.c struct iio_chan_spec *channels, *chan; channels 1141 drivers/iio/adc/xilinx-xadc-core.c channels = kmemdup(xadc_channels, sizeof(xadc_channels), GFP_KERNEL); channels 1142 drivers/iio/adc/xilinx-xadc-core.c if (!channels) channels 1146 drivers/iio/adc/xilinx-xadc-core.c chan = &channels[9]; channels 1177 drivers/iio/adc/xilinx-xadc-core.c indio_dev->channels = krealloc(channels, sizeof(*channels) * channels 1180 drivers/iio/adc/xilinx-xadc-core.c if (!indio_dev->channels) channels 1181 drivers/iio/adc/xilinx-xadc-core.c indio_dev->channels = channels; channels 1300 drivers/iio/adc/xilinx-xadc-core.c if (indio_dev->channels[i].scan_type.sign == 's') channels 1301 drivers/iio/adc/xilinx-xadc-core.c bipolar_mask |= BIT(indio_dev->channels[i].scan_index); channels 1360 drivers/iio/adc/xilinx-xadc-core.c kfree(indio_dev->channels); channels 1380 drivers/iio/adc/xilinx-xadc-core.c kfree(indio_dev->channels); channels 21 drivers/iio/adc/xilinx-xadc-events.c return &indio_dev->channels[0]; channels 24 drivers/iio/adc/xilinx-xadc-events.c return &indio_dev->channels[event]; channels 26 drivers/iio/adc/xilinx-xadc-events.c return &indio_dev->channels[event-1]; channels 320 drivers/iio/afe/iio-rescale.c indio_dev->channels = &rescale->chan; channels 231 drivers/iio/amplifiers/ad8366.c indio_dev->channels = ad8366_channels; channels 238 drivers/iio/amplifiers/ad8366.c indio_dev->channels = ada4961_channels; channels 18 drivers/iio/buffer/industrialio-buffer-cb.c struct iio_channel *channels; channels 68 drivers/iio/buffer/industrialio-buffer-cb.c cb_buff->channels = iio_channel_get_all(dev); channels 69 drivers/iio/buffer/industrialio-buffer-cb.c if (IS_ERR(cb_buff->channels)) { channels 70 drivers/iio/buffer/industrialio-buffer-cb.c ret = PTR_ERR(cb_buff->channels); channels 74 drivers/iio/buffer/industrialio-buffer-cb.c cb_buff->indio_dev = cb_buff->channels[0].indio_dev; channels 81 drivers/iio/buffer/industrialio-buffer-cb.c chan = &cb_buff->channels[0]; channels 97 drivers/iio/buffer/industrialio-buffer-cb.c iio_channel_release_all(cb_buff->channels); channels 130 drivers/iio/buffer/industrialio-buffer-cb.c iio_channel_release_all(cb_buff->channels); channels 138 drivers/iio/buffer/industrialio-buffer-cb.c return cb_buffer->channels; channels 24 drivers/iio/buffer/industrialio-hw-consumer.c struct iio_channel *channels; channels 96 drivers/iio/buffer/industrialio-hw-consumer.c hwc->channels = iio_channel_get_all(dev); channels 97 drivers/iio/buffer/industrialio-hw-consumer.c if (IS_ERR(hwc->channels)) { channels 98 drivers/iio/buffer/industrialio-hw-consumer.c ret = PTR_ERR(hwc->channels); channels 102 drivers/iio/buffer/industrialio-hw-consumer.c chan = &hwc->channels[0]; channels 118 drivers/iio/buffer/industrialio-hw-consumer.c iio_channel_release_all(hwc->channels); channels 133 drivers/iio/buffer/industrialio-hw-consumer.c iio_channel_release_all(hwc->channels); channels 160 drivers/iio/chemical/ams-iaq-core.c indio_dev->channels = ams_iaqcore_channels; channels 259 drivers/iio/chemical/atlas-ph-sensor.c const struct iio_chan_spec *channels; channels 269 drivers/iio/chemical/atlas-ph-sensor.c .channels = atlas_ph_channels, channels 276 drivers/iio/chemical/atlas-ph-sensor.c .channels = atlas_ec_channels, channels 283 drivers/iio/chemical/atlas-ph-sensor.c .channels = atlas_orp_channels, channels 534 drivers/iio/chemical/atlas-ph-sensor.c indio_dev->channels = chip->channels; channels 920 drivers/iio/chemical/bme680_core.c indio_dev->channels = bme680_channels; channels 389 drivers/iio/chemical/ccs811.c indio_dev->channels = ccs811_channels; channels 286 drivers/iio/chemical/pms7003.c indio_dev->channels = pms7003_channels, channels 117 drivers/iio/chemical/sgp30.c const struct iio_chan_spec *channels; channels 185 drivers/iio/chemical/sgp30.c .channels = sgp30_channels, channels 189 drivers/iio/chemical/sgp30.c .channels = sgpc3_channels, channels 540 drivers/iio/chemical/sgp30.c indio_dev->channels = sgp_devices[product_id].channels; channels 493 drivers/iio/chemical/sps30.c indio_dev->channels = sps30_channels; channels 56 drivers/iio/chemical/vz89x.c const struct iio_chan_spec *channels; channels 330 drivers/iio/chemical/vz89x.c .channels = vz89x_channels, channels 340 drivers/iio/chemical/vz89x.c .channels = vz89te_channels, channels 390 drivers/iio/chemical/vz89x.c indio_dev->channels = data->chip->channels; channels 106 drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c indio_dev->channels = cros_ec_lid_angle_channels; channels 33 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c struct iio_chan_spec channels[CROS_EC_SENSORS_MAX_CHANNELS]; channels 246 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c for (channel = state->channels, i = CROS_EC_SENSOR_X; channels 292 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c indio_dev->channels = state->channels; channels 32 drivers/iio/common/st_sensors/st_sensors_buffer.c const struct iio_chan_spec *channel = &indio_dev->channels[i]; channels 80 drivers/iio/dac/ad5064.c const struct iio_chan_spec *channels; channels 454 drivers/iio/dac/ad5064.c .channels = pchannels, \ channels 463 drivers/iio/dac/ad5064.c .channels = ad5024_channels, channels 469 drivers/iio/dac/ad5064.c .channels = ad5025_channels, channels 475 drivers/iio/dac/ad5064.c .channels = ad5044_channels, channels 481 drivers/iio/dac/ad5064.c .channels = ad5045_channels, channels 487 drivers/iio/dac/ad5064.c .channels = ad5064_channels, channels 493 drivers/iio/dac/ad5064.c .channels = ad5064_channels, channels 499 drivers/iio/dac/ad5064.c .channels = ad5065_channels, channels 505 drivers/iio/dac/ad5064.c .channels = ad5629_channels, channels 512 drivers/iio/dac/ad5064.c .channels = ad5629_channels, channels 519 drivers/iio/dac/ad5064.c .channels = ad5629_channels, channels 525 drivers/iio/dac/ad5064.c .channels = ad5629_channels, channels 532 drivers/iio/dac/ad5064.c .channels = ad5629_channels, channels 539 drivers/iio/dac/ad5064.c .channels = ad5629_channels, channels 546 drivers/iio/dac/ad5064.c .channels = ad5024_channels, channels 553 drivers/iio/dac/ad5064.c .channels = ad5024_channels, channels 560 drivers/iio/dac/ad5064.c .channels = ad5629_channels, channels 567 drivers/iio/dac/ad5064.c .channels = ad5629_channels, channels 574 drivers/iio/dac/ad5064.c .channels = ad5645_channels, channels 581 drivers/iio/dac/ad5064.c .channels = ad5645_channels, channels 588 drivers/iio/dac/ad5064.c .channels = ad5645_channels, channels 595 drivers/iio/dac/ad5064.c .channels = ad5645_channels, channels 602 drivers/iio/dac/ad5064.c .channels = ad5044_channels, channels 609 drivers/iio/dac/ad5064.c .channels = ad5044_channels, channels 615 drivers/iio/dac/ad5064.c .channels = ad5669_channels, channels 622 drivers/iio/dac/ad5064.c .channels = ad5669_channels, channels 629 drivers/iio/dac/ad5064.c .channels = ad5669_channels, channels 636 drivers/iio/dac/ad5064.c .channels = ad5064_channels, channels 643 drivers/iio/dac/ad5064.c .channels = ad5064_channels, channels 649 drivers/iio/dac/ad5064.c .channels = ad5669_channels, channels 656 drivers/iio/dac/ad5064.c .channels = ad5669_channels, channels 663 drivers/iio/dac/ad5064.c .channels = ad5669_channels, channels 670 drivers/iio/dac/ad5064.c .channels = ad5064_channels, channels 677 drivers/iio/dac/ad5064.c .channels = ad5064_channels, channels 684 drivers/iio/dac/ad5064.c .channels = ad5669_channels, channels 691 drivers/iio/dac/ad5064.c .channels = ad5669_channels, channels 698 drivers/iio/dac/ad5064.c .channels = ltc2607_channels, channels 705 drivers/iio/dac/ad5064.c .channels = ltc2607_channels, channels 712 drivers/iio/dac/ad5064.c .channels = ltc2607_channels, channels 719 drivers/iio/dac/ad5064.c .channels = ltc2617_channels, channels 726 drivers/iio/dac/ad5064.c .channels = ltc2617_channels, channels 733 drivers/iio/dac/ad5064.c .channels = ltc2617_channels, channels 740 drivers/iio/dac/ad5064.c .channels = ltc2627_channels, channels 747 drivers/iio/dac/ad5064.c .channels = ltc2627_channels, channels 754 drivers/iio/dac/ad5064.c .channels = ltc2627_channels, channels 881 drivers/iio/dac/ad5064.c indio_dev->channels = st->chip_info->channels; channels 884 drivers/iio/dac/ad5064.c midscale = (1 << indio_dev->channels[0].scan_type.realbits) / 2; channels 436 drivers/iio/dac/ad5360.c struct iio_chan_spec *channels; channels 439 drivers/iio/dac/ad5360.c channels = kcalloc(st->chip_info->num_channels, channels 442 drivers/iio/dac/ad5360.c if (!channels) channels 446 drivers/iio/dac/ad5360.c channels[i] = st->chip_info->channel_template; channels 447 drivers/iio/dac/ad5360.c channels[i].channel = i; channels 448 drivers/iio/dac/ad5360.c channels[i].address = AD5360_CHAN_ADDR(i); channels 451 drivers/iio/dac/ad5360.c indio_dev->channels = channels; channels 515 drivers/iio/dac/ad5360.c kfree(indio_dev->channels); channels 527 drivers/iio/dac/ad5360.c kfree(indio_dev->channels); channels 347 drivers/iio/dac/ad5380.c struct iio_chan_spec *channels; channels 350 drivers/iio/dac/ad5380.c channels = kcalloc(st->chip_info->num_channels, channels 353 drivers/iio/dac/ad5380.c if (!channels) channels 357 drivers/iio/dac/ad5380.c channels[i] = st->chip_info->channel_template; channels 358 drivers/iio/dac/ad5380.c channels[i].channel = i; channels 359 drivers/iio/dac/ad5380.c channels[i].address = i; channels 362 drivers/iio/dac/ad5380.c indio_dev->channels = channels; channels 439 drivers/iio/dac/ad5380.c kfree(indio_dev->channels); channels 451 drivers/iio/dac/ad5380.c kfree(indio_dev->channels); channels 491 drivers/iio/dac/ad5421.c indio_dev->channels = ad5421_channels; channels 254 drivers/iio/dac/ad5446.c indio_dev->channels = &st->chip_info->channel; channels 46 drivers/iio/dac/ad5449.c const struct iio_chan_spec *channels; channels 225 drivers/iio/dac/ad5449.c .channels = ad5429_channels, channels 230 drivers/iio/dac/ad5449.c .channels = ad5429_channels, channels 235 drivers/iio/dac/ad5449.c .channels = ad5439_channels, channels 240 drivers/iio/dac/ad5449.c .channels = ad5439_channels, channels 245 drivers/iio/dac/ad5449.c .channels = ad5449_channels, channels 250 drivers/iio/dac/ad5449.c .channels = ad5449_channels, channels 302 drivers/iio/dac/ad5449.c indio_dev->channels = st->chip_info->channels; channels 314 drivers/iio/dac/ad5504.c indio_dev->channels = ad5504_channels; channels 519 drivers/iio/dac/ad5592r-base.c struct iio_chan_spec *channels; channels 538 drivers/iio/dac/ad5592r-base.c channels = devm_kcalloc(st->dev, channels 539 drivers/iio/dac/ad5592r-base.c 1 + 2 * num_channels, sizeof(*channels), channels 541 drivers/iio/dac/ad5592r-base.c if (!channels) channels 547 drivers/iio/dac/ad5592r-base.c ad5592r_setup_channel(iio_dev, &channels[curr_channel], channels 553 drivers/iio/dac/ad5592r-base.c ad5592r_setup_channel(iio_dev, &channels[curr_channel], channels 559 drivers/iio/dac/ad5592r-base.c ad5592r_setup_channel(iio_dev, &channels[curr_channel], channels 562 drivers/iio/dac/ad5592r-base.c ad5592r_setup_channel(iio_dev, &channels[curr_channel], channels 572 drivers/iio/dac/ad5592r-base.c channels[curr_channel].type = IIO_TEMP; channels 573 drivers/iio/dac/ad5592r-base.c channels[curr_channel].channel = 8; channels 574 drivers/iio/dac/ad5592r-base.c channels[curr_channel].info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | channels 580 drivers/iio/dac/ad5592r-base.c iio_dev->channels = channels; channels 39 drivers/iio/dac/ad5624r.h const struct iio_chan_spec *channels; channels 197 drivers/iio/dac/ad5624r_spi.c .channels = ad5624r_channels, channels 201 drivers/iio/dac/ad5624r_spi.c .channels = ad5624r_channels, channels 205 drivers/iio/dac/ad5624r_spi.c .channels = ad5644r_channels, channels 209 drivers/iio/dac/ad5624r_spi.c .channels = ad5644r_channels, channels 213 drivers/iio/dac/ad5624r_spi.c .channels = ad5664r_channels, channels 217 drivers/iio/dac/ad5624r_spi.c .channels = ad5664r_channels, channels 260 drivers/iio/dac/ad5624r_spi.c indio_dev->channels = st->chip_info->channels; channels 268 drivers/iio/dac/ad5686.c .channels = ad5310r_channels, channels 274 drivers/iio/dac/ad5686.c .channels = ad5311r_channels, channels 280 drivers/iio/dac/ad5686.c .channels = ad5672_channels, channels 286 drivers/iio/dac/ad5686.c .channels = ad5672_channels, channels 292 drivers/iio/dac/ad5686.c .channels = ad5674r_channels, channels 298 drivers/iio/dac/ad5686.c .channels = ad5676_channels, channels 304 drivers/iio/dac/ad5686.c .channels = ad5676_channels, channels 309 drivers/iio/dac/ad5686.c .channels = ad5676_channels, channels 315 drivers/iio/dac/ad5686.c .channels = ad5679r_channels, channels 321 drivers/iio/dac/ad5686.c .channels = ad5691r_channels, channels 327 drivers/iio/dac/ad5686.c .channels = ad5692r_channels, channels 333 drivers/iio/dac/ad5686.c .channels = ad5693_channels, channels 338 drivers/iio/dac/ad5686.c .channels = ad5693_channels, channels 344 drivers/iio/dac/ad5686.c .channels = ad5684_channels, channels 349 drivers/iio/dac/ad5686.c .channels = ad5684_channels, channels 355 drivers/iio/dac/ad5686.c .channels = ad5685r_channels, channels 361 drivers/iio/dac/ad5686.c .channels = ad5686_channels, channels 366 drivers/iio/dac/ad5686.c .channels = ad5686_channels, channels 372 drivers/iio/dac/ad5686.c .channels = ad5691r_channels, channels 378 drivers/iio/dac/ad5686.c .channels = ad5692r_channels, channels 384 drivers/iio/dac/ad5686.c .channels = ad5693_channels, channels 389 drivers/iio/dac/ad5686.c .channels = ad5693_channels, channels 395 drivers/iio/dac/ad5686.c .channels = ad5684_channels, channels 400 drivers/iio/dac/ad5686.c .channels = ad5684_channels, channels 406 drivers/iio/dac/ad5686.c .channels = ad5686_channels, channels 411 drivers/iio/dac/ad5686.c .channels = ad5686_channels, channels 468 drivers/iio/dac/ad5686.c indio_dev->channels = st->chip_info->channels; channels 107 drivers/iio/dac/ad5686.h struct iio_chan_spec *channels; channels 92 drivers/iio/dac/ad5755.c struct iio_chan_spec channels[AD5755_NUM_CHANNELS]; channels 561 drivers/iio/dac/ad5755.c struct iio_chan_spec *channels = st->channels; channels 565 drivers/iio/dac/ad5755.c channels[i] = st->chip_info->channel_template; channels 566 drivers/iio/dac/ad5755.c channels[i].channel = i; channels 567 drivers/iio/dac/ad5755.c channels[i].address = i; channels 569 drivers/iio/dac/ad5755.c channels[i].type = IIO_VOLTAGE; channels 571 drivers/iio/dac/ad5755.c channels[i].type = IIO_CURRENT; channels 574 drivers/iio/dac/ad5755.c indio_dev->channels = channels; channels 868 drivers/iio/dac/ad5758.c indio_dev->channels = ad5758_voltage_ch; channels 870 drivers/iio/dac/ad5758.c indio_dev->channels = ad5758_current_ch; channels 378 drivers/iio/dac/ad5761.c iio_dev->channels = &chip_info->channel; channels 41 drivers/iio/dac/ad5764.c const struct iio_chan_spec *channels; channels 107 drivers/iio/dac/ad5764.c .channels = ad5744_channels, channels 111 drivers/iio/dac/ad5764.c .channels = ad5744_channels, channels 115 drivers/iio/dac/ad5764.c .channels = ad5764_channels, channels 119 drivers/iio/dac/ad5764.c .channels = ad5764_channels, channels 296 drivers/iio/dac/ad5764.c indio_dev->channels = st->chip_info->channels; channels 415 drivers/iio/dac/ad5791.c indio_dev->channels channels 251 drivers/iio/dac/ad7303.c indio_dev->channels = ad7303_channels; channels 177 drivers/iio/dac/ad8801.c indio_dev->channels = ad8801_channels; channels 110 drivers/iio/dac/cio-dac.c indio_dev->channels = cio_dac_channels; channels 183 drivers/iio/dac/dpot-dac.c indio_dev->channels = &dpot_dac_iio_channel; channels 185 drivers/iio/dac/ds4424.c &indio_dev->channels[i]); channels 202 drivers/iio/dac/ds4424.c &indio_dev->channels[i]); channels 271 drivers/iio/dac/ds4424.c indio_dev->channels = ds4424_channels; channels 141 drivers/iio/dac/lpc18xx_dac.c indio_dev->channels = lpc18xx_dac_iio_channels; channels 192 drivers/iio/dac/ltc1660.c indio_dev->channels = ltc1660_channels[id->driver_data]; channels 35 drivers/iio/dac/ltc2632.c const struct iio_chan_spec *channels; channels 205 drivers/iio/dac/ltc2632.c .channels = ltc2632l12_channels, channels 209 drivers/iio/dac/ltc2632.c .channels = ltc2632l10_channels, channels 213 drivers/iio/dac/ltc2632.c .channels = ltc2632l8_channels, channels 217 drivers/iio/dac/ltc2632.c .channels = ltc2632h12_channels, channels 221 drivers/iio/dac/ltc2632.c .channels = ltc2632h10_channels, channels 225 drivers/iio/dac/ltc2632.c .channels = ltc2632h8_channels, channels 293 drivers/iio/dac/ltc2632.c indio_dev->channels = chip_info->channels; channels 211 drivers/iio/dac/m62332.c indio_dev->channels = m62332_channels; channels 177 drivers/iio/dac/max517.c indio_dev->channels = max517_channels; channels 346 drivers/iio/dac/max5821.c indio_dev->channels = max5821_channels; channels 459 drivers/iio/dac/mcp4725.c indio_dev->channels = &mcp472x_channel[id->driver_data]; channels 158 drivers/iio/dac/mcp4922.c indio_dev->channels = mcp4922_channels[id->driver_data]; channels 261 drivers/iio/dac/stm32-dac.c indio_dev->channels = &stm32_dac_channels[i]; channels 275 drivers/iio/dac/ti-dac082s085.c indio_dev->channels = ti_dac_channels; channels 329 drivers/iio/dac/ti-dac5571.c indio_dev->channels = dac5571_channels; channels 259 drivers/iio/dac/ti-dac7311.c indio_dev->channels = ti_dac_channels; channels 145 drivers/iio/dac/ti-dac7612.c iio_dev->channels = dac7612_channels; channels 207 drivers/iio/dac/vf610_dac.c indio_dev->channels = vf610_dac_iio_channels; channels 619 drivers/iio/dummy/iio_simple_dummy.c indio_dev->channels = iio_dummy_channels; channels 910 drivers/iio/frequency/ad9523.c chan = &pdata->channels[i]; channels 1034 drivers/iio/frequency/ad9523.c indio_dev->channels = st->ad9523_channels; channels 548 drivers/iio/frequency/adf4350.c indio_dev->channels = &adf4350_chan; channels 154 drivers/iio/frequency/adf4371.c const struct iio_chan_spec *channels; channels 449 drivers/iio/frequency/adf4371.c .channels = adf4371_chan, channels 453 drivers/iio/frequency/adf4371.c .channels = adf4371_chan, channels 580 drivers/iio/frequency/adf4371.c indio_dev->channels = st->chip_info->channels; channels 204 drivers/iio/gyro/adis16080.c indio_dev->channels = adis16080_channels; channels 156 drivers/iio/gyro/adis16130.c indio_dev->channels = adis16130_channels; channels 519 drivers/iio/gyro/adis16136.c indio_dev->channels = adis16136_channels; channels 106 drivers/iio/gyro/adis16260.c const struct iio_chan_spec *channels; channels 156 drivers/iio/gyro/adis16260.c .channels = adis16260_channels, channels 162 drivers/iio/gyro/adis16260.c .channels = adis16260_channels, channels 168 drivers/iio/gyro/adis16260.c .channels = adis16266_channels, channels 379 drivers/iio/gyro/adis16260.c indio_dev->channels = adis16260->info->channels; channels 430 drivers/iio/gyro/adxrs450.c indio_dev->channels = channels 1101 drivers/iio/gyro/bmg160_core.c indio_dev->channels = bmg160_channels; channels 909 drivers/iio/gyro/fxas21002c_core.c indio_dev->channels = fxas21002c_channels; channels 81 drivers/iio/gyro/hid-sensor-gyro-3d.c static void gyro_3d_adjust_channel_bit_mask(struct iio_chan_spec *channels, channels 84 drivers/iio/gyro/hid-sensor-gyro-3d.c channels[channel].scan_type.sign = 's'; channels 86 drivers/iio/gyro/hid-sensor-gyro-3d.c channels[channel].scan_type.realbits = size * 8; channels 88 drivers/iio/gyro/hid-sensor-gyro-3d.c channels[channel].scan_type.storagebits = sizeof(u32) * 8; channels 238 drivers/iio/gyro/hid-sensor-gyro-3d.c struct iio_chan_spec *channels, channels 253 drivers/iio/gyro/hid-sensor-gyro-3d.c gyro_3d_adjust_channel_bit_mask(channels, channels 308 drivers/iio/gyro/hid-sensor-gyro-3d.c indio_dev->channels = kmemdup(gyro_3d_channels, channels 310 drivers/iio/gyro/hid-sensor-gyro-3d.c if (!indio_dev->channels) { channels 316 drivers/iio/gyro/hid-sensor-gyro-3d.c (struct iio_chan_spec *)indio_dev->channels, channels 368 drivers/iio/gyro/hid-sensor-gyro-3d.c kfree(indio_dev->channels); channels 383 drivers/iio/gyro/hid-sensor-gyro-3d.c kfree(indio_dev->channels); channels 322 drivers/iio/gyro/itg3200_core.c indio_dev->channels = itg3200_channels; channels 1202 drivers/iio/gyro/mpu3050-core.c indio_dev->channels = mpu3050_channels; channels 114 drivers/iio/gyro/ssp_gyro_sensor.c indio_dev->channels = ssp_gyro_channels; channels 478 drivers/iio/gyro/st_gyro_core.c indio_dev->channels = gdata->sensor_settings->ch; channels 515 drivers/iio/health/afe4403.c indio_dev->channels = afe4403_channels; channels 521 drivers/iio/health/afe4404.c indio_dev->channels = afe4404_channels; channels 437 drivers/iio/health/max30100.c indio_dev->channels = max30100_channels; channels 541 drivers/iio/health/max30102.c indio_dev->channels = max30105_channels; channels 546 drivers/iio/health/max30102.c indio_dev->channels = max30102_channels; channels 240 drivers/iio/humidity/am2315.c indio_dev->channels = am2315_channels; channels 328 drivers/iio/humidity/dht11.c iio->channels = dht11_chan_spec; channels 379 drivers/iio/humidity/hdc100x.c indio_dev->channels = hdc100x_channels; channels 41 drivers/iio/humidity/hid-sensor-humidity.c static void humidity_adjust_channel_bit_mask(struct iio_chan_spec *channels, channels 44 drivers/iio/humidity/hid-sensor-humidity.c channels[channel].scan_type.sign = 's'; channels 46 drivers/iio/humidity/hid-sensor-humidity.c channels[channel].scan_type.realbits = size * 8; channels 48 drivers/iio/humidity/hid-sensor-humidity.c channels[channel].scan_type.storagebits = sizeof(s32) * 8; channels 158 drivers/iio/humidity/hid-sensor-humidity.c struct iio_chan_spec *channels, channels 171 drivers/iio/humidity/hid-sensor-humidity.c humidity_adjust_channel_bit_mask(channels, 0, st->humidity_attr.size); channels 229 drivers/iio/humidity/hid-sensor-humidity.c indio_dev->channels = humid_chans; channels 173 drivers/iio/humidity/hts221_buffer.c ch = &iio_dev->channels[HTS221_SENSOR_H]; channels 180 drivers/iio/humidity/hts221_buffer.c ch = &iio_dev->channels[HTS221_SENSOR_T]; channels 584 drivers/iio/humidity/hts221_core.c iio_dev->channels = hts221_channels; channels 211 drivers/iio/humidity/htu21.c indio_dev->channels = ms8607_channels; channels 214 drivers/iio/humidity/htu21.c indio_dev->channels = htu21_channels; channels 150 drivers/iio/humidity/si7005.c indio_dev->channels = si7005_channels; channels 135 drivers/iio/humidity/si7020.c indio_dev->channels = si7020_channels; channels 158 drivers/iio/imu/adis16400.c const struct iio_chan_spec *channels; channels 935 drivers/iio/imu/adis16400.c .channels = adis16300_channels, channels 947 drivers/iio/imu/adis16400.c .channels = adis16334_channels, channels 959 drivers/iio/imu/adis16400.c .channels = adis16350_channels, channels 970 drivers/iio/imu/adis16400.c .channels = adis16350_channels, channels 982 drivers/iio/imu/adis16400.c .channels = adis16350_channels, channels 994 drivers/iio/imu/adis16400.c .channels = adis16350_channels, channels 1006 drivers/iio/imu/adis16400.c .channels = adis16350_channels, channels 1018 drivers/iio/imu/adis16400.c .channels = adis16400_channels, channels 1029 drivers/iio/imu/adis16400.c .channels = adis16445_channels, channels 1042 drivers/iio/imu/adis16400.c .channels = adis16448_channels, channels 1116 drivers/iio/imu/adis16400.c const struct iio_chan_spec *ch = &chip_info->channels[i]; channels 1142 drivers/iio/imu/adis16400.c indio_dev->channels = st->variant->channels; channels 61 drivers/iio/imu/adis16460.c const struct iio_chan_spec *channels; channels 302 drivers/iio/imu/adis16460.c .channels = adis16460_channels, channels 420 drivers/iio/imu/adis16460.c indio_dev->channels = st->chip_info->channels; channels 131 drivers/iio/imu/adis16480.c const struct iio_chan_spec *channels; channels 792 drivers/iio/imu/adis16480.c .channels = adis16485_channels, channels 810 drivers/iio/imu/adis16480.c .channels = adis16480_channels, channels 822 drivers/iio/imu/adis16480.c .channels = adis16485_channels, channels 834 drivers/iio/imu/adis16480.c .channels = adis16480_channels, channels 846 drivers/iio/imu/adis16480.c .channels = adis16485_channels, channels 859 drivers/iio/imu/adis16480.c .channels = adis16485_channels, channels 872 drivers/iio/imu/adis16480.c .channels = adis16485_channels, channels 885 drivers/iio/imu/adis16480.c .channels = adis16485_channels, channels 898 drivers/iio/imu/adis16480.c .channels = adis16485_channels, channels 911 drivers/iio/imu/adis16480.c .channels = adis16485_channels, channels 1209 drivers/iio/imu/adis16480.c indio_dev->channels = st->chip_info->channels; channels 108 drivers/iio/imu/adis_buffer.c chan = indio_dev->channels; channels 830 drivers/iio/imu/bmi160/bmi160_core.c indio_dev->channels = bmi160_channels; channels 1181 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c indio_dev->channels = inv_icm20602_channels; channels 1185 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c indio_dev->channels = inv_mpu_channels; channels 1252 drivers/iio/imu/kmx61.c indio_dev->channels = chan; channels 237 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h } channels[2]; channels 102 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c .channels = { channels 175 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c .channels = { channels 289 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c .channels = { channels 412 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c .channels = { channels 529 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c .channels = { channels 661 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c .channels = { channels 770 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c .channels = { channels 1453 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev->channels = hw->settings->channels[id].chan; channels 1454 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev->num_channels = hw->settings->channels[id].len; channels 635 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_dev->channels = ext_channels; channels 1237 drivers/iio/industrialio-buffer.c const struct iio_chan_spec *channels; channels 1239 drivers/iio/industrialio-buffer.c channels = indio_dev->channels; channels 1240 drivers/iio/industrialio-buffer.c if (channels) { channels 1244 drivers/iio/industrialio-buffer.c ml = max(ml, channels[i].scan_index + 1); channels 1287 drivers/iio/industrialio-buffer.c channels = indio_dev->channels; channels 1288 drivers/iio/industrialio-buffer.c if (channels) { channels 1291 drivers/iio/industrialio-buffer.c if (channels[i].scan_index < 0) channels 1295 drivers/iio/industrialio-buffer.c &channels[i]); channels 1299 drivers/iio/industrialio-buffer.c if (channels[i].type == IIO_TIMESTAMP) channels 1301 drivers/iio/industrialio-buffer.c channels[i].scan_index; channels 177 drivers/iio/industrialio-core.c if (indio_dev->channels[i].scan_index == si) channels 178 drivers/iio/industrialio-core.c return &indio_dev->channels[i]; channels 1338 drivers/iio/industrialio-core.c if (indio_dev->channels) channels 1341 drivers/iio/industrialio-core.c &indio_dev->channels[i]; channels 1619 drivers/iio/industrialio-core.c const struct iio_chan_spec *channels = indio_dev->channels; channels 1625 drivers/iio/industrialio-core.c if (channels[i].scan_index < 0) channels 1628 drivers/iio/industrialio-core.c if (channels[i].scan_index == channels[j].scan_index) { channels 1631 drivers/iio/industrialio-core.c channels[i].scan_index); channels 443 drivers/iio/industrialio-event.c &indio_dev->channels[j]); channels 456 drivers/iio/industrialio-event.c if (indio_dev->channels[j].num_event_specs != 0) channels 494 drivers/iio/industrialio-event.c if (indio_dev->channels) { channels 83 drivers/iio/inkern.c if (indio_dev->channels[i].datasheet_name && channels 84 drivers/iio/inkern.c strcmp(name, indio_dev->channels[i].datasheet_name) == 0) { channels 85 drivers/iio/inkern.c chan = &indio_dev->channels[i]; channels 151 drivers/iio/inkern.c channel->channel = &indio_dev->channels[index]; channels 477 drivers/iio/inkern.c void iio_channel_release_all(struct iio_channel *channels) channels 479 drivers/iio/inkern.c struct iio_channel *chan = &channels[0]; channels 485 drivers/iio/inkern.c kfree(channels); channels 491 drivers/iio/inkern.c struct iio_channel *channels = *(struct iio_channel **)res; channels 493 drivers/iio/inkern.c iio_channel_release_all(channels); channels 498 drivers/iio/inkern.c struct iio_channel **ptr, *channels; channels 504 drivers/iio/inkern.c channels = iio_channel_get_all(dev); channels 505 drivers/iio/inkern.c if (IS_ERR(channels)) { channels 507 drivers/iio/inkern.c return channels; channels 510 drivers/iio/inkern.c *ptr = channels; channels 513 drivers/iio/inkern.c return channels; channels 518 drivers/iio/inkern.c struct iio_channel *channels) channels 521 drivers/iio/inkern.c devm_iio_channel_match, channels)); channels 184 drivers/iio/light/acpi-als.c indio_dev->channels = acpi_als_channels; channels 265 drivers/iio/light/adjd_s311.c indio_dev->channels = adjd_s311_channels; channels 190 drivers/iio/light/al3320a.c indio_dev->channels = al3320a_channels; channels 423 drivers/iio/light/apds9300.c indio_dev->channels = apds9300_channels; channels 1009 drivers/iio/light/apds9960.c indio_dev->channels = apds9960_channels; channels 260 drivers/iio/light/bh1750.c indio_dev->channels = bh1750_channels; channels 191 drivers/iio/light/bh1780.c indio_dev->channels = bh1780_channels; channels 316 drivers/iio/light/cm32181.c indio_dev->channels = cm32181_channels; channels 343 drivers/iio/light/cm3232.c indio_dev->channels = cm3232_channels; channels 237 drivers/iio/light/cm3323.c indio_dev->channels = cm3323_channels; channels 245 drivers/iio/light/cm3605.c indio_dev->channels = cm3605_channels; channels 666 drivers/iio/light/cm36651.c indio_dev->channels = cm36651_channels; channels 36 drivers/iio/light/cros_ec_light_prox.c struct iio_chan_spec channels[CROS_EC_LIGHT_PROX_MAX_CHANNELS]; channels 195 drivers/iio/light/cros_ec_light_prox.c channel = state->channels; channels 240 drivers/iio/light/cros_ec_light_prox.c indio_dev->channels = state->channels; channels 1530 drivers/iio/light/gp2ap020a00f.c indio_dev->channels = gp2ap020a00f_channels; channels 63 drivers/iio/light/hid-sensor-als.c static void als_adjust_channel_bit_mask(struct iio_chan_spec *channels, channels 66 drivers/iio/light/hid-sensor-als.c channels[channel].scan_type.sign = 's'; channels 68 drivers/iio/light/hid-sensor-als.c channels[channel].scan_type.realbits = size * 8; channels 70 drivers/iio/light/hid-sensor-als.c channels[channel].scan_type.storagebits = sizeof(u32) * 8; channels 225 drivers/iio/light/hid-sensor-als.c struct iio_chan_spec *channels, channels 237 drivers/iio/light/hid-sensor-als.c als_adjust_channel_bit_mask(channels, CHANNEL_SCAN_INDEX_INTENSITY, channels 239 drivers/iio/light/hid-sensor-als.c als_adjust_channel_bit_mask(channels, CHANNEL_SCAN_INDEX_ILLUM, channels 289 drivers/iio/light/hid-sensor-als.c indio_dev->channels = kmemdup(als_channels, channels 291 drivers/iio/light/hid-sensor-als.c if (!indio_dev->channels) { channels 297 drivers/iio/light/hid-sensor-als.c (struct iio_chan_spec *)indio_dev->channels, channels 350 drivers/iio/light/hid-sensor-als.c kfree(indio_dev->channels); channels 365 drivers/iio/light/hid-sensor-als.c kfree(indio_dev->channels); channels 44 drivers/iio/light/hid-sensor-prox.c static void prox_adjust_channel_bit_mask(struct iio_chan_spec *channels, channels 47 drivers/iio/light/hid-sensor-prox.c channels[channel].scan_type.sign = 's'; channels 49 drivers/iio/light/hid-sensor-prox.c channels[channel].scan_type.realbits = size * 8; channels 51 drivers/iio/light/hid-sensor-prox.c channels[channel].scan_type.storagebits = sizeof(u32) * 8; channels 203 drivers/iio/light/hid-sensor-prox.c struct iio_chan_spec *channels, channels 215 drivers/iio/light/hid-sensor-prox.c prox_adjust_channel_bit_mask(channels, CHANNEL_SCAN_INDEX_PRESENCE, channels 268 drivers/iio/light/hid-sensor-prox.c indio_dev->channels = kmemdup(prox_channels, sizeof(prox_channels), channels 270 drivers/iio/light/hid-sensor-prox.c if (!indio_dev->channels) { channels 276 drivers/iio/light/hid-sensor-prox.c (struct iio_chan_spec *)indio_dev->channels, channels 328 drivers/iio/light/hid-sensor-prox.c kfree(indio_dev->channels); channels 343 drivers/iio/light/hid-sensor-prox.c kfree(indio_dev->channels); channels 663 drivers/iio/light/isl29018.c const struct iio_chan_spec *channels; channels 671 drivers/iio/light/isl29018.c .channels = isl29018_channels, channels 677 drivers/iio/light/isl29018.c .channels = isl29023_channels, channels 683 drivers/iio/light/isl29018.c .channels = isl29023_channels, channels 782 drivers/iio/light/isl29018.c indio_dev->channels = isl29018_chip_info_tbl[dev_id].channels; channels 620 drivers/iio/light/isl29028.c indio_dev->channels = isl29028_channels; channels 264 drivers/iio/light/isl29125.c indio_dev->channels = isl29125_channels; channels 342 drivers/iio/light/jsa1212.c indio_dev->channels = jsa1212_channels; channels 852 drivers/iio/light/lm3533-als.c indio_dev->channels = lm3533_als_channels; channels 143 drivers/iio/light/ltr501.c struct iio_chan_spec const *channels; channels 1198 drivers/iio/light/ltr501.c .channels = ltr501_channels, channels 1212 drivers/iio/light/ltr501.c .channels = ltr501_channels, channels 1224 drivers/iio/light/ltr501.c .channels = ltr301_channels, channels 1484 drivers/iio/light/ltr501.c indio_dev->channels = data->chip_info->channels; channels 506 drivers/iio/light/lv0104cs.c indio_dev->channels = lv0104cs_channels; channels 544 drivers/iio/light/max44000.c indio_dev->channels = max44000_channels; channels 508 drivers/iio/light/max44009.c indio_dev->channels = max44009_channels; channels 275 drivers/iio/light/noa1305.c indio_dev->channels = noa1305_channels; channels 768 drivers/iio/light/opt3001.c iio->channels = opt3001_channels; channels 368 drivers/iio/light/pa12203001.c indio_dev->channels = pa12203001_channels; channels 954 drivers/iio/light/rpr0521.c indio_dev->channels = rpr0521_channels; channels 1026 drivers/iio/light/si1133.c iio_dev->channels = si1133_channels; channels 155 drivers/iio/light/si1145.c const struct iio_chan_spec *channels; channels 474 drivers/iio/light/si1145.c if (indio_dev->channels[i + run].address != channels 475 drivers/iio/light/si1145.c indio_dev->channels[i].address + 2 * run) channels 481 drivers/iio/light/si1145.c data->client, indio_dev->channels[i].address, channels 517 drivers/iio/light/si1145.c switch (indio_dev->channels[i].address) { channels 534 drivers/iio/light/si1145.c switch (indio_dev->channels[i].type) { channels 540 drivers/iio/light/si1145.c if (indio_dev->channels[i].type == IIO_TEMP) channels 1166 drivers/iio/light/si1145.c if (indio_dev->channels[i].address == SI1145_REG_AUX_DATA) channels 1313 drivers/iio/light/si1145.c indio_dev->channels = data->part_info->channels; channels 307 drivers/iio/light/st_uvis25_core.c iio_dev->channels = st_uvis25_channels; channels 592 drivers/iio/light/stk3310.c indio_dev->channels = stk3310_channels; channels 290 drivers/iio/light/tcs3414.c indio_dev->channels = tcs3414_channels; channels 460 drivers/iio/light/tcs3472.c indio_dev->channels = tcs3472_channels; channels 751 drivers/iio/light/tsl2563.c indio_dev->channels = tsl2563_channels; channels 841 drivers/iio/light/tsl2583.c indio_dev->channels = tsl2583_channels; channels 1842 drivers/iio/light/tsl2772.c indio_dev->channels = chip->chip_info->channel_with_events; channels 1857 drivers/iio/light/tsl2772.c indio_dev->channels = chip->chip_info->channel_without_events; channels 197 drivers/iio/light/tsl4531.c indio_dev->channels = tsl4531_channels; channels 857 drivers/iio/light/us5182d.c indio_dev->channels = us5182d_channels; channels 390 drivers/iio/light/vcnl4000.c indio_dev->channels = vcnl4000_channels; channels 570 drivers/iio/light/vcnl4035.c indio_dev->channels = vcnl4035_channels; channels 156 drivers/iio/light/veml6070.c indio_dev->channels = veml6070_channels; channels 513 drivers/iio/light/vl6180.c indio_dev->channels = vl6180_channels; channels 530 drivers/iio/light/zopt2201.c indio_dev->channels = zopt2201_channels; channels 798 drivers/iio/magnetometer/ak8974.c indio_dev->channels = ak8974_channels; channels 957 drivers/iio/magnetometer/ak8975.c indio_dev->channels = ak8975_channels; channels 887 drivers/iio/magnetometer/bmc150_magn.c indio_dev->channels = bmc150_magn_channels; channels 133 drivers/iio/magnetometer/hid-sensor-magn-3d.c static void magn_3d_adjust_channel_bit_mask(struct iio_chan_spec *channels, channels 136 drivers/iio/magnetometer/hid-sensor-magn-3d.c channels[channel].scan_type.sign = 's'; channels 138 drivers/iio/magnetometer/hid-sensor-magn-3d.c channels[channel].scan_type.realbits = size * 8; channels 140 drivers/iio/magnetometer/hid-sensor-magn-3d.c channels[channel].scan_type.storagebits = sizeof(u32) * 8; channels 343 drivers/iio/magnetometer/hid-sensor-magn-3d.c struct iio_chan_spec **channels, channels 424 drivers/iio/magnetometer/hid-sensor-magn-3d.c *channels = _channels; channels 484 drivers/iio/magnetometer/hid-sensor-magn-3d.c struct iio_chan_spec *channels; channels 508 drivers/iio/magnetometer/hid-sensor-magn-3d.c &channels, &chan_count, channels 515 drivers/iio/magnetometer/hid-sensor-magn-3d.c indio_dev->channels = channels; channels 128 drivers/iio/magnetometer/hmc5843_core.c const struct iio_chan_spec *channels; channels 534 drivers/iio/magnetometer/hmc5843_core.c .channels = hmc5843_channels, channels 543 drivers/iio/magnetometer/hmc5843_core.c .channels = hmc5883_channels, channels 552 drivers/iio/magnetometer/hmc5843_core.c .channels = hmc5883_channels, channels 561 drivers/iio/magnetometer/hmc5843_core.c .channels = hmc5983_channels, channels 649 drivers/iio/magnetometer/hmc5843_core.c indio_dev->channels = data->variant->channels; channels 524 drivers/iio/magnetometer/mag3110.c indio_dev->channels = mag3110_channels; channels 513 drivers/iio/magnetometer/mmc35240.c indio_dev->channels = mmc35240_channels; channels 554 drivers/iio/magnetometer/rm3100-core.c indio_dev->channels = rm3100_channels; channels 507 drivers/iio/magnetometer/st_magn_core.c indio_dev->channels = mdata->sensor_settings->ch; channels 401 drivers/iio/multiplexer/iio-mux.c indio_dev->channels = mux->chan; channels 238 drivers/iio/orientation/hid-sensor-incl-3d.c struct iio_chan_spec *channels, channels 251 drivers/iio/orientation/hid-sensor-incl-3d.c incl_3d_adjust_channel_bit_mask(&channels[CHANNEL_SCAN_INDEX_X], channels 261 drivers/iio/orientation/hid-sensor-incl-3d.c incl_3d_adjust_channel_bit_mask(&channels[CHANNEL_SCAN_INDEX_Y], channels 271 drivers/iio/orientation/hid-sensor-incl-3d.c incl_3d_adjust_channel_bit_mask(&channels[CHANNEL_SCAN_INDEX_Z], channels 327 drivers/iio/orientation/hid-sensor-incl-3d.c indio_dev->channels = kmemdup(incl_3d_channels, channels 329 drivers/iio/orientation/hid-sensor-incl-3d.c if (!indio_dev->channels) { channels 335 drivers/iio/orientation/hid-sensor-incl-3d.c (struct iio_chan_spec *)indio_dev->channels, channels 389 drivers/iio/orientation/hid-sensor-incl-3d.c kfree(indio_dev->channels); channels 404 drivers/iio/orientation/hid-sensor-incl-3d.c kfree(indio_dev->channels); channels 185 drivers/iio/orientation/hid-sensor-rotation.c struct iio_chan_spec *channels, channels 199 drivers/iio/orientation/hid-sensor-rotation.c dev_rot_adjust_channel_bit_mask(&channels[0], channels 269 drivers/iio/orientation/hid-sensor-rotation.c indio_dev->channels = devm_kmemdup(&pdev->dev, dev_rot_channels, channels 272 drivers/iio/orientation/hid-sensor-rotation.c if (!indio_dev->channels) { channels 278 drivers/iio/orientation/hid-sensor-rotation.c (struct iio_chan_spec *)indio_dev->channels, channels 189 drivers/iio/potentiometer/ad5272.c indio_dev->channels = &ad5272_channel; channels 131 drivers/iio/potentiometer/ds1803.c indio_dev->channels = ds1803_channels; channels 107 drivers/iio/potentiometer/max5432.c indio_dev->channels = max5432_channels; channels 157 drivers/iio/potentiometer/max5481.c indio_dev->channels = max5481_channels; channels 105 drivers/iio/potentiometer/max5487.c indio_dev->channels = max5487_channels; channels 170 drivers/iio/potentiometer/mcp4018.c indio_dev->channels = &mcp4018_channel; channels 157 drivers/iio/potentiometer/mcp41010.c indio_dev->channels = mcp41010_channels; channels 265 drivers/iio/potentiometer/mcp4131.c indio_dev->channels = mcp4131_channels; channels 380 drivers/iio/potentiometer/mcp4531.c indio_dev->channels = mcp4531_channels; channels 145 drivers/iio/potentiometer/tpl0102.c indio_dev->channels = tpl0102_channels; channels 313 drivers/iio/potentiostat/lmp91000.c indio_dev->channels = lmp91000_channels; channels 202 drivers/iio/pressure/abp060mg.c indio_dev->channels = abp060mg_channels; channels 1004 drivers/iio/pressure/bmp280-core.c indio_dev->channels = bmp280_channels; channels 34 drivers/iio/pressure/cros_ec_baro.c struct iio_chan_spec channels[CROS_EC_BARO_MAX_CHANNELS]; channels 146 drivers/iio/pressure/cros_ec_baro.c channel = state->channels; channels 181 drivers/iio/pressure/cros_ec_baro.c indio_dev->channels = state->channels; channels 737 drivers/iio/pressure/dps310.c iio->channels = dps310_channels; channels 48 drivers/iio/pressure/hid-sensor-press.c static void press_adjust_channel_bit_mask(struct iio_chan_spec *channels, channels 51 drivers/iio/pressure/hid-sensor-press.c channels[channel].scan_type.sign = 's'; channels 53 drivers/iio/pressure/hid-sensor-press.c channels[channel].scan_type.realbits = size * 8; channels 55 drivers/iio/pressure/hid-sensor-press.c channels[channel].scan_type.storagebits = sizeof(u32) * 8; channels 207 drivers/iio/pressure/hid-sensor-press.c struct iio_chan_spec *channels, channels 219 drivers/iio/pressure/hid-sensor-press.c press_adjust_channel_bit_mask(channels, CHANNEL_SCAN_INDEX_PRESSURE, channels 271 drivers/iio/pressure/hid-sensor-press.c indio_dev->channels = kmemdup(press_channels, sizeof(press_channels), channels 273 drivers/iio/pressure/hid-sensor-press.c if (!indio_dev->channels) { channels 279 drivers/iio/pressure/hid-sensor-press.c (struct iio_chan_spec *)indio_dev->channels, channels 332 drivers/iio/pressure/hid-sensor-press.c kfree(indio_dev->channels); channels 347 drivers/iio/pressure/hid-sensor-press.c kfree(indio_dev->channels); channels 229 drivers/iio/pressure/hp03.c indio_dev->channels = hp03_channels; channels 381 drivers/iio/pressure/hp206c.c indio_dev->channels = hp206c_channels; channels 165 drivers/iio/pressure/mpl115.c indio_dev->channels = mpl115_channels; channels 246 drivers/iio/pressure/mpl3115.c indio_dev->channels = mpl3115_channels; channels 441 drivers/iio/pressure/ms5611_core.c indio_dev->channels = ms5611_channels; channels 157 drivers/iio/pressure/ms5637.c indio_dev->channels = ms5637_channels; channels 709 drivers/iio/pressure/st_pressure_core.c indio_dev->channels = press_data->sensor_settings->ch; channels 241 drivers/iio/pressure/t5403.c indio_dev->channels = t5403_channels; channels 1604 drivers/iio/pressure/zpa2326.c indio_dev->channels = zpa2326_channels; channels 407 drivers/iio/proximity/as3935.c indio_dev->channels = as3935_channels; channels 976 drivers/iio/proximity/isl29501.c indio_dev->channels = isl29501_channels; channels 205 drivers/iio/proximity/mb1232.c indio_dev->channels = mb1232_channels; channels 270 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c indio_dev->channels = lidar_channels; channels 279 drivers/iio/proximity/rfd77402.c indio_dev->channels = rfd77402_channels; channels 296 drivers/iio/proximity/srf04.c indio_dev->channels = srf04_chan_spec; channels 488 drivers/iio/proximity/srf08.c indio_dev->channels = srf08_channels; channels 659 drivers/iio/proximity/sx9500.c ret = sx9500_read_prox_data(data, &indio_dev->channels[bit], channels 930 drivers/iio/proximity/sx9500.c indio_dev->channels = sx9500_channels; channels 140 drivers/iio/proximity/vl53l0x-i2c.c indio_dev->channels = vl53l0x_channels; channels 164 drivers/iio/resolver/ad2s1200.c indio_dev->channels = ad2s1200_channels; channels 100 drivers/iio/resolver/ad2s90.c indio_dev->channels = &ad2s90_chan; channels 41 drivers/iio/temperature/hid-sensor-temperature.c static void temperature_adjust_channel_bit_mask(struct iio_chan_spec *channels, channels 44 drivers/iio/temperature/hid-sensor-temperature.c channels[channel].scan_type.sign = 's'; channels 46 drivers/iio/temperature/hid-sensor-temperature.c channels[channel].scan_type.realbits = size * 8; channels 48 drivers/iio/temperature/hid-sensor-temperature.c channels[channel].scan_type.storagebits = sizeof(s32) * 8; channels 155 drivers/iio/temperature/hid-sensor-temperature.c struct iio_chan_spec *channels, channels 168 drivers/iio/temperature/hid-sensor-temperature.c temperature_adjust_channel_bit_mask(channels, 0, channels 226 drivers/iio/temperature/hid-sensor-temperature.c indio_dev->channels = temp_chans; channels 291 drivers/iio/temperature/max31856.c indio_dev->channels = max31856_channels; channels 83 drivers/iio/temperature/maxim_thermocouple.c const struct iio_chan_spec *channels; channels 94 drivers/iio/temperature/maxim_thermocouple.c .channels = max6675_channels, channels 100 drivers/iio/temperature/maxim_thermocouple.c .channels = max31855_channels, channels 223 drivers/iio/temperature/maxim_thermocouple.c indio_dev->channels = chip->channels; channels 537 drivers/iio/temperature/mlx90614.c indio_dev->channels = mlx90614_channels; channels 542 drivers/iio/temperature/mlx90614.c indio_dev->channels = mlx90614_channels; channels 652 drivers/iio/temperature/mlx90632.c indio_dev->channels = mlx90632_channels; channels 224 drivers/iio/temperature/tmp006.c indio_dev->channels = tmp006_channels; channels 471 drivers/iio/temperature/tmp007.c indio_dev->channels = tmp007_channels; channels 165 drivers/iio/temperature/tsys01.c indio_dev->channels = tsys01_channels; channels 154 drivers/iio/temperature/tsys02d.c indio_dev->channels = tsys02d_channels; channels 690 drivers/iio/trigger/stm32-timer-trigger.c indio_dev->channels = &stm32_trigger_channel; channels 40 drivers/input/touchscreen/colibri-vf50-ts.c struct iio_channel *channels; channels 119 drivers/input/touchscreen/colibri-vf50-ts.c val_x = adc_ts_measure(&vf50_ts->channels[0], channels 125 drivers/input/touchscreen/colibri-vf50-ts.c val_y = adc_ts_measure(&vf50_ts->channels[1], channels 134 drivers/input/touchscreen/colibri-vf50-ts.c val_z1 = adc_ts_measure(&vf50_ts->channels[2], channels 138 drivers/input/touchscreen/colibri-vf50-ts.c val_z2 = adc_ts_measure(&vf50_ts->channels[3], channels 257 drivers/input/touchscreen/colibri-vf50-ts.c struct iio_channel *channels = data; channels 259 drivers/input/touchscreen/colibri-vf50-ts.c iio_channel_release_all(channels); channels 265 drivers/input/touchscreen/colibri-vf50-ts.c struct iio_channel *channels; channels 271 drivers/input/touchscreen/colibri-vf50-ts.c channels = iio_channel_get_all(dev); channels 272 drivers/input/touchscreen/colibri-vf50-ts.c if (IS_ERR(channels)) channels 273 drivers/input/touchscreen/colibri-vf50-ts.c return PTR_ERR(channels); channels 275 drivers/input/touchscreen/colibri-vf50-ts.c error = devm_add_action(dev, vf50_ts_channel_release, channels); channels 277 drivers/input/touchscreen/colibri-vf50-ts.c iio_channel_release_all(channels); channels 283 drivers/input/touchscreen/colibri-vf50-ts.c while (channels[num_adc_channels].indio_dev) channels 296 drivers/input/touchscreen/colibri-vf50-ts.c touchdev->channels = channels; channels 125 drivers/input/touchscreen/tsc2007_iio.c indio_dev->channels = tsc2007_iio_channel; channels 86 drivers/interconnect/qcom/sdm845.c u16 channels; channels 141 drivers/interconnect/qcom/sdm845.c .channels = _channels, \ channels 605 drivers/interconnect/qcom/sdm845.c do_div(temp, bcm->nodes[i]->buswidth * bcm->nodes[i]->channels); channels 116 drivers/irqchip/irq-st.c int channels, ret, i; channels 119 drivers/irqchip/irq-st.c channels = of_property_count_u32_elems(np, "st,irq-device"); channels 120 drivers/irqchip/irq-st.c if (channels != ST_A9_IRQ_MAX_CHANS) { channels 125 drivers/irqchip/irq-st.c channels = of_property_count_u32_elems(np, "st,fiq-device"); channels 126 drivers/irqchip/irq-st.c if (channels != ST_A9_IRQ_MAX_CHANS) { channels 74 drivers/leds/leds-is31fl32xx.c u8 channels; channels 88 drivers/leds/leds-is31fl32xx.c .channels = 36, channels 99 drivers/leds/leds-is31fl32xx.c .channels = 28, channels 110 drivers/leds/leds-is31fl32xx.c .channels = 18, channels 124 drivers/leds/leds-is31fl32xx.c .channels = 16, channels 167 drivers/leds/leds-is31fl32xx.c for (i = 0; i < priv->cdef->channels; i++) { channels 235 drivers/leds/leds-is31fl32xx.c pwm_register_offset = cdef->channels - led_data->channel; channels 301 drivers/leds/leds-is31fl32xx.c u8 num_regs = cdef->channels / channels 339 drivers/leds/leds-is31fl32xx.c if (ret || reg < 1 || reg > led_data->priv->cdef->channels) { channels 1312 drivers/media/i2c/tda1997x.c state->audio_channels = frame.audio.channels; channels 737 drivers/media/pci/cx25821/cx25821-core.c cx_write(dev->channels[i].sram_channels->dma_ctl, 0); channels 738 drivers/media/pci/cx25821/cx25821-core.c cx_write(dev->channels[i].sram_channels->int_msk, 0); channels 743 drivers/media/pci/cx25821/cx25821-core.c cx_write(dev->channels[i].sram_channels->dma_ctl, 0); channels 744 drivers/media/pci/cx25821/cx25821-core.c cx_write(dev->channels[i].sram_channels->int_msk, 0); channels 762 drivers/media/pci/cx25821/cx25821-core.c cx_write(dev->channels[channel_select].sram_channels->pix_frmt, channels 765 drivers/media/pci/cx25821/cx25821-core.c dev->channels[channel_select].pixel_formats = format; channels 785 drivers/media/pci/cx25821/cx25821-core.c cx_write(dev->channels[i].sram_channels->int_stat, 0xffffffff); channels 799 drivers/media/pci/cx25821/cx25821-core.c cx25821_set_vip_mode(dev, dev->channels[i].sram_channels); channels 800 drivers/media/pci/cx25821/cx25821-core.c cx25821_sram_channel_setup(dev, dev->channels[i].sram_channels, channels 802 drivers/media/pci/cx25821/cx25821-core.c dev->channels[i].pixel_formats = PIXEL_FRMT_422; channels 803 drivers/media/pci/cx25821/cx25821-core.c dev->channels[i].use_cif_resolution = 0; channels 809 drivers/media/pci/cx25821/cx25821-core.c dev->channels[i].pixel_formats = PIXEL_FRMT_422; channels 810 drivers/media/pci/cx25821/cx25821-core.c cx25821_set_vip_mode(dev, dev->channels[i].sram_channels); channels 814 drivers/media/pci/cx25821/cx25821-core.c dev->channels[SRAM_CH08].sram_channels, 128, 0); channels 874 drivers/media/pci/cx25821/cx25821-core.c dev->channels[i].dev = dev; channels 875 drivers/media/pci/cx25821/cx25821-core.c dev->channels[i].id = i; channels 876 drivers/media/pci/cx25821/cx25821-core.c dev->channels[i].sram_channels = &cx25821_sram_channels[i]; channels 1224 drivers/media/pci/cx25821/cx25821-core.c vid_status = cx_read(dev->channels[i]. channels 89 drivers/media/pci/cx25821/cx25821-video.c const struct sram_channel *channel = dev->channels[chan_num].sram_channels; channels 108 drivers/media/pci/cx25821/cx25821-video.c &dev->channels[channel->i].dma_vidq; channels 243 drivers/media/pci/cx25821/cx25821-video.c struct cx25821_dmaqueue *q = &dev->channels[chan->id].dma_vidq; channels 265 drivers/media/pci/cx25821/cx25821-video.c struct cx25821_dmaqueue *dmaq = &dev->channels[chan->id].dma_vidq; channels 278 drivers/media/pci/cx25821/cx25821-video.c struct cx25821_dmaqueue *dmaq = &dev->channels[chan->id].dma_vidq; channels 661 drivers/media/pci/cx25821/cx25821-video.c if (video_is_registered(&dev->channels[chan_num].vdev)) { channels 662 drivers/media/pci/cx25821/cx25821-video.c video_unregister_device(&dev->channels[chan_num].vdev); channels 663 drivers/media/pci/cx25821/cx25821-video.c v4l2_ctrl_handler_free(&dev->channels[chan_num].hdl); channels 678 drivers/media/pci/cx25821/cx25821-video.c struct cx25821_channel *chan = &dev->channels[i]; channels 244 drivers/media/pci/cx25821/cx25821.h struct cx25821_channel channels[MAX_VID_CHANNEL_NUM]; channels 526 drivers/media/pci/saa7134/saa7134-alsa.c if (1 == runtime->channels) channels 528 drivers/media/pci/saa7134/saa7134-alsa.c if (2 == runtime->channels) channels 542 drivers/media/pci/saa7134/saa7134-alsa.c if (1 == runtime->channels) channels 544 drivers/media/pci/saa7134/saa7134-alsa.c if (2 == runtime->channels) channels 554 drivers/media/pci/saa7134/saa7134-alsa.c runtime->format, runtime->channels, fmt, channels 502 drivers/media/pci/saa7134/saa7134.h unsigned int channels; channels 301 drivers/media/pci/tw686x/tw686x-video.c unsigned int sg_table_size, pb, ch, channels; channels 308 drivers/media/pci/tw686x/tw686x-video.c channels = max_channels(dev); channels 316 drivers/media/pci/tw686x/tw686x-video.c channels = 1; channels 320 drivers/media/pci/tw686x/tw686x-video.c for (ch = 0; ch < channels; ch++) { channels 707 drivers/media/platform/pxa_camera.c int channels; channels 916 drivers/media/platform/pxa_camera.c for (i = 0; i < pcdev->channels; i++) { channels 927 drivers/media/platform/pxa_camera.c for (i = 0; i < pcdev->channels; i++) { channels 939 drivers/media/platform/pxa_camera.c for (i = 0; i < pcdev->channels; i++) { channels 1053 drivers/media/platform/pxa_camera.c if (pcdev->channels == 3) channels 1311 drivers/media/platform/pxa_camera.c pcdev->channels = 3; channels 1376 drivers/media/platform/pxa_camera.c int nb_channels = pcdev->channels; channels 1431 drivers/media/platform/pxa_camera.c __func__, vb, pcdev->channels, vb2_get_plane_payload(vb, 0), channels 1451 drivers/media/platform/pxa_camera.c switch (pcdev->channels) { channels 1462 drivers/media/platform/pxa_camera.c __func__, vb, pcdev->channels, vb2_get_plane_payload(vb, 0)); channels 1493 drivers/media/platform/pxa_camera.c __func__, pcdev->channels); channels 1518 drivers/media/platform/pxa_camera.c switch (pcdev->channels) { channels 1628 drivers/media/platform/pxa_camera.c pcdev->channels = 1; channels 1005 drivers/media/platform/rcar_fdp1.c u32 channels = FD1_CTL_CHACT_WR | FD1_CTL_CHACT_RD1; /* Always on */ channels 1023 drivers/media/platform/rcar_fdp1.c channels |= FD1_CTL_CHACT_SMW; channels 1024 drivers/media/platform/rcar_fdp1.c channels |= FD1_CTL_CHACT_RD0 | FD1_CTL_CHACT_RD2; channels 1028 drivers/media/platform/rcar_fdp1.c channels |= FD1_CTL_CHACT_SMR; channels 1036 drivers/media/platform/rcar_fdp1.c channels |= FD1_CTL_CHACT_RD0 | FD1_CTL_CHACT_RD2; channels 1046 drivers/media/platform/rcar_fdp1.c channels |= FD1_CTL_CHACT_RD0; /* Previous */ channels 1051 drivers/media/platform/rcar_fdp1.c channels |= FD1_CTL_CHACT_RD2; /* Next */ channels 1055 drivers/media/platform/rcar_fdp1.c fdp1_write(fdp1, channels, FD1_CTL_CHACT); channels 426 drivers/media/platform/ti-vpe/vpdma.c int *channels, int size) channels 435 drivers/media/platform/ti-vpe/vpdma.c if (size <= 0 || !channels) channels 444 drivers/media/platform/ti-vpe/vpdma.c vpdma_add_abort_channel_ctd(&abort_list, channels[i]); channels 257 drivers/media/platform/ti-vpe/vpdma.h int *channels, int size); channels 76 drivers/media/rc/iguanair.c uint8_t channels; channels 330 drivers/media/rc/iguanair.c ir->packet->channels = mask << 4; channels 522 drivers/media/usb/cx231xx/cx231xx-audio.c unsigned int channels, rate, format; channels 526 drivers/media/usb/cx231xx/cx231xx-audio.c channels = params_channels(hw_params); channels 377 drivers/media/usb/em28xx/em28xx-audio.c unsigned int channels, rate, format; channels 381 drivers/media/usb/em28xx/em28xx-audio.c channels = params_channels(hw_params); channels 2345 drivers/media/usb/s2255/s2255drv.c int channels = atomic_read(&dev->num_channels); channels 2352 drivers/media/usb/s2255/s2255drv.c for (i = 0; i < channels; i++) channels 295 drivers/mfd/timberdale.c .channels = { channels 500 drivers/misc/sgi-xp/xpc.h struct xpc_channel *channels; /* array of channel structures */ channels 189 drivers/misc/sgi-xp/xpc_channel.c struct xpc_channel *ch = &part->channels[ch_number]; channels 564 drivers/misc/sgi-xp/xpc_channel.c ch = &part->channels[ch_number]; channels 634 drivers/misc/sgi-xp/xpc_channel.c ch = &part->channels[ch_number]; channels 721 drivers/misc/sgi-xp/xpc_channel.c ch = &part->channels[ch_number]; channels 886 drivers/misc/sgi-xp/xpc_channel.c ret = xpc_arch_ops.send_payload(&part->channels[ch_number], channels 938 drivers/misc/sgi-xp/xpc_channel.c ret = xpc_arch_ops.send_payload(&part->channels[ch_number], channels 1006 drivers/misc/sgi-xp/xpc_channel.c ch = &part->channels[ch_number]; channels 411 drivers/misc/sgi-xp/xpc_main.c DBUG_ON(part->channels != NULL); channels 412 drivers/misc/sgi-xp/xpc_main.c part->channels = kcalloc(XPC_MAX_NCHANNELS, channels 415 drivers/misc/sgi-xp/xpc_main.c if (part->channels == NULL) { channels 444 drivers/misc/sgi-xp/xpc_main.c ch = &part->channels[ch_number]; channels 482 drivers/misc/sgi-xp/xpc_main.c kfree(part->channels); channels 483 drivers/misc/sgi-xp/xpc_main.c part->channels = NULL; channels 513 drivers/misc/sgi-xp/xpc_main.c kfree(part->channels); channels 514 drivers/misc/sgi-xp/xpc_main.c part->channels = NULL; channels 695 drivers/misc/sgi-xp/xpc_main.c ch = &part->channels[ch_number]; channels 862 drivers/misc/sgi-xp/xpc_main.c ch = &part->channels[ch_number]; channels 1022 drivers/misc/sgi-xp/xpc_uv.c ch_uv = &part->channels[ch_number].sn.uv; channels 1437 drivers/misc/sgi-xp/xpc_uv.c ch = &part->channels[ch_number]; channels 1516 drivers/misc/sgi-xp/xpc_uv.c struct xpc_channel *ch = &part->channels[ch_number]; channels 135 drivers/mmc/host/s3cmci.c #define dbg(host, channels, args...) \ channels 137 drivers/mmc/host/s3cmci.c if (dbgmap_err & channels) \ channels 139 drivers/mmc/host/s3cmci.c else if (dbgmap_info & channels) \ channels 141 drivers/mmc/host/s3cmci.c else if (dbgmap_debug & channels) \ channels 33 drivers/net/can/sja1000/ems_pci.c int channels; channels 178 drivers/net/can/sja1000/ems_pci.c for (i = 0; i < card->channels; i++) { channels 236 drivers/net/can/sja1000/ems_pci.c card->channels = 0; channels 335 drivers/net/can/sja1000/ems_pci.c card->channels++; channels 30 drivers/net/can/sja1000/ems_pcmcia.c int channels; channels 97 drivers/net/can/sja1000/ems_pcmcia.c for (i = 0; i < card->channels; i++) { channels 139 drivers/net/can/sja1000/ems_pcmcia.c for (i = 0; i < card->channels; i++) { channels 174 drivers/net/can/sja1000/ems_pcmcia.c card->channels = 0; channels 229 drivers/net/can/sja1000/ems_pcmcia.c card->channels++; channels 553 drivers/net/can/sja1000/peak_pci.c int i, err, channels; channels 575 drivers/net/can/sja1000/peak_pci.c channels = 4; channels 577 drivers/net/can/sja1000/peak_pci.c channels = 3; channels 579 drivers/net/can/sja1000/peak_pci.c channels = 2; channels 581 drivers/net/can/sja1000/peak_pci.c channels = 1; channels 590 drivers/net/can/sja1000/peak_pci.c reg_base = pci_iomap(pdev, 1, PEAK_PCI_CHAN_SIZE * channels); channels 609 drivers/net/can/sja1000/peak_pci.c for (i = 0; i < channels; i++) { channels 630 drivers/net/can/sja1000/peak_pci.c if (channels == 1 || i > 0) channels 45 drivers/net/can/sja1000/plx_pci.c int channels; /* detected channels count */ channels 653 drivers/net/can/sja1000/plx_pci.c card->channels = 0; channels 717 drivers/net/can/sja1000/plx_pci.c card->channels++; channels 730 drivers/net/can/sja1000/plx_pci.c if (!card->channels) { channels 768 drivers/net/ethernet/amazon/ena/ena_ethtool.c struct ethtool_channels *channels) channels 772 drivers/net/ethernet/amazon/ena/ena_ethtool.c channels->max_rx = adapter->num_queues; channels 773 drivers/net/ethernet/amazon/ena/ena_ethtool.c channels->max_tx = adapter->num_queues; channels 774 drivers/net/ethernet/amazon/ena/ena_ethtool.c channels->max_other = 0; channels 775 drivers/net/ethernet/amazon/ena/ena_ethtool.c channels->max_combined = 0; channels 776 drivers/net/ethernet/amazon/ena/ena_ethtool.c channels->rx_count = adapter->num_queues; channels 777 drivers/net/ethernet/amazon/ena/ena_ethtool.c channels->tx_count = adapter->num_queues; channels 778 drivers/net/ethernet/amazon/ena/ena_ethtool.c channels->other_count = 0; channels 779 drivers/net/ethernet/amazon/ena/ena_ethtool.c channels->combined_count = 0; channels 709 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c struct ethtool_channels *channels) channels 728 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c channels->max_combined = combined; channels 729 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c channels->max_rx = rx ? rx - 1 : 0; channels 730 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c channels->max_tx = tx ? tx - 1 : 0; channels 740 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c channels->combined_count = combined; channels 741 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c channels->rx_count = rx; channels 742 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c channels->tx_count = tx; channels 746 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c struct ethtool_channels *channels) channels 749 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c channels->combined_count, channels->rx_count, channels 750 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c channels->tx_count); channels 754 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c struct ethtool_channels *channels) channels 774 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c if (channels->other_count) { channels 781 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c if (!channels->combined_count) { channels 784 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_print_set_channels_input(netdev, channels); channels 789 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c if (channels->combined_count > combined) { channels 793 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_print_set_channels_input(netdev, channels); channels 798 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c if (channels->rx_count && channels->tx_count) { channels 801 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_print_set_channels_input(netdev, channels); channels 806 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c if ((channels->combined_count + channels->rx_count) > rx) { channels 809 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c channels->combined_count + channels->rx_count, rx); channels 810 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_print_set_channels_input(netdev, channels); channels 814 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c if ((channels->combined_count + channels->tx_count) > tx) { channels 817 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c channels->combined_count + channels->tx_count, tx); channels 818 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_print_set_channels_input(netdev, channels); channels 822 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c rx = channels->combined_count + channels->rx_count; channels 823 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c tx = channels->combined_count + channels->tx_count; channels 7774 drivers/net/ethernet/broadcom/bnx2.c struct ethtool_channels *channels) channels 7785 drivers/net/ethernet/broadcom/bnx2.c channels->max_rx = max_rx_rings; channels 7786 drivers/net/ethernet/broadcom/bnx2.c channels->max_tx = max_tx_rings; channels 7787 drivers/net/ethernet/broadcom/bnx2.c channels->max_other = 0; channels 7788 drivers/net/ethernet/broadcom/bnx2.c channels->max_combined = 0; channels 7789 drivers/net/ethernet/broadcom/bnx2.c channels->rx_count = bp->num_rx_rings; channels 7790 drivers/net/ethernet/broadcom/bnx2.c channels->tx_count = bp->num_tx_rings; channels 7791 drivers/net/ethernet/broadcom/bnx2.c channels->other_count = 0; channels 7792 drivers/net/ethernet/broadcom/bnx2.c channels->combined_count = 0; channels 7796 drivers/net/ethernet/broadcom/bnx2.c struct ethtool_channels *channels) channels 7807 drivers/net/ethernet/broadcom/bnx2.c if (channels->rx_count > max_rx_rings || channels 7808 drivers/net/ethernet/broadcom/bnx2.c channels->tx_count > max_tx_rings) channels 7811 drivers/net/ethernet/broadcom/bnx2.c bp->num_req_rx_rings = channels->rx_count; channels 7812 drivers/net/ethernet/broadcom/bnx2.c bp->num_req_tx_rings = channels->tx_count; channels 3559 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c struct ethtool_channels *channels) channels 3563 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c channels->max_combined = BNX2X_MAX_RSS_COUNT(bp); channels 3564 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c channels->combined_count = BNX2X_NUM_ETH_QUEUES(bp); channels 3591 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c struct ethtool_channels *channels) channels 3597 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c channels->rx_count, channels->tx_count, channels->other_count, channels 3598 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c channels->combined_count); channels 3608 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (channels->rx_count || channels->tx_count || channels->other_count channels 3609 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c || (channels->combined_count == 0) || channels 3610 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c (channels->combined_count > BNX2X_MAX_RSS_COUNT(bp))) { channels 3616 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (channels->combined_count == BNX2X_NUM_ETH_QUEUES(bp)) { channels 3626 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bnx2x_change_num_queues(bp, channels->combined_count); channels 3630 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bnx2x_change_num_queues(bp, channels->combined_count); channels 896 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c u16 channels[NR_CPUS]; channels 900 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c channels[num_portals++] = qman_affine_channel(cpu); channels 919 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c fq->channel = channels[portal_cnt++ % num_portals]; channels 145 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct ethtool_channels *channels) channels 150 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c channels->max_rx = hwdev->nic_cap.max_qps; channels 151 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c channels->max_tx = hwdev->nic_cap.max_qps; channels 152 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c channels->max_other = 0; channels 153 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c channels->max_combined = 0; channels 154 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c channels->rx_count = hinic_hwdev_num_qps(hwdev); channels 155 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c channels->tx_count = hinic_hwdev_num_qps(hwdev); channels 156 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c channels->other_count = 0; channels 157 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c channels->combined_count = 0; channels 2487 drivers/net/ethernet/ibm/ibmvnic.c struct ethtool_channels *channels) channels 2492 drivers/net/ethernet/ibm/ibmvnic.c channels->max_rx = adapter->max_rx_queues; channels 2493 drivers/net/ethernet/ibm/ibmvnic.c channels->max_tx = adapter->max_tx_queues; channels 2495 drivers/net/ethernet/ibm/ibmvnic.c channels->max_rx = IBMVNIC_MAX_QUEUES; channels 2496 drivers/net/ethernet/ibm/ibmvnic.c channels->max_tx = IBMVNIC_MAX_QUEUES; channels 2499 drivers/net/ethernet/ibm/ibmvnic.c channels->max_other = 0; channels 2500 drivers/net/ethernet/ibm/ibmvnic.c channels->max_combined = 0; channels 2501 drivers/net/ethernet/ibm/ibmvnic.c channels->rx_count = adapter->req_rx_queues; channels 2502 drivers/net/ethernet/ibm/ibmvnic.c channels->tx_count = adapter->req_tx_queues; channels 2503 drivers/net/ethernet/ibm/ibmvnic.c channels->other_count = 0; channels 2504 drivers/net/ethernet/ibm/ibmvnic.c channels->combined_count = 0; channels 2508 drivers/net/ethernet/ibm/ibmvnic.c struct ethtool_channels *channels) channels 2514 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.rx_queues = channels->rx_count; channels 2515 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.tx_queues = channels->tx_count; channels 2520 drivers/net/ethernet/ibm/ibmvnic.c (adapter->req_rx_queues != channels->rx_count || channels 2521 drivers/net/ethernet/ibm/ibmvnic.c adapter->req_tx_queues != channels->tx_count)) channels 2524 drivers/net/ethernet/ibm/ibmvnic.c channels->rx_count, channels->tx_count, channels 832 drivers/net/ethernet/mellanox/mlx5/core/en.h struct mlx5e_channels channels; channels 995 drivers/net/ethernet/mellanox/mlx5/core/en.h struct mlx5e_channels *channels; channels 246 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c params = &priv->channels.params; channels 307 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c struct mlx5e_params *params = &priv->channels.params; channels 317 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c generic_rq = &priv->channels.c[0]->rq; channels 357 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c for (i = 0; i < priv->channels.num; i++) { channels 358 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c struct mlx5e_rq *rq = &priv->channels.c[i]->rq; channels 256 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c for (i = 0; i < priv->channels.num; i++) { channels 257 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c struct mlx5e_channel *c = priv->channels.c[i]; channels 259 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c for (tc = 0; tc < priv->channels.params.num_tc; tc++) { channels 489 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c if (unlikely(sq_num >= priv->channels.num)) channels 492 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c sq = &priv->channels.c[sq_num]->xdpsq; channels 79 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h if (priv->channels.params.xdp_prog) channels 85 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h if (priv->channels.params.xdp_prog) channels 13 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c struct mlx5e_params *params = &priv->channels.params; channels 23 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c c = priv->channels.c[ix]; channels 105 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c struct mlx5e_params *params = &priv->channels.params; channels 110 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c if (unlikely(mlx5e_xsk_get_umem(&priv->channels.params, &priv->xsk, ix))) channels 138 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c c = priv->channels.c[ix]; channels 150 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c err = mlx5e_xsk_redirect_rqt_to_channel(priv, priv->channels.c[ix]); channels 182 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c struct xdp_umem *umem = mlx5e_xsk_get_umem(&priv->channels.params, channels 193 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c if (!priv->channels.params.xdp_prog) channels 196 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c c = priv->channels.c[ix]; channels 234 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c struct mlx5e_params *params = &priv->channels.params; channels 1116 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c new_channels.params = priv->channels.params; channels 1120 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->channels.params = new_channels.params; channels 1126 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->channels.params.tx_min_inline_mode) channels 1174 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c mlx5e_trust_update_tx_min_inline_mode(priv, &priv->channels.params); channels 310 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c param->rx_pending = 1 << priv->channels.params.log_rq_mtu_frames; channels 311 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c param->tx_pending = 1 << priv->channels.params.log_sq_size; channels 358 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (log_rq_size == priv->channels.params.log_rq_mtu_frames && channels 359 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c log_sq_size == priv->channels.params.log_sq_size) channels 364 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c new_channels.params = priv->channels.params; channels 369 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params = new_channels.params; channels 395 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c ch->combined_count = priv->channels.params.num_channels; channels 416 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c struct mlx5e_params *cur_params = &priv->channels.params; channels 443 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c new_channels.params = priv->channels.params; channels 489 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c rx_moder = &priv->channels.params.rx_cq_moderation; channels 492 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c coal->use_adaptive_rx_coalesce = priv->channels.params.rx_dim_enabled; channels 494 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c tx_moder = &priv->channels.params.tx_cq_moderation; channels 497 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c coal->use_adaptive_tx_coalesce = priv->channels.params.tx_dim_enabled; channels 520 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c for (i = 0; i < priv->channels.num; ++i) { channels 521 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c struct mlx5e_channel *c = priv->channels.c[i]; channels 563 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c new_channels.params = priv->channels.params; channels 576 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params = new_channels.params; channels 581 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c reset = (!!coal->use_adaptive_rx_coalesce != priv->channels.params.rx_dim_enabled) || channels 582 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c (!!coal->use_adaptive_tx_coalesce != priv->channels.params.tx_dim_enabled); channels 586 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params = new_channels.params; channels 1192 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c .channels = &priv->channels, channels 1731 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params.rx_cq_moderation.cq_period_mode : channels 1732 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params.tx_cq_moderation.cq_period_mode; channels 1742 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c new_channels.params = priv->channels.params; channels 1749 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params = new_channels.params; channels 1768 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c bool curr_val = MLX5E_GET_PFLAG(&priv->channels.params, MLX5E_PFLAG_RX_CQE_COMPRESS); channels 1778 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c new_channels.params = priv->channels.params; channels 1782 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params = new_channels.params; channels 1791 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c MLX5E_GET_PFLAG(&priv->channels.params, channels 1812 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params.rx_cqe_compress_def = enable; channels 1826 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (!mlx5e_striding_rq_possible(mdev, &priv->channels.params)) channels 1828 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c } else if (priv->channels.params.lro_en) { channels 1833 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c new_channels.params = priv->channels.params; channels 1839 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params = new_channels.params; channels 1849 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c struct mlx5e_channels *channels = &priv->channels; channels 1854 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params.xdp_prog) channels 1857 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c for (i = 0; i < channels->num; i++) { channels 1858 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c c = channels->c[i]; channels 1878 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c new_channels.params = priv->channels.params; channels 1883 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c priv->channels.params = new_channels.params; channels 1906 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c u32 changes = wanted_flags ^ priv->channels.params.pflags; channels 1919 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c MLX5E_SET_PFLAG(&priv->channels.params, flag, enable); channels 1949 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c return priv->channels.params.pflags; channels 1962 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c info->data = priv->channels.params.num_channels; channels 614 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c if (!priv->channels.params.vlan_strip_disable) channels 419 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c struct mlx5e_params *params = &priv->channels.params; channels 614 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (!mlx5e_qid_validate(priv->profile, &priv->channels.params, channels 2544 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rqn = rrp.rss.channels->c[ix]->rq.rqn; channels 2583 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (ix >= rrp.rss.channels->num) channels 2586 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return rrp.rss.channels->c[ix]->rq.rqn; channels 2625 drivers/net/ethernet/mellanox/mlx5/core/en_main.c .channels = chs, channels 2794 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_build_tir_ctx_lro(&priv->channels.params, tirc); channels 2846 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_params *params = &priv->channels.params; channels 2867 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_params *params = &priv->channels.params; channels 2883 drivers/net/ethernet/mellanox/mlx5/core/en_main.c int nch = priv->channels.params.num_channels; channels 2884 drivers/net/ethernet/mellanox/mlx5/core/en_main.c int ntc = priv->channels.params.num_tc; channels 2903 drivers/net/ethernet/mellanox/mlx5/core/en_main.c int num_txqs = priv->channels.num * priv->channels.params.num_tc; channels 2904 drivers/net/ethernet/mellanox/mlx5/core/en_main.c int num_rxqs = priv->channels.num * priv->profile->rq_groups; channels 2914 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u16 count = priv->channels.params.num_channels; channels 2927 drivers/net/ethernet/mellanox/mlx5/core/en_main.c ch = priv->channels.num; channels 2932 drivers/net/ethernet/mellanox/mlx5/core/en_main.c for (tc = 0; tc < priv->channels.params.num_tc; tc++) { channels 2933 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_channel *c = priv->channels.c[i]; channels 2947 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_activate_channels(&priv->channels); channels 2954 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_wait_channels_min_rx_wqes(&priv->channels); channels 2955 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_redirect_rqts_to_channels(priv, &priv->channels); channels 2957 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_xsk_redirect_rqts_to_channels(priv, &priv->channels); channels 2962 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_xsk_redirect_rqts_to_drop(priv, &priv->channels); channels 2975 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_deactivate_channels(&priv->channels); channels 2995 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_close_channels(&priv->channels); channels 2997 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->channels = *new_chs; channels 3031 drivers/net/ethernet/mellanox/mlx5/core/en_main.c new_channels.params = priv->channels.params; channels 3048 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_open_channels(priv, &priv->channels); channels 3096 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_close_channels(&priv->channels); channels 3284 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->channels.params.tunneled_offload_en); channels 3286 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_build_tir_ctx_lro(&priv->channels.params, tirc); channels 3474 drivers/net/ethernet/mellanox/mlx5/core/en_main.c new_channels.params = priv->channels.params; channels 3478 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->channels.params = new_channels.params; channels 3676 drivers/net/ethernet/mellanox/mlx5/core/en_main.c old_params = &priv->channels.params; channels 3748 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->channels.params.scatter_fcs_en = enable; channels 3749 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_modify_channels_scatter_fcs(&priv->channels, enable); channels 3751 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->channels.params.scatter_fcs_en = !enable; channels 3765 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->channels.params.vlan_strip_disable = !enable; channels 3769 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_modify_channels_vsd(&priv->channels, !enable); channels 3771 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->channels.params.vlan_strip_disable = enable; channels 3854 drivers/net/ethernet/mellanox/mlx5/core/en_main.c params = &priv->channels.params; channels 3929 drivers/net/ethernet/mellanox/mlx5/core/en_main.c params = &priv->channels.params; channels 3946 drivers/net/ethernet/mellanox/mlx5/core/en_main.c !mlx5e_xsk_validate_mtu(netdev, &priv->channels, channels 4016 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_modify_rx_cqe_compression_locked(priv, priv->channels.params.rx_cqe_compress_def); channels 4034 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (MLX5E_GET_PFLAG(&priv->channels.params, MLX5E_PFLAG_RX_CQE_COMPRESS)) channels 4349 drivers/net/ethernet/mellanox/mlx5/core/en_main.c for (i = 0; i < priv->channels.num * priv->channels.params.num_tc; i++) { channels 4388 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (priv->channels.params.lro_en) { channels 4398 drivers/net/ethernet/mellanox/mlx5/core/en_main.c new_channels.params = priv->channels.params; channels 4432 drivers/net/ethernet/mellanox/mlx5/core/en_main.c reset = (!priv->channels.params.xdp_prog || !prog); channels 4438 drivers/net/ethernet/mellanox/mlx5/core/en_main.c prog = bpf_prog_add(prog, priv->channels.num); channels 4448 drivers/net/ethernet/mellanox/mlx5/core/en_main.c new_channels.params = priv->channels.params; channels 4451 drivers/net/ethernet/mellanox/mlx5/core/en_main.c old_prog = priv->channels.params.xdp_prog; channels 4460 drivers/net/ethernet/mellanox/mlx5/core/en_main.c old_prog = xchg(&priv->channels.params.xdp_prog, prog); channels 4467 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_set_rq_type(priv->mdev, &priv->channels.params); channels 4475 drivers/net/ethernet/mellanox/mlx5/core/en_main.c for (i = 0; i < priv->channels.num; i++) { channels 4476 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_channel *c = priv->channels.c[i]; channels 4514 drivers/net/ethernet/mellanox/mlx5/core/en_main.c xdp_prog = priv->channels.params.xdp_prog; channels 4965 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!priv->channels.params.lro_en) channels 4971 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!priv->channels.params.scatter_fcs_en) channels 4975 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (MLX5E_GET_PFLAG(&priv->channels.params, MLX5E_PFLAG_RX_CQE_COMPRESS)) channels 5041 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_build_nic_params(mdev, &priv->xsk, rss, &priv->channels.params, channels 5334 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (priv->channels.params.num_channels > max_nch) { channels 5338 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->channels.params.num_channels = max_nch; channels 268 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c u16 curr_channels_amount = priv->channels.params.num_channels; channels 475 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c sqs = kcalloc(priv->channels.num * priv->channels.params.num_tc, sizeof(*sqs), GFP_KERNEL); channels 479 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c for (n = 0; n < priv->channels.num; n++) { channels 480 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c c = priv->channels.c[n]; channels 1418 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c params = &priv->channels.params; channels 1500 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c priv->channels.params.num_channels = MLX5E_REP_PARAMS_DEF_NUM_CHANNELS; channels 1733 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c netdev->max_mtu = MLX5E_HW2SW_MTU(&priv->channels.params, max_mtu); channels 92 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c num_channels = priv->channels.params.num_channels; channels 90 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c mlx5e_build_nic_params(mdev, NULL, &priv->rss_params, &priv->channels.params, channels 92 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c mlx5i_build_nic_params(mdev, &priv->channels.params); channels 451 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c params = &priv->channels.params; channels 537 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c err = mlx5e_open_channels(epriv, &epriv->channels); channels 576 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c mlx5e_close_channels(&epriv->channels); channels 219 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c err = mlx5e_open_channels(epriv, &epriv->channels); channels 259 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c mlx5e_close_channels(&priv->channels); channels 297 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c priv->channels.params.log_rq_mtu_frames = MLX5E_PARAMS_MINIMUM_LOG_RQ_SIZE; channels 1080 drivers/net/ethernet/qlogic/qede/qede_ethtool.c struct ethtool_channels *channels) channels 1084 drivers/net/ethernet/qlogic/qede/qede_ethtool.c channels->max_combined = QEDE_MAX_RSS_CNT(edev); channels 1085 drivers/net/ethernet/qlogic/qede/qede_ethtool.c channels->max_rx = QEDE_MAX_RSS_CNT(edev); channels 1086 drivers/net/ethernet/qlogic/qede/qede_ethtool.c channels->max_tx = QEDE_MAX_RSS_CNT(edev); channels 1087 drivers/net/ethernet/qlogic/qede/qede_ethtool.c channels->combined_count = QEDE_QUEUE_CNT(edev) - edev->fp_num_tx - channels 1089 drivers/net/ethernet/qlogic/qede/qede_ethtool.c channels->tx_count = edev->fp_num_tx; channels 1090 drivers/net/ethernet/qlogic/qede/qede_ethtool.c channels->rx_count = edev->fp_num_rx; channels 1094 drivers/net/ethernet/qlogic/qede/qede_ethtool.c struct ethtool_channels *channels) channels 1101 drivers/net/ethernet/qlogic/qede/qede_ethtool.c channels->rx_count, channels->tx_count, channels 1102 drivers/net/ethernet/qlogic/qede/qede_ethtool.c channels->other_count, channels->combined_count); channels 1104 drivers/net/ethernet/qlogic/qede/qede_ethtool.c count = channels->rx_count + channels->tx_count + channels 1105 drivers/net/ethernet/qlogic/qede/qede_ethtool.c channels->combined_count; channels 1108 drivers/net/ethernet/qlogic/qede/qede_ethtool.c if (channels->other_count) { channels 1114 drivers/net/ethernet/qlogic/qede/qede_ethtool.c if (!(channels->combined_count || (channels->rx_count && channels 1115 drivers/net/ethernet/qlogic/qede/qede_ethtool.c channels->tx_count))) { channels 1130 drivers/net/ethernet/qlogic/qede/qede_ethtool.c (channels->tx_count == edev->fp_num_tx) && channels 1131 drivers/net/ethernet/qlogic/qede/qede_ethtool.c (channels->rx_count == edev->fp_num_rx)) { channels 1139 drivers/net/ethernet/qlogic/qede/qede_ethtool.c (channels->tx_count % edev->dev_info.common.num_hwfns) || channels 1140 drivers/net/ethernet/qlogic/qede/qede_ethtool.c (channels->rx_count % edev->dev_info.common.num_hwfns)) { channels 1149 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->req_num_tx = channels->tx_count; channels 1150 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->req_num_rx = channels->rx_count; channels 2525 drivers/net/ethernet/ti/cpsw.c data->channels = prop; channels 524 drivers/net/ethernet/ti/cpsw_ethtool.c if (ch->rx_count > cpsw->data.channels || channels 525 drivers/net/ethernet/ti/cpsw_ethtool.c ch->tx_count > cpsw->data.channels) channels 109 drivers/net/ethernet/ti/cpsw_priv.c dma_params.num_chan = data->channels; channels 287 drivers/net/ethernet/ti/cpsw_priv.h u32 channels; /* number of cpdma channels (symmetric) */ channels 102 drivers/net/ethernet/ti/davinci_cpdma.c struct cpdma_chan *channels[2 * CPDMA_MAX_CHANNELS]; channels 417 drivers/net/ethernet/ti/davinci_cpdma.c chan = ctlr->channels[i]; channels 576 drivers/net/ethernet/ti/davinci_cpdma.c for (i = 0; i < ARRAY_SIZE(ctlr->channels); i++) { channels 577 drivers/net/ethernet/ti/davinci_cpdma.c chan = ctlr->channels[i]; channels 609 drivers/net/ethernet/ti/davinci_cpdma.c for (i = 0; i < ARRAY_SIZE(ctlr->channels); i++) { channels 610 drivers/net/ethernet/ti/davinci_cpdma.c if (ctlr->channels[i]) channels 611 drivers/net/ethernet/ti/davinci_cpdma.c cpdma_chan_stop(ctlr->channels[i]); channels 637 drivers/net/ethernet/ti/davinci_cpdma.c for (i = 0; i < ARRAY_SIZE(ctlr->channels); i++) channels 638 drivers/net/ethernet/ti/davinci_cpdma.c cpdma_chan_destroy(ctlr->channels[i]); channels 655 drivers/net/ethernet/ti/davinci_cpdma.c for (i = 0; i < ARRAY_SIZE(ctlr->channels); i++) { channels 656 drivers/net/ethernet/ti/davinci_cpdma.c if (ctlr->channels[i]) channels 657 drivers/net/ethernet/ti/davinci_cpdma.c cpdma_chan_int_ctrl(ctlr->channels[i], enable); channels 700 drivers/net/ethernet/ti/davinci_cpdma.c chan = ctlr->channels[i]; channels 737 drivers/net/ethernet/ti/davinci_cpdma.c for (i = 0; i < ARRAY_SIZE(ctlr->channels); i++) { channels 738 drivers/net/ethernet/ti/davinci_cpdma.c chan = ctlr->channels[i]; channels 893 drivers/net/ethernet/ti/davinci_cpdma.c if (ctlr->channels[chan_num]) { channels 926 drivers/net/ethernet/ti/davinci_cpdma.c ctlr->channels[chan_num] = chan; channels 959 drivers/net/ethernet/ti/davinci_cpdma.c ctlr->channels[chan->chan_num] = NULL; channels 1003 drivers/net/hyperv/netvsc_drv.c struct ethtool_channels *channels) channels 1007 drivers/net/hyperv/netvsc_drv.c unsigned int orig, count = channels->combined_count; channels 1013 drivers/net/hyperv/netvsc_drv.c channels->rx_count || channels->tx_count || channels->other_count) channels 1212 drivers/net/ieee802154/adf7242.c hw->phy->supported.channels[0] = 0x7FFF800; channels 1561 drivers/net/ieee802154/at86rf230.c lp->hw->phy->supported.channels[0] = 0x7FFF800; channels 1573 drivers/net/ieee802154/at86rf230.c lp->hw->phy->supported.channels[0] = 0x00007FF; channels 1574 drivers/net/ieee802154/at86rf230.c lp->hw->phy->supported.channels[2] = 0x00007FF; channels 1586 drivers/net/ieee802154/at86rf230.c lp->hw->phy->supported.channels[0] = 0x7FFF800; channels 916 drivers/net/ieee802154/atusb.c atusb->hw->phy->supported.channels[0] = 0x7FFF800; channels 926 drivers/net/ieee802154/atusb.c atusb->hw->phy->supported.channels[0] = 0x7FFF800; channels 937 drivers/net/ieee802154/atusb.c atusb->hw->phy->supported.channels[0] = 0x00007FF; channels 938 drivers/net/ieee802154/atusb.c atusb->hw->phy->supported.channels[2] = 0x00007FF; channels 2965 drivers/net/ieee802154/ca8210.c ca8210_hw->phy->supported.channels[0] = CA8210_VALID_CHANNELS; channels 842 drivers/net/ieee802154/cc2520.c priv->hw->phy->supported.channels[0] = 0x7FFF800; channels 141 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[0] |= 1; channels 143 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[0] |= 0x7fe; channels 145 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[0] |= 0x7FFF800; channels 147 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[1] |= 1; channels 149 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[1] |= 0x7fe; channels 151 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[2] |= 1; channels 153 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[2] |= 0x7fe; channels 155 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[3] |= 0x3fff; channels 157 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[4] |= 1; channels 159 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[4] |= 0x1e; channels 161 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[4] |= 0xffe0; channels 163 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[5] |= 0xf; channels 165 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[5] |= 0xf0; channels 167 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[6] |= 0x3ff; channels 169 drivers/net/ieee802154/fakelb.c hw->phy->supported.channels[6] |= 0x3ffc00; channels 749 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[0] |= 1; channels 751 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[0] |= 0x7fe; channels 753 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[0] |= 0x7FFF800; channels 755 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[1] |= 1; channels 757 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[1] |= 0x7fe; channels 759 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[2] |= 1; channels 761 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[2] |= 0x7fe; channels 763 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[3] |= 0x3fff; channels 765 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[4] |= 1; channels 767 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[4] |= 0x1e; channels 769 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[4] |= 0xffe0; channels 771 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[5] |= 0xf; channels 773 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[5] |= 0xf0; channels 775 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[6] |= 0x3ff; channels 777 drivers/net/ieee802154/mac802154_hwsim.c hw->phy->supported.channels[6] |= 0x3ffc00; channels 1005 drivers/net/ieee802154/mcr20a.c phy->supported.channels[0] = MCR20A_VALID_CHANNELS; channels 1290 drivers/net/ieee802154/mrf24j40.c devrec->hw->phy->supported.channels[0] = CHANNEL_MASK; channels 116 drivers/net/ppp/ppp_generic.c struct list_head channels; /* list of attached channels 4c */ channels 1024 drivers/net/ppp/ppp_generic.c INIT_LIST_HEAD(&ppp->channels); channels 1629 drivers/net/ppp/ppp_generic.c list = &ppp->channels; channels 1701 drivers/net/ppp/ppp_generic.c list_for_each_entry(pch, &ppp->channels, clist) { channels 1747 drivers/net/ppp/ppp_generic.c list = &ppp->channels; channels 1750 drivers/net/ppp/ppp_generic.c if (list == &ppp->channels) { channels 1760 drivers/net/ppp/ppp_generic.c if (list == &ppp->channels) { channels 2372 drivers/net/ppp/ppp_generic.c list_for_each_entry(ch, &ppp->channels, clist) { channels 3207 drivers/net/ppp/ppp_generic.c list_add_tail(&pch->clist, &ppp->channels); channels 2046 drivers/net/virtio_net.c struct ethtool_channels *channels) channels 2049 drivers/net/virtio_net.c u16 queue_pairs = channels->combined_count; channels 2055 drivers/net/virtio_net.c if (channels->rx_count || channels->tx_count || channels->other_count) channels 2159 drivers/net/virtio_net.c struct ethtool_channels *channels) channels 2163 drivers/net/virtio_net.c channels->combined_count = vi->curr_queue_pairs; channels 2164 drivers/net/virtio_net.c channels->max_combined = vi->max_queue_pairs; channels 2165 drivers/net/virtio_net.c channels->max_other = 0; channels 2166 drivers/net/virtio_net.c channels->rx_count = 0; channels 2167 drivers/net/virtio_net.c channels->tx_count = 0; channels 2168 drivers/net/virtio_net.c channels->other_count = 0; channels 182 drivers/net/wireless/admtek/adm8211.c BUILD_BUG_ON(sizeof(priv->channels) != sizeof(adm8211_channels)); channels 184 drivers/net/wireless/admtek/adm8211.c memcpy(priv->channels, adm8211_channels, sizeof(priv->channels)); channels 185 drivers/net/wireless/admtek/adm8211.c priv->band.channels = priv->channels; channels 192 drivers/net/wireless/admtek/adm8211.c priv->channels[i - 1].flags |= IEEE80211_CHAN_DISABLED; channels 552 drivers/net/wireless/admtek/adm8211.h struct ieee80211_channel channels[14]; channels 1464 drivers/net/wireless/ath/ar5523/ar5523.c BUILD_BUG_ON(sizeof(ar->channels) != sizeof(ar5523_channels)); channels 1467 drivers/net/wireless/ath/ar5523/ar5523.c memcpy(ar->channels, ar5523_channels, sizeof(ar5523_channels)); channels 1471 drivers/net/wireless/ath/ar5523/ar5523.c ar->band.channels = ar->channels; channels 127 drivers/net/wireless/ath/ar5523/ar5523.h struct ieee80211_channel channels[14]; channels 3095 drivers/net/wireless/ath/ath10k/mac.c if (bands[band]->channels[i].flags & channels 3104 drivers/net/wireless/ath/ath10k/mac.c arg.channels = kzalloc(len, GFP_KERNEL); channels 3105 drivers/net/wireless/ath/ath10k/mac.c if (!arg.channels) channels 3108 drivers/net/wireless/ath/ath10k/mac.c ch = arg.channels; channels 3114 drivers/net/wireless/ath/ath10k/mac.c channel = &bands[band]->channels[i]; channels 3165 drivers/net/wireless/ath/ath10k/mac.c ch - arg.channels, arg.n_channels, channels 3174 drivers/net/wireless/ath/ath10k/mac.c kfree(arg.channels); channels 3238 drivers/net/wireless/ath/ath10k/mac.c if (band->channels[i].center_freq < ar->low_5ghz_chan || channels 3239 drivers/net/wireless/ath/ath10k/mac.c band->channels[i].center_freq > ar->high_5ghz_chan) channels 3240 drivers/net/wireless/ath/ath10k/mac.c band->channels[i].flags |= channels 6016 drivers/net/wireless/ath/ath10k/mac.c arg.channels[i] = req->channels[i]->center_freq; channels 6938 drivers/net/wireless/ath/ath10k/mac.c arg.channels[0] = chan->center_freq; channels 7182 drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_update_bss_chan_survey(ar, &sband->channels[idx]); channels 7188 drivers/net/wireless/ath/ath10k/mac.c survey->channel = &sband->channels[idx]; channels 8701 drivers/net/wireless/ath/ath10k/mac.c void *channels; channels 8717 drivers/net/wireless/ath/ath10k/mac.c channels = kmemdup(ath10k_2ghz_channels, channels 8720 drivers/net/wireless/ath/ath10k/mac.c if (!channels) { channels 8727 drivers/net/wireless/ath/ath10k/mac.c band->channels = channels; channels 8741 drivers/net/wireless/ath/ath10k/mac.c channels = kmemdup(ath10k_5ghz_channels, channels 8744 drivers/net/wireless/ath/ath10k/mac.c if (!channels) { channels 8751 drivers/net/wireless/ath/ath10k/mac.c band->channels = channels; channels 9030 drivers/net/wireless/ath/ath10k/mac.c kfree(ar->mac.sbands[NL80211_BAND_2GHZ].channels); channels 9031 drivers/net/wireless/ath/ath10k/mac.c kfree(ar->mac.sbands[NL80211_BAND_5GHZ].channels); channels 9044 drivers/net/wireless/ath/ath10k/mac.c kfree(ar->mac.sbands[NL80211_BAND_2GHZ].channels); channels 9045 drivers/net/wireless/ath/ath10k/mac.c kfree(ar->mac.sbands[NL80211_BAND_5GHZ].channels); channels 1862 drivers/net/wireless/ath/ath10k/wmi-tlv.c chans[i] = __cpu_to_le32(arg->channels[i]); channels 2699 drivers/net/wireless/ath/ath10k/wmi-tlv.c ch = &arg->channels[i]; channels 3761 drivers/net/wireless/ath/ath10k/wmi-tlv.c channel_list[i] = __cpu_to_le32(pno->a_networks[0].channels[i]); channels 2570 drivers/net/wireless/ath/ath10k/wmi.c if (sband->channels[ch].center_freq == freq) channels 6756 drivers/net/wireless/ath/ath10k/wmi.c if (arg->n_channels > ARRAY_SIZE(arg->channels)) channels 6828 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_chan_list *channels; channels 6835 drivers/net/wireless/ath/ath10k/wmi.c channels = ptr; channels 6836 drivers/net/wireless/ath/ath10k/wmi.c channels->tag = __cpu_to_le32(WMI_CHAN_LIST_TAG); channels 6837 drivers/net/wireless/ath/ath10k/wmi.c channels->num_chan = __cpu_to_le32(arg->n_channels); channels 6840 drivers/net/wireless/ath/ath10k/wmi.c channels->channel_list[i].freq = channels 6841 drivers/net/wireless/ath/ath10k/wmi.c __cpu_to_le16(arg->channels[i]); channels 6843 drivers/net/wireless/ath/ath10k/wmi.c ptr += sizeof(*channels); channels 7461 drivers/net/wireless/ath/ath10k/wmi.c ch = &arg->channels[i]; channels 3242 drivers/net/wireless/ath/ath10k/wmi.h u16 channels[64]; channels 3308 drivers/net/wireless/ath/ath10k/wmi.h struct wmi_channel_arg *channels; channels 7219 drivers/net/wireless/ath/ath10k/wmi.h u16 channels[WMI_PNO_MAX_NETW_CHANNELS_EX]; channels 210 drivers/net/wireless/ath/ath10k/wow.c pno->a_networks[i].channels[j] = channels 211 drivers/net/wireless/ath/ath10k/wow.c nd_config->channels[j]->center_freq; channels 1269 drivers/net/wireless/ath/ath5k/ath5k.h struct ieee80211_channel channels[ATH_CHAN_MAX]; channels 124 drivers/net/wireless/ath/ath5k/attach.c ah->ah_current_channel = &ah->channels[0]; channels 296 drivers/net/wireless/ath/ath5k/base.c ath5k_setup_channels(struct ath5k_hw *ah, struct ieee80211_channel *channels, channels 326 drivers/net/wireless/ath/ath5k/base.c channels[count].center_freq = freq; channels 327 drivers/net/wireless/ath/ath5k/base.c channels[count].band = band; channels 328 drivers/net/wireless/ath/ath5k/base.c channels[count].hw_value = mode; channels 331 drivers/net/wireless/ath/ath5k/base.c if (!ath5k_channel_ok(ah, &channels[count])) channels 367 drivers/net/wireless/ath/ath5k/base.c max_c = ARRAY_SIZE(ah->channels); channels 380 drivers/net/wireless/ath/ath5k/base.c sband->channels = ah->channels; channels 381 drivers/net/wireless/ath/ath5k/base.c sband->n_channels = ath5k_setup_channels(ah, sband->channels, channels 406 drivers/net/wireless/ath/ath5k/base.c sband->channels = ah->channels; channels 407 drivers/net/wireless/ath/ath5k/base.c sband->n_channels = ath5k_setup_channels(ah, sband->channels, channels 426 drivers/net/wireless/ath/ath5k/base.c sband->channels = &ah->channels[count_c]; channels 427 drivers/net/wireless/ath/ath5k/base.c sband->n_channels = ath5k_setup_channels(ah, sband->channels, channels 1052 drivers/net/wireless/ath/ath5k/debug.c band->channels[i].center_freq), channels 1053 drivers/net/wireless/ath/ath5k/debug.c band->channels[i].center_freq, channels 1054 drivers/net/wireless/ath/ath5k/debug.c band->channels[i].hw_value, channels 1055 drivers/net/wireless/ath/ath5k/debug.c band->channels[i].flags); channels 126 drivers/net/wireless/ath/ath6kl/cfg80211.c .channels = ath6kl_2ghz_channels, channels 135 drivers/net/wireless/ath/ath6kl/cfg80211.c .channels = ath6kl_5ghz_a_channels, channels 1000 drivers/net/wireless/ath/ath6kl/cfg80211.c u16 *channels = NULL; channels 1044 drivers/net/wireless/ath/ath6kl/cfg80211.c channels = kcalloc(n_channels, sizeof(u16), GFP_KERNEL); channels 1045 drivers/net/wireless/ath/ath6kl/cfg80211.c if (channels == NULL) { channels 1051 drivers/net/wireless/ath/ath6kl/cfg80211.c channels[i] = request->channels[i]->center_freq; channels 1063 drivers/net/wireless/ath/ath6kl/cfg80211.c n_channels, channels, channels 1071 drivers/net/wireless/ath/ath6kl/cfg80211.c kfree(channels); channels 40 drivers/net/wireless/ath/ath9k/channel.c old_pos = ah->curchan - &ah->channels[0]; channels 69 drivers/net/wireless/ath/ath9k/channel.c hchan = &sc->sc_ah->channels[pos]; channels 115 drivers/net/wireless/ath/ath9k/channel.c chan = &sband->channels[0]; channels 903 drivers/net/wireless/ath/ath9k/channel.c chan = req->channels[sc->offchannel.scan_idx++]; channels 1345 drivers/net/wireless/ath/ath9k/channel.c chan = &sband->channels[0]; channels 128 drivers/net/wireless/ath/ath9k/common-init.c void *channels; channels 135 drivers/net/wireless/ath/ath9k/common-init.c channels = devm_kzalloc(ah->dev, channels 137 drivers/net/wireless/ath/ath9k/common-init.c if (!channels) channels 140 drivers/net/wireless/ath/ath9k/common-init.c memcpy(channels, ath9k_2ghz_chantable, channels 142 drivers/net/wireless/ath/ath9k/common-init.c common->sbands[NL80211_BAND_2GHZ].channels = channels; channels 152 drivers/net/wireless/ath/ath9k/common-init.c channels = devm_kzalloc(ah->dev, channels 154 drivers/net/wireless/ath/ath9k/common-init.c if (!channels) channels 157 drivers/net/wireless/ath/ath9k/common-init.c memcpy(channels, ath9k_5ghz_chantable, channels 159 drivers/net/wireless/ath/ath9k/common-init.c common->sbands[NL80211_BAND_5GHZ].channels = channels; channels 347 drivers/net/wireless/ath/ath9k/common.c channel = &ah->channels[curchan->hw_value]; channels 1216 drivers/net/wireless/ath/ath9k/htc_drv_main.c if (ath9k_htc_set_channel(priv, hw, &priv->ah->channels[pos]) < 0) { channels 783 drivers/net/wireless/ath/ath9k/hw.h struct ath9k_channel channels[ATH9K_NUM_CHANNELS]; channels 804 drivers/net/wireless/ath/ath9k/init.c chan = &sband->channels[i]; channels 805 drivers/net/wireless/ath/ath9k/init.c ah->curchan = &ah->channels[chan->hw_value]; channels 491 drivers/net/wireless/ath/ath9k/link.c struct ath9k_channel *chan = &ah->channels[channel]; channels 510 drivers/net/wireless/ath/ath9k/link.c int pos = ah->curchan - &ah->channels[0]; channels 1986 drivers/net/wireless/ath/ath9k/main.c chan = &sband->channels[idx]; channels 169 drivers/net/wireless/ath/carl9170/main.c .channels = carl9170_2ghz_chantable, channels 177 drivers/net/wireless/ath/carl9170/main.c .channels = carl9170_5ghz_chantable, channels 1671 drivers/net/wireless/ath/carl9170/main.c if (band->channels[i].hw_value == idx) { channels 1672 drivers/net/wireless/ath/carl9170/main.c chan = &band->channels[i]; channels 353 drivers/net/wireless/ath/regd.c ch = &sband->channels[i]; channels 416 drivers/net/wireless/ath/regd.c ch = &sband->channels[i]; channels 1175 drivers/net/wireless/ath/wcn36xx/hal.h u8 channels[80]; channels 4063 drivers/net/wireless/ath/wcn36xx/hal.h u8 channels[WCN36XX_HAL_PNO_MAX_NETW_CHANNELS]; channels 4142 drivers/net/wireless/ath/wcn36xx/hal.h u8 channels[WCN36XX_HAL_PNO_MAX_NETW_CHANNELS]; channels 4227 drivers/net/wireless/ath/wcn36xx/hal.h u8 channels[WCN36XX_HAL_PNO_MAX_NETW_CHANNELS]; channels 4259 drivers/net/wireless/ath/wcn36xx/hal.h u8 channels[WCN36XX_HAL_PNO_MAX_NETW_CHANNELS_EX]; channels 129 drivers/net/wireless/ath/wcn36xx/main.c .channels = wcn_2ghz_channels, channels 150 drivers/net/wireless/ath/wcn36xx/main.c .channels = wcn_5ghz_channels, channels 621 drivers/net/wireless/ath/wcn36xx/main.c u8 channels[WCN36XX_HAL_PNO_MAX_NETW_CHANNELS_EX]; channels 629 drivers/net/wireless/ath/wcn36xx/main.c channels[i] = req->channels[i]->hw_value; channels 631 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_update_scan_params(wcn, channels, req->n_channels); channels 642 drivers/net/wireless/ath/wcn36xx/main.c wcn->scan_freq = req->channels[i]->center_freq; channels 643 drivers/net/wireless/ath/wcn36xx/main.c wcn->scan_band = req->channels[i]->band; channels 645 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_start_scan(wcn, req->channels[i]->hw_value); channels 647 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_end_scan(wcn, req->channels[i]->hw_value); channels 676 drivers/net/wireless/ath/wcn36xx/smd.c sizeof(msg_body->channels)); channels 678 drivers/net/wireless/ath/wcn36xx/smd.c msg_body->channels[i] = req->channels[i]->hw_value; channels 867 drivers/net/wireless/ath/wcn36xx/smd.c u8 *channels, size_t channel_count) channels 879 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(msg_body.channels, channels, channel_count); channels 67 drivers/net/wireless/ath/wcn36xx/smd.h int wcn36xx_smd_update_scan_params(struct wcn36xx *wcn, u8 *channels, size_t channel_count); channels 136 drivers/net/wireless/ath/wil6210/cfg80211.c wiphy->bands[NL80211_BAND_60GHZ]->edmg_cap.channels = channels 268 drivers/net/wireless/ath/wil6210/cfg80211.c .channels = wil_60ghz_channels, channels 972 drivers/net/wireless/ath/wil6210/cfg80211.c int ch = request->channels[i]->hw_value; channels 977 drivers/net/wireless/ath/wil6210/cfg80211.c request->channels[i]->center_freq); channels 983 drivers/net/wireless/ath/wil6210/cfg80211.c request->channels[i]->center_freq); channels 1346 drivers/net/wireless/ath/wil6210/cfg80211.c sme->edmg.channels, &conn.edmg_channel); channels 2126 drivers/net/wireless/ath/wil6210/cfg80211.c info->chandef.edmg.channels, channels 2496 drivers/net/wireless/ath/wil6210/cfg80211.c wil_dbg_misc(wil, " %d%s", request->channels[i]->hw_value, channels 2768 drivers/net/wireless/ath/wil6210/cfg80211.c ch = wiphy->bands[NL80211_BAND_60GHZ]->channels; channels 67 drivers/net/wireless/ath/wil6210/p2p.c (request->channels[0]->hw_value == P2P_DMG_SOCIAL_CHANNEL); channels 3482 drivers/net/wireless/ath/wil6210/wmi.c struct ieee80211_channel **channels) channels 3494 drivers/net/wireless/ath/wil6210/wmi.c struct ieee80211_channel *cfg_chan = channels[i]; channels 3550 drivers/net/wireless/ath/wil6210/wmi.c request->n_channels, request->channels); channels 2308 drivers/net/wireless/atmel/at76c50x-usb.c .channels = at76_channels, channels 324 drivers/net/wireless/broadcom/b43/main.c .channels = b43_5ghz_nphy_chantable, channels 332 drivers/net/wireless/broadcom/b43/main.c .channels = b43_5ghz_nphy_chantable_limited, channels 340 drivers/net/wireless/broadcom/b43/main.c .channels = b43_5ghz_aphy_chantable, channels 348 drivers/net/wireless/broadcom/b43/main.c .channels = b43_2ghz_chantable, channels 356 drivers/net/wireless/broadcom/b43/main.c .channels = b43_2ghz_chantable, channels 136 drivers/net/wireless/broadcom/b43legacy/main.c .channels = b43legacy_bg_chantable, channels 143 drivers/net/wireless/broadcom/b43legacy/main.c .channels = b43legacy_bg_chantable, channels 976 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c request->channels[i]); channels 978 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c request->channels[i]->hw_value, chanspec); channels 3233 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c n_netinfo * sizeof(req->channels[0]) + channels 3239 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c req->ssids = (void *)(&req->channels[0]) + channels 3240 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c n_netinfo * sizeof(req->channels[0]); channels 3266 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (req->channels[i] == chan) channels 3270 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c req->channels[req->n_channels++] = chan; channels 3548 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c cfg->wowl.nd->channels[0] = channels 6049 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->channels[i].flags = IEEE80211_CHAN_DISABLED; channels 6053 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->channels[i].flags = IEEE80211_CHAN_DISABLED; channels 6080 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (band->channels[j].hw_value == ch.control_ch_num) { channels 6081 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c channel = &band->channels[j]; channels 6209 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (band->channels[j].hw_value == ch.control_ch_num) channels 6215 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_update_bw40_channel_flag(&band->channels[j], &ch); channels 6695 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->channels = kmemdup(&__wl_2ghz_channels, channels 6698 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!band->channels) { channels 6712 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band->channels = kmemdup(&__wl_5ghz_channels, channels 6715 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!band->channels) { channels 7007 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c kfree(wiphy->bands[NL80211_BAND_2GHZ]->channels); channels 7011 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c kfree(wiphy->bands[NL80211_BAND_5GHZ]->channels); channels 781 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c request->channels[0]->hw_value == SOCIAL_CHAN_1 && channels 782 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c request->channels[1]->hw_value == SOCIAL_CHAN_2 && channels 783 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c request->channels[2]->hw_value == SOCIAL_CHAN_3) { channels 800 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct ieee80211_channel *chan = request->channels[i]; channels 281 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c chan = r->channels[i]->hw_value; channels 644 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c ch = &sband->channels[i]; channels 674 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c ch = &sband->channels[i]; channels 718 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c ch = &sband->channels[i]; channels 762 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c ch = &sband->channels[i]; channels 221 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .channels = brcms_2ghz_chantable, channels 242 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c .channels = brcms_5ghz_nphy_chantable, channels 1236 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c struct brcms_chanvec *channels) channels 1242 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c memset(channels, 0, sizeof(struct brcms_chanvec)); channels 1253 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c setbit(channels->vec, channel); channels 213 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h struct brcms_chanvec *channels); channels 1904 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->channels = kcalloc(geo->bg_channels, channels 1907 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (!bg_band->channels) { channels 1913 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->channels[i].band = NL80211_BAND_2GHZ; channels 1914 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->channels[i].center_freq = geo->bg[i].freq; channels 1915 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->channels[i].hw_value = geo->bg[i].channel; channels 1916 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->channels[i].max_power = geo->bg[i].max_power; channels 1918 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->channels[i].flags |= channels 1921 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->channels[i].flags |= channels 1924 drivers/net/wireless/intel/ipw2x00/ipw2100.c bg_band->channels[i].flags |= channels 6323 drivers/net/wireless/intel/ipw2x00/ipw2100.c kfree(priv->ieee->bg_band.channels); channels 6391 drivers/net/wireless/intel/ipw2x00/ipw2100.c kfree(priv->ieee->bg_band.channels); channels 1935 drivers/net/wireless/intel/ipw2x00/ipw2200.c static DEVICE_ATTR(channels, 0400, show_channels, NULL); channels 6190 drivers/net/wireless/intel/ipw2x00/ipw2200.c u8 channels[LIBIPW_24GHZ_CHANNELS] = { channels 6214 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (channels[channel - 1] != 0) channels 6217 drivers/net/wireless/intel/ipw2x00/ipw2200.c channels[channel - 1] = 1; channels 11337 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->channels = kcalloc(geo->bg_channels, channels 11340 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!bg_band->channels) { channels 11346 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->channels[i].band = NL80211_BAND_2GHZ; channels 11347 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->channels[i].center_freq = geo->bg[i].freq; channels 11348 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->channels[i].hw_value = geo->bg[i].channel; channels 11349 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->channels[i].max_power = geo->bg[i].max_power; channels 11351 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->channels[i].flags |= channels 11354 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->channels[i].flags |= channels 11357 drivers/net/wireless/intel/ipw2x00/ipw2200.c bg_band->channels[i].flags |= channels 11376 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->channels = kcalloc(geo->a_channels, channels 11379 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!a_band->channels) { channels 11385 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->channels[i].band = NL80211_BAND_5GHZ; channels 11386 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->channels[i].center_freq = geo->a[i].freq; channels 11387 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->channels[i].hw_value = geo->a[i].channel; channels 11388 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->channels[i].max_power = geo->a[i].max_power; channels 11390 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->channels[i].flags |= channels 11393 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->channels[i].flags |= channels 11396 drivers/net/wireless/intel/ipw2x00/ipw2200.c a_band->channels[i].flags |= channels 11757 drivers/net/wireless/intel/ipw2x00/ipw2200.c kfree(priv->ieee->a_band.channels); channels 11758 drivers/net/wireless/intel/ipw2x00/ipw2200.c kfree(priv->ieee->bg_band.channels); channels 11851 drivers/net/wireless/intel/ipw2x00/ipw2200.c kfree(priv->ieee->a_band.channels); channels 11852 drivers/net/wireless/intel/ipw2x00/ipw2200.c kfree(priv->ieee->bg_band.channels); channels 680 drivers/net/wireless/intel/iwlegacy/3945-mac.c spectrum.channels[0].duration = cpu_to_le32(duration * TIME_UNIT); channels 681 drivers/net/wireless/intel/iwlegacy/3945-mac.c spectrum.channels[0].channel = params->channel; channels 682 drivers/net/wireless/intel/iwlegacy/3945-mac.c spectrum.channels[0].type = type; channels 1551 drivers/net/wireless/intel/iwlegacy/3945-mac.c chan = il->scan_request->channels[i]; channels 3316 drivers/net/wireless/intel/iwlegacy/3945-mac.c static DEVICE_ATTR(channels, 0400, il3945_show_channels, NULL); channels 3729 drivers/net/wireless/intel/iwlegacy/3945-mac.c il_set_rxon_channel(il, &il->bands[NL80211_BAND_2GHZ].channels[5]); channels 777 drivers/net/wireless/intel/iwlegacy/4965-mac.c chan = il->scan_request->channels[i]; channels 2151 drivers/net/wireless/intel/iwlegacy/commands.h struct il_measure_channel channels[10]; channels 1582 drivers/net/wireless/intel/iwlegacy/common.c il->scan_band = req->channels[0]->band; channels 3428 drivers/net/wireless/intel/iwlegacy/common.c struct ieee80211_channel *channels; channels 3441 drivers/net/wireless/intel/iwlegacy/common.c channels = channels 3444 drivers/net/wireless/intel/iwlegacy/common.c if (!channels) channels 3451 drivers/net/wireless/intel/iwlegacy/common.c kfree(channels); channels 3457 drivers/net/wireless/intel/iwlegacy/common.c sband->channels = &channels[ARRAY_SIZE(il_eeprom_band_1)]; channels 3466 drivers/net/wireless/intel/iwlegacy/common.c sband->channels = channels; channels 3474 drivers/net/wireless/intel/iwlegacy/common.c il->ieee_channels = channels; channels 3485 drivers/net/wireless/intel/iwlegacy/common.c geo_ch = &sband->channels[sband->n_channels++]; channels 501 drivers/net/wireless/intel/iwlegacy/debug.c struct ieee80211_channel *channels = NULL; channels 518 drivers/net/wireless/intel/iwlegacy/debug.c channels = supp_band->channels; channels 529 drivers/net/wireless/intel/iwlegacy/debug.c channels[i].hw_value, channels 530 drivers/net/wireless/intel/iwlegacy/debug.c channels[i].max_power, channels 531 drivers/net/wireless/intel/iwlegacy/debug.c channels[i]. channels 534 drivers/net/wireless/intel/iwlegacy/debug.c ((channels[i]. channels 536 drivers/net/wireless/intel/iwlegacy/debug.c (channels[i]. channels 539 drivers/net/wireless/intel/iwlegacy/debug.c channels[i]. channels 545 drivers/net/wireless/intel/iwlegacy/debug.c channels = supp_band->channels; channels 556 drivers/net/wireless/intel/iwlegacy/debug.c channels[i].hw_value, channels 557 drivers/net/wireless/intel/iwlegacy/debug.c channels[i].max_power, channels 558 drivers/net/wireless/intel/iwlegacy/debug.c channels[i]. channels 561 drivers/net/wireless/intel/iwlegacy/debug.c ((channels[i]. channels 563 drivers/net/wireless/intel/iwlegacy/debug.c (channels[i]. channels 566 drivers/net/wireless/intel/iwlegacy/debug.c channels[i]. channels 805 drivers/net/wireless/intel/iwlegacy/debug.c DEBUGFS_READ_FILE_OPS(channels); channels 1331 drivers/net/wireless/intel/iwlegacy/debug.c DEBUGFS_ADD_FILE(channels, dir_data, 0400); channels 2009 drivers/net/wireless/intel/iwlwifi/dvm/commands.h struct iwl_measure_channel channels[10]; channels 286 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c struct ieee80211_channel *channels = NULL; channels 298 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c channels = supp_band->channels; channels 307 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c channels[i].hw_value, channels 308 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c channels[i].max_power, channels 309 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c channels[i].flags & IEEE80211_CHAN_RADAR ? channels 311 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ((channels[i].flags & IEEE80211_CHAN_NO_IR) channels 312 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c || (channels[i].flags & channels 315 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c channels[i].flags & channels 321 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c channels = supp_band->channels; channels 330 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c channels[i].hw_value, channels 331 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c channels[i].max_power, channels 332 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c channels[i].flags & IEEE80211_CHAN_RADAR ? channels 334 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ((channels[i].flags & IEEE80211_CHAN_NO_IR) channels 335 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c || (channels[i].flags & channels 338 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c channels[i].flags & channels 632 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c DEBUGFS_READ_FILE_OPS(channels); channels 2329 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c DEBUGFS_ADD_FILE(channels, dir_data, 0400); channels 1517 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c req->channels[0]->band); channels 126 drivers/net/wireless/intel/iwlwifi/dvm/scan.c priv->scan_request->channels[0]->band); channels 442 drivers/net/wireless/intel/iwlwifi/dvm/scan.c busy = sband->channels[i].hw_value == channels 451 drivers/net/wireless/intel/iwlwifi/dvm/scan.c if (!(sband->channels[i].flags & IEEE80211_CHAN_DISABLED)) channels 452 drivers/net/wireless/intel/iwlwifi/dvm/scan.c return sband->channels[i].hw_value; channels 517 drivers/net/wireless/intel/iwlwifi/dvm/scan.c chan = priv->scan_request->channels[i]; channels 354 drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h __le32 channels[0]; channels 383 drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h __le32 channels[0]; channels 396 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c struct ieee80211_channel *chan = &data->channels[ch_idx]; channels 534 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (data->channels[i].band != band) channels 536 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (data->channels[i].hw_value != channel) channels 538 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c chan = &data->channels[i]; channels 602 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c channel = &data->channels[n_channels]; channels 665 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c data->channels[i].max_power * 2); channels 710 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c struct ieee80211_channel *chan = &data->channels[0]; channels 714 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c chan = &data->channels[++idx]; channels 716 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c sband->channels = &data->channels[idx]; channels 719 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c chan = &data->channels[++idx]; channels 856 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c data = kzalloc(struct_size(data, channels, IWL_NUM_CHANNELS), channels 102 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h struct ieee80211_channel channels[]; channels 389 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c channel = &data->channels[n_channels]; channels 974 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c data = kzalloc(struct_size(data, channels, channels 978 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c data = kzalloc(struct_size(data, channels, channels 982 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c data = kzalloc(struct_size(data, channels, channels 1118 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c int num_of_ch, __le32 *channels, u16 fw_mcc, channels 1163 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c ch_flags = (u16)__le32_to_cpup(channels + ch_idx); channels 1479 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c nvm = kzalloc(struct_size(nvm, channels, IWL_NUM_CHANNELS), GFP_KERNEL); channels 105 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.h int num_of_ch, __le32 *channels, u16 fw_mcc, channels 934 drivers/net/wireless/intel/iwlwifi/mvm/d3.c mvm->nd_channels = kmemdup(nd_config->channels, channels 935 drivers/net/wireless/intel/iwlwifi/mvm/d3.c sizeof(*nd_config->channels) * channels 1785 drivers/net/wireless/intel/iwlwifi/mvm/d3.c match->channels[match->n_channels++] = channels 1793 drivers/net/wireless/intel/iwlwifi/mvm/d3.c match->channels[match->n_channels++] = channels 1849 drivers/net/wireless/intel/iwlwifi/mvm/d3.c match = kzalloc(struct_size(match, channels, n_channels), channels 655 drivers/net/wireless/intel/iwlwifi/mvm/fw.c mvm->nvm_data->bands[0].channels = mvm->nvm_data->channels; channels 659 drivers/net/wireless/intel/iwlwifi/mvm/fw.c (void *)mvm->nvm_data->channels + 1; channels 1416 drivers/net/wireless/intel/iwlwifi/mvm/fw.c chan = &sband->channels[0]; channels 255 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c resp->channels, channels 537 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c memcpy(resp_cp->channels, mcc_resp_v3->channels, channels 301 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c chan = &sband->channels[0]; channels 132 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_channel **channels; channels 725 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_channel **channels, channels 734 drivers/net/wireless/intel/iwlwifi/mvm/scan.c cpu_to_le16(channels[i]->hw_value); channels 1003 drivers/net/wireless/intel/iwlwifi/mvm/scan.c cmd->flags = iwl_mvm_scan_rxon_flags(params->channels[0]->band); channels 1046 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_lmac_scan_cfg_channels(mvm, params->channels, channels 1102 drivers/net/wireless/intel/iwlwifi/mvm/scan.c static void iwl_mvm_fill_channels(struct iwl_mvm *mvm, u8 *channels, channels 1110 drivers/net/wireless/intel/iwlwifi/mvm/scan.c channels[j] = band->channels[i].hw_value; channels 1113 drivers/net/wireless/intel/iwlwifi/mvm/scan.c channels[j] = band->channels[i].hw_value; channels 1419 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_channel **channels, channels 1427 drivers/net/wireless/intel/iwlwifi/mvm/scan.c channel_cfg[i].v1.channel_num = channels[i]->hw_value; channels 1430 drivers/net/wireless/intel/iwlwifi/mvm/scan.c channels[i]->hw_value <= IWL_SCAN_LAST_2_4_CHN ? channels 1624 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_umac_scan_cfg_channels(mvm, params->channels, channels 1768 drivers/net/wireless/intel/iwlwifi/mvm/scan.c params.channels = req->channels; channels 1860 drivers/net/wireless/intel/iwlwifi/mvm/scan.c params.channels = req->channels; channels 37 drivers/net/wireless/intersil/orinoco/cfg.c int i, channels = 0; channels 61 drivers/net/wireless/intersil/orinoco/cfg.c priv->channels[i].center_freq = channels 64 drivers/net/wireless/intersil/orinoco/cfg.c channels++; channels 67 drivers/net/wireless/intersil/orinoco/cfg.c priv->band.channels = priv->channels; channels 68 drivers/net/wireless/intersil/orinoco/cfg.c priv->band.n_channels = channels; channels 67 drivers/net/wireless/intersil/orinoco/orinoco.h struct ieee80211_channel channels[14]; channels 80 drivers/net/wireless/intersil/p54/eeprom.c struct p54_channel_entry *channels; channels 161 drivers/net/wireless/intersil/p54/eeprom.c tmp->channels = kcalloc(list->band_channel_num[band], channels 164 drivers/net/wireless/intersil/p54/eeprom.c if (!tmp->channels) channels 173 drivers/net/wireless/intersil/p54/eeprom.c struct p54_channel_entry *chan = &list->channels[i]; channels 174 drivers/net/wireless/intersil/p54/eeprom.c struct ieee80211_channel *dest = &tmp->channels[j]; channels 195 drivers/net/wireless/intersil/p54/eeprom.c priv->survey[*chan_num].channel = &tmp->channels[j]; channels 217 drivers/net/wireless/intersil/p54/eeprom.c kfree(old->channels); channels 225 drivers/net/wireless/intersil/p54/eeprom.c kfree(tmp->channels); channels 244 drivers/net/wireless/intersil/p54/eeprom.c if (freq == list->channels[i].freq) { channels 245 drivers/net/wireless/intersil/p54/eeprom.c entry = &list->channels[i]; channels 262 drivers/net/wireless/intersil/p54/eeprom.c entry = &list->channels[i]; channels 353 drivers/net/wireless/intersil/p54/eeprom.c list->channels = kcalloc(max_channel_num, channels 356 drivers/net/wireless/intersil/p54/eeprom.c if (!list->channels) { channels 394 drivers/net/wireless/intersil/p54/eeprom.c sort(list->channels, list->entries, sizeof(struct p54_channel_entry), channels 409 drivers/net/wireless/intersil/p54/eeprom.c kfree(list->channels); channels 428 drivers/net/wireless/intersil/p54/eeprom.c curve_data->channels; channels 437 drivers/net/wireless/intersil/p54/eeprom.c priv->curve_data->entries = curve_data->channels; channels 445 drivers/net/wireless/intersil/p54/eeprom.c for (i = 0; i < curve_data->channels; i++) { channels 480 drivers/net/wireless/intersil/p54/eeprom.c curve_data->channels; channels 489 drivers/net/wireless/intersil/p54/eeprom.c priv->curve_data->entries = curve_data->channels; channels 497 drivers/net/wireless/intersil/p54/eeprom.c for (i = 0; i < curve_data->channels; i++) { channels 87 drivers/net/wireless/intersil/p54/eeprom.h u8 channels; channels 49 drivers/net/wireless/mac80211_hwsim.c static int channels = 1; channels 50 drivers/net/wireless/mac80211_hwsim.c module_param(channels, int, 0444); channels 51 drivers/net/wireless/mac80211_hwsim.c MODULE_PARM_DESC(channels, "Number of concurrent channels"); channels 495 drivers/net/wireless/mac80211_hwsim.c int channels, idx; channels 2031 drivers/net/wireless/mac80211_hwsim.c req->channels[hwsim->scan_chan_idx]->center_freq); channels 2033 drivers/net/wireless/mac80211_hwsim.c hwsim->tmp_chan = req->channels[hwsim->scan_chan_idx]; channels 2383 drivers/net/wireless/mac80211_hwsim.c unsigned int channels; channels 2418 drivers/net/wireless/mac80211_hwsim.c if (param->channels) { channels 2419 drivers/net/wireless/mac80211_hwsim.c ret = nla_put_u32(skb, HWSIM_ATTR_CHANNELS, param->channels); channels 2741 drivers/net/wireless/mac80211_hwsim.c if (WARN_ON(param->channels > 1 && !param->use_chanctx)) channels 2808 drivers/net/wireless/mac80211_hwsim.c data->channels = param->channels; channels 2846 drivers/net/wireless/mac80211_hwsim.c data->if_combination.num_different_channels = data->channels; channels 2939 drivers/net/wireless/mac80211_hwsim.c sband->channels = data->channels_2ghz; channels 2945 drivers/net/wireless/mac80211_hwsim.c sband->channels = data->channels_5ghz; channels 3162 drivers/net/wireless/mac80211_hwsim.c param.channels = data->channels; channels 3421 drivers/net/wireless/mac80211_hwsim.c chans = max(chans, data->channels); channels 3474 drivers/net/wireless/mac80211_hwsim.c param.channels = channels; channels 3479 drivers/net/wireless/mac80211_hwsim.c param.channels = nla_get_u32(info->attrs[HWSIM_ATTR_CHANNELS]); channels 3481 drivers/net/wireless/mac80211_hwsim.c if (param.channels < 1) { channels 3486 drivers/net/wireless/mac80211_hwsim.c if (param.channels > CFG80211_MAX_NUM_DIFFERENT_CHANNELS) { channels 3497 drivers/net/wireless/mac80211_hwsim.c param.use_chanctx = (param.channels > 1); channels 3909 drivers/net/wireless/mac80211_hwsim.c if (channels < 1) channels 3939 drivers/net/wireless/mac80211_hwsim.c param.channels = channels; channels 4008 drivers/net/wireless/mac80211_hwsim.c param.use_chanctx = channels > 1; channels 76 drivers/net/wireless/marvell/libertas/cfg.c .channels = lbs_2ghz_channels, channels 224 drivers/net/wireless/marvell/libertas/cfg.c priv->scan_req->channels[priv->scan_channel]->hw_value; channels 1238 drivers/net/wireless/marvell/libertas/cfg.c creq->ssids = (void *)&creq->channels[n_channels]; channels 1252 drivers/net/wireless/marvell/libertas/cfg.c if (wiphy->bands[band]->channels[j].flags & channels 1256 drivers/net/wireless/marvell/libertas/cfg.c creq->channels[i] = &wiphy->bands[band]->channels[j]; channels 746 drivers/net/wireless/marvell/libertas/cmd.c ch = &bands[band]->channels[i]; channels 69 drivers/net/wireless/marvell/libertas_tf/cmd.c priv->channels[CHAN_TO_IDX(ch)].flags = 0; channels 248 drivers/net/wireless/marvell/libertas_tf/libertas_tf.h struct ieee80211_channel channels[14]; channels 578 drivers/net/wireless/marvell/libertas_tf/main.c memcpy(priv->channels, lbtf_channels, sizeof(lbtf_channels)); channels 583 drivers/net/wireless/marvell/libertas_tf/main.c priv->band.channels = priv->channels; channels 76 drivers/net/wireless/marvell/mwifiex/11h.c sband->channels[i].center_freq); channels 566 drivers/net/wireless/marvell/mwifiex/cfg80211.c ch = &sband->channels[i]; channels 629 drivers/net/wireless/marvell/mwifiex/cfg80211.c chan = &sband->channels[i]; channels 1606 drivers/net/wireless/marvell/mwifiex/cfg80211.c .channels = mwifiex_channels_2ghz, channels 1647 drivers/net/wireless/marvell/mwifiex/cfg80211.c .channels = mwifiex_channels_5ghz, channels 2620 drivers/net/wireless/marvell/mwifiex/cfg80211.c chan = request->channels[i]; channels 2718 drivers/net/wireless/marvell/mwifiex/cfg80211.c chan = request->channels[i]; channels 335 drivers/net/wireless/marvell/mwifiex/cfp.c ch = &sband->channels[i]; channels 476 drivers/net/wireless/marvell/mwifiex/scan.c ch = &sband->channels[i]; channels 543 drivers/net/wireless/marvell/mwifiex/scan.c ch = &sband->channels[i]; channels 2240 drivers/net/wireless/marvell/mwifiex/scan.c pmatch->channels[0] = chan_band->chan_number; channels 2317 drivers/net/wireless/marvell/mwl8k.c priv->band_24.channels = priv->channels_24; channels 2336 drivers/net/wireless/marvell/mwl8k.c priv->band_50.channels = priv->channels_50; channels 3089 drivers/net/wireless/marvell/mwl8k.c if (sband->channels[ch].center_freq == freq) channels 5418 drivers/net/wireless/marvell/mwl8k.c survey->channel = &sband->channels[idx]; channels 178 drivers/net/wireless/mediatek/mt76/mac80211.c sband->channels = chanlist; channels 182 drivers/net/wireless/mediatek/mt76/mac80211.c dev->chandef.chan = &sband->channels[0]; channels 248 drivers/net/wireless/mediatek/mt76/mac80211.c if (sband->channels[i].flags & IEEE80211_CHAN_DISABLED) channels 447 drivers/net/wireless/mediatek/mt76/mac80211.c chan = &sband->sband.channels[idx]; channels 616 drivers/net/wireless/mediatek/mt76/mt76.h idx = c - &msband->sband.channels[0]; channels 503 drivers/net/wireless/mediatek/mt76/mt7603/init.c chan = &sband->channels[i]; channels 423 drivers/net/wireless/mediatek/mt76/mt7603/mac.c status->freq = sband->channels[i].center_freq; channels 443 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (!sband->channels) channels 166 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_hw(dev)->wiphy->bands[def->chan->band]->channels) << 1; channels 190 drivers/net/wireless/mediatek/mt76/mt7615/init.c struct ieee80211_channel *chan = &sband->channels[i]; channels 91 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (!sband->channels) channels 269 drivers/net/wireless/mediatek/mt76/mt76x0/init.c chan = &sband->channels[i]; channels 160 drivers/net/wireless/mediatek/mt76/mt76x2/init.c chan = &sband->channels[i]; channels 531 drivers/net/wireless/mediatek/mt7601u/init.c sband->channels = chanlist; channels 550 drivers/net/wireless/mediatek/mt7601u/init.c dev->chandef.chan = &sband->channels[0]; channels 750 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c chan = &sband->channels[idx]; channels 1315 drivers/net/wireless/quantenna/qtnfmac/commands.c if (band->channels) { channels 1317 drivers/net/wireless/quantenna/qtnfmac/commands.c memset(band->channels, 0, channels 1318 drivers/net/wireless/quantenna/qtnfmac/commands.c sizeof(*band->channels) * band->n_channels); channels 1320 drivers/net/wireless/quantenna/qtnfmac/commands.c kfree(band->channels); channels 1322 drivers/net/wireless/quantenna/qtnfmac/commands.c band->channels = NULL; channels 1330 drivers/net/wireless/quantenna/qtnfmac/commands.c if (!band->channels) channels 1331 drivers/net/wireless/quantenna/qtnfmac/commands.c band->channels = kcalloc(band->n_channels, sizeof(*chan), channels 1333 drivers/net/wireless/quantenna/qtnfmac/commands.c if (!band->channels) { channels 1365 drivers/net/wireless/quantenna/qtnfmac/commands.c chan = &band->channels[chidx++]; channels 1471 drivers/net/wireless/quantenna/qtnfmac/commands.c kfree(band->channels); channels 1472 drivers/net/wireless/quantenna/qtnfmac/commands.c band->channels = NULL; channels 2150 drivers/net/wireless/quantenna/qtnfmac/commands.c sc = scan_req->channels[count]; channels 2448 drivers/net/wireless/quantenna/qtnfmac/commands.c &cfg_band->channels[i]); channels 521 drivers/net/wireless/quantenna/qtnfmac/core.c kfree(wiphy->bands[band]->channels); channels 1585 drivers/net/wireless/ralink/rt2x00/rt2400pci.c spec->channels = rf_vals_b; channels 1886 drivers/net/wireless/ralink/rt2x00/rt2500pci.c spec->channels = rf_vals_bg_2522; channels 1889 drivers/net/wireless/ralink/rt2x00/rt2500pci.c spec->channels = rf_vals_bg_2523; channels 1892 drivers/net/wireless/ralink/rt2x00/rt2500pci.c spec->channels = rf_vals_bg_2524; channels 1895 drivers/net/wireless/ralink/rt2x00/rt2500pci.c spec->channels = rf_vals_bg_2525; channels 1898 drivers/net/wireless/ralink/rt2x00/rt2500pci.c spec->channels = rf_vals_bg_2525e; channels 1902 drivers/net/wireless/ralink/rt2x00/rt2500pci.c spec->channels = rf_vals_5222; channels 1701 drivers/net/wireless/ralink/rt2x00/rt2500usb.c spec->channels = rf_vals_bg_2522; channels 1704 drivers/net/wireless/ralink/rt2x00/rt2500usb.c spec->channels = rf_vals_bg_2523; channels 1707 drivers/net/wireless/ralink/rt2x00/rt2500usb.c spec->channels = rf_vals_bg_2524; channels 1710 drivers/net/wireless/ralink/rt2x00/rt2500usb.c spec->channels = rf_vals_bg_2525; channels 1713 drivers/net/wireless/ralink/rt2x00/rt2500usb.c spec->channels = rf_vals_bg_2525e; channels 1717 drivers/net/wireless/ralink/rt2x00/rt2500usb.c spec->channels = rf_vals_5222; channels 10008 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->channels = rf_vals; channels 10014 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->channels = rf_vals; channels 10034 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->channels = rf_vals_3x_xtal20; channels 10036 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->channels = rf_vals_3x; channels 10041 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->channels = rf_vals_7620; channels 10047 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->channels = rf_vals_3x; channels 10052 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->channels = rf_vals_3853; channels 10059 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->channels = rf_vals_5592_xtal40; channels 10062 drivers/net/wireless/ralink/rt2x00/rt2800lib.c spec->channels = rf_vals_5592_xtal20; channels 10067 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (WARN_ON_ONCE(!spec->channels)) channels 407 drivers/net/wireless/ralink/rt2x00/rt2x00.h const struct rf_channel *channels; channels 174 drivers/net/wireless/ralink/rt2x00/rt2x00config.c center_channel = spec->channels[conf->chandef.chan->hw_value].channel; channels 185 drivers/net/wireless/ralink/rt2x00/rt2x00config.c if (spec->channels[i].channel == center_channel) channels 221 drivers/net/wireless/ralink/rt2x00/rt2x00config.c &rt2x00dev->spec.channels[hw_value], channels 1010 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c struct ieee80211_channel *channels; channels 1021 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c channels = kcalloc(spec->num_channels, sizeof(*channels), GFP_KERNEL); channels 1022 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c if (!channels) channels 1039 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00lib_channel(&channels[i], channels 1040 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c spec->channels[i].channel, channels 1052 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00dev->bands[NL80211_BAND_2GHZ].channels = channels; channels 1070 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00dev->bands[NL80211_BAND_5GHZ].channels = &channels[14]; channels 1081 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c kfree(channels); channels 1092 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels); channels 2697 drivers/net/wireless/ralink/rt2x00/rt61pci.c spec->channels = rf_vals_noseq; channels 2700 drivers/net/wireless/ralink/rt2x00/rt61pci.c spec->channels = rf_vals_seq; channels 2122 drivers/net/wireless/ralink/rt2x00/rt73usb.c spec->channels = rf_vals_bg_2528; channels 2126 drivers/net/wireless/ralink/rt2x00/rt73usb.c spec->channels = rf_vals_5226; channels 2129 drivers/net/wireless/ralink/rt2x00/rt73usb.c spec->channels = rf_vals_5225_2527; channels 2133 drivers/net/wireless/ralink/rt2x00/rt73usb.c spec->channels = rf_vals_5225_2527; channels 1683 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->channels[i].hw_value = txpwr & 0xFF; channels 1684 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->channels[i + 1].hw_value = txpwr >> 8; channels 1692 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->channels[i].hw_value |= (txpwr & 0xFF) << 8; channels 1693 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->channels[i + 1].hw_value |= txpwr & 0xFF00; channels 1794 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c BUILD_BUG_ON(sizeof(priv->channels) != sizeof(rtl818x_channels)); channels 1797 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c memcpy(priv->channels, rtl818x_channels, sizeof(rtl818x_channels)); channels 1801 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->band.channels = priv->channels; channels 83 drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.c u32 txpw = priv->channels[channel - 1].hw_value & 0xFF; channels 96 drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.c u32 txpw = priv->channels[chan_idx].hw_value & 0xFF; channels 119 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8180.h struct ieee80211_channel channels[14]; channels 263 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c cck_power = priv->channels[channel - 1].hw_value & 0xFF; channels 264 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c ofdm_power = priv->channels[channel - 1].hw_value >> 8; channels 479 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c cck_power = priv->channels[channel - 1].hw_value & 0xFF; channels 480 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c ofdm_power = priv->channels[channel - 1].hw_value >> 8; channels 214 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c cck_power = priv->channels[channel - 1].hw_value & 0xFF; channels 221 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c ofdm_power = priv->channels[channel - 1].hw_value >> 8; channels 106 drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c u32 txpw = priv->channels[channel - 1].hw_value & 0xFF; channels 1464 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c BUILD_BUG_ON(sizeof(priv->channels) != sizeof(rtl818x_channels)); channels 1467 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c memcpy(priv->channels, rtl818x_channels, sizeof(rtl818x_channels)); channels 1472 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c priv->band.channels = priv->channels; channels 1506 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c channel = priv->channels; channels 111 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.h struct ieee80211_channel channels[14]; channels 379 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c cck_power = priv->channels[channel - 1].hw_value & 0xF; channels 380 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c ofdm_power = priv->channels[channel - 1].hw_value >> 4; channels 630 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c cck_power = priv->channels[channel - 1].hw_value & 0xF; channels 631 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c ofdm_power = priv->channels[channel - 1].hw_value >> 4; channels 685 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c cck_power = priv->channels[channel - 1].hw_value & 0xF; channels 686 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c ofdm_power = priv->channels[channel - 1].hw_value >> 4; channels 124 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c .channels = rtl8xxxu_channels_2g, channels 114 drivers/net/wireless/realtek/rtlwifi/base.c .channels = rtl_channeltable_2g, channels 126 drivers/net/wireless/realtek/rtlwifi/base.c .channels = rtl_channeltable_5g, channels 148 drivers/net/wireless/realtek/rtlwifi/regd.c ch = &sband->channels[i]; channels 199 drivers/net/wireless/realtek/rtlwifi/regd.c ch = &sband->channels[11]; /* CH 12 */ channels 202 drivers/net/wireless/realtek/rtlwifi/regd.c ch = &sband->channels[12]; /* CH 13 */ channels 215 drivers/net/wireless/realtek/rtlwifi/regd.c ch = &sband->channels[11]; /* CH 12 */ channels 223 drivers/net/wireless/realtek/rtlwifi/regd.c ch = &sband->channels[12]; /* CH 13 */ channels 248 drivers/net/wireless/realtek/rtlwifi/regd.c ch = &sband->channels[i]; channels 90 drivers/net/wireless/realtek/rtw88/main.c .channels = rtw_channeltable_2g, channels 103 drivers/net/wireless/realtek/rtw88/main.c .channels = rtw_channeltable_5g, channels 277 drivers/net/wireless/realtek/rtw88/regd.c ch = &sband->channels[i]; channels 309 drivers/net/wireless/realtek/rtw88/regd.c ch = &sband->channels[i]; channels 319 drivers/net/wireless/realtek/rtw88/regd.c ch = &sband->channels[i]; channels 431 drivers/net/wireless/rndis_wlan.c struct ieee80211_channel channels[ARRAY_SIZE(rndis_channels)]; channels 3475 drivers/net/wireless/rndis_wlan.c memcpy(priv->channels, rndis_channels, sizeof(rndis_channels)); channels 3477 drivers/net/wireless/rndis_wlan.c priv->band.channels = priv->channels; channels 196 drivers/net/wireless/rsi/rsi_91x_mac80211.c void *channels = NULL; channels 199 drivers/net/wireless/rsi/rsi_91x_mac80211.c channels = kmemdup(rsi_2ghz_channels, sizeof(rsi_2ghz_channels), channels 201 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (!channels) channels 208 drivers/net/wireless/rsi/rsi_91x_mac80211.c channels = kmemdup(rsi_5ghz_channels, sizeof(rsi_5ghz_channels), channels 210 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (!channels) channels 218 drivers/net/wireless/rsi/rsi_91x_mac80211.c sbands->channels = channels; channels 319 drivers/net/wireless/rsi/rsi_91x_mac80211.c kfree(sband->channels); channels 1704 drivers/net/wireless/rsi/rsi_91x_mac80211.c ch = &sband->channels[i]; channels 1839 drivers/net/wireless/rsi/rsi_91x_mgmt.c cpu_to_le16(scan_req->channels[i]->hw_value); channels 159 drivers/net/wireless/st/cw1200/main.c .channels = cw1200_2ghz_chantable, channels 179 drivers/net/wireless/st/cw1200/main.c .channels = cw1200_5ghz_chantable, channels 321 drivers/net/wireless/st/cw1200/main.c sband->channels[i].flags = 0; channels 322 drivers/net/wireless/st/cw1200/main.c sband->channels[i].max_antenna_gain = 0; channels 323 drivers/net/wireless/st/cw1200/main.c sband->channels[i].max_power = 30; channels 111 drivers/net/wireless/st/cw1200/scan.c priv->scan.begin = &req->channels[0]; channels 113 drivers/net/wireless/st/cw1200/scan.c priv->scan.end = &req->channels[req->n_channels]; channels 426 drivers/net/wireless/ti/wl1251/cmd.c struct ieee80211_channel *channels[], channels 458 drivers/net/wireless/ti/wl1251/cmd.c cmd->channels[i].min_duration = channels 460 drivers/net/wireless/ti/wl1251/cmd.c cmd->channels[i].max_duration = channels 462 drivers/net/wireless/ti/wl1251/cmd.c memset(&cmd->channels[i].bssid_lsb, 0xff, 4); channels 463 drivers/net/wireless/ti/wl1251/cmd.c memset(&cmd->channels[i].bssid_msb, 0xff, 2); channels 464 drivers/net/wireless/ti/wl1251/cmd.c cmd->channels[i].early_termination = 0; channels 465 drivers/net/wireless/ti/wl1251/cmd.c cmd->channels[i].tx_power_att = 0; channels 466 drivers/net/wireless/ti/wl1251/cmd.c cmd->channels[i].channel = channels[i]->hw_value; channels 34 drivers/net/wireless/ti/wl1251/cmd.h struct ieee80211_channel *channels[], channels 220 drivers/net/wireless/ti/wl1251/cmd.h struct wl1251_scan_ch_parameters channels[SCAN_MAX_NUM_OF_CHANNELS]; channels 1033 drivers/net/wireless/ti/wl1251/main.c ret = wl1251_cmd_scan(wl, ssid, ssid_len, req->channels, channels 1346 drivers/net/wireless/ti/wl1251/main.c .channels = wl1251_channels, channels 15 drivers/net/wireless/ti/wl12xx/scan.c struct basic_scan_channel_params *channels, channels 25 drivers/net/wireless/ti/wl12xx/scan.c flags = req->channels[i]->flags; channels 29 drivers/net/wireless/ti/wl12xx/scan.c (req->channels[i]->band == band) && channels 38 drivers/net/wireless/ti/wl12xx/scan.c req->channels[i]->band, channels 39 drivers/net/wireless/ti/wl12xx/scan.c req->channels[i]->center_freq); channels 41 drivers/net/wireless/ti/wl12xx/scan.c req->channels[i]->hw_value, channels 42 drivers/net/wireless/ti/wl12xx/scan.c req->channels[i]->flags); channels 45 drivers/net/wireless/ti/wl12xx/scan.c req->channels[i]->max_antenna_gain, channels 46 drivers/net/wireless/ti/wl12xx/scan.c req->channels[i]->max_power); channels 48 drivers/net/wireless/ti/wl12xx/scan.c req->channels[i]->beacon_found); channels 51 drivers/net/wireless/ti/wl12xx/scan.c channels[j].min_duration = channels 53 drivers/net/wireless/ti/wl12xx/scan.c channels[j].max_duration = channels 56 drivers/net/wireless/ti/wl12xx/scan.c channels[j].min_duration = channels 58 drivers/net/wireless/ti/wl12xx/scan.c channels[j].max_duration = channels 61 drivers/net/wireless/ti/wl12xx/scan.c channels[j].early_termination = 0; channels 62 drivers/net/wireless/ti/wl12xx/scan.c channels[j].tx_power_att = req->channels[i]->max_power; channels 63 drivers/net/wireless/ti/wl12xx/scan.c channels[j].channel = req->channels[i]->hw_value; channels 65 drivers/net/wireless/ti/wl12xx/scan.c memset(&channels[j].bssid_lsb, 0xff, 4); channels 66 drivers/net/wireless/ti/wl12xx/scan.c memset(&channels[j].bssid_msb, 0xff, 2); channels 121 drivers/net/wireless/ti/wl12xx/scan.c cmd->channels, channels 357 drivers/net/wireless/ti/wl12xx/scan.c if (!wlcore_set_scan_chan_params(wl, cfg_channels, req->channels, channels 60 drivers/net/wireless/ti/wl12xx/scan.h struct basic_scan_channel_params channels[WL1271_SCAN_MAX_CHANNELS]; channels 76 drivers/net/wireless/ti/wl18xx/scan.c wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, channels 211 drivers/net/wireless/ti/wl18xx/scan.c wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, channels 1711 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_channel *channel = &band->channels[i]; channels 5920 drivers/net/wireless/ti/wlcore/main.c .channels = wl1271_channels, channels 5990 drivers/net/wireless/ti/wlcore/main.c .channels = wl1271_channels_5ghz, channels 6284 drivers/net/wireless/ti/wlcore/main.c wl1271_band_2ghz.channels[i].flags = 0; channels 6285 drivers/net/wireless/ti/wlcore/main.c wl1271_band_2ghz.channels[i].max_power = WLCORE_MAX_TXPWR; channels 6286 drivers/net/wireless/ti/wlcore/main.c wl1271_band_2ghz.channels[i].max_antenna_gain = 0; channels 6290 drivers/net/wireless/ti/wlcore/main.c wl1271_band_5ghz.channels[i].flags = 0; channels 6291 drivers/net/wireless/ti/wlcore/main.c wl1271_band_5ghz.channels[i].max_power = WLCORE_MAX_TXPWR; channels 6292 drivers/net/wireless/ti/wlcore/main.c wl1271_band_5ghz.channels[i].max_antenna_gain = 0; channels 130 drivers/net/wireless/ti/wlcore/scan.c struct conn_scan_ch_params *channels, channels 192 drivers/net/wireless/ti/wlcore/scan.c channels[j].flags |= SCAN_CHANNEL_FLAGS_DFS; channels 194 drivers/net/wireless/ti/wlcore/scan.c channels[j].passive_duration = channels 197 drivers/net/wireless/ti/wlcore/scan.c channels[j].passive_duration = channels 201 drivers/net/wireless/ti/wlcore/scan.c channels[j].min_duration = channels 203 drivers/net/wireless/ti/wlcore/scan.c channels[j].max_duration = channels 206 drivers/net/wireless/ti/wlcore/scan.c channels[j].tx_power_att = req_channels[i]->max_power; channels 207 drivers/net/wireless/ti/wlcore/scan.c channels[j].channel = req_channels[i]->hw_value; channels 211 drivers/net/wireless/ti/wlcore/scan.c (channels[j].channel >= 12) && channels 212 drivers/net/wireless/ti/wlcore/scan.c (channels[j].channel <= 14) && channels 216 drivers/net/wireless/ti/wlcore/scan.c channels[j].flags = SCAN_CHANNEL_FLAGS_DFS; channels 248 drivers/net/wireless/ti/wlcore/scan.c struct ieee80211_channel *channels[], channels 257 drivers/net/wireless/ti/wlcore/scan.c channels, channels 268 drivers/net/wireless/ti/wlcore/scan.c channels, channels 280 drivers/net/wireless/ti/wlcore/scan.c channels, channels 291 drivers/net/wireless/ti/wlcore/scan.c channels, channels 303 drivers/net/wireless/ti/wlcore/scan.c channels, channels 154 drivers/net/wireless/ti/wlcore/scan.h struct ieee80211_channel *channels[], channels 43 drivers/net/wireless/virt_wifi.c .channels = &channel_2ghz, channels 96 drivers/net/wireless/virt_wifi.c .channels = &channel_5ghz, channels 1377 drivers/net/wireless/zydas/zd1211rw/zd_mac.c memcpy(mac->channels, zd_channels, sizeof(zd_channels)); channels 1382 drivers/net/wireless/zydas/zd1211rw/zd_mac.c mac->band.channels = mac->channels; channels 188 drivers/net/wireless/zydas/zd1211rw/zd_mac.h struct ieee80211_channel channels[14]; channels 68 drivers/phy/renesas/phy-rcar-gen2.c struct rcar_gen2_channel *channels; channels 321 drivers/phy/renesas/phy-rcar-gen2.c if (np == drv->channels[i].of_node) channels 328 drivers/phy/renesas/phy-rcar-gen2.c return drv->channels[i].phys[args->args[0]].phy; channels 379 drivers/phy/renesas/phy-rcar-gen2.c drv->channels = devm_kcalloc(dev, drv->num_channels, channels 382 drivers/phy/renesas/phy-rcar-gen2.c if (!drv->channels) channels 386 drivers/phy/renesas/phy-rcar-gen2.c struct rcar_gen2_channel *channel = drv->channels + i; channels 3147 drivers/platform/x86/toshiba_acpi.c dev->indio_dev->channels = toshiba_iio_accel_channels; channels 234 drivers/pnp/pnpacpi/rsparser.c if (dma->channel_count > 0 && dma->channels[0] != (u8) -1) channels 239 drivers/pnp/pnpacpi/rsparser.c pnp_add_dma_resource(dev, dma->channels[0], flags); channels 299 drivers/pnp/pnpacpi/rsparser.c map |= 1 << p->channels[i]; channels 756 drivers/pnp/pnpacpi/rsparser.c dma->channels[0] = p->start; channels 109 drivers/power/supply/cpcap-battery.c struct iio_channel *channels[CPCAP_BATTERY_IIO_NR]; channels 148 drivers/power/supply/cpcap-battery.c channel = ddata->channels[CPCAP_BATTERY_IIO_BATTDET]; channels 167 drivers/power/supply/cpcap-battery.c channel = ddata->channels[CPCAP_BATTERY_IIO_VOLTAGE]; channels 183 drivers/power/supply/cpcap-battery.c channel = ddata->channels[CPCAP_BATTERY_IIO_BATT_CURRENT]; channels 658 drivers/power/supply/cpcap-battery.c ddata->channels[i] = devm_iio_channel_get(ddata->dev, channels 660 drivers/power/supply/cpcap-battery.c if (IS_ERR(ddata->channels[i])) { channels 661 drivers/power/supply/cpcap-battery.c error = PTR_ERR(ddata->channels[i]); channels 665 drivers/power/supply/cpcap-battery.c if (!ddata->channels[i]->indio_dev) { channels 131 drivers/power/supply/cpcap-charger.c struct iio_channel *channels[CPCAP_CHARGER_IIO_NR]; channels 174 drivers/power/supply/cpcap-charger.c channel = ddata->channels[CPCAP_CHARGER_IIO_BATTDET]; channels 190 drivers/power/supply/cpcap-charger.c channel = ddata->channels[CPCAP_CHARGER_IIO_VOLTAGE]; channels 206 drivers/power/supply/cpcap-charger.c channel = ddata->channels[CPCAP_CHARGER_IIO_CHRG_CURRENT]; channels 320 drivers/power/supply/cpcap-charger.c ddata->channels[CPCAP_CHARGER_IIO_VBUS]; channels 570 drivers/power/supply/cpcap-charger.c ddata->channels[i] = devm_iio_channel_get(ddata->dev, channels 572 drivers/power/supply/cpcap-charger.c if (IS_ERR(ddata->channels[i])) { channels 573 drivers/power/supply/cpcap-charger.c error = PTR_ERR(ddata->channels[i]); channels 577 drivers/power/supply/cpcap-charger.c if (!ddata->channels[i]->indio_dev) { channels 106 drivers/pwm/pwm-meson.c struct meson_pwm_channel channels[MESON_NUM_PWMS]; channels 131 drivers/pwm/pwm-meson.c channel = &meson->channels[pwm->hwpwm]; channels 319 drivers/pwm/pwm-meson.c channel = &meson->channels[pwm->hwpwm]; channels 341 drivers/pwm/pwm-meson.c channel = &meson->channels[pwm->hwpwm]; channels 501 drivers/pwm/pwm-meson.c struct meson_pwm_channel *channel = &meson->channels[i]; channels 969 drivers/rapidio/devices/tsi721_dma.c INIT_LIST_HEAD(&mport->dma.channels); channels 994 drivers/rapidio/devices/tsi721_dma.c &mport->dma.channels); channels 1027 drivers/rapidio/devices/tsi721_dma.c list_for_each_entry_safe(chan, _c, &mport->dma.channels, channels 114 drivers/reset/sti/reset-stih407.c .channels = stih407_powerdowns, channels 121 drivers/reset/sti/reset-stih407.c .channels = stih407_softresets, channels 127 drivers/reset/sti/reset-stih407.c .channels = stih407_picophyresets, channels 42 drivers/reset/sti/reset-syscfg.c struct syscfg_reset_channel *channels; channels 59 drivers/reset/sti/reset-syscfg.c ch = &rst->channels[idx]; channels 122 drivers/reset/sti/reset-syscfg.c ch = &rst->channels[idx]; channels 150 drivers/reset/sti/reset-syscfg.c rc->channels = devm_kcalloc(dev, data->nr_channels, channels 151 drivers/reset/sti/reset-syscfg.c sizeof(*rc->channels), GFP_KERNEL); channels 152 drivers/reset/sti/reset-syscfg.c if (!rc->channels) channels 163 drivers/reset/sti/reset-syscfg.c const char *compatible = data->channels[i].compatible; channels 169 drivers/reset/sti/reset-syscfg.c f = devm_regmap_field_alloc(dev, map, data->channels[i].reset); channels 173 drivers/reset/sti/reset-syscfg.c rc->channels[i].reset = f; channels 178 drivers/reset/sti/reset-syscfg.c f = devm_regmap_field_alloc(dev, map, data->channels[i].ack); channels 182 drivers/reset/sti/reset-syscfg.c rc->channels[i].ack = f; channels 51 drivers/reset/sti/reset-syscfg.h const struct syscfg_reset_channel_data *channels; channels 134 drivers/rpmsg/qcom_smd.c struct list_head channels; channels 654 drivers/rpmsg/qcom_smd.c list_for_each_entry(channel, &edge->channels, list) { channels 883 drivers/rpmsg/qcom_smd.c list_for_each_entry(channel, &edge->channels, list) { channels 1235 drivers/rpmsg/qcom_smd.c list_add(&channel->list, &edge->channels); channels 1271 drivers/rpmsg/qcom_smd.c list_for_each_entry(channel, &edge->channels, list) { channels 1295 drivers/rpmsg/qcom_smd.c list_for_each_entry(channel, &edge->channels, list) { channels 1329 drivers/rpmsg/qcom_smd.c INIT_LIST_HEAD(&edge->channels); channels 1413 drivers/rpmsg/qcom_smd.c list_for_each_entry_safe(channel, tmp, &edge->channels, list) { channels 66 drivers/s390/net/ctcm_main.c struct channel *channels; channels 202 drivers/s390/net/ctcm_main.c struct channel **c = &channels; channels 255 drivers/s390/net/ctcm_main.c struct channel *ch = channels; channels 1349 drivers/s390/net/ctcm_main.c struct channel **c = &channels; channels 1831 drivers/s390/net/ctcm_main.c channels = NULL; channels 257 drivers/s390/net/ctcm_main.h extern struct channel *channels; channels 161 drivers/s390/net/qeth_ethtool.c struct ethtool_channels *channels) channels 165 drivers/s390/net/qeth_ethtool.c channels->max_rx = dev->num_rx_queues; channels 166 drivers/s390/net/qeth_ethtool.c channels->max_tx = card->qdio.no_out_queues; channels 167 drivers/s390/net/qeth_ethtool.c channels->max_other = 0; channels 168 drivers/s390/net/qeth_ethtool.c channels->max_combined = 0; channels 169 drivers/s390/net/qeth_ethtool.c channels->rx_count = dev->real_num_rx_queues; channels 170 drivers/s390/net/qeth_ethtool.c channels->tx_count = dev->real_num_tx_queues; channels 171 drivers/s390/net/qeth_ethtool.c channels->other_count = 0; channels 172 drivers/s390/net/qeth_ethtool.c channels->combined_count = 0; channels 930 drivers/scsi/aacraid/aacraid.h u16 channels; channels 1720 drivers/scsi/aacraid/linit.c aac->maximum_num_channels = aac_drivers[index].channels; channels 432 drivers/soc/ti/knav_qmss_acc.c int channel, channels; channels 437 drivers/soc/ti/knav_qmss_acc.c channels = 1; channels 439 drivers/soc/ti/knav_qmss_acc.c channels = range->num_queues; channels 441 drivers/soc/ti/knav_qmss_acc.c for (channel = 0; channel < channels; channel++) { channels 478 drivers/soc/ti/knav_qmss_acc.c int ret, channel, channels; channels 523 drivers/soc/ti/knav_qmss_acc.c channels = range->num_queues; channels 526 drivers/soc/ti/knav_qmss_acc.c channels = 1; channels 547 drivers/soc/ti/knav_qmss_acc.c range->acc = devm_kcalloc(kdev->dev, channels, sizeof(*range->acc), channels 552 drivers/soc/ti/knav_qmss_acc.c for (channel = 0; channel < channels; channel++) { channels 683 drivers/staging/comedi/drivers/jr3_pci.h s32 channels; /* offset 0x00fe */ channels 583 drivers/staging/comedi/drivers/mite.c mite_chan = &mite->channels[i]; channels 890 drivers/staging/comedi/drivers/mite.c mite->channels[i].mite = mite; channels 891 drivers/staging/comedi/drivers/mite.c mite->channels[i].channel = i; channels 892 drivers/staging/comedi/drivers/mite.c mite->channels[i].done = 1; channels 47 drivers/staging/comedi/drivers/mite.h struct mite_channel channels[MAX_MITE_DMA_CHANNELS]; channels 49 drivers/staging/greybus/audio_codec.c u8 sig_bits, channels; channels 88 drivers/staging/greybus/audio_codec.c channels = params->channels; channels 93 drivers/staging/greybus/audio_codec.c format, rate, channels, sig_bits); channels 184 drivers/staging/greybus/audio_codec.c u8 sig_bits, channels; channels 223 drivers/staging/greybus/audio_codec.c channels = params->channels; channels 228 drivers/staging/greybus/audio_codec.c format, rate, channels, sig_bits); channels 414 drivers/staging/greybus/audio_codec.c u8 sig_bits, channels; channels 440 drivers/staging/greybus/audio_codec.c channels = params_channels(hwparams); channels 506 drivers/staging/greybus/audio_codec.c params->channels = channels; channels 56 drivers/staging/greybus/audio_codec.h u8 sig_bits, channels; channels 188 drivers/staging/greybus/audio_codec.h u32 *rate, u8 *channels, channels 192 drivers/staging/greybus/audio_codec.h u32 rate, u8 channels, channels 108 drivers/staging/greybus/audio_gb.c u32 *format, u32 *rate, u8 *channels, channels 124 drivers/staging/greybus/audio_gb.c *channels = resp.channels; channels 132 drivers/staging/greybus/audio_gb.c u32 format, u32 rate, u8 channels, channels 140 drivers/staging/greybus/audio_gb.c req.channels = channels; channels 53 drivers/staging/greybus/light.c struct gb_channel *channels; channels 107 drivers/staging/greybus/light.c channel = &light->channels[i]; channels 1030 drivers/staging/greybus/light.c light->channels = kcalloc(light->channels_count, channels 1032 drivers/staging/greybus/light.c if (!light->channels) channels 1037 drivers/staging/greybus/light.c light->channels[i].id = i; channels 1038 drivers/staging/greybus/light.c ret = gb_lights_channel_config(light, &light->channels[i]); channels 1057 drivers/staging/greybus/light.c ret = gb_lights_channel_register(&light->channels[i]); channels 1061 drivers/staging/greybus/light.c mutex_init(&light->channels[i].lock); channels 1107 drivers/staging/greybus/light.c gb_lights_channel_release(&light->channels[i]); channels 1110 drivers/staging/greybus/light.c kfree(light->channels); channels 1111 drivers/staging/greybus/light.c light->channels = NULL; channels 274 drivers/staging/iio/accel/adis16203.c indio_dev->channels = adis16203_channels; channels 399 drivers/staging/iio/accel/adis16240.c indio_dev->channels = adis16240_channels; channels 328 drivers/staging/iio/adc/ad7192.c >> (indio_dev->channels[0].scan_type.realbits - channels 747 drivers/staging/iio/adc/ad7192.c const struct iio_chan_spec *channels; channels 753 drivers/staging/iio/adc/ad7192.c channels = ad7193_channels; channels 757 drivers/staging/iio/adc/ad7192.c channels = ad7192_channels; channels 767 drivers/staging/iio/adc/ad7192.c indio_dev->channels = chan; channels 770 drivers/staging/iio/adc/ad7192.c *chan = channels[i]; channels 132 drivers/staging/iio/adc/ad7280a.c struct iio_chan_spec *channels; channels 563 drivers/staging/iio/adc/ad7280a.c chan = &st->channels[*cnt]; channels 584 drivers/staging/iio/adc/ad7280a.c st->channels = devm_kcalloc(&st->spi->dev, (st->slave_num + 1) * 12 + 2, channels 585 drivers/staging/iio/adc/ad7280a.c sizeof(*st->channels), GFP_KERNEL); channels 586 drivers/staging/iio/adc/ad7280a.c if (!st->channels) channels 592 drivers/staging/iio/adc/ad7280a.c ad7280_total_voltage_channel_init(&st->channels[cnt], cnt, dev); channels 594 drivers/staging/iio/adc/ad7280a.c ad7280_timestamp_channel_init(&st->channels[cnt], cnt); channels 772 drivers/staging/iio/adc/ad7280a.c unsigned int *channels; channels 775 drivers/staging/iio/adc/ad7280a.c channels = kcalloc(st->scan_cnt, sizeof(*channels), GFP_KERNEL); channels 776 drivers/staging/iio/adc/ad7280a.c if (!channels) channels 779 drivers/staging/iio/adc/ad7280a.c ret = ad7280_read_all_channels(st, st->scan_cnt, channels); channels 784 drivers/staging/iio/adc/ad7280a.c if (((channels[i] >> 23) & 0xF) <= AD7280A_CELL_VOLTAGE_6) { channels 785 drivers/staging/iio/adc/ad7280a.c if (((channels[i] >> 11) & 0xFFF) >= channels 793 drivers/staging/iio/adc/ad7280a.c } else if (((channels[i] >> 11) & 0xFFF) <= channels 803 drivers/staging/iio/adc/ad7280a.c if (((channels[i] >> 11) & 0xFFF) >= channels 810 drivers/staging/iio/adc/ad7280a.c } else if (((channels[i] >> 11) & 0xFFF) <= channels 822 drivers/staging/iio/adc/ad7280a.c kfree(channels); channels 985 drivers/staging/iio/adc/ad7280a.c indio_dev->channels = st->channels; channels 591 drivers/staging/iio/cdc/ad7150.c indio_dev->channels = ad7150_channels; channels 700 drivers/staging/iio/cdc/ad7746.c indio_dev->channels = ad7746_channels; channels 742 drivers/staging/iio/impedance-analyzer/ad5933.c indio_dev->channels = ad5933_channels; channels 677 drivers/staging/iio/resolver/ad2s1210.c indio_dev->channels = ad2s1210_channels; channels 958 drivers/staging/isdn/gigaset/capi.c iif->ctr.profile.nbchannel = cs->channels; channels 1095 drivers/staging/isdn/gigaset/capi.c for (ch = 0; ch < cs->channels; ch++) channels 1641 drivers/staging/isdn/gigaset/capi.c if (!channel || channel > cs->channels) { channels 1810 drivers/staging/isdn/gigaset/capi.c if (!channel || channel > cs->channels) { channels 1859 drivers/staging/isdn/gigaset/capi.c if (!channel || channel > cs->channels || channels 1929 drivers/staging/isdn/gigaset/capi.c if (!channel || channel > cs->channels) { channels 2027 drivers/staging/isdn/gigaset/capi.c if (!channel || channel > cs->channels || channels 2079 drivers/staging/isdn/gigaset/capi.c if (channel == 0 || channel > cs->channels || ncci != 1) { channels 2360 drivers/staging/isdn/gigaset/capi.c seq_printf(m, "%-16s %d\n", "channels", cs->channels); channels 2410 drivers/staging/isdn/gigaset/capi.c for (i = 0; i < cs->channels; i++) { channels 163 drivers/staging/isdn/gigaset/common.c for (channel = 0; channel < cs->channels; ++channel) channels 215 drivers/staging/isdn/gigaset/common.c for (i = 0; i < cs->channels; ++i) channels 253 drivers/staging/isdn/gigaset/common.c for (i = 0; i < cs->channels; ++i) channels 260 drivers/staging/isdn/gigaset/common.c for (i = 0; i < cs->channels; ++i) channels 276 drivers/staging/isdn/gigaset/common.c for (i = 0; i < cs->channels; ++i) channels 288 drivers/staging/isdn/gigaset/common.c for (i = 0; i < cs->channels; ++i) channels 478 drivers/staging/isdn/gigaset/common.c for (i = 0; i < cs->channels; ++i) { channels 666 drivers/staging/isdn/gigaset/common.c struct cardstate *gigaset_initcs(struct gigaset_driver *drv, int channels, channels 682 drivers/staging/isdn/gigaset/common.c cs->channels = channels; channels 710 drivers/staging/isdn/gigaset/common.c cs->bcs = kmalloc_array(channels, sizeof(struct bc_state), GFP_KERNEL); channels 757 drivers/staging/isdn/gigaset/common.c for (i = 0; i < channels; ++i) { channels 851 drivers/staging/isdn/gigaset/common.c for (i = 0; i < cs->channels; ++i) { channels 705 drivers/staging/isdn/gigaset/ev-layer.c for (i = 0; i < cs->channels; ++i) channels 731 drivers/staging/isdn/gigaset/ev-layer.c for (i = 0; i < cs->channels; ++i) { channels 794 drivers/staging/isdn/gigaset/ev-layer.c for (i = 0; i < cs->channels; ++i) channels 982 drivers/staging/isdn/gigaset/ev-layer.c for (i = 0; i < cs->channels; ++i) channels 1015 drivers/staging/isdn/gigaset/ev-layer.c for (channel = 0; channel < cs->channels; ++channel) channels 1061 drivers/staging/isdn/gigaset/ev-layer.c for (i = 0; i < cs->channels; ++i) channels 1689 drivers/staging/isdn/gigaset/ev-layer.c for (i = 0; i < cs->channels; ++i) { channels 1706 drivers/staging/isdn/gigaset/ev-layer.c for (i = 0; i < cs->channels; ++i) { channels 1731 drivers/staging/isdn/gigaset/ev-layer.c for (i = 0; i < cs->channels; ++i) { channels 1747 drivers/staging/isdn/gigaset/ev-layer.c for (i = 0; i < cs->channels; ++i) { channels 1806 drivers/staging/isdn/gigaset/ev-layer.c for (i = 0; i < cs->channels; ++i) { channels 419 drivers/staging/isdn/gigaset/gigaset.h int channels; channels 735 drivers/staging/isdn/gigaset/gigaset.h struct cardstate *gigaset_initcs(struct gigaset_driver *drv, int channels, channels 141 drivers/staging/media/allegro-dvt/allegro-core.c struct list_head channels; channels 551 drivers/staging/media/allegro-dvt/allegro-core.c list_for_each_entry(channel, &dev->channels, list) { channels 565 drivers/staging/media/allegro-dvt/allegro-core.c list_for_each_entry(channel, &dev->channels, list) { channels 2342 drivers/staging/media/allegro-dvt/allegro-core.c list_add(&channel->list, &dev->channels); channels 2910 drivers/staging/media/allegro-dvt/allegro-core.c INIT_LIST_HEAD(&dev->channels); channels 904 drivers/staging/most/dim2/hal.c void dim_service_ahb_int_irq(struct dim_channel *const *channels) channels 914 drivers/staging/most/dim2/hal.c if (!channels) { channels 927 drivers/staging/most/dim2/hal.c struct dim_channel *const *ch = channels; channels 86 drivers/staging/most/dim2/hal.h void dim_service_ahb_int_irq(struct dim_channel *const *channels); channels 700 drivers/staging/mt7621-dma/mtk-hsdma.c INIT_LIST_HEAD(&dd->channels); channels 861 drivers/staging/ralink-gdma/ralink-gdma.c INIT_LIST_HEAD(&dd->channels); channels 3965 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c reg->channels = 0; channels 3967 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c reg->channel[reg->channels] = ch; channels 3968 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c reg->channels++; channels 379 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h size_t channels; channels 26 drivers/staging/rtl8192e/rtl8192e/rtl_core.c static int channels = 0x3fff; channels 2654 drivers/staging/rtl8192e/rtl8192e/rtl_core.c module_param(channels, int, 0644); channels 2658 drivers/staging/rtl8192e/rtl8192e/rtl_core.c MODULE_PARM_DESC(channels, " Channel bitmask for specific locales. NYI"); channels 99 drivers/staging/rtl8192u/r8192U_core.c static int channels = 0x3fff; channels 105 drivers/staging/rtl8192u/r8192U_core.c module_param(channels, int, 0644); channels 109 drivers/staging/rtl8192u/r8192U_core.c MODULE_PARM_DESC(channels, " Channel bitmask for specific locales. NYI"); channels 384 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c reg->channels = 0; channels 386 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c reg->channel[reg->channels] = ch; channels 387 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c reg->channels++; channels 459 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h size_t channels; channels 99 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static void rtw_2g_channels_init(struct ieee80211_channel *channels) channels 101 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy((void*)channels, (void*)rtw_2ghz_channels, channels 136 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band->channels = (struct ieee80211_channel*)(((u8 *)spt_band)+sizeof(struct ieee80211_supported_band)); channels 137 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band->bitrates = (struct ieee80211_rate*)(((u8 *)spt_band->channels)+sizeof(struct ieee80211_channel)*n_channels); channels 144 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_2g_channels_init(spt_band->channels); channels 1621 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT CHAN_FMT"\n", FUNC_ADPT_ARG(padapter), CHAN_ARG(request->channels[i])); channels 1623 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ch[i].hw_value = request->channels[i]->hw_value; channels 1624 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ch[i].flags = request->channels[i]->flags; channels 79 drivers/staging/rtl8723bs/os_dep/wifi_regd.c ch = &sband->channels[j]; channels 212 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c int channels; channels 220 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c channels = 0; channels 222 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c channels = runtime->channels; channels 224 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c err = bcm2835_audio_set_params(alsa_stream, channels, channels 261 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c unsigned int channels, unsigned int samplerate, channels 266 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c .config.channels = channels, channels 100 drivers/staging/vc04_services/bcm2835-audio/bcm2835.h unsigned int channels, unsigned int samplerate, channels 36 drivers/staging/vc04_services/bcm2835-audio/vc_vchi_audioserv_defs.h u32 channels; channels 22 drivers/staging/vc04_services/bcm2835-camera/mmal-msg-format.h u32 channels; /* Number of audio channels */ channels 104 drivers/staging/vt6655/channel.c .channels = vnt_channels_2ghz, channels 111 drivers/staging/vt6655/channel.c .channels = vnt_channels_5ghz, channels 117 drivers/staging/vt6656/channel.c .channels = vnt_channels_2ghz, channels 124 drivers/staging/vt6656/channel.c .channels = vnt_channels_5ghz, channels 243 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c u16 freq = request->channels[i]->center_freq; channels 1878 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c memcpy(wl->channels, wilc_2ghz_channels, sizeof(wilc_2ghz_channels)); channels 1881 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->band.channels = wl->channels; channels 275 drivers/staging/wilc1000/wilc_wfi_netdevice.h struct ieee80211_channel channels[ARRAY_SIZE(wilc_2ghz_channels)]; channels 42 drivers/staging/wlan-ng/cfg80211.c struct ieee80211_channel channels[ARRAY_SIZE(prism2_channels)]; channels 328 drivers/staging/wlan-ng/cfg80211.c request->channels[i]->center_freq); channels 684 drivers/staging/wlan-ng/cfg80211.c memcpy(priv->channels, prism2_channels, sizeof(prism2_channels)); channels 686 drivers/staging/wlan-ng/cfg80211.c priv->band.channels = priv->channels; channels 153 drivers/tty/serial/jsm/jsm.h struct jsm_channel *channels[MAXPORTS]; /* array of pointers to our channels. */ channels 567 drivers/tty/serial/jsm/jsm_cls.c ch = brd->channels[port]; channels 286 drivers/tty/serial/jsm/jsm_driver.c if (brd->channels[i]) { channels 287 drivers/tty/serial/jsm/jsm_driver.c kfree(brd->channels[i]->ch_rqueue); channels 288 drivers/tty/serial/jsm/jsm_driver.c kfree(brd->channels[i]->ch_equeue); channels 289 drivers/tty/serial/jsm/jsm_driver.c kfree(brd->channels[i]); channels 718 drivers/tty/serial/jsm/jsm_neo.c ch = brd->channels[port]; channels 772 drivers/tty/serial/jsm/jsm_neo.c if (brd->channels[port]->ch_flags & CH_STOP) { channels 780 drivers/tty/serial/jsm/jsm_neo.c if (!(brd->channels[port]->ch_flags & CH_STOP)) { channels 834 drivers/tty/serial/jsm/jsm_neo.c ch = brd->channels[port]; channels 1174 drivers/tty/serial/jsm/jsm_neo.c ch = brd->channels[port]; channels 385 drivers/tty/serial/jsm/jsm_tty.c if (!brd->channels[i]) { channels 391 drivers/tty/serial/jsm/jsm_tty.c brd->channels[i] = kzalloc(sizeof(struct jsm_channel), GFP_KERNEL); channels 392 drivers/tty/serial/jsm/jsm_tty.c if (!brd->channels[i]) { channels 400 drivers/tty/serial/jsm/jsm_tty.c ch = brd->channels[0]; channels 404 drivers/tty/serial/jsm/jsm_tty.c for (i = 0; i < brd->nasync; i++, ch = brd->channels[i]) { channels 406 drivers/tty/serial/jsm/jsm_tty.c if (!brd->channels[i]) channels 448 drivers/tty/serial/jsm/jsm_tty.c if (!brd->channels[i]) channels 451 drivers/tty/serial/jsm/jsm_tty.c brd->channels[i]->uart_port.irq = brd->irq; channels 452 drivers/tty/serial/jsm/jsm_tty.c brd->channels[i]->uart_port.uartclk = 14745600; channels 453 drivers/tty/serial/jsm/jsm_tty.c brd->channels[i]->uart_port.type = PORT_JSM; channels 454 drivers/tty/serial/jsm/jsm_tty.c brd->channels[i]->uart_port.iotype = UPIO_MEM; channels 455 drivers/tty/serial/jsm/jsm_tty.c brd->channels[i]->uart_port.membase = brd->re_map_membase; channels 456 drivers/tty/serial/jsm/jsm_tty.c brd->channels[i]->uart_port.fifosize = 16; channels 457 drivers/tty/serial/jsm/jsm_tty.c brd->channels[i]->uart_port.ops = &jsm_ops; channels 464 drivers/tty/serial/jsm/jsm_tty.c brd->channels[i]->uart_port.line = line; channels 465 drivers/tty/serial/jsm/jsm_tty.c rc = uart_add_one_port(&jsm_uart_driver, &brd->channels[i]->uart_port); channels 496 drivers/tty/serial/jsm/jsm_tty.c if (!brd->channels[i]) channels 499 drivers/tty/serial/jsm/jsm_tty.c ch = brd->channels[i]; channels 502 drivers/tty/serial/jsm/jsm_tty.c uart_remove_one_port(&jsm_uart_driver, &brd->channels[i]->uart_port); channels 106 drivers/usb/gadget/function/u_uac1_legacy.c snd->channels = 2; channels 119 drivers/usb/gadget/function/u_uac1_legacy.c snd->channels, 0); channels 137 drivers/usb/gadget/function/u_uac1_legacy.c snd->channels = params_channels(params); channels 144 drivers/usb/gadget/function/u_uac1_legacy.c snd->access, snd->format, snd->channels, snd->rate); channels 184 drivers/usb/gadget/function/u_uac1_legacy.c return card->playback.channels; channels 40 drivers/usb/gadget/function/u_uac1_legacy.h int channels; channels 23 drivers/video/backlight/aat2870_bl.c int channels; channels 46 drivers/video/backlight/aat2870_bl.c (u8)aat2870_bl->channels); channels 155 drivers/video/backlight/aat2870_bl.c if (pdata->channels > 0) channels 156 drivers/video/backlight/aat2870_bl.c aat2870_bl->channels = pdata->channels; channels 158 drivers/video/backlight/aat2870_bl.c aat2870_bl->channels = AAT2870_BL_CH_ALL; channels 806 drivers/video/fbdev/omap2/omapfb/dss/venc.c u32 channels; channels 815 drivers/video/fbdev/omap2/omapfb/dss/venc.c r = of_property_read_u32(ep, "ti,channels", &channels); channels 822 drivers/video/fbdev/omap2/omapfb/dss/venc.c switch (channels) { channels 830 drivers/video/fbdev/omap2/omapfb/dss/venc.c dev_err(&pdev->dev, "bad channel propert '%d'\n", channels); channels 407 drivers/video/hdmi.c unsigned char channels; channels 423 drivers/video/hdmi.c if (frame->channels >= 2) channels 424 drivers/video/hdmi.c channels = frame->channels - 1; channels 426 drivers/video/hdmi.c channels = 0; channels 436 drivers/video/hdmi.c ptr[0] = ((frame->coding_type & 0xf) << 4) | (channels & 0x7); channels 1402 drivers/video/hdmi.c if (frame->channels) channels 1403 drivers/video/hdmi.c hdmi_log(" channels: %u\n", frame->channels - 1); channels 1685 drivers/video/hdmi.c frame->channels = ptr[0] & 0x7; channels 153 include/acpi/acrestyp.h u8 channels[1]; channels 182 include/acpi/acrestyp.h u16 channels; channels 330 include/drm/drm_edid.h u8 channels; /* max number of channels - 1 */ channels 727 include/linux/dmaengine.h struct list_head channels; channels 500 include/linux/edac.h struct rank_info **channels; channels 456 include/linux/firewire.h int fw_iso_context_set_channels(struct fw_iso_context *ctx, u64 *channels); channels 2103 include/linux/greybus/greybus_protocols.h __u8 channels; channels 2111 include/linux/greybus/greybus_protocols.h __u8 channels; channels 320 include/linux/hdmi.h unsigned char channels; channels 79 include/linux/hsi/hsi.h struct hsi_channel *channels; channels 189 include/linux/iio/frequency/ad9523.h struct ad9523_channel_spec *channels; channels 550 include/linux/iio/iio.h struct iio_chan_spec const *channels; channels 160 include/linux/mfd/aat2870.h int channels; channels 67 include/linux/platform_data/dma-ep93xx.h struct ep93xx_dma_chan_data *channels; channels 19 include/linux/platform_data/dma-mv_xor.h struct mv_xor_channel_data *channels; channels 41 include/linux/platform_data/dma-s3c24xx.h struct s3c24xx_dma_channel *channels; channels 40 include/linux/timb_dma.h struct timb_dma_platform_data_channel channels[32]; channels 383 include/net/cfg80211.h u8 channels; channels 411 include/net/cfg80211.h struct ieee80211_channel *channels; channels 664 include/net/cfg80211.h return chandef->edmg.channels || chandef->edmg.bw_config; channels 1957 include/net/cfg80211.h struct ieee80211_channel *channels[0]; channels 2103 include/net/cfg80211.h struct ieee80211_channel *channels[0]; channels 2755 include/net/cfg80211.h u32 channels[]; channels 135 include/net/cfg802154.h u32 channels[IEEE802154_MAX_PAGE + 1], channels 325 include/net/ieee802154_netdev.h u8 type, u32 channels, u8 page, u8 duration); channels 27 include/soc/tegra/bpmp.h } channels; channels 36 include/sound/ad1843.h unsigned int channels); channels 42 include/sound/ad1843.h unsigned int channels); channels 173 include/sound/control.h int snd_ctl_enum_info(struct snd_ctl_elem_info *info, unsigned int channels, channels 1585 include/sound/emu10k1.h unsigned int channels; /* 16-bit channels count */ channels 20 include/sound/hda_chmap.h int channels; channels 31 include/sound/hda_chmap.h struct hdac_cea_channel_speaker_allocation *cap, int channels); channels 34 include/sound/hda_chmap.h unsigned int *chmap, int channels); channels 38 include/sound/hda_chmap.h int channels, unsigned char *chmap); channels 66 include/sound/hda_chmap.h int channels, bool chmap_set, channels 71 include/sound/hda_chmap.h int channels, unsigned char *map, channels 140 include/sound/hdaudio.h unsigned int channels, channels 47 include/sound/hdmi-codec.h int channels; channels 17 include/sound/intel-nhlt.h u16 channels; channels 361 include/sound/pcm.h unsigned int channels; /* channels */ channels 1362 include/sound/pcm.h unsigned char channels; channels 31 include/sound/pcm_oss.h unsigned int channels; /* requested channels */ channels 36 include/sound/sb16_csp.h int (*csp_start) (struct snd_sb_csp * p, int sample_width, int channels); channels 59 include/sound/seq_midi_emul.h struct snd_midi_channel *channels; channels 343 include/sound/soc-dai.h unsigned int channels; channels 484 include/sound/soc.h int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots); channels 486 include/sound/soc.h int snd_soc_calc_bclk(int fs, int sample_size, int channels, int tdm_slots); channels 82 include/sound/sof/stream.h uint16_t channels; channels 133 include/sound/sof/topology.h uint32_t channels; channels 54 include/sound/vx_core.h int channels; channels 723 include/uapi/linux/firewire-cdev.h __u64 channels; channels 976 include/uapi/linux/firewire-cdev.h __u64 channels; channels 55 include/uapi/linux/hsi/hsi_char.h __u32 channels; channels 60 include/uapi/linux/hsi/hsi_char.h __u32 channels; channels 316 include/uapi/sound/asequencer.h int channels; /* maximum channels per port */ channels 324 include/uapi/sound/asoc.h __le32 channels; /* channels */ channels 343 include/uapi/sound/emu10k1.h unsigned int channels; /* 16-bit channels count, zero = remove this substream */ channels 81 include/uapi/sound/sb16_csp.h int channels; /* channels, look above */ channels 173 include/uapi/sound/skl-tplg-interface.h __u32 channels; channels 902 include/xen/interface/io/sndif.h } channels; channels 1668 net/core/ethtool.c struct ethtool_channels channels = { .cmd = ETHTOOL_GCHANNELS }; channels 1673 net/core/ethtool.c dev->ethtool_ops->get_channels(dev, &channels); channels 1675 net/core/ethtool.c if (copy_to_user(useraddr, &channels, sizeof(channels))) channels 1683 net/core/ethtool.c struct ethtool_channels channels, curr = { .cmd = ETHTOOL_GCHANNELS }; channels 1691 net/core/ethtool.c if (copy_from_user(&channels, useraddr, sizeof(channels))) channels 1697 net/core/ethtool.c if (channels.rx_count > curr.max_rx || channels 1698 net/core/ethtool.c channels.tx_count > curr.max_tx || channels 1699 net/core/ethtool.c channels.combined_count > curr.max_combined || channels 1700 net/core/ethtool.c channels.other_count > curr.max_other) channels 1707 net/core/ethtool.c (channels.combined_count + channels.rx_count) <= max_rx_in_use) channels 1711 net/core/ethtool.c from_channel = channels.combined_count + channels 1712 net/core/ethtool.c min(channels.rx_count, channels.tx_count); channels 1718 net/core/ethtool.c return dev->ethtool_ops->set_channels(dev, &channels); channels 372 net/ieee802154/nl-mac.c u32 channels; channels 388 net/ieee802154/nl-mac.c channels = nla_get_u32(info->attrs[IEEE802154_ATTR_CHANNELS]); channels 396 net/ieee802154/nl-mac.c ret = ieee802154_mlme_ops(dev)->scan_req(dev, type, channels, channels 51 net/ieee802154/nl-phy.c if (phy->supported.channels[i]) channels 52 net/ieee802154/nl-phy.c buf[pages++] = phy->supported.channels[i] | (i << 27); channels 343 net/ieee802154/nl802154.c rdev->wpan_phy.supported.channels[page])) channels 368 net/ieee802154/nl802154.c if (caps->channels[i]) { channels 369 net/ieee802154/nl802154.c if (nl802154_put_flags(msg, i, caps->channels[i])) channels 979 net/ieee802154/nl802154.c !(rdev->wpan_phy.supported.channels[page] & BIT(channel))) channels 1359 net/mac80211/ibss.c struct ieee80211_channel **channels, channels 1382 net/mac80211/ibss.c channels[n_chan] = chan; channels 1392 net/mac80211/ibss.c struct ieee80211_channel **channels, channels 1418 net/mac80211/ibss.c n_chan = ibss_setup_channels(wiphy, channels, channels_max, cf1, width); channels 1421 net/mac80211/ibss.c n_chan += ibss_setup_channels(wiphy, &channels[n_chan], channels 1493 net/mac80211/ibss.c struct ieee80211_channel *channels[8]; channels 1503 net/mac80211/ibss.c channels, channels 1504 net/mac80211/ibss.c ARRAY_SIZE(channels)); channels 1506 net/mac80211/ibss.c ifibss->ssid_len, channels, channels 1674 net/mac80211/ieee80211_i.h struct ieee80211_channel **channels, channels 867 net/mac80211/main.c int channels, max_bitrates; channels 944 net/mac80211/main.c channels = 0; channels 958 net/mac80211/main.c &sband->channels[0], channels 968 net/mac80211/main.c channels += sband->n_channels; channels 1019 net/mac80211/main.c sizeof(void *) * channels, GFP_KERNEL); channels 810 net/mac80211/mlme.c sband->channels[i].center_freq); channels 4823 net/mac80211/mlme.c if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED | channels 326 net/mac80211/scan.c local->hw_scan_req->req.channels[i] = req->channels[i]; channels 327 net/mac80211/scan.c bands_used |= BIT(req->channels[i]->band); channels 339 net/mac80211/scan.c if (req->channels[i]->band != channels 342 net/mac80211/scan.c local->hw_scan_req->req.channels[n_chans] = channels 343 net/mac80211/scan.c req->channels[i]; channels 345 net/mac80211/scan.c bands_used |= BIT(req->channels[i]->band); channels 680 net/mac80211/scan.c if (bands_counted & BIT(req->channels[i]->band)) channels 682 net/mac80211/scan.c bands_counted |= BIT(req->channels[i]->band); channels 691 net/mac80211/scan.c req->n_channels * sizeof(req->channels[0]) + channels 700 net/mac80211/scan.c req->n_channels * sizeof(req->channels[0]); channels 732 net/mac80211/scan.c (req->channels[0] == local->_oper_chandef.chan)) { channels 752 net/mac80211/scan.c if ((req->channels[0]->flags & (IEEE80211_CHAN_NO_IR | channels 854 net/mac80211/scan.c next_chan = scan_req->channels[local->scan_channel_idx]; channels 896 net/mac80211/scan.c chan = scan_req->channels[local->scan_channel_idx]; channels 1100 net/mac80211/scan.c struct ieee80211_channel **channels, channels 1115 net/mac80211/scan.c if (!channels) { channels 1125 net/mac80211/scan.c &local->hw.wiphy->bands[band]->channels[i]; channels 1131 net/mac80211/scan.c local->int_scan_req->channels[n_ch] = tmp_ch; channels 1142 net/mac80211/scan.c if (channels[i]->flags & (IEEE80211_CHAN_NO_IR | channels 1146 net/mac80211/scan.c local->int_scan_req->channels[n_ch] = channels[i]; channels 1777 net/mac80211/util.c if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED | channels 137 net/mac80211/vht.c if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED | channels 224 net/ncsi/internal.h struct list_head channels; /* List of chanels */ channels 344 net/ncsi/internal.h list_for_each_entry_rcu(nc, &np->channels, node) channels 230 net/ncsi/ncsi-manage.c list_add_tail_rcu(&nc->node, &np->channels); channels 287 net/ncsi/ncsi-manage.c INIT_LIST_HEAD(&np->channels); channels 312 net/ncsi/ncsi-manage.c list_for_each_entry_safe(nc, tmp, &np->channels, node) channels 436 net/rxrpc/ar-internal.h } channels[RXRPC_MAXCALLS]; channels 355 net/rxrpc/call_object.c conn->channels[chan].call_counter = call->call_id; channels 356 net/rxrpc/call_object.c conn->channels[chan].call_id = call->call_id; channels 357 net/rxrpc/call_object.c rcu_assign_pointer(conn->channels[chan].call, call); channels 537 net/rxrpc/conn_client.c struct rxrpc_channel *chan = &conn->channels[channel]; channels 551 net/rxrpc/conn_client.c struct rxrpc_channel *chan = &conn->channels[channel]; channels 756 net/rxrpc/conn_client.c struct rxrpc_channel *chan = &conn->channels[channel]; channels 800 net/rxrpc/conn_client.c chan = &conn->channels[channel]; channels 44 net/rxrpc/conn_event.c chan = &conn->channels[channel]; channels 164 net/rxrpc/conn_event.c conn->channels[i].call, channels 352 net/rxrpc/conn_event.c conn->channels[loop].call, channels 409 net/rxrpc/conn_event.c struct rxrpc_channel *chan = &conn->channels[channel]; channels 170 net/rxrpc/conn_object.c &conn->channels[call->cid & RXRPC_CHANNELMASK]; channels 237 net/rxrpc/conn_object.c ASSERT(!rcu_access_pointer(conn->channels[0].call) && channels 238 net/rxrpc/conn_object.c !rcu_access_pointer(conn->channels[1].call) && channels 239 net/rxrpc/conn_object.c !rcu_access_pointer(conn->channels[2].call) && channels 240 net/rxrpc/conn_object.c !rcu_access_pointer(conn->channels[3].call)); channels 1353 net/rxrpc/input.c chan = &conn->channels[channel]; channels 197 net/rxrpc/proc.c conn->channels[0].call_id, channels 198 net/rxrpc/proc.c conn->channels[1].call_id, channels 199 net/rxrpc/proc.c conn->channels[2].call_id, channels 200 net/rxrpc/proc.c conn->channels[3].call_id); channels 870 net/rxrpc/rxkad.c resp->encrypted.call_id[0] = htonl(conn->channels[0].call_counter); channels 871 net/rxrpc/rxkad.c resp->encrypted.call_id[1] = htonl(conn->channels[1].call_counter); channels 872 net/rxrpc/rxkad.c resp->encrypted.call_id[2] = htonl(conn->channels[2].call_counter); channels 873 net/rxrpc/rxkad.c resp->encrypted.call_id[3] = htonl(conn->channels[3].call_counter); channels 1182 net/rxrpc/rxkad.c if (call_id < conn->channels[i].call_counter) channels 1186 net/rxrpc/rxkad.c if (call_id > conn->channels[i].call_counter) { channels 1188 net/rxrpc/rxkad.c conn->channels[i].call, channels 1192 net/rxrpc/rxkad.c conn->channels[i].call_counter = call_id; channels 32 net/wireless/chan.c chandef->edmg.channels = 0; channels 64 net/wireless/chan.c if (!chandef->edmg.channels || !chandef->edmg.bw_config) channels 71 net/wireless/chan.c if (chandef->edmg.channels & BIT(i)) { channels 850 net/wireless/chan.c if (!(edmg_cap->channels & BIT(i))) channels 894 net/wireless/chan.c if (edmg_cap->channels && channels 896 net/wireless/chan.c chandef->edmg.channels, channels 828 net/wireless/core.c sband->channels[i].orig_flags = channels 829 net/wireless/core.c sband->channels[i].flags; channels 830 net/wireless/core.c sband->channels[i].orig_mag = INT_MAX; channels 831 net/wireless/core.c sband->channels[i].orig_mpwr = channels 832 net/wireless/core.c sband->channels[i].max_power; channels 833 net/wireless/core.c sband->channels[i].band = band; channels 83 net/wireless/debugfs.c offset += ht_print_chan(&sband->channels[i], channels 262 net/wireless/ibss.c chan = &sband->channels[i]; channels 144 net/wireless/mesh.c chan = &sband->channels[i]; channels 788 net/wireless/mlme.c c = &sband->channels[i]; channels 1622 net/wireless/nl80211.c if (sband->edmg_cap.channels && channels 1624 net/wireless/nl80211.c sband->edmg_cap.channels) || channels 2080 net/wireless/nl80211.c chan = &sband->channels[i]; channels 2737 net/wireless/nl80211.c chandef->edmg.channels = channels 2745 net/wireless/nl80211.c chandef->edmg.channels = 0; channels 7556 net/wireless/nl80211.c + sizeof(*request->channels) * n_channels channels 7564 net/wireless/nl80211.c request->ssids = (void *)&request->channels[n_channels]; channels 7570 net/wireless/nl80211.c request->ie = (void *)(request->channels + n_channels); channels 7590 net/wireless/nl80211.c request->channels[i] = chan; channels 7605 net/wireless/nl80211.c chan = &wiphy->bands[band]->channels[j]; channels 7610 net/wireless/nl80211.c request->channels[i] = chan; channels 7633 net/wireless/nl80211.c chan = request->channels[0]; channels 8010 net/wireless/nl80211.c + sizeof(*request->channels) * n_channels channels 8016 net/wireless/nl80211.c request->ssids = (void *)&request->channels[n_channels]; channels 8022 net/wireless/nl80211.c request->ie = (void *)(request->channels + n_channels); channels 8033 net/wireless/nl80211.c (void *)(request->channels + n_channels); channels 8045 net/wireless/nl80211.c request->scan_plans = (void *)(request->channels + n_channels); channels 8068 net/wireless/nl80211.c request->channels[i] = chan; channels 8081 net/wireless/nl80211.c chan = &wiphy->bands[band]->channels[j]; channels 8086 net/wireless/nl80211.c request->channels[i] = chan; channels 9973 net/wireless/nl80211.c connect.edmg.channels = channels 11253 net/wireless/nl80211.c if (nla_put_u32(msg, i, req->channels[i]->center_freq)) channels 14839 net/wireless/nl80211.c if (nla_put_u32(msg, i, req->channels[i]->center_freq)) channels 16556 net/wireless/nl80211.c if (nla_put_u32(msg, j, match->channels[j])) { channels 58 net/wireless/of.c struct ieee80211_channel *chan = &sband->channels[i]; channels 1813 net/wireless/reg.c handle_channel(wiphy, initiator, &sband->channels[i]); channels 1935 net/wireless/reg.c chan = &sband->channels[chan_idx]; channels 2042 net/wireless/reg.c struct ieee80211_channel *c = &sband->channels[i]; channels 2088 net/wireless/reg.c reg_process_ht_flags_channel(wiphy, &sband->channels[i]); channels 2334 net/wireless/reg.c handle_channel_custom(wiphy, &sband->channels[i], regd, channels 2696 net/wireless/reg.c dst_chan = &dst_sband->channels[i]; channels 2698 net/wireless/reg.c src_chan = &src_sband->channels[j]; channels 3144 net/wireless/reg.c chan = &sband->channels[i]; channels 2161 net/wireless/scan.c creq->ssids = (void *)&creq->channels[n_channels]; channels 2176 net/wireless/scan.c if (wiphy->bands[band]->channels[j].flags & channels 2186 net/wireless/scan.c int wiphy_freq = wiphy->bands[band]->channels[j].center_freq; channels 2200 net/wireless/scan.c creq->channels[i] = &wiphy->bands[band]->channels[j]; channels 82 net/wireless/sme.c sizeof(request->channels[0]) * n_channels, channels 96 net/wireless/sme.c request->channels[0] = wdev->conn->params.channel; channels 109 net/wireless/sme.c channel = &bands->channels[j]; channels 112 net/wireless/sme.c request->channels[i++] = channel; channels 119 net/wireless/sme.c request->ssids = (void *)&request->channels[n_channels]; channels 144 net/wireless/util.c if (sband->channels[i].center_freq == freq) channels 145 net/wireless/util.c return &sband->channels[i]; channels 194 net/wireless/wext-compat.c struct ieee80211_channel *chan = &sband->channels[i]; channels 505 sound/arm/aaci.c unsigned int channels = params_channels(params); channels 517 sound/arm/aaci.c if (dbl && channels != 2) channels 525 sound/arm/aaci.c err = snd_ac97_pcm_open(aacirun->pcm, rate, channels, channels 530 sound/arm/aaci.c aacirun->cr |= channels_to_slotmask[channels + dbl * 2]; channels 210 sound/atmel/ac97c.c switch (runtime->channels) { channels 292 sound/atmel/ac97c.c switch (runtime->channels) { channels 1936 sound/core/control.c int snd_ctl_enum_info(struct snd_ctl_elem_info *info, unsigned int channels, channels 1940 sound/core/control.c info->count = channels; channels 39 sound/core/oss/copy.c nchannels = plugin->src_format.channels; channels 78 sound/core/oss/copy.c if (snd_BUG_ON(src_format->channels != dst_format->channels)) channels 49 sound/core/oss/io.c int channel, channels = plugin->dst_format.channels; channels 53 sound/core/oss/io.c for (channel = 0; channel < channels; channel++) { channels 75 sound/core/oss/io.c int channel, channels = plugin->dst_format.channels; channels 79 sound/core/oss/io.c for (channel = 0; channel < channels; channel++) { channels 92 sound/core/oss/io.c struct snd_pcm_plugin_channel **channels) channels 100 sound/core/oss/io.c *channels = v; channels 102 sound/core/oss/io.c for (channel = 0; channel < plugin->src_format.channels; ++channel, ++v) channels 123 sound/core/oss/io.c format.channels = params_channels(params); channels 126 sound/core/oss/io.c sizeof(void *) * format.channels, channels 62 sound/core/oss/linear.c int nchannels = plugin->src_format.channels; channels 100 sound/core/oss/linear.c for (channel = 0; channel < plugin->src_format.channels; channel++) { channels 164 sound/core/oss/linear.c if (snd_BUG_ON(src_format->channels != dst_format->channels)) channels 486 sound/core/oss/mixer_oss.c unsigned int channels; channels 925 sound/core/oss/mixer_oss.c if (info->count > slot->channels) channels 926 sound/core/oss/mixer_oss.c slot->channels = info->count; channels 1086 sound/core/oss/mixer_oss.c rslot->stereo = slot.channels > 1 ? 1 : 0; channels 175 sound/core/oss/mulaw.c int nchannels = plugin->src_format.channels; channels 221 sound/core/oss/mulaw.c int nchannels = plugin->src_format.channels; channels 262 sound/core/oss/mulaw.c for (channel = 0; channel < plugin->src_format.channels; channel++) { channels 317 sound/core/oss/mulaw.c if (snd_BUG_ON(src_format->channels != dst_format->channels)) channels 876 sound/core/oss/pcm_oss.c snd_pcm_hw_param_near(substream, sparams, SNDRV_PCM_HW_PARAM_CHANNELS, runtime->oss.channels, NULL); channels 914 sound/core/oss/pcm_oss.c runtime->oss.channels, 0); channels 1048 sound/core/oss/pcm_oss.c runtime->oss.channels = params_channels(params); channels 1341 sound/core/oss/pcm_oss.c struct snd_pcm_plugin_channel *channels; channels 1342 sound/core/oss/pcm_oss.c size_t oss_frame_bytes = (runtime->oss.plugin_first->src_width * runtime->oss.plugin_first->src_format.channels) / 8; channels 1349 sound/core/oss/pcm_oss.c frames1 = snd_pcm_plug_client_channels_buf(substream, (char *)buf, frames, &channels); channels 1352 sound/core/oss/pcm_oss.c frames1 = snd_pcm_plug_write_transfer(substream, channels, frames1); channels 1452 sound/core/oss/pcm_oss.c struct snd_pcm_plugin_channel *channels; channels 1453 sound/core/oss/pcm_oss.c size_t oss_frame_bytes = (runtime->oss.plugin_last->dst_width * runtime->oss.plugin_last->dst_format.channels) / 8; channels 1457 sound/core/oss/pcm_oss.c frames1 = snd_pcm_plug_client_channels_buf(substream, buf, frames, &channels); channels 1460 sound/core/oss/pcm_oss.c frames1 = snd_pcm_plug_read_transfer(substream, channels, frames1); channels 1759 sound/core/oss/pcm_oss.c static int snd_pcm_oss_set_channels(struct snd_pcm_oss_file *pcm_oss_file, unsigned int channels) channels 1762 sound/core/oss/pcm_oss.c if (channels < 1) channels 1763 sound/core/oss/pcm_oss.c channels = 1; channels 1764 sound/core/oss/pcm_oss.c if (channels > 128) channels 1777 sound/core/oss/pcm_oss.c if (runtime->oss.channels != channels) { channels 1779 sound/core/oss/pcm_oss.c runtime->oss.channels = channels; channels 1793 sound/core/oss/pcm_oss.c return substream->runtime->oss.channels; channels 2352 sound/core/oss/pcm_oss.c runtime->oss.channels = 1; channels 64 sound/core/oss/pcm_plugin.c size = frames * format->channels * width; channels 79 sound/core/oss/pcm_plugin.c for (channel = 0; channel < format->channels; channel++, c++) { channels 85 sound/core/oss/pcm_plugin.c c->area.step = format->channels * width; channels 88 sound/core/oss/pcm_plugin.c if (snd_BUG_ON(size % format->channels)) channels 90 sound/core/oss/pcm_plugin.c size /= format->channels; channels 91 sound/core/oss/pcm_plugin.c for (channel = 0; channel < format->channels; channel++, c++) { channels 140 sound/core/oss/pcm_plugin.c struct snd_pcm_plugin_channel **channels) channels 142 sound/core/oss/pcm_plugin.c *channels = plugin->buf_channels; channels 154 sound/core/oss/pcm_plugin.c unsigned int channels; channels 174 sound/core/oss/pcm_plugin.c channels = src_format->channels; channels 176 sound/core/oss/pcm_plugin.c channels = dst_format->channels; channels 177 sound/core/oss/pcm_plugin.c plugin->buf_channels = kcalloc(channels, sizeof(*plugin->buf_channels), GFP_KERNEL); channels 409 sound/core/oss/pcm_plugin.c dstformat.channels = params_channels(slave_params); channels 412 sound/core/oss/pcm_plugin.c srcformat.channels = params_channels(params); channels 420 sound/core/oss/pcm_plugin.c dstformat.channels = params_channels(params); channels 423 sound/core/oss/pcm_plugin.c srcformat.channels = params_channels(slave_params); channels 437 sound/core/oss/pcm_plugin.c srcformat.channels); channels 441 sound/core/oss/pcm_plugin.c dstformat.channels); channels 464 sound/core/oss/pcm_plugin.c if (srcformat.channels > dstformat.channels) { channels 465 sound/core/oss/pcm_plugin.c tmpformat.channels = dstformat.channels; channels 467 sound/core/oss/pcm_plugin.c pdprintf("channels reduction: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels, err); channels 543 sound/core/oss/pcm_plugin.c if (srcformat.channels < dstformat.channels) { channels 544 sound/core/oss/pcm_plugin.c tmpformat.channels = dstformat.channels; channels 546 sound/core/oss/pcm_plugin.c pdprintf("channels extension: src=%i, dst=%i returns %i\n", srcformat.channels, tmpformat.channels, err); channels 580 sound/core/oss/pcm_plugin.c struct snd_pcm_plugin_channel **channels) channels 598 sound/core/oss/pcm_plugin.c *channels = v; channels 601 sound/core/oss/pcm_plugin.c nchannels = format->channels; channels 603 sound/core/oss/pcm_plugin.c format->channels > 1)) channels 36 sound/core/oss/pcm_plugin.h unsigned int channels; channels 51 sound/core/oss/pcm_plugin.h struct snd_pcm_plugin_channel **channels); channels 127 sound/core/oss/pcm_plugin.h struct snd_pcm_plugin_channel **channels); channels 131 sound/core/oss/pcm_plugin.h struct snd_pcm_plugin_channel **channels); channels 50 sound/core/oss/rate.c struct rate_channel channels[0]; channels 58 sound/core/oss/rate.c for (channel = 0; channel < plugin->src_format.channels; channel++) { channels 59 sound/core/oss/rate.c data->channels[channel].last_S1 = 0; channels 60 sound/core/oss/rate.c data->channels[channel].last_S2 = 0; channels 77 sound/core/oss/rate.c struct rate_channel *rchannels = data->channels; channels 79 sound/core/oss/rate.c for (channel = 0; channel < plugin->src_format.channels; channel++) { channels 136 sound/core/oss/rate.c struct rate_channel *rchannels = data->channels; channels 138 sound/core/oss/rate.c for (channel = 0; channel < plugin->src_format.channels; ++channel) { channels 264 sound/core/oss/rate.c for (channel = 0; channel < plugin->src_format.channels; channel++) { channels 313 sound/core/oss/rate.c if (snd_BUG_ON(src_format->channels != dst_format->channels)) channels 315 sound/core/oss/rate.c if (snd_BUG_ON(src_format->channels <= 0)) channels 326 sound/core/oss/rate.c struct_size(data, channels, channels 327 sound/core/oss/rate.c src_format->channels), channels 63 sound/core/oss/route.c nsrcs = plugin->src_format.channels; channels 64 sound/core/oss/route.c ndsts = plugin->dst_format.channels; channels 395 sound/core/pcm.c snd_iprintf(buffer, "channels: %u\n", runtime->channels); channels 402 sound/core/pcm.c snd_iprintf(buffer, "OSS channels: %u\n", runtime->oss.channels); channels 409 sound/core/pcm_compat.c if ((ch = substream->runtime->channels) > 128) channels 1708 sound/core/pcm_lib.c info->step = runtime->channels * width; channels 1713 sound/core/pcm_lib.c size_t size = runtime->dma_bytes / runtime->channels; channels 1730 sound/core/pcm_lib.c int channels; channels 1736 sound/core/pcm_lib.c channels = params_channels(params); channels 1737 sound/core/pcm_lib.c frame_size = snd_pcm_format_size(format, channels); channels 1917 sound/core/pcm_lib.c channel * (runtime->dma_bytes / runtime->channels); channels 2010 sound/core/pcm_lib.c int channels = runtime->channels; channels 2021 sound/core/pcm_lib.c for (c = 0; c < channels; ++c, ++bufs) { channels 2127 sound/core/pcm_lib.c runtime->channels > 1) channels 2257 sound/core/pcm_lib.c { .channels = 1, channels 2259 sound/core/pcm_lib.c { .channels = 2, channels 2261 sound/core/pcm_lib.c { .channels = 4, channels 2264 sound/core/pcm_lib.c { .channels = 6, channels 2268 sound/core/pcm_lib.c { .channels = 8, channels 2279 sound/core/pcm_lib.c { .channels = 1, channels 2281 sound/core/pcm_lib.c { .channels = 2, channels 2283 sound/core/pcm_lib.c { .channels = 4, channels 2286 sound/core/pcm_lib.c { .channels = 6, channels 2290 sound/core/pcm_lib.c { .channels = 8, channels 2339 sound/core/pcm_lib.c for (map = info->chmap; map->channels; map++) { channels 2341 sound/core/pcm_lib.c if (map->channels == substream->runtime->channels && channels 2342 sound/core/pcm_lib.c valid_chmap_channels(info, map->channels)) { channels 2343 sound/core/pcm_lib.c for (i = 0; i < map->channels; i++) channels 2370 sound/core/pcm_lib.c for (map = info->chmap; map->channels; map++) { channels 2371 sound/core/pcm_lib.c int chs_bytes = map->channels * 4; channels 2372 sound/core/pcm_lib.c if (!valid_chmap_channels(info, map->channels)) channels 2386 sound/core/pcm_lib.c for (c = 0; c < map->channels; c++) { channels 683 sound/core/pcm_native.c runtime->channels = params_channels(params); channels 697 sound/core/pcm_native.c bits *= runtime->channels; channels 971 sound/core/pcm_native.c if (channel >= runtime->channels) channels 2852 sound/core/pcm_native.c if (runtime->channels > 128) channels 2859 sound/core/pcm_native.c bufs = memdup_user(xfern.bufs, sizeof(void *) * runtime->channels); channels 3129 sound/core/pcm_native.c if (to->nr_segs > 1024 || to->nr_segs != runtime->channels) channels 3165 sound/core/pcm_native.c if (from->nr_segs > 128 || from->nr_segs != runtime->channels || channels 1179 sound/core/seq/seq_clientmgr.c info->channels = 256; /* fixed limit */ channels 81 sound/core/seq/seq_midi_emul.c if (chanset->channels == NULL) channels 93 sound/core/seq/seq_midi_emul.c chan = chanset->channels + dest_channel; channels 381 sound/core/seq/seq_midi_emul.c struct snd_midi_channel *chan = chset->channels + i; channels 532 sound/core/seq/seq_midi_emul.c chset->channels[p].drum_channel = 1; channels 534 sound/core/seq/seq_midi_emul.c chset->channels[p].drum_channel = 0; channels 541 sound/core/seq/seq_midi_emul.c ! chset->channels[p].drum_channel) { channels 543 sound/core/seq/seq_midi_emul.c chset->channels[p].midi_program = buf[7]; channels 572 sound/core/seq/seq_midi_emul.c if (chset->channels[i].drum_channel) channels 573 sound/core/seq/seq_midi_emul.c chset->channels[i].control[MIDI_CTL_MSB_BANK] = 127; channels 575 sound/core/seq/seq_midi_emul.c chset->channels[i].control[MIDI_CTL_MSB_BANK] = 0; channels 663 sound/core/seq/seq_midi_emul.c struct snd_midi_channel *chan = chset->channels + ch; channels 686 sound/core/seq/seq_midi_emul.c chset->channels = snd_midi_channel_init_set(n); channels 713 sound/core/seq/seq_midi_emul.c kfree(chset->channels); channels 75 sound/drivers/aloop.c unsigned int channels; channels 208 sound/drivers/aloop.c runtime->channels != cruntime->channels; channels 231 sound/drivers/aloop.c if (setup->channels != runtime->channels) { channels 234 sound/drivers/aloop.c setup->channels = runtime->channels; channels 313 sound/drivers/aloop.c cable->hw.channels_min = runtime->channels; channels 314 sound/drivers/aloop.c cable->hw.channels_max = runtime->channels; channels 327 sound/drivers/aloop.c runtime->channels) / 8; channels 338 sound/drivers/aloop.c runtime->buffer_size * runtime->channels); channels 375 sound/drivers/aloop.c runtime->channels); channels 956 sound/drivers/aloop.c [kcontrol->id.device].channels; channels 1029 sound/drivers/aloop.c setup->channels = 2; channels 156 sound/drivers/vx/vx_pcm.c if (runtime->channels == 1) channels 426 sound/drivers/vx/vx_pcm.c pipe->channels = num_audio; channels 818 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, 0, pipe->number, pipe->channels); channels 154 sound/firewire/amdtp-am824.c unsigned int channels = p->pcm_channels; channels 169 sound/firewire/amdtp-am824.c for (c = 0; c < channels; ++c) { channels 185 sound/firewire/amdtp-am824.c unsigned int channels = p->pcm_channels; channels 200 sound/firewire/amdtp-am824.c for (c = 0; c < channels; ++c) { channels 214 sound/firewire/amdtp-am824.c unsigned int i, c, channels = p->pcm_channels; channels 217 sound/firewire/amdtp-am824.c for (c = 0; c < channels; ++c) channels 235 sound/firewire/bebob/bebob_focusrite.c unsigned int channels; channels 244 sound/firewire/bebob/bebob_focusrite.c channels = spec->num * 2; channels 245 sound/firewire/bebob/bebob_focusrite.c if (size < channels * sizeof(u32)) channels 632 sound/firewire/bebob/bebob_maudio.c unsigned int i, c, channels; channels 635 sound/firewire/bebob/bebob_maudio.c channels = ARRAY_SIZE(special_meter_labels) * 2; channels 636 sound/firewire/bebob/bebob_maudio.c if (size < channels * sizeof(u32)) channels 650 sound/firewire/bebob/bebob_maudio.c for (c = 2; c < channels + 2; c++) channels 691 sound/firewire/bebob/bebob_maudio.c unsigned int c, channels; channels 694 sound/firewire/bebob/bebob_maudio.c channels = spec->num * 2; channels 695 sound/firewire/bebob/bebob_maudio.c if (size < channels * sizeof(u32)) channels 702 sound/firewire/bebob/bebob_maudio.c for (c = 0; c < channels; c++) channels 77 sound/firewire/bebob/bebob_proc.c unsigned int i, c, channels, size; channels 82 sound/firewire/bebob/bebob_proc.c channels = spec->num * 2; channels 83 sound/firewire/bebob/bebob_proc.c size = channels * sizeof(u32); channels 91 sound/firewire/bebob/bebob_proc.c for (i = 0, c = 1; i < channels; i++) { channels 94 sound/firewire/bebob/bebob_proc.c if ((i + 1 < channels - 1) && channels 257 sound/firewire/bebob/bebob_stream.c unsigned int sec, sections, ch, channels; channels 316 sound/firewire/bebob/bebob_stream.c channels = buf[pos++]; channels 318 sound/firewire/bebob/bebob_stream.c for (ch = 0; ch < channels; ch++) { channels 330 sound/firewire/bebob/bebob_stream.c if (sec_loc >= channels) channels 368 sound/firewire/bebob/bebob_stream.c pcm += channels; channels 370 sound/firewire/bebob/bebob_stream.c midi += channels; channels 716 sound/firewire/bebob/bebob_stream.c unsigned int i, e, channels, format; channels 738 sound/firewire/bebob/bebob_stream.c channels = buf[5 + e * 2]; channels 746 sound/firewire/bebob/bebob_stream.c formation[i].pcm += channels; channels 750 sound/firewire/bebob/bebob_stream.c formation[i].midi += channels; channels 60 sound/firewire/dice/dice-pcm.c struct snd_interval channels = { channels 80 sound/firewire/dice/dice-pcm.c channels.min = min(channels.min, pcm_channels[mode]); channels 81 sound/firewire/dice/dice-pcm.c channels.max = max(channels.max, pcm_channels[mode]); channels 84 sound/firewire/dice/dice-pcm.c return snd_interval_refine(c, &channels); channels 106 sound/firewire/dice/dice-pcm.c unsigned int rate, channels; channels 113 sound/firewire/dice/dice-pcm.c channels = pcm_channels[mode]; channels 114 sound/firewire/dice/dice-pcm.c if (channels == 0) channels 116 sound/firewire/dice/dice-pcm.c hw->channels_min = min(hw->channels_min, channels); channels 117 sound/firewire/dice/dice-pcm.c hw->channels_max = max(hw->channels_max, channels); channels 150 sound/firewire/digi00x/amdtp-dot.c unsigned int channels = p->pcm_channels; channels 166 sound/firewire/digi00x/amdtp-dot.c for (c = 0; c < channels; ++c) { channels 182 sound/firewire/digi00x/amdtp-dot.c unsigned int channels = p->pcm_channels; channels 198 sound/firewire/digi00x/amdtp-dot.c for (c = 0; c < channels; ++c) { channels 212 sound/firewire/digi00x/amdtp-dot.c unsigned int channels, i, c; channels 214 sound/firewire/digi00x/amdtp-dot.c channels = p->pcm_channels; channels 218 sound/firewire/digi00x/amdtp-dot.c for (c = 0; c < channels; ++c) channels 35 sound/firewire/fireface/amdtp-ff.c unsigned int channels = p->pcm_channels; channels 50 sound/firewire/fireface/amdtp-ff.c for (c = 0; c < channels; ++c) { channels 65 sound/firewire/fireface/amdtp-ff.c unsigned int channels = p->pcm_channels; channels 80 sound/firewire/fireface/amdtp-ff.c for (c = 0; c < channels; ++c) { channels 94 sound/firewire/fireface/amdtp-ff.c unsigned int i, c, channels = p->pcm_channels; channels 97 sound/firewire/fireface/amdtp-ff.c for (c = 0; c < channels; ++c) channels 75 sound/firewire/fireface/ff-pcm.c unsigned int rate, channels; channels 91 sound/firewire/fireface/ff-pcm.c channels = pcm_channels[mode]; channels 94 sound/firewire/fireface/ff-pcm.c hw->channels_min = min(hw->channels_min, channels); channels 95 sound/firewire/fireface/ff-pcm.c hw->channels_max = max(hw->channels_max, channels); channels 125 sound/firewire/motu/amdtp-motu.c unsigned int channels = p->pcm_chunks; channels 143 sound/firewire/motu/amdtp-motu.c for (c = 0; c < channels; ++c) { channels 161 sound/firewire/motu/amdtp-motu.c unsigned int channels = p->pcm_chunks; channels 179 sound/firewire/motu/amdtp-motu.c for (c = 0; c < channels; ++c) { channels 197 sound/firewire/motu/amdtp-motu.c unsigned int channels, i, c; channels 200 sound/firewire/motu/amdtp-motu.c channels = p->pcm_chunks; channels 205 sound/firewire/motu/amdtp-motu.c for (c = 0; c < channels; ++c) { channels 50 sound/firewire/motu/motu-pcm.c struct snd_interval channels = { channels 64 sound/firewire/motu/motu-pcm.c channels.min = min(channels.min, pcm_channels); channels 65 sound/firewire/motu/motu-pcm.c channels.max = max(channels.max, pcm_channels); channels 68 sound/firewire/motu/motu-pcm.c return snd_interval_refine(c, &channels); channels 223 sound/firewire/oxfw/oxfw-pcm.c unsigned int channels = params_channels(hw_params); channels 227 sound/firewire/oxfw/oxfw-pcm.c rate, channels); channels 248 sound/firewire/oxfw/oxfw-pcm.c unsigned int channels = params_channels(hw_params); channels 252 sound/firewire/oxfw/oxfw-pcm.c rate, channels); channels 495 sound/firewire/oxfw/oxfw-stream.c unsigned int i, e, channels, type; channels 518 sound/firewire/oxfw/oxfw-stream.c channels = format[5 + e * 2]; channels 526 sound/firewire/oxfw/oxfw-stream.c formation->pcm += channels; channels 530 sound/firewire/oxfw/oxfw-stream.c formation->midi = channels; channels 40 sound/firewire/tascam/amdtp-tascam.c unsigned int channels = p->pcm_channels; channels 55 sound/firewire/tascam/amdtp-tascam.c for (c = 0; c < channels; ++c) { channels 70 sound/firewire/tascam/amdtp-tascam.c unsigned int channels = p->pcm_channels; channels 88 sound/firewire/tascam/amdtp-tascam.c for (c = 0; c < channels; ++c) { channels 102 sound/firewire/tascam/amdtp-tascam.c unsigned int channels, i, c; channels 104 sound/firewire/tascam/amdtp-tascam.c channels = p->pcm_channels; channels 107 sound/firewire/tascam/amdtp-tascam.c for (c = 0; c < channels; ++c) channels 733 sound/hda/hdac_device.c unsigned int channels, channels 749 sound/hda/hdac_device.c if (channels == 0 || channels > 8) channels 751 sound/hda/hdac_device.c val |= channels - 1; channels 25 sound/hda/hdac_stream.c unsigned int channels = runtime->channels, channels 36 sound/hda/hdac_stream.c value = (channels * bits_per_sample * channels 39 sound/hda/hdac_stream.c value = (channels * bits_per_sample) / sdo_line; channels 226 sound/hda/hdmi_chmap.c p->channels = 0; channels 230 sound/hda/hdmi_chmap.c p->channels++; channels 269 sound/hda/hdmi_chmap.c int spk_alloc, int channels) channels 279 sound/hda/hdmi_chmap.c if (channels <= 2) channels 295 sound/hda/hdmi_chmap.c if (channels == channel_allocations[i].channels && channels 309 sound/hda/hdmi_chmap.c if (channels == channel_allocations[i].channels) { channels 318 sound/hda/hdmi_chmap.c ca, channels, buf); channels 356 sound/hda/hdmi_chmap.c for (i = 0; i < ch_alloc->channels; i++) { channels 370 sound/hda/hdmi_chmap.c for (i = 0; i < ch_alloc->channels; i++) channels 495 sound/hda/hdmi_chmap.c if ((chs == channel_allocations[i].channels || channels 496 sound/hda/hdmi_chmap.c spks == channel_allocations[i].channels) && channels 543 sound/hda/hdmi_chmap.c i < channel_allocations[ordered_ca].channels) channels 552 sound/hda/hdmi_chmap.c int channels, unsigned char *map, channels 557 sound/hda/hdmi_chmap.c channels, map, ca); channels 577 sound/hda/hdmi_chmap.c return channel_allocations[ordered_ca].channels; channels 588 sound/hda/hdmi_chmap.c int channels, bool chmap_set, bool non_pcm, unsigned char *map) channels 593 sound/hda/hdmi_chmap.c ca = hdmi_manual_channel_allocation(channels, map); channels 596 sound/hda/hdmi_chmap.c spk_alloc, channels); channels 622 sound/hda/hdmi_chmap.c struct hdac_cea_channel_speaker_allocation *cap, int channels) channels 625 sound/hda/hdmi_chmap.c if (cap->channels != channels) channels 634 sound/hda/hdmi_chmap.c unsigned int *chmap, int channels) channels 648 sound/hda/hdmi_chmap.c WARN_ON(count != channels); channels 697 sound/hda/hdmi_chmap.c if (cap->channels != chs) channels 77 sound/isa/ad1816a/ad1816a_lib.c int channels) channels 94 sound/isa/ad1816a/ad1816a_lib.c return (channels > 1) ? (retval | AD1816A_FMT_STEREO) : retval; channels 243 sound/isa/ad1816a/ad1816a_lib.c runtime->channels)); channels 275 sound/isa/ad1816a/ad1816a_lib.c runtime->channels)); channels 368 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, 0xa8, (snd_es1688_read(chip, 0xa8) & ~0x03) | (3 - runtime->channels)); channels 370 sound/isa/es1688/es1688_lib.c if (runtime->channels == 1) { channels 430 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, 0xa8, (snd_es1688_read(chip, 0xa8) & ~0x03) | (3 - runtime->channels)); channels 432 sound/isa/es1688/es1688_lib.c if (runtime->channels == 1) { channels 482 sound/isa/es18xx.c ((runtime->channels == 1) ? 0x00 : 0x02) | channels 575 sound/isa/es18xx.c snd_es18xx_bits(chip, 0xA8, 0x03, runtime->channels == 1 ? 0x02 : 0x01); channels 592 sound/isa/es18xx.c ((runtime->channels == 1) ? 0x40 : 0x08) | channels 641 sound/isa/es18xx.c snd_es18xx_bits(chip, 0xA8, 0x03, runtime->channels == 1 ? 0x02 : 0x01); channels 656 sound/isa/es18xx.c (runtime->channels == 1 ? 0x40 : 0x08) | channels 874 sound/isa/es18xx.c chip->capture_a_substream->runtime->channels != 1) channels 900 sound/isa/es18xx.c chip->playback_a_substream->runtime->channels != 1) channels 122 sound/isa/gus/gus_pcm.c begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels); channels 123 sound/isa/gus/gus_pcm.c curr = begin + (pcmp->bpos * pcmp->block_size) / runtime->channels; channels 124 sound/isa/gus/gus_pcm.c end = curr + (pcmp->block_size / runtime->channels); channels 131 sound/isa/gus/gus_pcm.c pan = runtime->channels == 2 ? (!voice ? 1 : 14) : 8; channels 214 sound/isa/gus/gus_pcm.c end = pcmp->memory + (((pcmp->bpos + 1) * pcmp->block_size) / runtime->channels); channels 216 sound/isa/gus/gus_pcm.c step = pcmp->dma_size / runtime->channels; channels 246 sound/isa/gus/gus_pcm.c if (runtime->channels > 1) { channels 542 sound/isa/gus/gus_pcm.c if (substream->runtime->channels > 1) channels 37 sound/isa/gus/gusclassic.c static int channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 24}; channels 56 sound/isa/gus/gusclassic.c module_param_array(channels, int, NULL, 0444); channels 57 sound/isa/gus/gusclassic.c MODULE_PARM_DESC(channels, "GF1 channels for " CRD_NAME " driver."); channels 100 sound/isa/gus/gusclassic.c 0, channels[n], pcm_channels[n], 0, rgus); channels 106 sound/isa/gus/gusclassic.c 0, channels[n], pcm_channels[n], 0, rgus); channels 45 sound/isa/gus/gusextreme.c static int channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 24}; channels 72 sound/isa/gus/gusextreme.c module_param_array(channels, int, NULL, 0444); channels 73 sound/isa/gus/gusextreme.c MODULE_PARM_DESC(channels, "GF1 channels for " CRD_NAME " driver."); channels 143 sound/isa/gus/gusextreme.c 0, channels[n], pcm_channels[n], 0, rgus); channels 35 sound/isa/gus/gusmax.c static int channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 24}; channels 54 sound/isa/gus/gusmax.c module_param_array(channels, int, NULL, 0444); channels 55 sound/isa/gus/gusmax.c MODULE_PARM_DESC(channels, "Used GF1 channels for GUS MAX driver."); channels 240 sound/isa/gus/gusmax.c 0, channels[dev], channels 252 sound/isa/gus/gusmax.c 0, channels[dev], channels 68 sound/isa/sb/emu8000_pcm.c emu8k_open_dram_for_pcm(struct snd_emu8000 *emu, int channels) channels 74 sound/isa/sb/emu8000_pcm.c if (channels > 1) channels 78 sound/isa/sb/emu8000_pcm.c for (i = channels + 1; i < EMU8000_DRAM_VOICES; i++) { channels 82 sound/isa/sb/emu8000_pcm.c if (channels > 1 && (i & 1) != 0) channels 615 sound/isa/sb/emu8000_pcm.c rec->voices = subs->runtime->channels; channels 87 sound/isa/sb/sb16_csp.c static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels); channels 230 sound/isa/sb/sb16_csp.c err = snd_sb_csp_start(p, start_info.sample_width, start_info.channels); channels 787 sound/isa/sb/sb16_csp.c static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels) channels 806 sound/isa/sb/sb16_csp.c if (!(channels & p->acc_channels)) { channels 823 sound/isa/sb/sb16_csp.c if (channels == SNDRV_SB_CSP_MONO) channels 837 sound/isa/sb/sb16_csp.c p->run_channels = channels; channels 76 sound/isa/sb/sb16_main.c (runtime->channels > 1) ? channels 114 sound/isa/sb/sb16_main.c (runtime->channels > 1) ? channels 257 sound/isa/sb/sb16_main.c format = runtime->channels > 1 ? SB_DSP4_MODE_UNS_STEREO : SB_DSP4_MODE_UNS_MONO; channels 259 sound/isa/sb/sb16_main.c format = runtime->channels > 1 ? SB_DSP4_MODE_SIGN_STEREO : SB_DSP4_MODE_SIGN_MONO; channels 327 sound/isa/sb/sb16_main.c format = runtime->channels > 1 ? SB_DSP4_MODE_UNS_STEREO : SB_DSP4_MODE_UNS_MONO; channels 329 sound/isa/sb/sb16_main.c format = runtime->channels > 1 ? SB_DSP4_MODE_SIGN_STEREO : SB_DSP4_MODE_SIGN_MONO; channels 97 sound/isa/sb/sb8_main.c unsigned char stereo = runtime->channels > 1; channels 112 sound/isa/sb/sb8_main.c if (runtime->channels > 1) { channels 213 sound/isa/sb/sb8_main.c if (runtime->channels > 1) { channels 247 sound/isa/sb/sb8_main.c unsigned char stereo = runtime->channels > 1; channels 262 sound/isa/sb/sb8_main.c if (runtime->channels > 1) { channels 350 sound/isa/sb/sb8_main.c if (runtime->channels > 1) { channels 531 sound/isa/wss/wss_lib.c int channels) channels 543 sound/isa/wss/wss_lib.c if (channels > 1) channels 378 sound/mips/ad1843.c unsigned int channels) channels 402 sound/mips/ad1843.c switch (channels) { channels 437 sound/mips/ad1843.c unsigned int channels) channels 553 sound/mips/hal2.c dac->voices = runtime->channels; channels 642 sound/mips/hal2.c adc->voices = runtime->channels; channels 619 sound/mips/sgio2audio.c runtime->channels); channels 625 sound/mips/sgio2audio.c runtime->channels); channels 412 sound/parisc/harmony.c if (rt->channels == 2) channels 442 sound/parisc/harmony.c if (rt->channels == 2) channels 686 sound/pci/ac97/ac97_pcm.c struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); channels 687 sound/pci/ac97/ac97_pcm.c if (channels->min > 2) { channels 707 sound/pci/ac97/ac97_pcm.c struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); channels 708 sound/pci/ac97/ac97_pcm.c return snd_interval_refine(channels, &double_rate_channels); channels 367 sound/pci/ad1889.c if (rt->channels > 1) channels 417 sound/pci/ad1889.c if (rt->channels > 1) channels 1058 sound/pci/ali5451/ali5451.c if (runtime->channels > 1) channels 314 sound/pci/als4000.c if (runtime->channels > 1) channels 1121 sound/pci/asihpi/hpi.h u16 channels; /**< 1,2..., (or ancillary mode or idle bit */ channels 1721 sound/pci/asihpi/hpi.h u16 hpi_format_create(struct hpi_format *p_format, u16 channels, u16 format, channels 569 sound/pci/asihpi/hpi_internal.h u16 channels; /**< 1,2..., (or ancillary mode or idle bit */ channels 1234 sound/pci/asihpi/hpi_internal.h u8 channels; channels 68 sound/pci/asihpi/hpifunc.c pMF->channels = pF->channels; channels 78 sound/pci/asihpi/hpifunc.c pF->channels = pMF->channels; channels 284 sound/pci/asihpi/hpifunc.c u16 hpi_format_create(struct hpi_format *p_format, u16 channels, u16 format, channels 290 sound/pci/asihpi/hpifunc.c switch (channels) { channels 302 sound/pci/asihpi/hpifunc.c fmt.channels = channels; channels 346 sound/pci/asihpi/hpifunc.c fmt.bit_rate = channels * sample_rate * 2; channels 350 sound/pci/asihpi/hpifunc.c fmt.bit_rate = channels * sample_rate * 4; channels 353 sound/pci/asihpi/hpifunc.c fmt.bit_rate = channels * sample_rate; channels 361 sound/pci/asihpi/hpifunc.c if ((channels == 1) channels 385 sound/pci/asihpi/hpifunc.c u16 channels; channels 388 sound/pci/asihpi/hpifunc.c channels = pF->channels; channels 393 sound/pci/asihpi/hpifunc.c bytes_per_second = pF->sample_rate * 2L * channels; channels 396 sound/pci/asihpi/hpifunc.c bytes_per_second = pF->sample_rate * 3L * channels; channels 400 sound/pci/asihpi/hpifunc.c bytes_per_second = pF->sample_rate * 4L * channels; channels 403 sound/pci/asihpi/hpifunc.c bytes_per_second = pF->sample_rate * 1L * channels; channels 665 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.format.channels = mode; channels 1037 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.format.channels = idle_bit; channels 895 sound/pci/atiixp.c switch (substream->runtime->channels) { channels 926 sound/pci/atiixp.c substream->runtime->channels >= 6 ? ATI_REG_6CH_REORDER_EN: 0); channels 327 sound/pci/au88x0/au88x0_pcm.c runtime->channels == 1 ? 0 : 1, 0); channels 1226 sound/pci/azt3328.c unsigned int channels channels 1266 sound/pci/azt3328.c if (channels == 2) channels 1457 sound/pci/azt3328.c runtime->channels); channels 1490 sound/pci/azt3328.c runtime->channels); channels 765 sound/pci/ca0106/ca0106_main.c runtime->channels, runtime->buffer_size, channels 872 sound/pci/ca0106/ca0106_main.c runtime->channels, runtime->buffer_size, channels 1332 sound/pci/ca0106/ca0106_main.c { .channels = 2, channels 1338 sound/pci/ca0106/ca0106_main.c { .channels = 2, channels 1344 sound/pci/ca0106/ca0106_main.c { .channels = 2, channels 726 sound/pci/cmipci.c static int set_dac_channels(struct cmipci *cm, struct cmipci_pcm *rec, int channels) channels 728 sound/pci/cmipci.c if (channels > 2) { channels 737 sound/pci/cmipci.c if (channels > 2) { channels 744 sound/pci/cmipci.c if (channels == 8) channels 748 sound/pci/cmipci.c if (channels == 6) { channels 755 sound/pci/cmipci.c if (channels == 4) channels 783 sound/pci/cmipci.c if (runtime->channels > 1) channels 785 sound/pci/cmipci.c if (rec->is_dac && set_dac_channels(cm, rec, runtime->channels) < 0) { channels 794 sound/pci/cmipci.c if (runtime->channels > 2) { channels 796 sound/pci/cmipci.c rec->dma_size = (rec->dma_size * runtime->channels) / 2; channels 797 sound/pci/cmipci.c period_size = (period_size * runtime->channels) / 2; channels 951 sound/pci/cmipci.c if (substream->runtime->channels > 2) channels 952 sound/pci/cmipci.c ptr = (ptr * 2) / substream->runtime->channels; channels 1291 sound/pci/cmipci.c substream->runtime->channels == 2); channels 1335 sound/pci/cmipci.c if (runtime->channels > 2) channels 726 sound/pci/cs4281.c if (runtime->channels == 1) channels 734 sound/pci/cs4281.c if (runtime->channels == 1) channels 1228 sound/pci/cs46xx/cs46xx_lib.c if (runtime->channels == 1) { channels 249 sound/pci/ctxfi/ctatc.c int n_amixer = apcm->substream->runtime->channels, i = 0; channels 257 sound/pci/ctxfi/ctatc.c desc.multi = apcm->substream->runtime->channels; channels 470 sound/pci/ctxfi/ctatc.c *n_srcc = apcm->substream->runtime->channels; channels 486 sound/pci/ctxfi/ctatc.c *n_srcc = apcm->substream->runtime->channels * 2; channels 494 sound/pci/ctxfi/ctatc.c *n_srcc = apcm->substream->runtime->channels; channels 523 sound/pci/ctxfi/ctatc.c multi = apcm->substream->runtime->channels; channels 622 sound/pci/ctxfi/ctatc.c src_dsc.multi = apcm->substream->runtime->channels; channels 667 sound/pci/ctxfi/ctatc.c multi = apcm->substream->runtime->channels; channels 732 sound/pci/ctxfi/ctatc.c multi = apcm->substream->runtime->channels; channels 791 sound/pci/ctxfi/ctatc.c int n_amixer = apcm->substream->runtime->channels, i; channels 798 sound/pci/ctxfi/ctatc.c desc.multi = apcm->substream->runtime->channels; channels 399 sound/pci/ctxfi/ctpcm.c { .channels = 1, channels 401 sound/pci/ctxfi/ctpcm.c { .channels = 2, channels 407 sound/pci/ctxfi/ctpcm.c { .channels = 1, channels 409 sound/pci/ctxfi/ctpcm.c { .channels = 2, channels 415 sound/pci/ctxfi/ctpcm.c { .channels = 1, channels 417 sound/pci/ctxfi/ctpcm.c { .channels = 2, channels 688 sound/pci/echoaudio/echoaudio.c runtime->rate, runtime->format, runtime->channels); channels 689 sound/pci/echoaudio/echoaudio.c format.interleave = runtime->channels; channels 825 sound/pci/emu10k1/emu10k1x.c { .channels = 2, channels 831 sound/pci/emu10k1/emu10k1x.c { .channels = 2, channels 1018 sound/pci/emu10k1/emufx.c if (ipcm->channels > 32) channels 1027 sound/pci/emu10k1/emufx.c if (ipcm->channels == 0) { /* remove */ channels 1031 sound/pci/emu10k1/emufx.c if (ipcm->channels != 2) { channels 1037 sound/pci/emu10k1/emufx.c pcm->channels = ipcm->channels; channels 1046 sound/pci/emu10k1/emufx.c for (i = 0; i < pcm->channels; i++) channels 1069 sound/pci/emu10k1/emufx.c ipcm->channels = pcm->channels; channels 1078 sound/pci/emu10k1/emufx.c for (i = 0; i < pcm->channels; i++) channels 1900 sound/pci/emu10k1/emufx.c ipcm->channels = 2; channels 286 sound/pci/emu10k1/emupcm.c stereo = runtime->channels == 2; channels 497 sound/pci/emu10k1/emupcm.c if (runtime->channels == 2) { channels 621 sound/pci/emu10k1/emupcm.c if (runtime->channels > 1) channels 639 sound/pci/emu10k1/emupcm.c stereo = (!extra && runtime->channels == 2); channels 681 sound/pci/emu10k1/emupcm.c tmp = runtime->channels == 2 ? (master ? 1 : 2) : 0; channels 1650 sound/pci/emu10k1/emupcm.c for (i = 0; i < pcm->channels; i++) channels 1680 sound/pci/emu10k1/emupcm.c for (i = 0; i < pcm->channels; i++) channels 1681 sound/pci/emu10k1/emupcm.c snd_emu10k1_ptr_write(emu, TANKMEMADDRREGBASE + 0x80 + pcm->etram[i], 0, (TANKMEMADDRREG_READ|TANKMEMADDRREG_ALIGN) + i * (runtime->buffer_size / pcm->channels)); channels 1771 sound/pci/emu10k1/emupcm.c runtime->hw.channels_min = runtime->hw.channels_max = pcm->channels; channels 331 sound/pci/emu10k1/p16v.c channel, runtime->rate, runtime->format, runtime->channels, channels 880 sound/pci/ens1370.c if (runtime->channels > 1) channels 928 sound/pci/ens1370.c if (runtime->channels > 1) channels 968 sound/pci/ens1370.c if (runtime->channels > 1) channels 1249 sound/pci/ens1370.c { .channels = 1, channels 1251 sound/pci/ens1370.c { .channels = 2, channels 619 sound/pci/es1938.c mono = (runtime->channels > 1) ? 0 : 1; channels 667 sound/pci/es1938.c mono = (runtime->channels > 1) ? 0 : 1; channels 704 sound/pci/es1938.c mono = (runtime->channels > 1) ? 0 : 1; channels 1219 sound/pci/es1968.c if (runtime->channels > 1) { channels 339 sound/pci/fm801.c static const unsigned int channels[] = { channels 344 sound/pci/fm801.c .count = ARRAY_SIZE(channels), channels 345 sound/pci/fm801.c .list = channels, channels 462 sound/pci/fm801.c if (runtime->channels > 1) { channels 464 sound/pci/fm801.c if (runtime->channels == 4) channels 466 sound/pci/fm801.c else if (runtime->channels == 6) channels 494 sound/pci/fm801.c if (runtime->channels > 1) channels 3045 sound/pci/hda/hda_codec.c { .channels = 2, channels 3047 sound/pci/hda/hda_codec.c { .channels = 4, channels 3739 sound/pci/hda/hda_codec.c int chs = substream->runtime->channels; channels 172 sound/pci/hda/hda_controller.c runtime->channels, channels 179 sound/pci/hda/hda_controller.c runtime->rate, runtime->channels, runtime->format); channels 157 sound/pci/hda/hda_eld.c a->channels = GRAB_BITS(buf, 0, 0, 3); channels 158 sound/pci/hda/hda_eld.c a->channels++; channels 393 sound/pci/hda/hda_eld.c a->channels, buf, buf2); channels 423 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "sad%d_channels\t\t%d\n", i, a->channels); channels 538 sound/pci/hda/hda_eld.c e->sad[n].channels = val; channels 575 sound/pci/hda/hda_eld.c if (a->channels > channels_max) channels 576 sound/pci/hda/hda_eld.c channels_max = a->channels; channels 653 sound/pci/hda/hda_local.h int channels; channels 1526 sound/pci/hda/patch_ca0132.c int streamid, unsigned int channels) channels 1531 sound/pci/hda/patch_ca0132.c CONTROL_PARAM_STREAMS_CHANNELS, channels); channels 2609 sound/pci/hda/patch_ca0132.c unsigned short channels, channels 2615 sound/pci/hda/patch_ca0132.c channels, SNDRV_PCM_FORMAT_S32_LE, 32, 0); channels 2984 sound/pci/hda/patch_ca0132.c unsigned short channels, channels 3010 sound/pci/hda/patch_ca0132.c dma_convert_to_hda_format(codec, sample_rate, channels, &hda_format); channels 3142 sound/pci/hda/patch_ca0132.c unsigned short channels; channels 3153 sound/pci/hda/patch_ca0132.c channels = (unsigned short)router_chans; channels 3155 sound/pci/hda/patch_ca0132.c while (channels > 16) { channels 3157 sound/pci/hda/patch_ca0132.c channels /= 2; channels 3169 sound/pci/hda/patch_ca0132.c status = dspxfr_image(codec, fls, reloc, sample_rate, channels, channels 6260 sound/pci/hda/patch_ca0132.c { .channels = 2, channels 6262 sound/pci/hda/patch_ca0132.c { .channels = 4, channels 6265 sound/pci/hda/patch_ca0132.c { .channels = 6, channels 95 sound/pci/hda/patch_hdmi.c int channels; /* current number of channels */ channels 718 sound/pci/hda/patch_hdmi.c int channels = per_pin->channels; channels 723 sound/pci/hda/patch_hdmi.c if (!channels) channels 735 sound/pci/hda/patch_hdmi.c eld->info.spk_alloc, channels, channels 748 sound/pci/hda/patch_hdmi.c pin_nid, non_pcm, ca, channels, channels 1424 sound/pci/hda/patch_hdmi.c per_pin->channels = substream->runtime->channels; channels 1441 sound/pci/hda/patch_hdmi.c per_pin->channels = 0; channels 1931 sound/pci/hda/patch_hdmi.c per_pin->channels = substream->runtime->channels; channels 2020 sound/pci/hda/patch_hdmi.c per_pin->channels = 0; channels 3200 sound/pci/hda/patch_hdmi.c int channels) channels 3203 sound/pci/hda/patch_hdmi.c int chan = channels ? (channels - 1) : 1; channels 3205 sound/pci/hda/patch_hdmi.c switch (channels) { channels 3274 sound/pci/hda/patch_hdmi.c chs = substream->runtime->channels; channels 3458 sound/pci/hda/patch_hdmi.c struct hdac_cea_channel_speaker_allocation *cap, int channels) channels 3460 sound/pci/hda/patch_hdmi.c if (cap->ca_index == 0x00 && channels == 2) channels 3464 sound/pci/hda/patch_hdmi.c if (cap->channels != channels) channels 3861 sound/pci/hda/patch_hdmi.c int channels) channels 3874 sound/pci/hda/patch_hdmi.c if ((channels % 2) != 0) channels 3882 sound/pci/hda/patch_hdmi.c if (chanpairs * 2 != channels) channels 3890 sound/pci/hda/patch_hdmi.c unsigned int *chmap, int channels) channels 3910 sound/pci/hda/patch_hdmi.c WARN_ON(count != channels); channels 8695 sound/pci/hda/patch_realtek.c { .channels = 2, channels 8697 sound/pci/hda/patch_realtek.c { .channels = 4, channels 583 sound/pci/ice1712/ice1712.c if (runtime->channels == 2) channels 615 sound/pci/ice1712/ice1712.c if (runtime->channels == 2) channels 631 sound/pci/ice1712/ice1712.c if (runtime->channels == 2) { channels 651 sound/pci/ice1712/ice1712.c if (runtime->channels == 2) channels 774 sound/pci/ice1712/ice1724.c val = (8 - substream->runtime->channels) >> 1; channels 946 sound/pci/intel8x0.c if (runtime->channels == 4 || dbl) channels 948 sound/pci/intel8x0.c else if (runtime->channels == 6) channels 955 sound/pci/intel8x0.c if (runtime->channels == 4 || dbl) channels 957 sound/pci/intel8x0.c else if (runtime->channels == 6) channels 964 sound/pci/intel8x0.c if (runtime->channels == 4 || dbl) channels 966 sound/pci/intel8x0.c else if (runtime->channels == 6) channels 968 sound/pci/intel8x0.c else if (runtime->channels == 8) channels 354 sound/pci/korg1212/korg1212.c int channels; channels 1299 sound/pci/korg1212/korg1212.c size = korg1212->channels * 2; channels 1336 sound/pci/korg1212/korg1212.c size = korg1212->channels * 2; channels 1393 sound/pci/korg1212/korg1212.c korg1212->channels = K1212_CHANNELS; channels 1424 sound/pci/korg1212/korg1212.c korg1212->channels = K1212_CHANNELS; channels 1441 sound/pci/korg1212/korg1212.c snd_korg1212_silence(korg1212, 0, K1212_MAX_SAMPLES, 0, korg1212->channels * 2); channels 1536 sound/pci/korg1212/korg1212.c korg1212->channels = params_channels(params); channels 1668 sound/pci/korg1212/korg1212.c 0, korg1212->channels * 2); channels 388 sound/pci/lola/lola_pcm.c verb |= substream->runtime->channels; channels 394 sound/pci/lola/lola_pcm.c int channels) channels 411 sound/pci/lola/lola_pcm.c for (i = 0; i < channels; i++) { channels 464 sound/pci/lola/lola_pcm.c if (str->index + runtime->channels > pcm->num_streams) { channels 468 sound/pci/lola/lola_pcm.c for (i = 1; i < runtime->channels; i++) { channels 491 sound/pci/lola/lola_pcm.c err = lola_set_stream_config(chip, str, runtime->channels); channels 102 sound/pci/lx6464es/lx6464es.c int channels = runtime->channels; channels 107 sound/pci/lx6464es/lx6464es.c dev_dbg(chip->card->dev, "allocating pipe for %d channels\n", channels); channels 108 sound/pci/lx6464es/lx6464es.c err = lx_pipe_allocate(chip, 0, is_capture, channels); channels 422 sound/pci/lx6464es/lx6464es.c const u32 channels = substream->runtime->channels; channels 423 sound/pci/lx6464es/lx6464es.c const u32 bytes_per_frame = channels * 3; channels 421 sound/pci/lx6464es/lx_core.c int channels) channels 430 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= channels; channels 675 sound/pci/lx6464es/lx_core.c u32 channels = runtime->channels; channels 677 sound/pci/lx6464es/lx_core.c if (runtime->channels != channels) channels 679 sound/pci/lx6464es/lx_core.c runtime->channels, channels); channels 694 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= channels-1; channels 880 sound/pci/lx6464es/lx_core.c int lx_level_peaks(struct lx6464es *chip, int is_capture, int channels, channels 887 sound/pci/lx6464es/lx_core.c for (i = 0; i < channels; i += 4) { channels 1023 sound/pci/lx6464es/lx_core.c const u32 channels = substream->runtime->channels; channels 1024 sound/pci/lx6464es/lx_core.c const u32 bytes_per_frame = channels * 3; channels 106 sound/pci/lx6464es/lx_core.h int channels); channels 163 sound/pci/lx6464es/lx_core.h int lx_level_peaks(struct lx6464es *chip, int is_capture, int channels, channels 1241 sound/pci/maestro3.c runtime->channels == 2 ? 0 : 1); channels 517 sound/pci/mixart/mixart.c stream_param.number_of_channel = stream->channels; channels 560 sound/pci/mixart/mixart.c stream_param.sample_type, stream_param.sample_size, stream_param.sampling_freq, stream->channels); channels 599 sound/pci/mixart/mixart.c int channels; channels 602 sound/pci/mixart/mixart.c channels = params_channels(hw); channels 618 sound/pci/mixart/mixart.c stream->channels = channels; channels 767 sound/pci/mixart/mixart.c stream->channels = 0; /* not configured yet */ channels 848 sound/pci/mixart/mixart.c stream->channels = 0; /* not configured yet */ channels 130 sound/pci/mixart/mixart.h int channels; channels 427 sound/pci/nm256/nm256.c if (runtime->channels > 1) { channels 153 sound/pci/oxygen/oxygen_mixer.c u8 channels; channels 156 sound/pci/oxygen/oxygen_mixer.c channels = oxygen_read8(chip, OXYGEN_PLAY_CHANNELS) & channels 158 sound/pci/oxygen/oxygen_mixer.c if (channels == OXYGEN_PLAY_CHANNELS_2) channels 160 sound/pci/oxygen/oxygen_mixer.c else if (channels == OXYGEN_PLAY_CHANNELS_8) channels 585 sound/pci/pcxhr/pcxhr.c if (stream->channels == 1) channels 607 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = stream->channels; channels 610 sound/pci/pcxhr/pcxhr.c rmh.cmd[2] = (stream->channels == 1) ? 0x01 : 0x03; channels 945 sound/pci/pcxhr/pcxhr.c int channels; channels 948 sound/pci/pcxhr/pcxhr.c channels = params_channels(hw); channels 955 sound/pci/pcxhr/pcxhr.c stream->channels = channels; channels 1071 sound/pci/pcxhr/pcxhr.c stream->channels = 0; /* not configured yet */ channels 137 sound/pci/pcxhr/pcxhr.h int channels; channels 474 sound/pci/riptide/riptide.c unsigned int channels; channels 1006 sound/pci/riptide/riptide.c unsigned char channels, snd_pcm_format_t format) channels 1012 sound/pci/riptide/riptide.c mixer, id, channels, format); channels 1013 sound/pci/riptide/riptide.c ch = channels == 1; channels 1445 sound/pci/riptide/riptide.c unsigned int rate, channels; channels 1453 sound/pci/riptide/riptide.c runtime->channels, runtime->format, runtime->rate); channels 1456 sound/pci/riptide/riptide.c channels = runtime->channels; channels 1459 sound/pci/riptide/riptide.c switch (channels) { channels 1525 sound/pci/riptide/riptide.c data->channels != channels) { channels 1528 sound/pci/riptide/riptide.c data->channels = channels; channels 1530 sound/pci/riptide/riptide.c (cif, data->mixer, data->id, channels, format) channels 4596 sound/pci/rme9652/hdsp.c int i, j, channels, ofs; channels 4600 sound/pci/rme9652/hdsp.c channels = doublespeed ? 14 : 26; channels 4607 sound/pci/rme9652/hdsp.c ofs -= channels * 4; channels 4610 sound/pci/rme9652/hdsp.c ofs -= channels * 4; channels 4617 sound/pci/rme9652/hdsp.c ofs += channels * 8; channels 4621 sound/pci/rme9652/hdsp.c ofs += channels * 8; channels 1099 sound/pci/rme9652/hdspm.c unsigned int reg, int channels); channels 531 sound/pci/sis7019.c if (runtime->channels == 1) channels 730 sound/pci/sis7019.c buffer_size = 4096 / runtime->channels; channels 790 sound/pci/sis7019.c if (runtime->channels == 1) channels 834 sound/pci/sis7019.c if (runtime->channels == 1) channels 705 sound/pci/sonicvibes.c if (runtime->channels > 1) channels 730 sound/pci/sonicvibes.c if (runtime->channels > 1) channels 761 sound/pci/trident/trident_main.c if (runtime->channels > 1) channels 1084 sound/pci/trident/trident_main.c if (runtime->channels > 1) channels 1678 sound/pci/trident/trident_main.c if (runtime->channels > 1) channels 973 sound/pci/via82xx.c (runtime->channels > 1 ? VIA_REG_TYPE_STEREO : 0) | channels 1055 sound/pci/via82xx.c (runtime->channels > 1 ? VIA8233_REG_TYPE_STEREO : 0) | /* stereo */ channels 1086 sound/pci/via82xx.c fmt |= runtime->channels << 4; channels 1096 sound/pci/via82xx.c switch (runtime->channels) { channels 1129 sound/pci/via82xx.c (runtime->channels > 1 ? VIA8233_REG_TYPE_STEREO : 0) | channels 1277 sound/pci/via82xx.c static const unsigned int channels[] = { channels 1281 sound/pci/via82xx.c .count = ARRAY_SIZE(channels), channels 1282 sound/pci/via82xx.c .list = channels, channels 500 sound/pci/ymfpci/ymfpci_main.c if (runtime->channels == 1) { channels 517 sound/pci/ymfpci/ymfpci_main.c format = runtime->channels == 2 ? 0x00010000 : 0; channels 521 sound/pci/ymfpci/ymfpci_main.c runtime->rate == 44100 && runtime->channels == 2 && channels 533 sound/pci/ymfpci/ymfpci_main.c if (runtime->channels == 2 && (voiceidx & 1) != 0) channels 674 sound/pci/ymfpci/ymfpci_main.c for (nvoice = 0; nvoice < runtime->channels; nvoice++) channels 717 sound/pci/ymfpci/ymfpci_main.c if (runtime->channels == 2) { channels 1237 sound/pci/ymfpci/ymfpci_main.c { .channels = 1, channels 1239 sound/pci/ymfpci/ymfpci_main.c { .channels = 2, channels 116 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c chip->pcm_channels = runtime->channels; channels 563 sound/ppc/snd_ps3.c * substream->runtime->channels; channels 215 sound/sh/aica.c static int aica_dma_transfer(int channels, int buffer_size, channels 225 sound/sh/aica.c period_offset %= (AICA_PERIOD_NUMBER / channels); channels 227 sound/sh/aica.c for (q = 0; q < channels; q++) { channels 232 sound/sh/aica.c channels + channels 237 sound/sh/aica.c buffer_size / channels, AICA_DMA_MODE); channels 266 sound/sh/aica.c if (runtime->channels > 1) channels 268 sound/sh/aica.c aica_dma_transfer(runtime->channels, buffer_size, channels 272 sound/sh/aica.c buffer_size / (AICA_PERIOD_SIZE * runtime->channels); channels 275 sound/sh/aica.c aica_dma_transfer(runtime->channels, channels 276 sound/sh/aica.c AICA_PERIOD_SIZE * runtime->channels, channels 307 sound/sh/aica.c if (runtime->channels > 1) channels 121 sound/soc/amd/acp-da7219-max98357a.c static const unsigned int channels[] = { channels 136 sound/soc/amd/acp-da7219-max98357a.c .count = ARRAY_SIZE(channels), channels 137 sound/soc/amd/acp-da7219-max98357a.c .list = channels, channels 32 sound/soc/amd/raven/acp3x-pcm-dma.c u16 channels; channels 463 sound/soc/atmel/atmel_ssc_dai.c int dir, channels, bits; channels 523 sound/soc/atmel/atmel_ssc_dai.c channels = params_channels(params); channels 642 sound/soc/atmel/atmel_ssc_dai.c | SSC_BF(RFMR_DATNB, (channels - 1)) channels 652 sound/soc/atmel/atmel_ssc_dai.c | SSC_BF(TFMR_DATNB, (channels - 1)) channels 241 sound/soc/atmel/mchp-i2s-mcc.c int channels; channels 269 sound/soc/atmel/mchp-i2s-mcc.c idra |= pendinga & (MCHP_I2SMCC_INT_TXRDY_MASK(dev->channels) | channels 270 sound/soc/atmel/mchp-i2s-mcc.c MCHP_I2SMCC_INT_RXRDY_MASK(dev->channels)); channels 274 sound/soc/atmel/mchp-i2s-mcc.c if ((imra & MCHP_I2SMCC_INT_TXRDY_MASK(dev->channels)) && channels 275 sound/soc/atmel/mchp-i2s-mcc.c (imra & MCHP_I2SMCC_INT_TXRDY_MASK(dev->channels)) == channels 276 sound/soc/atmel/mchp-i2s-mcc.c (idra & MCHP_I2SMCC_INT_TXRDY_MASK(dev->channels))) { channels 280 sound/soc/atmel/mchp-i2s-mcc.c if ((imra & MCHP_I2SMCC_INT_RXRDY_MASK(dev->channels)) && channels 281 sound/soc/atmel/mchp-i2s-mcc.c (imra & MCHP_I2SMCC_INT_RXRDY_MASK(dev->channels)) == channels 282 sound/soc/atmel/mchp-i2s-mcc.c (idra & MCHP_I2SMCC_INT_RXRDY_MASK(dev->channels))) { channels 493 sound/soc/atmel/mchp-i2s-mcc.c unsigned int channels = params_channels(params); channels 552 sound/soc/atmel/mchp-i2s-mcc.c switch (channels) { channels 570 sound/soc/atmel/mchp-i2s-mcc.c if (channels % 2 && channels * 2 <= dev->tdm_slots) { channels 580 sound/soc/atmel/mchp-i2s-mcc.c channels = dev->tdm_slots; channels 583 sound/soc/atmel/mchp-i2s-mcc.c mra |= MCHP_I2SMCC_MRA_NBCHAN(channels); channels 585 sound/soc/atmel/mchp-i2s-mcc.c frame_length = channels * MCHP_I2MCC_TDM_SLOT_WIDTH; channels 592 sound/soc/atmel/mchp-i2s-mcc.c mrb |= MCHP_I2SMCC_MRB_DMACHUNK(channels); channels 594 sound/soc/atmel/mchp-i2s-mcc.c dev->playback.maxburst = 1 << (fls(channels) - 1); channels 596 sound/soc/atmel/mchp-i2s-mcc.c dev->capture.maxburst = 1 << (fls(channels) - 1); channels 674 sound/soc/atmel/mchp-i2s-mcc.c dev->channels = channels; channels 702 sound/soc/atmel/mchp-i2s-mcc.c MCHP_I2SMCC_INT_TXRDY_MASK(dev->channels)); channels 713 sound/soc/atmel/mchp-i2s-mcc.c MCHP_I2SMCC_INT_RXRDY_MASK(dev->channels)); channels 764 sound/soc/atmel/mchp-i2s-mcc.c iera = MCHP_I2SMCC_INT_TXRDY_MASK(dev->channels); channels 772 sound/soc/atmel/mchp-i2s-mcc.c iera = MCHP_I2SMCC_INT_RXRDY_MASK(dev->channels); channels 165 sound/soc/codecs/ad193x.c unsigned int channels; channels 169 sound/soc/codecs/ad193x.c channels = AD193X_2_CHANNELS; channels 172 sound/soc/codecs/ad193x.c channels = AD193X_4_CHANNELS; channels 175 sound/soc/codecs/ad193x.c channels = AD193X_8_CHANNELS; channels 178 sound/soc/codecs/ad193x.c channels = AD193X_16_CHANNELS; channels 185 sound/soc/codecs/ad193x.c AD193X_DAC_CHAN_MASK, channels << AD193X_DAC_CHAN_SHFT); channels 189 sound/soc/codecs/ad193x.c channels << AD193X_ADC_CHAN_SHFT); channels 1784 sound/soc/codecs/arizona.c int channels = params_channels(params); channels 1803 sound/soc/codecs/arizona.c channels = tdm_slots; channels 1809 sound/soc/codecs/arizona.c if (chan_limit && chan_limit < channels) { channels 1811 sound/soc/codecs/arizona.c bclk_target /= channels; channels 1818 sound/soc/codecs/arizona.c if ((channels & 1) && (val == ARIZONA_FMT_I2S_MODE)) { channels 1820 sound/soc/codecs/arizona.c bclk_target /= channels; channels 1821 sound/soc/codecs/arizona.c bclk_target *= channels + 1; channels 1973 sound/soc/codecs/arizona.c int channels, unsigned int mask) channels 1980 sound/soc/codecs/arizona.c for (i = 0; i < channels; ++i) { channels 1252 sound/soc/codecs/cpcap.c int channels = params_channels(params); channels 1258 sound/soc/codecs/cpcap.c rate, direction, channels); channels 1273 sound/soc/codecs/cpcap.c if (channels >= 2) channels 2093 sound/soc/codecs/da7218.c unsigned int channels; channels 2112 sound/soc/codecs/da7218.c channels = params_channels(params); channels 2113 sound/soc/codecs/da7218.c if ((channels < 1) || (channels > DA7218_DAI_CH_NUM_MAX)) { channels 2119 sound/soc/codecs/da7218.c dai_ctrl |= channels << DA7218_DAI_CH_NUM_SHIFT; channels 1559 sound/soc/codecs/da7219.c unsigned int channels; channels 1581 sound/soc/codecs/da7219.c channels = params_channels(params); channels 1582 sound/soc/codecs/da7219.c if ((channels < 1) || (channels > DA7219_DAI_CH_NUM_MAX)) { channels 1588 sound/soc/codecs/da7219.c dai_ctrl |= channels << DA7219_DAI_CH_NUM_SHIFT; channels 104 sound/soc/codecs/hdac_hdmi.c int channels; channels 376 sound/soc/codecs/hdac_hdmi.c int channels, ca; channels 379 sound/soc/codecs/hdac_hdmi.c pcm->channels, pcm->chmap_set, true, pcm->chmap); channels 381 sound/soc/codecs/hdac_hdmi.c channels = snd_hdac_get_active_channels(ca); channels 382 sound/soc/codecs/hdac_hdmi.c hdmi->chmap.ops.set_channel_count(hdev, cvt->nid, channels); channels 385 sound/soc/codecs/hdac_hdmi.c pcm->channels, pcm->chmap, pcm->chmap_set); channels 394 sound/soc/codecs/hdac_hdmi.c frame.channels = channels; channels 408 sound/soc/codecs/hdac_hdmi.c dp_ai.CC02_CT47 = channels - 1; channels 485 sound/soc/codecs/hdac_hdmi.c pcm->channels = params_channels(hparams); channels 647 sound/soc/codecs/hdac_hdmi.c pcm->channels = 0; channels 64 sound/soc/codecs/hdmi-codec.c { .channels = 2, channels 71 sound/soc/codecs/hdmi-codec.c { .channels = 2, /* CA_ID 0x00 */ channels 73 sound/soc/codecs/hdmi-codec.c { .channels = 4, /* CA_ID 0x01 */ channels 76 sound/soc/codecs/hdmi-codec.c { .channels = 4, /* CA_ID 0x02 */ channels 79 sound/soc/codecs/hdmi-codec.c { .channels = 4, /* CA_ID 0x03 */ channels 82 sound/soc/codecs/hdmi-codec.c { .channels = 6, /* CA_ID 0x04 */ channels 85 sound/soc/codecs/hdmi-codec.c { .channels = 6, /* CA_ID 0x05 */ channels 88 sound/soc/codecs/hdmi-codec.c { .channels = 6, /* CA_ID 0x06 */ channels 91 sound/soc/codecs/hdmi-codec.c { .channels = 6, /* CA_ID 0x07 */ channels 94 sound/soc/codecs/hdmi-codec.c { .channels = 6, /* CA_ID 0x08 */ channels 97 sound/soc/codecs/hdmi-codec.c { .channels = 6, /* CA_ID 0x09 */ channels 100 sound/soc/codecs/hdmi-codec.c { .channels = 6, /* CA_ID 0x0A */ channels 103 sound/soc/codecs/hdmi-codec.c { .channels = 6, /* CA_ID 0x0B */ channels 106 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x0C */ channels 110 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x0D */ channels 114 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x0E */ channels 118 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x0F */ channels 122 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x10 */ channels 126 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x11 */ channels 130 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x12 */ channels 134 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x13 */ channels 138 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x14 */ channels 142 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x15 */ channels 146 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x16 */ channels 150 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x17 */ channels 154 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x18 */ channels 158 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x19 */ channels 162 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x1A */ channels 166 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x1B */ channels 170 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x1C */ channels 174 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x1D */ channels 178 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x1E */ channels 182 sound/soc/codecs/hdmi-codec.c { .channels = 8, /* CA_ID 0x1F */ channels 344 sound/soc/codecs/hdmi-codec.c unsigned char channels) channels 358 sound/soc/codecs/hdmi-codec.c if (cap->n_ch != channels) channels 466 sound/soc/codecs/hdmi-codec.c hp.cea.channels = params_channels(params); channels 472 sound/soc/codecs/hdmi-codec.c idx = hdmi_codec_get_ch_alloc_table_idx(hcp, hp.cea.channels); channels 484 sound/soc/codecs/hdmi-codec.c hp.channels = params_channels(params); channels 3075 sound/soc/codecs/madera.c unsigned int channels = params_channels(params); channels 3099 sound/soc/codecs/madera.c channels = tdm_slots; channels 3105 sound/soc/codecs/madera.c if (chan_limit && chan_limit < channels) { channels 3107 sound/soc/codecs/madera.c bclk_target /= channels; channels 3117 sound/soc/codecs/madera.c if ((channels & 1) && val == MADERA_FMT_I2S_MODE) { channels 3119 sound/soc/codecs/madera.c bclk_target /= channels; channels 3120 sound/soc/codecs/madera.c bclk_target *= channels + 1; channels 3281 sound/soc/codecs/madera.c int channels, unsigned int mask) channels 3288 sound/soc/codecs/madera.c for (i = 0; i < channels; ++i) { channels 220 sound/soc/codecs/max98371.c int blr_clk_ratio, ch_size, channels = params_channels(params); channels 249 sound/soc/codecs/max98371.c blr_clk_ratio = channels * ch_size; channels 270 sound/soc/codecs/pcm186x.c unsigned int channels = params_channels(params); channels 277 sound/soc/codecs/pcm186x.c __func__, rate, format, width, channels); channels 313 sound/soc/codecs/pcm186x.c div_lrck = width * channels; channels 317 sound/soc/codecs/pcm186x.c switch (channels) { channels 1053 sound/soc/codecs/sgtl5000.c int channels = params_channels(params); channels 1071 sound/soc/codecs/sgtl5000.c channels == 1 ? 0 : stereo); channels 303 sound/soc/codecs/sirf-audio-codec.c int channels) channels 314 sound/soc/codecs/sirf-audio-codec.c if (channels == 1) channels 363 sound/soc/codecs/sirf-audio-codec.c substream->runtime->channels); channels 50 sound/soc/codecs/twl4030.c unsigned int channels; channels 1612 sound/soc/codecs/twl4030.c twl4030->channels); channels 1681 sound/soc/codecs/twl4030.c else if (!twl4030->master_substream->runtime->channels) channels 1685 sound/soc/codecs/twl4030.c if (substream->runtime->channels == 4) channels 1796 sound/soc/codecs/twl4030.c twl4030->channels = params_channels(params); channels 26 sound/soc/codecs/wl1273.c unsigned int channels; channels 373 sound/soc/codecs/wl1273.c wl1273->channels = params_channels(params); channels 374 sound/soc/codecs/wl1273.c r = snd_wl1273_fm_set_channel_number(core, wl1273->channels); channels 1065 sound/soc/codecs/wm8994.c if (wm8994->channels[0] <= 2) channels 2844 sound/soc/codecs/wm8994.c wm8994->channels[id] = params_channels(params); channels 2846 sound/soc/codecs/wm8994.c wm8994->channels[id] > pdata->max_channels_clocked[id]) { channels 2848 sound/soc/codecs/wm8994.c pdata->max_channels_clocked[id], wm8994->channels[id]); channels 2849 sound/soc/codecs/wm8994.c wm8994->channels[id] = pdata->max_channels_clocked[id]; channels 2852 sound/soc/codecs/wm8994.c switch (wm8994->channels[id]) { channels 2874 sound/soc/codecs/wm8994.c if (wm8994->channels[id] == 1 && channels 81 sound/soc/codecs/wm8994.h int channels[2]; channels 118 sound/soc/fsl/fsl_asrc.c static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) channels 141 sound/soc/fsl/fsl_asrc.c } else if (asrc_priv->channel_avail < channels) { channels 142 sound/soc/fsl/fsl_asrc.c dev_err(dev, "can't afford required channels: %d\n", channels); channels 145 sound/soc/fsl/fsl_asrc.c asrc_priv->channel_avail -= channels; channels 147 sound/soc/fsl/fsl_asrc.c pair->channels = channels; channels 173 sound/soc/fsl/fsl_asrc.c asrc_priv->channel_avail += pair->channels; channels 270 sound/soc/fsl/fsl_asrc.c int in, out, channels; channels 351 sound/soc/fsl/fsl_asrc.c channels = config->channel_num; channels 354 sound/soc/fsl/fsl_asrc.c channels /= 2; channels 359 sound/soc/fsl/fsl_asrc.c ASRCNCR_ANCi(index, channels, asrc_priv->channel_bits)); channels 445 sound/soc/fsl/fsl_asrc.c for (i = 0; i < pair->channels * 4; i++) channels 503 sound/soc/fsl/fsl_asrc.c unsigned int channels = params_channels(params); channels 508 sound/soc/fsl/fsl_asrc.c ret = fsl_asrc_request_pair(channels, pair); channels 527 sound/soc/fsl/fsl_asrc.c config.channel_num = channels; channels 410 sound/soc/fsl/fsl_asrc.h unsigned int channels; channels 66 sound/soc/fsl/fsl_esai.c u32 channels[2]; channels 511 sound/soc/fsl/fsl_esai.c u32 channels = params_channels(params); channels 512 sound/soc/fsl/fsl_esai.c u32 pins = DIV_ROUND_UP(channels, esai_priv->slots); channels 620 sound/soc/fsl/fsl_esai.c u8 i, channels = esai_priv->channels[tx]; channels 621 sound/soc/fsl/fsl_esai.c u32 pins = DIV_ROUND_UP(channels, esai_priv->slots); channels 628 sound/soc/fsl/fsl_esai.c for (i = 0; tx && i < channels; i++) channels 733 sound/soc/fsl/fsl_esai.c esai_priv->channels[tx] = substream->runtime->channels; channels 333 sound/soc/fsl/fsl_micfil.c unsigned int channels = params_channels(params); channels 348 sound/soc/fsl/fsl_micfil.c 0xFF, ((1 << channels) - 1)); channels 361 sound/soc/fsl/fsl_micfil.c micfil->dma_params_rx.maxburst = channels * MICFIL_DMA_MAXBURST_RX; channels 422 sound/soc/fsl/fsl_sai.c unsigned int channels = params_channels(params); channels 425 sound/soc/fsl/fsl_sai.c u32 slots = (channels == 1) ? 2 : channels; channels 486 sound/soc/fsl/fsl_sai.c ~0UL - ((1 << channels) - 1)); channels 495 sound/soc/fsl/fsl_sai.c ~0UL - ((1 << channels) - 1)); channels 505 sound/soc/fsl/fsl_sai.c regmap_write(sai->regmap, FSL_SAI_xMR(tx), ~0UL - ((1 << channels) - 1)); channels 797 sound/soc/fsl/fsl_ssi.c unsigned int channels = params_channels(hw_params); channels 839 sound/soc/fsl/fsl_ssi.c if (channels == 1) channels 80 sound/soc/fsl/imx-audmix.c u32 channels = params_channels(params); channels 104 sound/soc/fsl/imx-audmix.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, BIT(channels) - 1, channels 105 sound/soc/fsl/imx-audmix.c BIT(channels) - 1, 8, 32); channels 29 sound/soc/fsl/wm1133-ev1.c unsigned int channels; channels 84 sound/soc/fsl/wm1133-ev1.c unsigned int channels = params_channels(params); channels 90 sound/soc/fsl/wm1133-ev1.c channels == wm8350_audio[i].channels) { channels 102 sound/soc/fsl/wm1133-ev1.c switch (channels) { channels 22 sound/soc/generic/simple-card-utils.c struct snd_interval *channels = hw_param_interval(params, channels 30 sound/soc/generic/simple-card-utils.c channels->min = channels 31 sound/soc/generic/simple-card-utils.c channels->max = data->convert_channels; channels 49 sound/soc/hisilicon/hi6210-i2s.c u8 channels; channels 322 sound/soc/hisilicon/hi6210-i2s.c i2s->channels = params_channels(params); channels 323 sound/soc/hisilicon/hi6210-i2s.c i2s->channel_length = i2s->channels * i2s->bits; channels 428 sound/soc/hisilicon/hi6210-i2s.c switch (i2s->channels) { channels 218 sound/soc/img/img-i2s-in.c unsigned int rate, channels, i2s_channels, frame_size; channels 227 sound/soc/img/img-i2s-in.c channels = params_channels(params); channels 228 sound/soc/img/img-i2s-in.c i2s_channels = channels / 2; channels 251 sound/soc/img/img-i2s-in.c if ((channels < 2) || channels 252 sound/soc/img/img-i2s-in.c (channels > (i2s->max_i2s_chan * 2)) || channels 253 sound/soc/img/img-i2s-in.c (channels % 2)) channels 217 sound/soc/img/img-i2s-out.c unsigned int channels, i2s_channels; channels 225 sound/soc/img/img-i2s-out.c channels = params_channels(params); channels 226 sound/soc/img/img-i2s-out.c i2s_channels = channels / 2; channels 231 sound/soc/img/img-i2s-out.c if ((channels < 2) || channels 232 sound/soc/img/img-i2s-out.c (channels > (i2s->max_i2s_chan * 2)) || channels 233 sound/soc/img/img-i2s-out.c (channels % 2)) channels 121 sound/soc/img/img-parallel-out.c unsigned int rate, channels; channels 125 sound/soc/img/img-parallel-out.c channels = params_channels(params); channels 137 sound/soc/img/img-parallel-out.c if (channels != 2) channels 669 sound/soc/img/img-spdif-in.c unsigned int rate, channels; channels 673 sound/soc/img/img-spdif-in.c channels = params_channels(params); channels 679 sound/soc/img/img-spdif-in.c if (channels != 2) channels 236 sound/soc/img/img-spdif-out.c unsigned int channels; channels 243 sound/soc/img/img-spdif-out.c channels = params_channels(params); channels 246 sound/soc/img/img-spdif-out.c rate, channels, format); channels 251 sound/soc/img/img-spdif-out.c if (channels != 2) channels 126 sound/soc/intel/atom/sst-mfld-platform-pcm.c unsigned int channels; channels 132 sound/soc/intel/atom/sst-mfld-platform-pcm.c channels = substream->runtime->channels; channels 139 sound/soc/intel/atom/sst-mfld-platform-pcm.c alloc_param->frag_size = periodbytes * channels; channels 145 sound/soc/intel/atom/sst-mfld-platform-pcm.c param->uc.pcm_params.num_chan = (u8) substream->runtime->channels; channels 509 sound/soc/intel/atom/sst/sst_drv_interface.c info->buffer_ptr = pointer_samples / substream->runtime->channels; channels 369 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_byt_stream *stream, u8 channels) channels 371 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->request.pcm_params.num_chan = channels; channels 37 sound/soc/intel/baytrail/sst-baytrail-ipc.h struct sst_byt_stream *stream, u8 channels); channels 70 sound/soc/intel/baytrail/sst-baytrail-pcm.c u8 channels; channels 97 sound/soc/intel/baytrail/sst-baytrail-pcm.c channels = (u8)(params_channels(params) & 0xF); channels 98 sound/soc/intel/baytrail/sst-baytrail-pcm.c ret = sst_byt_stream_set_channels(byt, pcm_data->stream, channels); channels 139 sound/soc/intel/boards/bdw-rt5677.c struct snd_interval *channels = hw_param_interval(params, channels 144 sound/soc/intel/boards/bdw-rt5677.c channels->min = channels->max = 2; channels 91 sound/soc/intel/boards/broadwell.c struct snd_interval *channels = hw_param_interval(params, channels 96 sound/soc/intel/boards/broadwell.c channels->min = channels->max = 2; channels 162 sound/soc/intel/boards/bxt_da7219_max98357a.c struct snd_interval *channels = hw_param_interval(params, channels 168 sound/soc/intel/boards/bxt_da7219_max98357a.c channels->min = channels->max = DUAL_CHANNEL; channels 263 sound/soc/intel/boards/bxt_da7219_max98357a.c static const unsigned int channels[] = { channels 268 sound/soc/intel/boards/bxt_da7219_max98357a.c .count = ARRAY_SIZE(channels), channels 269 sound/soc/intel/boards/bxt_da7219_max98357a.c .list = channels, channels 314 sound/soc/intel/boards/bxt_da7219_max98357a.c struct snd_interval *channels = hw_param_interval(params, channels 317 sound/soc/intel/boards/bxt_da7219_max98357a.c channels->min = channels->max = 2; channels 319 sound/soc/intel/boards/bxt_da7219_max98357a.c channels->min = channels->max = 4; channels 207 sound/soc/intel/boards/bxt_rt298.c struct snd_interval *channels = hw_param_interval(params, channels 213 sound/soc/intel/boards/bxt_rt298.c channels->min = channels->max = 2; channels 256 sound/soc/intel/boards/bxt_rt298.c struct snd_interval *channels = hw_param_interval(params, channels 258 sound/soc/intel/boards/bxt_rt298.c channels->min = channels->max = 4; channels 289 sound/soc/intel/boards/bxt_rt298.c static const unsigned int channels[] = { channels 294 sound/soc/intel/boards/bxt_rt298.c .count = ARRAY_SIZE(channels), channels 295 sound/soc/intel/boards/bxt_rt298.c .list = channels, channels 110 sound/soc/intel/boards/bytcht_cx2072x.c struct snd_interval *channels = channels 116 sound/soc/intel/boards/bytcht_cx2072x.c channels->min = channels->max = 2; channels 66 sound/soc/intel/boards/bytcht_da7213.c struct snd_interval *channels = hw_param_interval(params, channels 71 sound/soc/intel/boards/bytcht_da7213.c channels->min = channels->max = 2; channels 250 sound/soc/intel/boards/bytcht_es8316.c struct snd_interval *channels = hw_param_interval(params, channels 256 sound/soc/intel/boards/bytcht_es8316.c channels->min = channels->max = 2; channels 45 sound/soc/intel/boards/bytcht_nocodec.c struct snd_interval *channels = hw_param_interval(params, channels 51 sound/soc/intel/boards/bytcht_nocodec.c channels->min = channels->max = 2; channels 960 sound/soc/intel/boards/bytcr_rt5640.c struct snd_interval *channels = hw_param_interval(params, channels 966 sound/soc/intel/boards/bytcr_rt5640.c channels->min = channels->max = 2; channels 672 sound/soc/intel/boards/bytcr_rt5651.c struct snd_interval *channels = hw_param_interval(params, channels 678 sound/soc/intel/boards/bytcr_rt5651.c channels->min = channels->max = 2; channels 255 sound/soc/intel/boards/cht_bsw_max98090_ti.c struct snd_interval *channels = hw_param_interval(params, channels 277 sound/soc/intel/boards/cht_bsw_max98090_ti.c channels->min = channels->max = 2; channels 140 sound/soc/intel/boards/cht_bsw_nau8824.c struct snd_interval *channels = hw_param_interval(params, channels 147 sound/soc/intel/boards/cht_bsw_nau8824.c channels->min = channels->max = 2; channels 344 sound/soc/intel/boards/cht_bsw_rt5645.c struct snd_interval *channels = hw_param_interval(params, channels 349 sound/soc/intel/boards/cht_bsw_rt5645.c channels->min = channels->max = 2; channels 244 sound/soc/intel/boards/cht_bsw_rt5672.c struct snd_interval *channels = hw_param_interval(params, channels 250 sound/soc/intel/boards/cht_bsw_rt5672.c channels->min = channels->max = 2; channels 119 sound/soc/intel/boards/glk_rt5682_max98357a.c struct snd_interval *channels = hw_param_interval(params, channels 125 sound/soc/intel/boards/glk_rt5682_max98357a.c channels->min = channels->max = DUAL_CHANNEL; channels 250 sound/soc/intel/boards/glk_rt5682_max98357a.c static const unsigned int channels[] = { channels 255 sound/soc/intel/boards/glk_rt5682_max98357a.c .count = ARRAY_SIZE(channels), channels 256 sound/soc/intel/boards/glk_rt5682_max98357a.c .list = channels, channels 273 sound/soc/intel/boards/glk_rt5682_max98357a.c struct snd_interval *channels = hw_param_interval(params, channels 279 sound/soc/intel/boards/glk_rt5682_max98357a.c channels->min = channels->max = 4; channels 43 sound/soc/intel/boards/haswell.c struct snd_interval *channels = hw_param_interval(params, channels 48 sound/soc/intel/boards/haswell.c channels->min = channels->max = 2; channels 144 sound/soc/intel/boards/kbl_da7219_max98357a.c struct snd_interval *channels = hw_param_interval(params, channels 150 sound/soc/intel/boards/kbl_da7219_max98357a.c channels->min = channels->max = DUAL_CHANNEL; channels 257 sound/soc/intel/boards/kbl_da7219_max98357a.c static const unsigned int channels[] = { channels 262 sound/soc/intel/boards/kbl_da7219_max98357a.c .count = ARRAY_SIZE(channels), channels 263 sound/soc/intel/boards/kbl_da7219_max98357a.c .list = channels, channels 308 sound/soc/intel/boards/kbl_da7219_max98357a.c struct snd_interval *channels = hw_param_interval(params, channels 316 sound/soc/intel/boards/kbl_da7219_max98357a.c channels->min = channels->max = 2; channels 318 sound/soc/intel/boards/kbl_da7219_max98357a.c channels->min = channels->max = 4; channels 282 sound/soc/intel/boards/kbl_da7219_max98927.c struct snd_interval *channels = hw_param_interval(params, channels 301 sound/soc/intel/boards/kbl_da7219_max98927.c channels->min = channels->max = DUAL_CHANNEL; channels 316 sound/soc/intel/boards/kbl_da7219_max98927.c channels->min = channels->max = 2; channels 432 sound/soc/intel/boards/kbl_da7219_max98927.c static const unsigned int channels[] = { channels 437 sound/soc/intel/boards/kbl_da7219_max98927.c .count = ARRAY_SIZE(channels), channels 438 sound/soc/intel/boards/kbl_da7219_max98927.c .list = channels, channels 494 sound/soc/intel/boards/kbl_da7219_max98927.c struct snd_interval *channels = hw_param_interval(params, channels 502 sound/soc/intel/boards/kbl_da7219_max98927.c channels->min = channels->max = 2; channels 504 sound/soc/intel/boards/kbl_da7219_max98927.c channels->min = channels->max = 4; channels 141 sound/soc/intel/boards/kbl_rt5660.c struct snd_interval *channels = hw_param_interval(params, channels 147 sound/soc/intel/boards/kbl_rt5660.c channels->min = channels->max = DUAL_CHANNEL; channels 282 sound/soc/intel/boards/kbl_rt5660.c static const unsigned int channels[] = { channels 287 sound/soc/intel/boards/kbl_rt5660.c .count = ARRAY_SIZE(channels), channels 288 sound/soc/intel/boards/kbl_rt5660.c .list = channels, channels 358 sound/soc/intel/boards/kbl_rt5663_max98927.c static unsigned int channels[] = { channels 363 sound/soc/intel/boards/kbl_rt5663_max98927.c .count = ARRAY_SIZE(channels), channels 364 sound/soc/intel/boards/kbl_rt5663_max98927.c .list = channels, channels 401 sound/soc/intel/boards/kbl_rt5663_max98927.c struct snd_interval *channels = hw_param_interval(params, channels 416 sound/soc/intel/boards/kbl_rt5663_max98927.c channels->min = channels->max = 2; channels 457 sound/soc/intel/boards/kbl_rt5663_max98927.c struct snd_interval *channels = hw_param_interval(params, channels 461 sound/soc/intel/boards/kbl_rt5663_max98927.c channels->min = channels->max = 2; channels 463 sound/soc/intel/boards/kbl_rt5663_max98927.c channels->min = channels->max = 4; channels 228 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c static const unsigned int channels[] = { channels 233 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c .count = ARRAY_SIZE(channels), channels 234 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c .list = channels, channels 271 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c struct snd_interval *channels = hw_param_interval(params, channels 286 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c channels->min = channels->max = 2; channels 292 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c channels->min = channels->max = 2; channels 294 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c channels->min = channels->max = 4; channels 142 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_interval *channels = hw_param_interval(params, channels 148 sound/soc/intel/boards/skl_nau88l25_max98357a.c channels->min = channels->max = 2; channels 257 sound/soc/intel/boards/skl_nau88l25_max98357a.c static const unsigned int channels[] = { channels 262 sound/soc/intel/boards/skl_nau88l25_max98357a.c .count = ARRAY_SIZE(channels), channels 263 sound/soc/intel/boards/skl_nau88l25_max98357a.c .list = channels, channels 318 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_interval *channels = hw_param_interval(params, channels 322 sound/soc/intel/boards/skl_nau88l25_max98357a.c channels->min = channels->max = 2; channels 324 sound/soc/intel/boards/skl_nau88l25_max98357a.c channels->min = channels->max = 4; channels 277 sound/soc/intel/boards/skl_nau88l25_ssm4567.c static const unsigned int channels[] = { channels 282 sound/soc/intel/boards/skl_nau88l25_ssm4567.c .count = ARRAY_SIZE(channels), channels 283 sound/soc/intel/boards/skl_nau88l25_ssm4567.c .list = channels, channels 320 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_interval *channels = hw_param_interval(params, channels 326 sound/soc/intel/boards/skl_nau88l25_ssm4567.c channels->min = channels->max = 2; channels 337 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_interval *channels = hw_param_interval(params, channels 340 sound/soc/intel/boards/skl_nau88l25_ssm4567.c channels->min = channels->max = 2; channels 342 sound/soc/intel/boards/skl_nau88l25_ssm4567.c channels->min = channels->max = 4; channels 171 sound/soc/intel/boards/skl_rt286.c static const unsigned int channels[] = { channels 176 sound/soc/intel/boards/skl_rt286.c .count = ARRAY_SIZE(channels), channels 177 sound/soc/intel/boards/skl_rt286.c .list = channels, channels 214 sound/soc/intel/boards/skl_rt286.c struct snd_interval *channels = hw_param_interval(params, channels 220 sound/soc/intel/boards/skl_rt286.c channels->min = channels->max = 2; channels 250 sound/soc/intel/boards/skl_rt286.c struct snd_interval *channels = hw_param_interval(params, channels 253 sound/soc/intel/boards/skl_rt286.c channels->min = channels->max = 2; channels 255 sound/soc/intel/boards/skl_rt286.c channels->min = channels->max = 4; channels 1044 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw_stream *stream, int channels) channels 1051 sound/soc/intel/haswell/sst-haswell-ipc.c stream->request.format.ch_num = channels; channels 1396 sound/soc/intel/haswell/sst-haswell-ipc.c config.channels = 4; channels 1398 sound/soc/intel/haswell/sst-haswell-ipc.c config.channels = 2; channels 327 sound/soc/intel/haswell/sst-haswell-ipc.h u8 channels; channels 441 sound/soc/intel/haswell/sst-haswell-ipc.h struct sst_hsw_stream *stream, int channels); channels 476 sound/soc/intel/haswell/sst-haswell-pcm.c u8 channels; channels 583 sound/soc/intel/haswell/sst-haswell-pcm.c channels = params_channels(params); channels 588 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_set_channels(hsw, pcm_data->stream, channels); channels 591 sound/soc/intel/haswell/sst-haswell-pcm.c channels); channels 61 sound/soc/intel/skylake/skl-debug.c fmt->channels, fmt->s_freq, fmt->bit_depth, channels 453 sound/soc/intel/skylake/skl-messages.c base_cfg->audio_fmt.number_of_channels = format->channels; channels 668 sound/soc/intel/skylake/skl-messages.c out_fmt->number_of_channels = (u8)format->channels; channels 1091 sound/soc/intel/skylake/skl-messages.c pin_fmt->number_of_channels = format->channels; channels 29 sound/soc/intel/skylake/skl-nhlt.c dev_dbg(dev, "ch=%d fmt=%d s_rate=%d\n", wfmt->channels, channels 31 sound/soc/intel/skylake/skl-nhlt.c if (wfmt->channels == no_ch && wfmt->bits_per_sample == bps) { channels 205 sound/soc/intel/skylake/skl-nhlt.c u16 channels, bps; channels 220 sound/soc/intel/skylake/skl-nhlt.c channels = wav_fmt->fmt.channels; channels 240 sound/soc/intel/skylake/skl-nhlt.c channels = max_t(u16, channels, channels 241 sound/soc/intel/skylake/skl-nhlt.c wav_fmt->fmt.channels); channels 244 sound/soc/intel/skylake/skl-nhlt.c rate = channels * bps * fs; channels 323 sound/soc/intel/skylake/skl-pcm.c runtime->rate, runtime->channels, runtime->format); channels 95 sound/soc/intel/skylake/skl-ssp-clk.c ipc->sclk_fs.number_of_channels = wfmt->channels; channels 119 sound/soc/intel/skylake/skl-topology.c dev_dbg(skl->dev, "channels = %d\n", iface->inputs[0].fmt.channels); channels 125 sound/soc/intel/skylake/skl-topology.c dev_dbg(skl->dev, "channels = %d\n", iface->outputs[0].fmt.channels); channels 155 sound/soc/intel/skylake/skl-topology.c fmt->channels = params->ch; channels 156 sound/soc/intel/skylake/skl-topology.c skl_tplg_update_chmap(fmt, fmt->channels); channels 249 sound/soc/intel/skylake/skl-topology.c in_fmt->channels * (in_fmt->bit_depth >> 3) * channels 253 sound/soc/intel/skylake/skl-topology.c out_fmt->channels * (out_fmt->bit_depth >> 3) * channels 304 sound/soc/intel/skylake/skl-topology.c ch = m_iface->inputs[0].fmt.channels; channels 313 sound/soc/intel/skylake/skl-topology.c ch = m_iface->outputs[0].fmt.channels; channels 318 sound/soc/intel/skylake/skl-topology.c ch = m_iface->inputs[0].fmt.channels; channels 625 sound/soc/intel/skylake/skl-topology.c fmt->channels, fmt->freq, fmt->bps)) { channels 1556 sound/soc/intel/skylake/skl-topology.c format->channels = params->ch; channels 1581 sound/soc/intel/skylake/skl-topology.c (format->channels) * channels 1585 sound/soc/intel/skylake/skl-topology.c (format->channels) * channels 1887 sound/soc/intel/skylake/skl-topology.c fmt->channels = tkn_val; channels 2079 sound/soc/intel/skylake/skl-topology.c dst_fmt->channels = value; channels 2667 sound/soc/intel/skylake/skl-topology.c dst_fmt[i].fmt.channels = src_fmt[i].channels; channels 193 sound/soc/intel/skylake/skl-topology.h u32 channels; channels 280 sound/soc/intel/skylake/skl-topology.h u8 channels; channels 284 sound/soc/mediatek/common/mtk-btcvsd.c count = count / runtime->channels; channels 450 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c int channels = params_channels(params); channels 463 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c AFE_MEMIF_PBUF_SIZE_DLM_CH(channels)); channels 383 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c runtime->rate * runtime->channels * 32); channels 395 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c switch (runtime->channels) { channels 430 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 0x000000f0, runtime->channels << 4); channels 113 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c static unsigned int get_tdm_ch_fixup(unsigned int channels) channels 115 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c if (channels > 4) channels 117 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c else if (channels > 2) channels 124 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c unsigned int channels) channels 127 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c return get_tdm_ch_fixup(channels); channels 474 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c unsigned int channels = params_channels(params); channels 476 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c get_tdm_ch_per_sdata(tdm_out_mode, channels); channels 501 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c tdm_id, rate, channels, format, channels 530 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c switch (channels) { channels 573 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c channels << AFE_HDMI_OUT_CH_NUM_SFT); channels 76 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c static const unsigned int channels[] = { channels 80 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c .count = ARRAY_SIZE(channels), channels 81 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c .list = channels, channels 207 sound/soc/meson/axg-pdm.c unsigned int channels) channels 209 sound/soc/meson/axg-pdm.c unsigned int mask = GENMASK(channels - 1, 0); channels 33 sound/soc/meson/axg-tdm-formatter.c unsigned int val, ch = ts->channels; channels 172 sound/soc/meson/axg-tdm-interface.c unsigned int channels = params_channels(params); channels 179 sound/soc/meson/axg-tdm-interface.c if (axg_tdm_slots_total(ts->mask) < channels) { channels 192 sound/soc/meson/axg-tdm-interface.c ts->channels = params_channels(params); channels 56 sound/soc/meson/axg-tdm.h unsigned int channels; channels 21 sound/soc/qcom/apq8096.c struct snd_interval *channels = hw_param_interval(params, channels 25 sound/soc/qcom/apq8096.c channels->min = channels->max = 2; channels 73 sound/soc/qcom/lpass-cpu.c unsigned int channels = params_channels(params); channels 103 sound/soc/qcom/lpass-cpu.c switch (channels) { channels 126 sound/soc/qcom/lpass-cpu.c channels); channels 130 sound/soc/qcom/lpass-cpu.c switch (channels) { channels 153 sound/soc/qcom/lpass-cpu.c channels); channels 135 sound/soc/qcom/lpass-platform.c unsigned int channels = params_channels(params); channels 156 sound/soc/qcom/lpass-platform.c switch (channels) { channels 173 sound/soc/qcom/lpass-platform.c bitwidth, channels); channels 179 sound/soc/qcom/lpass-platform.c switch (channels) { channels 198 sound/soc/qcom/lpass-platform.c bitwidth, channels); channels 204 sound/soc/qcom/lpass-platform.c bitwidth, channels); channels 45 sound/soc/qcom/qdsp6/q6adm.c int channels; channels 418 sound/soc/qcom/qdsp6/q6adm.c copp->channels = channel_mode; channels 110 sound/soc/qcom/qdsp6/q6afe-dai.c int channels = params_channels(params); channels 124 sound/soc/qcom/qdsp6/q6afe-dai.c switch (channels) { channels 147 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "invalid Channels = %u\n", channels); channels 277 sound/soc/qcom/qdsp6/q6asm-dai.c runtime->channels, NULL, channels 281 sound/soc/qcom/qdsp6/q6asm-dai.c runtime->rate, runtime->channels, channels 977 sound/soc/qcom/qdsp6/q6asm.c uint32_t rate, uint32_t channels, channels 999 sound/soc/qcom/qdsp6/q6asm.c fmt->num_channels = channels; channels 1009 sound/soc/qcom/qdsp6/q6asm.c if (q6dsp_map_channels(channel_mapping, channels)) { channels 1010 sound/soc/qcom/qdsp6/q6asm.c dev_err(ac->dev, " map channels failed %d\n", channels); channels 1035 sound/soc/qcom/qdsp6/q6asm.c uint32_t rate, uint32_t channels, uint16_t bits_per_sample) channels 1060 sound/soc/qcom/qdsp6/q6asm.c enc_cfg->num_channels = channels; channels 1066 sound/soc/qcom/qdsp6/q6asm.c if (q6dsp_map_channels(channel_mapping, channels)) { channels 50 sound/soc/qcom/qdsp6/q6asm.h uint32_t rate, uint32_t channels, uint16_t bits_per_sample); channels 54 sound/soc/qcom/qdsp6/q6asm.h uint32_t rate, uint32_t channels, channels 281 sound/soc/qcom/qdsp6/q6routing.c int channels; channels 330 sound/soc/qcom/qdsp6/q6routing.c session->channels = pdata->channels; channels 337 sound/soc/qcom/qdsp6/q6routing.c session->channels, topology, perf_mode, channels 966 sound/soc/qcom/qdsp6/q6routing.c session->channels = params_channels(params); channels 45 sound/soc/qcom/sdm845.c int channels, slot_width; channels 57 sound/soc/qcom/sdm845.c channels = params_channels(params); channels 68 sound/soc/qcom/sdm845.c channels, tdm_slot_offset); channels 83 sound/soc/qcom/sdm845.c ret = snd_soc_dai_set_channel_map(cpu_dai, channels, channels 359 sound/soc/qcom/sdm845.c struct snd_interval *channels = hw_param_interval(params, channels 364 sound/soc/qcom/sdm845.c channels->min = channels->max = 2; channels 271 sound/soc/sh/rcar/core.c return runtime->channels; channels 77 sound/soc/sh/rcar/ctu.c int channels; channels 218 sound/soc/sh/rcar/dvc.c int channels = rsnd_rdai_channels_get(rdai); channels 227 sound/soc/sh/rcar/dvc.c &dvc->volume, channels, channels 238 sound/soc/sh/rcar/dvc.c &dvc->mute, channels, channels 898 sound/soc/sh/rcar/ssi.c runtime->channels * channels 551 sound/soc/sh/siu_dai.c __func__, info->port_id, port_info->play_cap, rt->channels); channels 412 sound/soc/sh/siu_pcm.c info->port_id, rt->channels, siu_stream->period_bytes); channels 433 sound/soc/sh/siu_pcm.c siu_stream->format, rt->channels, (int)xfer_cnt); channels 134 sound/soc/sh/ssi.c unsigned int bits, channels, swl, recv, i; channels 136 sound/soc/sh/ssi.c channels = params_channels(params); channels 141 sound/soc/sh/ssi.c pr_debug("bits: %u channels: %u\n", bits, channels); channels 151 sound/soc/sh/ssi.c if ((channels < 2) || (channels > 8) || (channels & 1)) { channels 155 sound/soc/sh/ssi.c ssicr |= ((channels >> 1) - 1) << CR_CHNL_SHIFT; channels 187 sound/soc/sh/ssi.c swl = (bits * channels) / 2; channels 2615 sound/soc/soc-dapm.c int channels) channels 2626 sound/soc/soc-dapm.c w->channel < channels ? "Connecting" : "Disconnecting", channels 2629 sound/soc/soc-dapm.c if (w->channel < channels) channels 2642 sound/soc/soc-dapm.c int channels = params_channels(params); channels 2659 sound/soc/soc-dapm.c ret = dapm_update_dai_chan(p, p->sink, channels); channels 2665 sound/soc/soc-dapm.c ret = dapm_update_dai_chan(p, p->source, channels); channels 3907 sound/soc/soc-dapm.c runtime->channels = params_channels(params); channels 348 sound/soc/soc-generic-dmaengine-pcm.c channel * (runtime->dma_bytes / runtime->channels); channels 200 sound/soc/soc-pcm.c if (soc_dai->channels && (soc_dai->driver->symmetric_channels || channels 203 sound/soc/soc-pcm.c soc_dai->channels); channels 207 sound/soc/soc-pcm.c soc_dai->channels); channels 241 sound/soc/soc-pcm.c unsigned int rate, channels, sample_bits, symmetry, i; channels 244 sound/soc/soc-pcm.c channels = params_channels(params); channels 266 sound/soc/soc-pcm.c if (symmetry && cpu_dai->channels && cpu_dai->channels != channels) { channels 268 sound/soc/soc-pcm.c cpu_dai->channels, channels); channels 837 sound/soc/soc-pcm.c int channels = hweight_long(mask); channels 840 sound/soc/soc-pcm.c interval->min = channels; channels 841 sound/soc/soc-pcm.c interval->max = channels; channels 934 sound/soc/soc-pcm.c codec_dai->channels = params_channels(&codec_params); channels 947 sound/soc/soc-pcm.c cpu_dai->channels = params_channels(params); channels 1011 sound/soc/soc-pcm.c cpu_dai->channels = 0; channels 1018 sound/soc/soc-pcm.c codec_dai->channels = 0; channels 17 sound/soc/soc-utils.c int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots) channels 19 sound/soc/soc-utils.c return sample_size * channels * tdm_slots; channels 36 sound/soc/soc-utils.c int snd_soc_calc_bclk(int fs, int sample_size, int channels, int tdm_slots) channels 38 sound/soc/soc-utils.c return fs * snd_soc_calc_frame_size(sample_size, channels, tdm_slots); channels 43 sound/soc/sof/control.c unsigned int i, channels = scontrol->num_channels; channels 46 sound/soc/sof/control.c for (i = 0; i < channels; i++) channels 62 sound/soc/sof/control.c unsigned int i, channels = scontrol->num_channels; channels 67 sound/soc/sof/control.c for (i = 0; i < channels; i++) { channels 92 sound/soc/sof/control.c unsigned int i, channels = scontrol->num_channels; channels 95 sound/soc/sof/control.c for (i = 0; i < channels; i++) channels 109 sound/soc/sof/control.c unsigned int i, channels = scontrol->num_channels; channels 114 sound/soc/sof/control.c for (i = 0; i < channels; i++) { channels 139 sound/soc/sof/control.c unsigned int i, channels = scontrol->num_channels; channels 142 sound/soc/sof/control.c for (i = 0; i < channels; i++) channels 156 sound/soc/sof/control.c unsigned int i, channels = scontrol->num_channels; channels 161 sound/soc/sof/control.c for (i = 0; i < channels; i++) { channels 159 sound/soc/sof/pcm.c pcm.params.channels = params_channels(params); channels 619 sound/soc/sof/pcm.c struct snd_interval *channels = hw_param_interval(params, channels 637 sound/soc/sof/pcm.c channels->min = 2; channels 638 sound/soc/sof/pcm.c channels->max = 2; channels 669 sound/soc/sof/pcm.c channels->min = dai->dai_config->ssp.tdm_slots; channels 670 sound/soc/sof/pcm.c channels->max = dai->dai_config->ssp.tdm_slots; channels 676 sound/soc/sof/pcm.c channels->min, channels->max); channels 83 sound/soc/sof/topology.c pcm.params.channels = params_channels(params); channels 1626 sound/soc/sof/topology.c volume->channels = scontrol->num_channels; channels 296 sound/soc/sprd/sprd-pcm-compress.c compr_params.channels = stream->num_channels; channels 432 sound/soc/sprd/sprd-pcm-compress.c int channels = stream->num_channels, ret = 0, i; channels 442 sound/soc/sprd/sprd-pcm-compress.c for (i = channels - 1; i >= 0; i--) { channels 457 sound/soc/sprd/sprd-pcm-compress.c for (i = channels - 1; i >= 0; i--) { channels 468 sound/soc/sprd/sprd-pcm-compress.c for (i = channels - 1; i >= 0; i--) { channels 486 sound/soc/sprd/sprd-pcm-compress.c for (i = channels - 1; i >= 0; i--) { channels 498 sound/soc/sprd/sprd-pcm-compress.c for (i = channels - 1; i >= 0; i--) { channels 161 sound/soc/sprd/sprd-pcm-dma.c int channels) channels 172 sound/soc/sprd/sprd-pcm-dma.c if (channels > SPRD_PCM_CHANNEL_MAX) { channels 173 sound/soc/sprd/sprd-pcm-dma.c dev_err(dev, "invalid dma channel number:%d\n", channels); channels 177 sound/soc/sprd/sprd-pcm-dma.c for (i = 0; i < channels; i++) { channels 204 sound/soc/sprd/sprd-pcm-dma.c int channels = params_channels(params); channels 221 sound/soc/sprd/sprd-pcm-dma.c ret = sprd_pcm_request_dma_channel(substream, channels); channels 230 sound/soc/sprd/sprd-pcm-dma.c dma_private->dma_addr_offset = totsize / channels; channels 238 sound/soc/sprd/sprd-pcm-dma.c for (i = 0; i < channels; i++) { channels 263 sound/soc/sprd/sprd-pcm-dma.c u32 sg_len = period / channels; channels 29 sound/soc/sprd/sprd-pcm-dma.h u32 channels; channels 1393 sound/soc/sti/uniperif.h return (runtime->channels * snd_pcm_format_width(runtime->format) / 8); channels 392 sound/soc/sti/uniperif_player.c SET_UNIPERIF_I2S_FMT_NUM_CH(player, runtime->channels / 2); channels 428 sound/soc/sti/uniperif_player.c output_frame_size = slot_width * runtime->channels; channels 490 sound/soc/sti/uniperif_player.c if ((runtime->channels % 2) || (runtime->channels < 2) || channels 491 sound/soc/sti/uniperif_player.c (runtime->channels > 10)) { channels 496 sound/soc/sti/uniperif_player.c SET_UNIPERIF_I2S_FMT_NUM_CH(player, runtime->channels / 2); channels 768 sound/soc/sti/uniperif_player.c transfer_size = runtime->channels * UNIPERIF_FIFO_FRAMES; channels 137 sound/soc/sti/uniperif_reader.c if ((runtime->channels % 2) || (runtime->channels < 2) || channels 138 sound/soc/sti/uniperif_reader.c (runtime->channels > 10)) { channels 143 sound/soc/sti/uniperif_reader.c SET_UNIPERIF_I2S_FMT_NUM_CH(reader, runtime->channels / 2); channels 207 sound/soc/sti/uniperif_reader.c transfer_size = runtime->channels * UNIPERIF_FIFO_FRAMES; channels 1244 sound/soc/stm/stm32_sai_sub.c channel * (runtime->dma_bytes / runtime->channels)); channels 242 sound/soc/sunxi/sun4i-i2s.c unsigned int channels, channels 246 sound/soc/sunxi/sun4i-i2s.c int div = parent_rate / sampling_rate / word_size / channels; channels 396 sound/soc/sunxi/sun4i-i2s.c unsigned int channels = params_channels(params); channels 405 sound/soc/sunxi/sun4i-i2s.c SUN4I_I2S_CHAN_SEL(channels)); channels 408 sound/soc/sunxi/sun4i-i2s.c SUN4I_I2S_CHAN_SEL(channels)); channels 416 sound/soc/sunxi/sun4i-i2s.c unsigned int channels = params_channels(params); channels 417 sound/soc/sunxi/sun4i-i2s.c unsigned int slots = channels; channels 430 sound/soc/sunxi/sun4i-i2s.c SUN4I_I2S_CHAN_SEL(channels)); channels 433 sound/soc/sunxi/sun4i-i2s.c SUN4I_I2S_CHAN_SEL(channels)); channels 437 sound/soc/sunxi/sun4i-i2s.c SUN8I_I2S_CHAN_CFG_TX_SLOT_NUM(channels)); channels 440 sound/soc/sunxi/sun4i-i2s.c SUN8I_I2S_CHAN_CFG_RX_SLOT_NUM(channels)); channels 464 sound/soc/sunxi/sun4i-i2s.c SUN8I_I2S_TX_CHAN_EN(channels)); channels 476 sound/soc/sunxi/sun4i-i2s.c unsigned int channels = params_channels(params); channels 477 sound/soc/sunxi/sun4i-i2s.c unsigned int slots = channels; channels 209 sound/soc/sunxi/sun4i-spdif.c if (substream->runtime->channels == 1) channels 295 sound/soc/sunxi/sun8i-codec.c static int sun8i_codec_get_lrck_div(unsigned int channels, channels 298 sound/soc/sunxi/sun8i-codec.c unsigned int div = word_size * channels; channels 111 sound/soc/ti/davinci-mcasp.c u32 channels; channels 813 sound/soc/ti/davinci-mcasp.c int period_words, int channels) channels 820 sound/soc/ti/davinci-mcasp.c u8 max_active_serializers = (channels + slots - 1) / slots; channels 880 sound/soc/ti/davinci-mcasp.c "enabled in mcasp (%d)\n", channels, channels 937 sound/soc/ti/davinci-mcasp.c int channels) channels 955 sound/soc/ti/davinci-mcasp.c active_serializers = (channels + active_slots - 1) / channels 958 sound/soc/ti/davinci-mcasp.c active_slots = channels; channels 967 sound/soc/ti/davinci-mcasp.c active_serializers = (channels + total_slots - 1) / total_slots; channels 969 sound/soc/ti/davinci-mcasp.c active_slots = channels; channels 997 sound/soc/ti/davinci-mcasp.c if (mcasp_is_synchronous(mcasp) && !mcasp->channels) channels 1159 sound/soc/ti/davinci-mcasp.c return fifo_use / substream->runtime->channels; channels 1168 sound/soc/ti/davinci-mcasp.c int channels = params_channels(params); channels 1224 sound/soc/ti/davinci-mcasp.c period_size * channels, channels); channels 1232 sound/soc/ti/davinci-mcasp.c channels); channels 1240 sound/soc/ti/davinci-mcasp.c mcasp->channels = channels; channels 1476 sound/soc/ti/davinci-mcasp.c if (mcasp->channels && mcasp->channels < max_channels && channels 1478 sound/soc/ti/davinci-mcasp.c max_channels = mcasp->channels; channels 1559 sound/soc/ti/davinci-mcasp.c mcasp->channels = 0; channels 192 sound/soc/ti/omap-dmic.c int channels; channels 202 sound/soc/ti/omap-dmic.c channels = params_channels(params); channels 203 sound/soc/ti/omap-dmic.c switch (channels) { channels 220 sound/soc/ti/omap-dmic.c dma_data->maxburst = dmic->threshold * channels; channels 771 sound/soc/ti/omap-mcbsp.c struct snd_interval *channels = hw_param_interval(params, channels 780 sound/soc/ti/omap-mcbsp.c frames.min = size / channels->min; channels 924 sound/soc/ti/omap-mcbsp.c delay = fifo_use / substream->runtime->channels; channels 936 sound/soc/ti/omap-mcbsp.c int wlen, channels, wpf; channels 942 sound/soc/ti/omap-mcbsp.c channels = params_channels(params); channels 983 sound/soc/ti/omap-mcbsp.c } else if (channels > 1) { channels 985 sound/soc/ti/omap-mcbsp.c pkt_size = channels; channels 988 sound/soc/ti/omap-mcbsp.c latency = (buffer_size - pkt_size) / channels; channels 1008 sound/soc/ti/omap-mcbsp.c wpf = channels; channels 1009 sound/soc/ti/omap-mcbsp.c if (channels == 2 && (format == SND_SOC_DAIFMT_I2S || channels 1050 sound/soc/ti/omap-mcbsp.c if (framesize < wlen * channels) { channels 1056 sound/soc/ti/omap-mcbsp.c framesize = wlen * channels; channels 302 sound/soc/ti/omap-mcpdm.c int channels, latency; channels 305 sound/soc/ti/omap-mcpdm.c channels = params_channels(params); channels 306 sound/soc/ti/omap-mcpdm.c switch (channels) { channels 345 sound/soc/ti/omap-mcpdm.c (MCPDM_DN_THRES_MAX - threshold) * channels; channels 352 sound/soc/ti/omap-mcpdm.c dma_data->maxburst = threshold * channels; channels 32 sound/soc/uniphier/aio-dma.c runtime->channels * samples_to_bytes(runtime, 1); channels 130 sound/soc/uniphier/aio-dma.c runtime->channels * samples_to_bytes(runtime, 1); channels 157 sound/soc/uniphier/aio-dma.c runtime->channels * samples_to_bytes(runtime, 1); channels 191 sound/soc/uniphier/aio-dma.c runtime->channels * samples_to_bytes(runtime, 1); channels 222 sound/soc/ux500/mop500_ab8500.c int channels, ret = 0, driver_mode, slots; channels 253 sound/soc/ux500/mop500_ab8500.c channels = params_channels(params); channels 269 sound/soc/ux500/mop500_ab8500.c if (channels == 8) channels 297 sound/soc/ux500/mop500_ab8500.c switch (channels) { channels 329 sound/soc/ux500/ux500_msp_dai.c runtime->rate, runtime->channels); channels 129 sound/soc/xtensa/xtfpga-i2s.c #define xtfpga_pcm_tx_fn(channels, sample_bits) \ channels 130 sound/soc/xtensa/xtfpga-i2s.c static unsigned xtfpga_pcm_tx_##channels##x##sample_bits( \ channels 134 sound/soc/xtensa/xtfpga-i2s.c const u##sample_bits (*p)[channels] = \ channels 141 sound/soc/xtensa/xtfpga-i2s.c iowrite32(p[tx_ptr][channels - 1], \ channels 285 sound/soc/xtensa/xtfpga-i2s.c unsigned channels = params_channels(params); channels 330 sound/soc/xtensa/xtfpga-i2s.c __func__, srate, channels, sample_size, period_size); channels 393 sound/soc/xtensa/xtfpga-i2s.c unsigned channels = params_channels(hw_params); channels 395 sound/soc/xtensa/xtfpga-i2s.c switch (channels) { channels 407 sound/soc/xtensa/xtfpga-i2s.c i2s->tx_fn = (channels == 1) ? channels 413 sound/soc/xtensa/xtfpga-i2s.c i2s->tx_fn = (channels == 1) ? channels 535 sound/sparc/cs4231.c int channels) channels 557 sound/sparc/cs4231.c if (channels > 1) channels 135 sound/sparc/dbri.c __u8 channels; /* 1 or 2 */ channels 1380 sound/sparc/dbri.c mm->channels = 1; channels 1424 sound/sparc/dbri.c dbri->mm.channels, dbri->mm.precision); channels 1463 sound/sparc/dbri.c data_width = dbri->mm.channels * dbri->mm.precision; channels 1587 sound/sparc/dbri.c snd_pcm_format_t format, unsigned int channels) channels 1629 sound/sparc/dbri.c dbri->mm.channels = channels; channels 1630 sound/sparc/dbri.c if (channels == 2) channels 238 sound/spi/at73c213.c int channels = params_channels(hw_params); channels 242 sound/spi/at73c213.c val = SSC_BFINS(TFMR_DATNB, channels - 1, val); channels 267 sound/spi/at73c213.c runtime->period_size * runtime->channels); channels 271 sound/spi/at73c213.c runtime->period_size * runtime->channels); channels 385 sound/spi/at73c213.c runtime->period_size * runtime->channels); channels 273 sound/synth/emux/emux_effect.c p->chset.channels[i].private = p->effect + i; channels 276 sound/synth/emux/emux_effect.c p->chset.channels[i].private = NULL; channels 333 sound/synth/emux/emux_oss.c chan = &port->chset.channels[voice]; channels 389 sound/synth/emux/emux_oss.c chan = &port->chset.channels[i]; channels 431 sound/synth/emux/emux_oss.c chan = &port->chset.channels[voice]; channels 138 sound/synth/emux/emux_seq.c p->chset.channels = kcalloc(max_channels, sizeof(*p->chset.channels), channels 140 sound/synth/emux/emux_seq.c if (!p->chset.channels) { channels 145 sound/synth/emux/emux_seq.c p->chset.channels[i].number = i; channels 185 sound/synth/emux/emux_seq.c kfree(p->chset.channels); channels 229 sound/synth/emux/emux_seq.c struct snd_midi_channel *chan = port->chset.channels + i; channels 205 sound/usb/6fire/pcm.c int bytes_per_frame = alsa_rt->channels << 2; channels 226 sound/usb/6fire/pcm.c dest += alsa_rt->channels; channels 252 sound/usb/6fire/pcm.c int bytes_per_frame = alsa_rt->channels << 2; channels 274 sound/usb/6fire/pcm.c src += alsa_rt->channels; channels 15 sound/usb/card.h unsigned int channels; /* # channels */ channels 124 sound/usb/card.h unsigned int channels; /* current number of channels (for hw_params callback) */ channels 604 sound/usb/endpoint.c unsigned int channels, channels 614 sound/usb/endpoint.c int frame_bits = snd_pcm_format_physical_width(pcm_format) * channels; channels 624 sound/usb/endpoint.c frame_bits += channels << 3; channels 853 sound/usb/endpoint.c unsigned int channels, channels 890 sound/usb/endpoint.c err = data_ep_set_params(ep, pcm_format, channels, channels 14 sound/usb/endpoint.h unsigned int channels, channels 529 sound/usb/format.c fp->channels = fmt->bNrChannels; channels 541 sound/usb/format.c if (fp->channels < 1) { channels 544 sound/usb/format.c fp->iface, fp->altsetting, fp->channels); channels 577 sound/usb/format.c fp->channels = 1; channels 106 sound/usb/misc/ua101.c unsigned int channels; channels 617 sound/usb/misc/ua101.c unsigned int channels) channels 632 sound/usb/misc/ua101.c substream->runtime->hw.channels_min = channels; channels 633 sound/usb/misc/ua101.c substream->runtime->hw.channels_max = channels; channels 655 sound/usb/misc/ua101.c err = set_stream_hw(ua, substream, ua->capture.channels); channels 676 sound/usb/misc/ua101.c err = set_stream_hw(ua, substream, ua->playback.channels); channels 1015 sound/usb/misc/ua101.c ua->capture.channels = fmt_capture->bNrChannels; channels 1016 sound/usb/misc/ua101.c ua->playback.channels = fmt_playback->bNrChannels; channels 1018 sound/usb/misc/ua101.c fmt_capture->bSubframeSize * ua->capture.channels; channels 1020 sound/usb/misc/ua101.c fmt_playback->bSubframeSize * ua->playback.channels; channels 58 sound/usb/mixer.c int channels; channels 773 sound/usb/mixer.c term->channels = d->bNrChannels; channels 796 sound/usb/mixer.c term->channels = d->bNrChannels; channels 823 sound/usb/mixer.c term->channels = err; channels 845 sound/usb/mixer.c term->channels = err; channels 892 sound/usb/mixer.c if (!term->channels) { channels 893 sound/usb/mixer.c term->channels = uac_processing_unit_bNrChannels(d); channels 1309 sound/usb/mixer.c uinfo->count = cval->channels; channels 1599 sound/usb/mixer.c cval->channels = 1; /* master channel */ channels 1606 sound/usb/mixer.c cval->channels = c; channels 1615 sound/usb/mixer.c if (cval->channels == readonly_mask) channels 1709 sound/usb/mixer.c cval->head.id, kctl->id.name, cval->channels, channels 1714 sound/usb/mixer.c cval->head.id, kctl->id.name, cval->channels, channels 1792 sound/usb/mixer.c cval->channels = 1; /* report true if any channel is connected */ channels 1839 sound/usb/mixer.c cval->channels = 1; channels 1873 sound/usb/mixer.c int channels, i, j; channels 1882 sound/usb/mixer.c channels = (hdr->bLength - 7) / csize - 1; channels 1887 sound/usb/mixer.c channels = (hdr->bLength - 6) / 4 - 1; channels 1893 sound/usb/mixer.c channels = (ftr->bLength - 7) / 4 - 1; channels 1920 sound/usb/mixer.c channels = 0; channels 1931 sound/usb/mixer.c for (j = 0; j < channels; j++) { channels 1958 sound/usb/mixer.c for (j = 0; j < channels; j++) { channels 2058 sound/usb/mixer.c cval->channels++; channels 2082 sound/usb/mixer.c cval->head.id, kctl->id.name, cval->channels, cval->min, cval->max); channels 2150 sound/usb/mixer.c num_ins += iterm.channels; channels 2397 sound/usb/mixer.c cval->channels = 1; channels 2480 sound/usb/mixer.c cval->head.id, kctl->id.name, cval->channels, channels 2634 sound/usb/mixer.c cval->channels = 1; channels 3233 sound/usb/mixer.c cval->control, cval->cmask, cval->channels, channels 86 sound/usb/mixer.h int channels; channels 71 sound/usb/mixer_quirks.c cval->channels = 1; channels 228 sound/usb/mixer_scarlett.c uinfo->count = elem->channels; channels 240 sound/usb/mixer_scarlett.c for (i = 0; i < elem->channels; i++) { channels 259 sound/usb/mixer_scarlett.c for (i = 0; i < elem->channels; i++) { channels 283 sound/usb/mixer_scarlett.c for (i = 0; i < elem->channels; i++) channels 296 sound/usb/mixer_scarlett.c uinfo->count = elem->channels; channels 310 sound/usb/mixer_scarlett.c for (i = 0; i < elem->channels; i++) { channels 330 sound/usb/mixer_scarlett.c for (i = 0; i < elem->channels; i++) { channels 375 sound/usb/mixer_scarlett.c uinfo->count = elem->channels; channels 395 sound/usb/mixer_scarlett.c return snd_ctl_enum_info(uinfo, elem->channels, opt->len, channels 460 sound/usb/mixer_scarlett.c USB_DIR_IN, wValue, idx, buf, elem->channels); channels 530 sound/usb/mixer_scarlett.c int val_type, int channels, const char *name, channels 550 sound/usb/mixer_scarlett.c elem->channels = channels; channels 941 sound/usb/mixer_scarlett_gen2.c int index, int channels, const char *name, channels 955 sound/usb/mixer_scarlett_gen2.c elem->channels = channels; channels 1017 sound/usb/mixer_scarlett_gen2.c uinfo->count = elem->channels; channels 1472 sound/usb/mixer_scarlett_gen2.c uinfo->count = elem->channels; channels 1576 sound/usb/mixer_scarlett_gen2.c uinfo->count = elem->channels; channels 1681 sound/usb/mixer_scarlett_gen2.c uinfo->count = elem->channels; channels 1699 sound/usb/mixer_scarlett_gen2.c for (i = 0; i < elem->channels; i++) channels 1044 sound/usb/mixer_us16x08.c int index, int val_type, int channels, channels 1065 sound/usb/mixer_us16x08.c elem->channels = channels; channels 93 sound/usb/pcm.c if (fp->channels != subs->channels) channels 595 sound/usb/pcm.c if (fp->channels < 1) { channels 621 sound/usb/pcm.c if (fp->channels == match->channels) channels 647 sound/usb/pcm.c subs->channels, channels 677 sound/usb/pcm.c if (sync_fp->channels != subs->channels) { channels 678 sound/usb/pcm.c sync_period_bytes = (subs->period_bytes / subs->channels) * channels 679 sound/usb/pcm.c sync_fp->channels; channels 687 sound/usb/pcm.c sync_fp->channels, channels 710 sound/usb/pcm.c subs->channels, channels 808 sound/usb/pcm.c subs->channels = params_channels(hw_params); channels 815 sound/usb/pcm.c subs->pcm_format, subs->cur_rate, subs->channels); channels 987 sound/usb/pcm.c if (fp->channels < ct->min || fp->channels > ct->max) { channels 988 sound/usb/pcm.c hwc_debug(" > check: no valid channels %d (%d/%d)\n", fp->channels, ct->min, ct->max); channels 1079 sound/usb/pcm.c if (rmin > fp->channels) channels 1080 sound/usb/pcm.c rmin = fp->channels; channels 1081 sound/usb/pcm.c if (rmax < fp->channels) channels 1082 sound/usb/pcm.c rmax = fp->channels; channels 1084 sound/usb/pcm.c rmin = fp->channels; channels 1085 sound/usb/pcm.c rmax = fp->channels; channels 1254 sound/usb/pcm.c if (runtime->hw.channels_min > fp->channels) channels 1255 sound/usb/pcm.c runtime->hw.channels_min = fp->channels; channels 1256 sound/usb/pcm.c if (runtime->hw.channels_max < fp->channels) channels 1257 sound/usb/pcm.c runtime->hw.channels_max = fp->channels; channels 1489 sound/usb/pcm.c if (++subs->dsd_dop.channel % runtime->channels == 0) { channels 78 sound/usb/proc.c snd_iprintf(buffer, " Channels: %d\n", fp->channels); channels 67 sound/usb/quirks-table.h .channels = 2, channels 527 sound/usb/quirks-table.h .channels = 4, channels 544 sound/usb/quirks-table.h .channels = 2, channels 1015 sound/usb/quirks-table.h .channels = 2, channels 1032 sound/usb/quirks-table.h .channels = 2, channels 1636 sound/usb/quirks-table.h .channels = 10, channels 1654 sound/usb/quirks-table.h .channels = 12, channels 1703 sound/usb/quirks-table.h .channels = 4, channels 1721 sound/usb/quirks-table.h .channels = 6, channels 2116 sound/usb/quirks-table.h .channels = 6, channels 2142 sound/usb/quirks-table.h .channels = 4, channels 2187 sound/usb/quirks-table.h .channels = 8, channels 2213 sound/usb/quirks-table.h .channels = 6, channels 2257 sound/usb/quirks-table.h .channels = 8, channels 2281 sound/usb/quirks-table.h .channels = 8, channels 2324 sound/usb/quirks-table.h .channels = 8, channels 2348 sound/usb/quirks-table.h .channels = 8, channels 2703 sound/usb/quirks-table.h .channels = 4, channels 2743 sound/usb/quirks-table.h .channels = 4, channels 2797 sound/usb/quirks-table.h .channels = 2, channels 2827 sound/usb/quirks-table.h .channels = 2, channels 3038 sound/usb/quirks-table.h .channels = 2, channels 3061 sound/usb/quirks-table.h .channels = 2, channels 3108 sound/usb/quirks-table.h .channels = 2, channels 3133 sound/usb/quirks-table.h .channels = 2, channels 3191 sound/usb/quirks-table.h .channels = 2, channels 3233 sound/usb/quirks-table.h .channels = 1, channels 3251 sound/usb/quirks-table.h .channels = 1, channels 3287 sound/usb/quirks-table.h .channels = 4, channels 3403 sound/usb/quirks-table.h .channels = 2, channels 3449 sound/usb/quirks-table.h .channels = 2, channels 3511 sound/usb/quirks-table.h .channels = 6, channels 3534 sound/usb/quirks-table.h .channels = 8, channels 3575 sound/usb/quirks-table.h .channels = 12, channels 3594 sound/usb/quirks-table.h .channels = 10, channels 3637 sound/usb/quirks-table.h .channels = 8, // outputs channels 411 sound/usb/quirks.c .channels = 2, channels 105 sound/usb/stream.c if (fp->channels > subs->channels_max) channels 106 sound/usb/stream.c subs->channels_max = fp->channels; channels 169 sound/usb/stream.c ch_bytes = fp->chmap->channels * 4; channels 176 sound/usb/stream.c for (i = 0; i < fp->chmap->channels; i++, dst++) { channels 202 sound/usb/stream.c for (i = 0; i < chmap->channels; i++) channels 239 sound/usb/stream.c static struct snd_pcm_chmap_elem *convert_chmap(int channels, unsigned int bits, channels 291 sound/usb/stream.c if (channels > ARRAY_SIZE(chmap->map)) channels 299 sound/usb/stream.c chmap->channels = channels; channels 309 sound/usb/stream.c if (channels == 1) channels 312 sound/usb/stream.c for (; c < channels && *maps; maps++) channels 316 sound/usb/stream.c for (; c < channels; c++) channels 327 sound/usb/stream.c unsigned int channels = cluster->bNrChannels; channels 332 sound/usb/stream.c if (channels > ARRAY_SIZE(chmap->map)) channels 343 sound/usb/stream.c while (((p - (void *)cluster) < len) && (c < channels)) { channels 458 sound/usb/stream.c if (channels < c) channels 461 sound/usb/stream.c chmap->channels = channels; channels 463 sound/usb/stream.c for (; c < channels; c++) channels 690 sound/usb/stream.c fp->channels = num_channels; channels 845 sound/usb/stream.c if (fp->channels != num_channels) channels 848 sound/usb/stream.c fp->chmap = convert_chmap(fp->channels, chconfig, protocol); channels 921 sound/usb/stream.c chmap->channels = num_channels; channels 1161 sound/usb/stream.c fp && fp->altsetting == 1 && fp->channels == 1 && channels 353 sound/x86/intel_hdmi_audio.c u8 channels; channels 362 sound/x86/intel_hdmi_audio.c channels = substream->runtime->channels; channels 363 sound/x86/intel_hdmi_audio.c cfg_val.regx.num_ch = channels - 2; channels 364 sound/x86/intel_hdmi_audio.c if (channels <= 2) channels 398 sound/x86/intel_hdmi_audio.c p->channels = 0; channels 402 sound/x86/intel_hdmi_audio.c p->channels++; channels 417 sound/x86/intel_hdmi_audio.c int channels) channels 426 sound/x86/intel_hdmi_audio.c if (channels <= 2) channels 443 sound/x86/intel_hdmi_audio.c if (channels == channel_allocations[i].channels && channels 451 sound/x86/intel_hdmi_audio.c dev_dbg(intelhaddata->dev, "select CA 0x%x for %d\n", ca, channels); channels 516 sound/x86/intel_hdmi_audio.c for (c = 0; c < channel_allocations[i].channels; c++) { channels 521 sound/x86/intel_hdmi_audio.c chmap->channels = channel_allocations[i].channels; channels 560 sound/x86/intel_hdmi_audio.c for (i = 0; i < chmap->channels; i++) channels 598 sound/x86/intel_hdmi_audio.c int channels; channels 601 sound/x86/intel_hdmi_audio.c channels = substream->runtime->channels; channels 605 sound/x86/intel_hdmi_audio.c ca = had_channel_allocation(intelhaddata, channels); channels 608 sound/x86/intel_hdmi_audio.c frame2.regval = (substream->runtime->channels - 1) | (ca << 24); channels 611 sound/x86/intel_hdmi_audio.c frame2.regx.chnl_cnt = substream->runtime->channels - 1; channels 1214 sound/x86/intel_hdmi_audio.c dev_dbg(intelhaddata->dev, "channels=%d\n", runtime->channels); channels 72 sound/x86/intel_hdmi_audio.h int channels; channels 86 sound/xen/xen_snd_front.c u8 format, unsigned int channels, channels 98 sound/xen/xen_snd_front.c req->op.open.pcm_channels = channels; channels 39 sound/xen/xen_snd_front.h u8 format, unsigned int channels, channels 265 sound/xen/xen_snd_front_alsa.c struct snd_interval *channels = channels 288 sound/xen/xen_snd_front_alsa.c req.channels.min = channels->min; channels 289 sound/xen/xen_snd_front_alsa.c req.channels.max = channels->max; channels 329 sound/xen/xen_snd_front_alsa.c interval.min = resp.channels.min; channels 330 sound/xen/xen_snd_front_alsa.c interval.max = resp.channels.max; channels 331 sound/xen/xen_snd_front_alsa.c ret = snd_interval_refine(channels, &interval); channels 533 sound/xen/xen_snd_front_alsa.c runtime->channels, channels 270 tools/arch/x86/include/uapi/asm/kvm.h struct kvm_pit_channel_state channels[3]; channels 276 tools/arch/x86/include/uapi/asm/kvm.h struct kvm_pit_channel_state channels[3]; channels 52 tools/iio/iio_generic_buffer.c int size_from_channelarray(struct iio_channel_info *channels, int num_channels) channels 58 tools/iio/iio_generic_buffer.c if (bytes % channels[i].bytes == 0) channels 59 tools/iio/iio_generic_buffer.c channels[i].location = bytes; channels 61 tools/iio/iio_generic_buffer.c channels[i].location = bytes - bytes % channels[i].bytes channels 62 tools/iio/iio_generic_buffer.c + channels[i].bytes; channels 64 tools/iio/iio_generic_buffer.c bytes = channels[i].location + channels[i].bytes; channels 171 tools/iio/iio_generic_buffer.c struct iio_channel_info *channels, channels 177 tools/iio/iio_generic_buffer.c switch (channels[k].bytes) { channels 180 tools/iio/iio_generic_buffer.c print1byte(*(uint8_t *)(data + channels[k].location), channels 181 tools/iio/iio_generic_buffer.c &channels[k]); channels 184 tools/iio/iio_generic_buffer.c print2byte(*(uint16_t *)(data + channels[k].location), channels 185 tools/iio/iio_generic_buffer.c &channels[k]); channels 188 tools/iio/iio_generic_buffer.c print4byte(*(uint32_t *)(data + channels[k].location), channels 189 tools/iio/iio_generic_buffer.c &channels[k]); channels 192 tools/iio/iio_generic_buffer.c print8byte(*(uint64_t *)(data + channels[k].location), channels 193 tools/iio/iio_generic_buffer.c &channels[k]); channels 352 tools/iio/iio_generic_buffer.c struct iio_channel_info *channels = NULL; channels 522 tools/iio/iio_generic_buffer.c ret = build_channel_array(dev_dir_name, &channels, &num_channels); channels 548 tools/iio/iio_generic_buffer.c ret = build_channel_array(dev_dir_name, &channels, channels 615 tools/iio/iio_generic_buffer.c scan_size = size_from_channelarray(channels, num_channels); channels 667 tools/iio/iio_generic_buffer.c process_scan(data + scan_size * i, channels, channels 680 tools/iio/iio_generic_buffer.c free(channels[i].name); channels 681 tools/iio/iio_generic_buffer.c free(channels[i].generic_name); channels 683 tools/iio/iio_generic_buffer.c free(channels); channels 395 tools/lib/bpf/xsk.c struct ethtool_channels channels = { .cmd = ETHTOOL_GCHANNELS }; channels 403 tools/lib/bpf/xsk.c ifr.ifr_data = (void *)&channels; channels 421 tools/lib/bpf/xsk.c ret = max(channels.max_rx, channels.max_tx); channels 422 tools/lib/bpf/xsk.c ret = max(ret, (int)channels.max_combined);