/linux-6.6.21/drivers/media/pci/ivtv/ |
D | ivtv-udma.c | 82 if (itv->udma.SG_handle == 0) { in ivtv_udma_alloc() 84 itv->udma.SG_handle = dma_map_single(&itv->pdev->dev, in ivtv_udma_alloc() 85 itv->udma.SGarray, in ivtv_udma_alloc() 86 sizeof(itv->udma.SGarray), in ivtv_udma_alloc() 96 struct ivtv_user_dma *dma = &itv->udma; in ivtv_udma_setup() 155 struct ivtv_user_dma *dma = &itv->udma; in ivtv_udma_unmap() 181 if (itv->udma.SG_handle) { in ivtv_udma_free() 182 dma_unmap_single(&itv->pdev->dev, itv->udma.SG_handle, in ivtv_udma_free() 183 sizeof(itv->udma.SGarray), DMA_TO_DEVICE); in ivtv_udma_free() 187 if (itv->udma.SG_length) { in ivtv_udma_free() [all …]
|
D | ivtv-udma.h | 26 dma_sync_single_for_device(&itv->pdev->dev, itv->udma.SG_handle, in ivtv_udma_sync_for_device() 27 sizeof(itv->udma.SGarray), DMA_TO_DEVICE); in ivtv_udma_sync_for_device() 32 dma_sync_single_for_cpu(&itv->pdev->dev, itv->udma.SG_handle, in ivtv_udma_sync_for_cpu() 33 sizeof(itv->udma.SGarray), DMA_TO_DEVICE); in ivtv_udma_sync_for_cpu()
|
D | ivtv-firmware.c | 279 mutex_lock(&itv->udma.lock); in ivtv_firmware_restart() 283 mutex_unlock(&itv->udma.lock); in ivtv_firmware_restart() 317 mutex_unlock(&itv->udma.lock); in ivtv_firmware_restart()
|
D | Makefile | 5 ivtv-mailbox.o ivtv-queue.o ivtv-streams.o ivtv-udma.o \
|
D | ivtvfb.c | 280 mutex_lock(&itv->udma.lock); in ivtvfb_prep_dec_dma_to_device() 283 mutex_unlock(&itv->udma.lock); in ivtvfb_prep_dec_dma_to_device() 285 size_in_bytes, itv->udma.page_count); in ivtvfb_prep_dec_dma_to_device() 292 size_in_bytes, itv->udma.page_count); in ivtvfb_prep_dec_dma_to_device() 312 mutex_unlock(&itv->udma.lock); in ivtvfb_prep_dec_dma_to_device()
|
D | ivtv-yuv.c | 1067 mutex_lock(&itv->udma.lock); in ivtv_yuv_udma_frame() 1069 if ((rc = ivtv_yuv_prep_user_dma(itv, &itv->udma, args)) != 0) { in ivtv_yuv_udma_frame() 1070 mutex_unlock(&itv->udma.lock); in ivtv_yuv_udma_frame() 1095 mutex_unlock(&itv->udma.lock); in ivtv_yuv_udma_frame() 1101 mutex_unlock(&itv->udma.lock); in ivtv_yuv_udma_frame()
|
D | ivtv-driver.c | 743 mutex_init(&itv->udma.lock); in ivtv_init_struct1() 780 sg_init_table(itv->udma.SGlist, IVTV_DMA_SG_OSD_ENT); in ivtv_init_struct1()
|
/linux-6.6.21/drivers/ata/ |
D | pata_amd.c | 77 if (speed == XFER_UDMA_5 && amd_clock <= 33333) at.udma = 1; in timing_setup() 78 if (speed == XFER_UDMA_6 && amd_clock <= 33333) at.udma = 15; in timing_setup() 99 t = at.udma ? (0xc0 | (clamp_val(at.udma, 2, 5) - 2)) : 0x03; in timing_setup() 103 t = at.udma ? (0xc0 | amd_cyc2udma[clamp_val(at.udma, 2, 10)]) : 0x03; in timing_setup() 107 t = at.udma ? (0xc0 | amd_cyc2udma[clamp_val(at.udma, 1, 10)]) : 0x03; in timing_setup() 111 t = at.udma ? (0xc0 | amd_cyc2udma[clamp_val(at.udma, 1, 15)]) : 0x03; in timing_setup() 119 if (at.udma) in timing_setup() 275 u32 saved_udma, udma; in nv_mode_filter() local 280 udma = saved_udma = (unsigned long)ap->host->private_data; in nv_mode_filter() 283 udma >>= 16; in nv_mode_filter() [all …]
|
D | pata_it821x.c | 95 u16 udma[2]; /* Cached UDMA values (per drive) */ member 232 if (pair && itdev->udma[1-unit] != UDMA_OFF) { in it821x_clock_strategy() 233 it821x_program_udma(ap, pair, itdev->udma[1-unit]); in it821x_clock_strategy() 240 if (itdev->udma[unit] != UDMA_OFF) { in it821x_clock_strategy() 241 it821x_program_udma(ap, adev, itdev->udma[unit]); in it821x_clock_strategy() 289 static const u16 udma[] = { 0x4433, 0x4231, 0x3121, 0x2121, 0x1111, 0x2211, 0x1111 }; in it821x_passthru_set_dmamode() local 304 itdev->udma[unit] = udma[mode_wanted]; in it821x_passthru_set_dmamode() 306 itdev->udma[unit] |= 0x8080; /* UDMA 5/6 select on */ in it821x_passthru_set_dmamode() 316 it821x_program_udma(ap, adev, itdev->udma[unit]); in it821x_passthru_set_dmamode() 323 itdev->udma[unit] = UDMA_OFF; in it821x_passthru_set_dmamode() [all …]
|
D | pata_it8213.c | 159 unsigned int udma = adev->dma_mode - XFER_UDMA_0; in it8213_set_dmamode() local 165 u_speed = min(2 - (udma & 1), udma); in it8213_set_dmamode() 166 if (udma > 4) in it8213_set_dmamode() 168 else if (udma > 2) in it8213_set_dmamode()
|
D | libata-pata-timings.c | 71 q->udma = EZ(t->udma, UT); in ata_timing_quantize() 94 m->udma = max(a->udma, b->udma); in ata_timing_merge()
|
D | pata_via.c | 298 ut = t.udma ? (0xe0 | (clamp_val(t.udma, 2, 5) - 2)) : 0x03; in via_do_set_mode() 301 ut = t.udma ? (0xe8 | (clamp_val(t.udma, 2, 9) - 2)) : 0x0f; in via_do_set_mode() 304 ut = t.udma ? (0xe0 | (clamp_val(t.udma, 2, 9) - 2)) : 0x07; in via_do_set_mode() 307 ut = t.udma ? (0xe0 | (clamp_val(t.udma, 2, 9) - 2)) : 0x07; in via_do_set_mode() 320 if (t.udma) { in via_do_set_mode()
|
D | pata_piccolo.c | 51 int udma = adev->dma_mode - XFER_UDMA_0; in tosh_set_dmamode() local 53 conf |= (udma + 2) << 28; in tosh_set_dmamode() 54 conf |= (2 - udma) * 0x111; /* spread into three nibbles */ in tosh_set_dmamode()
|
D | pata_rdc.c | 193 unsigned int udma = adev->dma_mode - XFER_UDMA_0; in rdc_set_dmamode() local 205 u_speed = min(2 - (udma & 1), udma); in rdc_set_dmamode() 206 if (udma == 5) in rdc_set_dmamode() 208 else if (udma > 2) in rdc_set_dmamode()
|
D | pata_atiixp.c | 52 u8 udma; in atiixp_cable_detect() local 59 pci_read_config_byte(pdev, ATIIXP_IDE_UDMA_MODE + ap->port_no, &udma); in atiixp_cable_detect() 60 if ((udma & 0x07) >= 0x04 || (udma & 0x70) >= 0x40) in atiixp_cable_detect()
|
D | pata_ali.c | 178 u8 udma; in ali_program_modes() local 193 pci_read_config_byte(pdev, udmat, &udma); in ali_program_modes() 194 udma &= ~(0x0F << shift); in ali_program_modes() 195 udma |= ultra << shift; in ali_program_modes() 196 pci_write_config_byte(pdev, udmat, udma); in ali_program_modes()
|
D | pata_optidma.c | 208 int udma = mode - XFER_UDMA_0; in optiplus_mode_setup() local 219 udslave |= (udma << dev2); in optiplus_mode_setup() 223 udcfg |= (udma << dev2); in optiplus_mode_setup()
|
D | pata_efar.c | 181 unsigned int udma = adev->dma_mode - XFER_UDMA_0; in efar_set_dmamode() local 189 udma_timing |= udma << (4 * devid); in efar_set_dmamode()
|
D | ata_piix.c | 673 unsigned int udma = speed - XFER_UDMA_0; in do_pata_set_dmamode() local 689 u_speed = min(2 - (udma & 1), udma); in do_pata_set_dmamode() 690 if (udma == 5) in do_pata_set_dmamode() 692 else if (udma > 2) in do_pata_set_dmamode()
|
D | pata_acpi.c | 147 acpi->gtm.drive[unit].dma = t->udma; in pacpi_set_dmamode()
|
D | libata-core.c | 3317 this_cycle = t->udma; in ata_timing_cycle2mode() 6338 force_xfer(udma/16, ATA_SHIFT_UDMA + 0), 6341 force_xfer(udma/25, ATA_SHIFT_UDMA + 1), 6344 force_xfer(udma/33, ATA_SHIFT_UDMA + 2), 6347 force_xfer(udma/44, ATA_SHIFT_UDMA + 3), 6350 force_xfer(udma/66, ATA_SHIFT_UDMA + 4), 6353 force_xfer(udma/100, ATA_SHIFT_UDMA + 5), 6356 force_xfer(udma/133, ATA_SHIFT_UDMA + 6),
|
/linux-6.6.21/drivers/dma/ti/ |
D | Makefile | 5 obj-$(CONFIG_TI_K3_UDMA) += k3-udma.o 6 obj-$(CONFIG_TI_K3_UDMA_GLUE_LAYER) += k3-udma-glue.o
|
/linux-6.6.21/sound/soc/ti/ |
D | Makefile | 6 snd-soc-ti-udma-objs := udma-pcm.o 10 obj-$(CONFIG_SND_SOC_TI_UDMA_PCM) += snd-soc-ti-udma.o
|
/linux-6.6.21/Documentation/devicetree/bindings/dma/ti/ |
D | k3-udma.yaml | 6 $id: http://devicetree.org/schemas/dma/ti/k3-udma.yaml# 132 ti,udma-atype: 137 - ti,udma-atype
|
/linux-6.6.21/Documentation/devicetree/bindings/ata/ |
D | pata-arasan.txt | 21 - arasan,broken-udma: if present, UDMA mode is unusable
|