/drivers/media/pci/solo6x10/ |
D | solo6x10-tw28.c | 229 if (solo_dev->nr_chans == 4) { in tw2865_setup() 232 } else if (solo_dev->nr_chans == 8) { in tw2865_setup() 236 } else if (solo_dev->nr_chans == 16) { in tw2865_setup() 281 if (solo_dev->nr_chans == 4) { in tw2864_setup() 284 } else if (solo_dev->nr_chans == 8) { in tw2864_setup() 290 } else if (solo_dev->nr_chans == 16) { in tw2864_setup() 307 if (solo_dev->nr_chans == 8) { in tw2864_setup() 311 } else if (solo_dev->nr_chans == 16) { in tw2864_setup() 420 if (solo_dev->nr_chans == 4) { in tw2815_setup() 423 } else if (solo_dev->nr_chans == 8) { in tw2815_setup() [all …]
|
D | solo6x10-offsets.h | 53 (SOLO_EREF_EXT_SIZE * __solo->nr_chans * 2) 55 #define __SOLO_JPEG_MIN_SIZE(__solo) (__solo->nr_chans * 0x00080000) 62 __solo->nr_chans * 0x00080000, 0x00ff0000) 64 #define __SOLO_JPEG_MIN_SIZE(__solo) (__solo->nr_chans * 0x00080000)
|
D | solo6x10-v4l2.c | 65 if (ch >= solo_dev->nr_chans) in solo_win_setup() 84 if (ch >= solo_dev->nr_chans) in solo_v4l2_ch_ext_4up() 147 if (ch < solo_dev->nr_chans) { in solo_v4l2_ch() 155 if (ch >= solo_dev->nr_chans + solo_dev->nr_ext) in solo_v4l2_ch() 158 ext_ch = ch - solo_dev->nr_chans; in solo_v4l2_ch() 170 if (ch >= solo_dev->nr_chans + solo_dev->nr_ext) in solo_v4l2_set_ch() 383 int ext = input->index - solo_dev->nr_chans; in solo_enum_ext_input() 409 if (input->index >= solo_dev->nr_chans) { in solo_enum_input() 527 for (i = 0; i < solo_dev->nr_chans; i++) in solo_set_video_type() 536 for (i = 0; i < solo_dev->nr_chans; i++) in solo_set_video_type() [all …]
|
D | solo6x10-disp.c | 160 (1 << solo_dev->nr_chans) - 1); in solo_vout_config() 192 if (ch > solo_dev->nr_chans) in solo_set_motion_threshold() 231 for (i = 0; i < solo_dev->nr_chans; i++) { in solo_motion_config() 276 for (i = 0; i < solo_dev->nr_chans; i++) in solo_disp_init() 290 for (i = 0; i < solo_dev->nr_chans; i++) { in solo_disp_exit()
|
D | solo6x10-enc.c | 115 for (i = 0; i < solo_dev->nr_chans; i++) { in solo_capture_config() 290 for (i = 0; i < solo_dev->nr_chans; i++) { in solo_mp4e_config() 302 for (i = 0; i < solo_dev->nr_chans; i++) in solo_mp4e_config() 315 for (i = 0; i < solo_dev->nr_chans; i++) { in solo_enc_init() 327 for (i = 0; i < solo_dev->nr_chans; i++) { in solo_enc_exit()
|
D | solo6x10-core.c | 308 for (i = 0; i < solo_dev->nr_chans; i++) { in intervals_show() 420 solo_dev->nr_chans); in solo_sysfs_init() 497 solo_dev->nr_chans = 16; in solo_pci_probe() 501 solo_dev->nr_chans = 8; in solo_pci_probe() 509 solo_dev->nr_chans = 4; in solo_pci_probe()
|
D | solo6x10-g723.c | 298 ret = snd_pcm_new(card, card->driver, 0, 0, solo_dev->nr_chans, in solo_snd_pcm_init() 358 kctl.count = solo_dev->nr_chans; in solo_g723_init()
|
D | solo6x10-v4l2-enc.c | 1353 for (i = 0; i < solo_dev->nr_chans; i++) { in solo_enc_v4l2_init() 1359 if (i != solo_dev->nr_chans) { in solo_enc_v4l2_init() 1377 solo_dev->v4l2_enc[solo_dev->nr_chans - 1]->vfd->num); in solo_enc_v4l2_init() 1388 for (i = 0; i < solo_dev->nr_chans; i++) in solo_enc_v4l2_exit()
|
D | solo6x10.h | 189 int nr_chans; member
|
/drivers/edac/ |
D | i82875p_edac.c | 41 #define I82875P_NR_CSROWS(nr_chans) (I82875P_NR_DIMMS / (nr_chans)) argument 345 unsigned nr_chans = dual_channel_active(drc) + 1; in i82875p_init_csrows() local 375 for (j = 0; j < nr_chans; j++) { in i82875p_init_csrows() 378 dimm->nr_pages = nr_pages / nr_chans; in i82875p_init_csrows() 396 u32 nr_chans; in i82875p_probe1() local 404 nr_chans = dual_channel_active(drc) + 1; in i82875p_probe1() 407 layers[0].size = I82875P_NR_CSROWS(nr_chans); in i82875p_probe1() 410 layers[1].size = nr_chans; in i82875p_probe1()
|
D | i82975x_edac.c | 32 #define I82975X_NR_CSROWS(nr_chans) (I82975X_NR_DIMMS / (nr_chans)) argument
|
/drivers/dma/ |
D | uniphier-xdmac.c | 99 int nr_chans; member 269 for (i = 0; i < xdev->nr_chans; i++) in uniphier_xdmac_irq_handler() 472 if (chan_id >= xdev->nr_chans) in of_dma_uniphier_xlate() 487 int nr_chans; in uniphier_xdmac_probe() local 490 if (of_property_read_u32(dev->of_node, "dma-channels", &nr_chans)) in uniphier_xdmac_probe() 492 if (nr_chans > XDMAC_MAX_CHANS) in uniphier_xdmac_probe() 493 nr_chans = XDMAC_MAX_CHANS; in uniphier_xdmac_probe() 495 xdev = devm_kzalloc(dev, struct_size(xdev, channels, nr_chans), in uniphier_xdmac_probe() 500 xdev->nr_chans = nr_chans; in uniphier_xdmac_probe() 526 for (i = 0; i < nr_chans; i++) in uniphier_xdmac_probe() [all …]
|
D | milbeaut-xdmac.c | 315 int nr_chans, ret, i; in milbeaut_xdmac_probe() local 317 nr_chans = platform_irq_count(pdev); in milbeaut_xdmac_probe() 318 if (nr_chans < 0) in milbeaut_xdmac_probe() 319 return nr_chans; in milbeaut_xdmac_probe() 321 mdev = devm_kzalloc(dev, struct_size(mdev, channels, nr_chans), in milbeaut_xdmac_probe() 343 for (i = 0; i < nr_chans; i++) { in milbeaut_xdmac_probe()
|
D | uniphier-mdmac.c | 385 int nr_chans, ret, i; in uniphier_mdmac_probe() local 387 nr_chans = platform_irq_count(pdev); in uniphier_mdmac_probe() 388 if (nr_chans < 0) in uniphier_mdmac_probe() 389 return nr_chans; in uniphier_mdmac_probe() 395 mdev = devm_kzalloc(dev, struct_size(mdev, channels, nr_chans), in uniphier_mdmac_probe() 429 for (i = 0; i < nr_chans; i++) { in uniphier_mdmac_probe()
|
D | milbeaut-hdmac.c | 460 int nr_chans, ret, i; in milbeaut_hdmac_probe() local 462 nr_chans = platform_irq_count(pdev); in milbeaut_hdmac_probe() 463 if (nr_chans < 0) in milbeaut_hdmac_probe() 464 return nr_chans; in milbeaut_hdmac_probe() 470 mdev = devm_kzalloc(dev, struct_size(mdev, channels, nr_chans), in milbeaut_hdmac_probe() 507 for (i = 0; i < nr_chans; i++) { in milbeaut_hdmac_probe()
|
D | pxa_dma.c | 125 int nr_chans; member 311 seq_printf(s, "\tChannel number: %d\n", pdev->nr_chans); in state_show() 345 kmalloc_array(pdev->nr_chans, sizeof(struct dentry *), in pxad_init_debugfs() 356 for (i = 0; i < pdev->nr_chans; i++) in pxad_init_debugfs() 386 for (i = 0; i < pdev->nr_chans; i++) { in lookup_phy() 1307 pdev->nr_chans = nr_phy_chans; in pxad_init_dmadev()
|
/drivers/hwtracing/stm/ |
D | core.c | 193 if (WARN_ON_ONCE(master->nr_free < output->nr_chans)) in stm_output_claim() 197 ilog2(output->nr_chans)); in stm_output_claim() 199 master->nr_free -= output->nr_chans; in stm_output_claim() 211 ilog2(output->nr_chans)); in stm_output_disclaim() 213 master->nr_free += output->nr_chans; in stm_output_disclaim() 214 output->nr_chans = 0; in stm_output_disclaim() 304 if (WARN_ON_ONCE(output->nr_chans)) in stm_output_assign() 313 output->nr_chans = width; in stm_output_assign() 332 output->nr_chans = 0; in stm_output_assign() 344 if (output->nr_chans) in stm_output_free() [all …]
|
D | ftrace.c | 25 .nr_chans = STM_FTRACE_NR_CHANNELS, 68 stm_ftrace.data.nr_chans = roundup_pow_of_two(num_possible_cpus()); in stm_ftrace_init()
|
D | console.c | 24 .nr_chans = 1,
|
D | stm.h | 67 unsigned int nr_chans; member
|
D | heartbeat.c | 80 stm_heartbeat[i].data.nr_chans = 1; in stm_heartbeat_init()
|
/drivers/hwtracing/intel_th/ |
D | sth.c | 143 unsigned int channel, unsigned int nr_chans) in sth_stm_mmio_addr() argument 153 offset_in_page(nr_chans * sizeof(struct intel_th_channel))) in sth_stm_mmio_addr()
|
/drivers/hwtracing/coresight/ |
D | coresight-stm.c | 353 unsigned int channel, unsigned int nr_chans) in stm_mmio_addr() argument 362 offset_in_page(nr_chans * BYTES_PER_CHANNEL)) in stm_mmio_addr() 371 unsigned int nr_chans, in stm_generic_set_options() argument
|