Home
last modified time | relevance | path

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

/Linux-v5.4/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()
387 int ext = input->index - solo_dev->nr_chans; in solo_enum_ext_input()
413 if (input->index >= solo_dev->nr_chans) { in solo_enum_input()
531 for (i = 0; i < solo_dev->nr_chans; i++) in solo_set_video_type()
540 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.c338 ret = snd_pcm_new(card, card->driver, 0, 0, solo_dev->nr_chans, in solo_snd_pcm_init()
398 kctl.count = solo_dev->nr_chans; in solo_g723_init()
Dsolo6x10-v4l2-enc.c1355 for (i = 0; i < solo_dev->nr_chans; i++) { in solo_enc_v4l2_init()
1361 if (i != solo_dev->nr_chans) { in solo_enc_v4l2_init()
1379 solo_dev->v4l2_enc[solo_dev->nr_chans - 1]->vfd->num); in solo_enc_v4l2_init()
1390 for (i = 0; i < solo_dev->nr_chans; i++) in solo_enc_v4l2_exit()
Dsolo6x10.h189 int nr_chans; member
/Linux-v5.4/drivers/edac/
Di82875p_edac.c41 #define I82875P_NR_CSROWS(nr_chans) (I82875P_NR_DIMMS / (nr_chans)) argument
346 unsigned nr_chans = dual_channel_active(drc) + 1; in i82875p_init_csrows() local
376 for (j = 0; j < nr_chans; j++) { in i82875p_init_csrows()
379 dimm->nr_pages = nr_pages / nr_chans; in i82875p_init_csrows()
397 u32 nr_chans; in i82875p_probe1() local
405 nr_chans = dual_channel_active(drc) + 1; in i82875p_probe1()
408 layers[0].size = I82875P_NR_CSROWS(nr_chans); in i82875p_probe1()
411 layers[1].size = nr_chans; in i82875p_probe1()
Di82975x_edac.c32 #define I82975X_NR_CSROWS(nr_chans) (I82975X_NR_DIMMS / (nr_chans)) argument
/Linux-v5.4/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 …]
Dconsole.c24 .nr_chans = 1,
Dftrace.c25 .nr_chans = STM_FTRACE_NR_CHANNELS,
Dheartbeat.c78 stm_heartbeat[i].data.nr_chans = 1; in stm_heartbeat_init()
Dstm.h67 unsigned int nr_chans; member
/Linux-v5.4/drivers/dma/
Duniphier-mdmac.c386 int nr_chans, ret, i; in uniphier_mdmac_probe() local
388 nr_chans = platform_irq_count(pdev); in uniphier_mdmac_probe()
389 if (nr_chans < 0) in uniphier_mdmac_probe()
390 return nr_chans; in uniphier_mdmac_probe()
396 mdev = devm_kzalloc(dev, struct_size(mdev, channels, nr_chans), in uniphier_mdmac_probe()
431 for (i = 0; i < nr_chans; i++) { in uniphier_mdmac_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()
1317 pdev->nr_chans = nr_phy_chans; in pxad_init_dmadev()
/Linux-v5.4/include/linux/
Dstm.h119 unsigned int nr_chans; member
/Linux-v5.4/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-v5.4/drivers/hwtracing/coresight/
Dcoresight-stm.c359 unsigned int channel, unsigned int nr_chans) in stm_mmio_addr() argument
368 offset_in_page(nr_chans * BYTES_PER_CHANNEL)) in stm_mmio_addr()
377 unsigned int nr_chans, in stm_generic_set_options() argument