Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/pci/solo6x10/
H A 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 …]
H A Dsolo6x10-offsets.h53 (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)
H A 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()
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()
680 for (i = 0; i < solo_dev->nr_chans; i++) { in solo_v4l2_init()
[all …]
H A 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()
H A 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()
H A Dsolo6x10-core.c308 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()
H A Dsolo6x10-g723.c298 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()
H A 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()
H A Dsolo6x10.h189 int nr_chans; member
/openbmc/linux/drivers/edac/
H A 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()
H A Di82975x_edac.c32 #define I82975X_NR_CSROWS(nr_chans) (I82975X_NR_DIMMS / (nr_chans)) argument
/openbmc/linux/drivers/dma/
H A 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 …]
H A 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()
H A 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()
H A 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()
H A 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()
1307 pdev->nr_chans = nr_phy_chans; in pxad_init_dmadev()
/openbmc/linux/drivers/hwtracing/stm/
H A Dcore.c211 ilog2(output->nr_chans)); in stm_output_disclaim()
214 output->nr_chans = 0; in stm_output_disclaim()
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()
633 if (!stmf->output.nr_chans) { in stm_char_write()
710 stmf->output.nr_chans); in stm_char_mmap()
733 if (stmf->output.nr_chans) in stm_char_policy_set_ioctl()
824 stmf->output.nr_chans, in stm_char_ioctl()
1013 src->data->nr_chans); in stm_source_link_add()
[all …]
H A 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()
H A Dconsole.c24 .nr_chans = 1,
H A Dstm.h67 unsigned int nr_chans; member
H A Dheartbeat.c80 stm_heartbeat[i].data.nr_chans = 1; in stm_heartbeat_init()
/openbmc/linux/include/linux/
H A Dstm.h119 unsigned int nr_chans; member
/openbmc/linux/drivers/hwtracing/intel_th/
H A 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()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-stm.c353 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