Home
last modified time | relevance | path

Searched refs:MGB4_VIN_DEVICES (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/media/pci/mgb4/
Dmgb4_core.h18 #define MGB4_VIN_DEVICES 2 macro
37 struct mgb4_vin_dev *vin[MGB4_VIN_DEVICES];
40 struct mgb4_dma_channel c2h_chan[MGB4_VIN_DEVICES];
42 struct dma_slave_map slave_map[MGB4_VIN_DEVICES + MGB4_VOUT_DEVICES];
59 char channel_names[MGB4_VIN_DEVICES + MGB4_VOUT_DEVICES][16];
Dmgb4_core.c451 res[1].end = res[1].start + MGB4_VIN_DEVICES + MGB4_VOUT_DEVICES in init_xdma()
455 data.max_dma_channels = MGB4_VIN_DEVICES + MGB4_VOUT_DEVICES; in init_xdma()
457 data.device_map_cnt = MGB4_VIN_DEVICES + MGB4_VOUT_DEVICES; in init_xdma()
459 for (i = 0; i < MGB4_VIN_DEVICES; i++) { in init_xdma()
467 sprintf(mgbdev->channel_names[i + MGB4_VIN_DEVICES], "h2c%d", i); in init_xdma()
468 map = &data.device_map[i + MGB4_VIN_DEVICES]; in init_xdma()
469 map->slave = mgbdev->channel_names[i + MGB4_VIN_DEVICES]; in init_xdma()
604 for (i = 0; i < MGB4_VIN_DEVICES; i++) in mgb4_probe()
655 for (i = 0; i < MGB4_VIN_DEVICES; i++) in mgb4_remove()
Dmgb4_dma.c85 for (i = 0; i < MGB4_VIN_DEVICES; i++) { in mgb4_dma_channel_init()
115 for (i = 0; i < MGB4_VIN_DEVICES; i++) { in mgb4_dma_channel_free()
Dmgb4_sysfs_out.c107 for (i = 0; i < MGB4_VIN_DEVICES; i++) in video_source_store()
116 if (((config & 0xc) >> 2) < MGB4_VIN_DEVICES) in video_source_store()
118 if (val < MGB4_VIN_DEVICES) { in video_source_store()
119 val = array_index_nospec(val, MGB4_VIN_DEVICES); in video_source_store()
129 if (val == voutdev->config->id + MGB4_VIN_DEVICES) in video_source_store()
Dmgb4_vout.c546 if ((config & 0xc) >> 2 != voutdev->config->id + MGB4_VIN_DEVICES) { in fh_open()
676 (voutdev->config->id + MGB4_VIN_DEVICES) << 2 | 1 << 4); in fpga_init()