Home
last modified time | relevance | path

Searched refs:nr_chans (Results 1 – 24 of 24) sorted by relevance

/linux-5.19.10/drivers/media/pci/solo6x10/
Dsolo6x10-tw28.c229 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 …]
Dsolo6x10-offsets.h53 (SOLO_EREF_EXT_SIZE * __solo->nr_chans * 2)
55 #define __SOLO_JPEG_MIN_SIZE(__solo) (__solo->nr_chans * 0x00080000)
60 max((__solo->nr_chans * 0x00080000), \
64 #define __SOLO_JPEG_MIN_SIZE(__solo) (__solo->nr_chans * 0x00080000)
Dsolo6x10-v4l2.c65 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 …]
Dsolo6x10-disp.c160 (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()
Dsolo6x10-enc.c115 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()
Dsolo6x10-core.c308 for (i = 0; i < solo_dev->nr_chans; i++) { in intervals_show()
420 solo_dev->nr_chans); in solo_sysfs_init()
496 solo_dev->nr_chans = 16; in solo_pci_probe()
500 solo_dev->nr_chans = 8; in solo_pci_probe()
508 solo_dev->nr_chans = 4; in solo_pci_probe()
Dsolo6x10-g723.c325 ret = snd_pcm_new(card, card->driver, 0, 0, solo_dev->nr_chans, in solo_snd_pcm_init()
385 kctl.count = solo_dev->nr_chans; in solo_g723_init()
Dsolo6x10-v4l2-enc.c1353 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()
Dsolo6x10.h189 int nr_chans; member
/linux-5.19.10/drivers/edac/
Di82875p_edac.c41 #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()
Di82975x_edac.c32 #define I82975X_NR_CSROWS(nr_chans) (I82975X_NR_DIMMS / (nr_chans)) argument
/linux-5.19.10/drivers/dma/
Duniphier-xdmac.c99 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 …]
Dmilbeaut-xdmac.c315 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()
Duniphier-mdmac.c385 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()
Dmilbeaut-hdmac.c460 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()
Dpxa_dma.c125 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()
1308 pdev->nr_chans = nr_phy_chans; in pxad_init_dmadev()
/linux-5.19.10/drivers/hwtracing/stm/
Dcore.c193 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 …]
Dftrace.c25 .nr_chans = STM_FTRACE_NR_CHANNELS,
68 stm_ftrace.data.nr_chans = roundup_pow_of_two(num_possible_cpus()); in stm_ftrace_init()
Dconsole.c24 .nr_chans = 1,
Dheartbeat.c80 stm_heartbeat[i].data.nr_chans = 1; in stm_heartbeat_init()
Dstm.h67 unsigned int nr_chans; member
/linux-5.19.10/include/linux/
Dstm.h119 unsigned int nr_chans; member
/linux-5.19.10/drivers/hwtracing/intel_th/
Dsth.c143 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()
/linux-5.19.10/drivers/hwtracing/coresight/
Dcoresight-stm.c360 unsigned int channel, unsigned int nr_chans) in stm_mmio_addr() argument
369 offset_in_page(nr_chans * BYTES_PER_CHANNEL)) in stm_mmio_addr()
378 unsigned int nr_chans, in stm_generic_set_options() argument