/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
D | ivtv-udma.c | 82 if (itv->udma.SG_handle == 0) { in ivtv_udma_alloc() 84 itv->udma.SG_handle = pci_map_single(itv->pdev, itv->udma.SGarray, in ivtv_udma_alloc() 85 sizeof(itv->udma.SGarray), PCI_DMA_TODEVICE); in ivtv_udma_alloc() 94 struct ivtv_user_dma *dma = &itv->udma; in ivtv_udma_setup() 152 struct ivtv_user_dma *dma = &itv->udma; in ivtv_udma_unmap() 177 if (itv->udma.SG_handle) { in ivtv_udma_free() 178 pci_unmap_single(itv->pdev, itv->udma.SG_handle, in ivtv_udma_free() 179 sizeof(itv->udma.SGarray), PCI_DMA_TODEVICE); in ivtv_udma_free() 183 if (itv->udma.SG_length) { in ivtv_udma_free() 184 pci_unmap_sg(itv->pdev, itv->udma.SGlist, itv->udma.page_count, PCI_DMA_TODEVICE); in ivtv_udma_free() [all …]
|
D | ivtv-udma.h | 26 pci_dma_sync_single_for_device(itv->pdev, itv->udma.SG_handle, in ivtv_udma_sync_for_device() 27 sizeof(itv->udma.SGarray), PCI_DMA_TODEVICE); in ivtv_udma_sync_for_device() 32 pci_dma_sync_single_for_cpu(itv->pdev, itv->udma.SG_handle, in ivtv_udma_sync_for_cpu() 33 sizeof(itv->udma.SGarray), PCI_DMA_TODEVICE); 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 \
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | amd74xx.c | 62 case ATA_UDMA2: t = timing->udma ? (0xc0 | (clamp_val(timing->udma, 2, 5) - 2)) : 0x03; break; in amd_set_speed() 63 …case ATA_UDMA4: t = timing->udma ? (0xc0 | amd_cyc2udma[clamp_val(timing->udma, 2, 10)]) : 0x03; b… in amd_set_speed() 64 …case ATA_UDMA5: t = timing->udma ? (0xc0 | amd_cyc2udma[clamp_val(timing->udma, 1, 10)]) : 0x03; b… in amd_set_speed() 65 …case ATA_UDMA6: t = timing->udma ? (0xc0 | amd_cyc2udma[clamp_val(timing->udma, 1, 15)]) : 0x03; b… in amd_set_speed() 69 if (timing->udma) in amd_set_speed() 97 if (speed == XFER_UDMA_5 && amd_clock <= 33333) t.udma = 1; in amd_set_drive() 98 if (speed == XFER_UDMA_6 && amd_clock <= 33333) t.udma = 15; in amd_set_drive() 196 #define DECLARE_AMD_DEV(swdma, udma) \ argument 206 .udma_mask = udma, \ 209 #define DECLARE_NV_DEV(udma) \ argument [all …]
|
D | it821x.c | 83 u16 udma[2]; /* Cached UDMA values (per drive) */ member 216 if(pair && itdev->udma[1-unit] != UDMA_OFF) { in it821x_clock_strategy() 217 it821x_program_udma(pair, itdev->udma[1-unit]); in it821x_clock_strategy() 224 if(itdev->udma[unit] != UDMA_OFF) { in it821x_clock_strategy() 225 it821x_program_udma(drive, itdev->udma[unit]); in it821x_clock_strategy() 294 itdev->udma[unit] = UDMA_OFF; in it821x_tune_mwdma() 325 static u16 udma[] = { 0x4433, 0x4231, 0x3121, 0x2121, 0x1111, 0x2211, 0x1111 }; in it821x_tune_udma() local 331 itdev->udma[unit] = udma[mode_wanted]; in it821x_tune_udma() 333 itdev->udma[unit] |= 0x8080; /* UDMA 5/6 select on */ in it821x_tune_udma() 344 it821x_program_udma(drive, itdev->udma[unit]); in it821x_tune_udma() [all …]
|
D | via82cxxx.c | 141 case ATA_UDMA2: t = timing->udma ? (0xe0 | (clamp_val(timing->udma, 2, 5) - 2)) : 0x03; break; in via_set_speed() 142 case ATA_UDMA4: t = timing->udma ? (0xe8 | (clamp_val(timing->udma, 2, 9) - 2)) : 0x0f; break; in via_set_speed() 143 case ATA_UDMA5: t = timing->udma ? (0xe0 | (clamp_val(timing->udma, 2, 9) - 2)) : 0x07; break; in via_set_speed() 144 case ATA_UDMA6: t = timing->udma ? (0xe0 | (clamp_val(timing->udma, 2, 9) - 2)) : 0x07; break; in via_set_speed() 156 if (timing->udma) { in via_set_speed()
|
D | piix.c | 159 u8 udma = speed - XFER_UDMA_0; in piix_set_dma_mode() local 161 u_speed = min_t(u8, 2 - (udma & 1), udma) << (drive->dn * 4); in piix_set_dma_mode() 322 #define DECLARE_PIIX_DEV(udma) \ argument 331 .udma_mask = udma, \ 334 #define DECLARE_ICH_DEV(mwdma, udma) \ argument 344 .udma_mask = udma, \
|
D | ide-timings.c | 106 q->udma = EZ(t->udma, UT); in ide_timing_quantize() 127 m->udma = max(a->udma, b->udma); in ide_timing_merge()
|
D | it8213.c | 104 u8 udma = speed - XFER_UDMA_0; in it8213_set_dma_mode() local 106 u_speed = min_t(u8, 2 - (udma & 1), udma) << (drive->dn * 4); in it8213_set_dma_mode()
|
D | alim15x3.c | 70 u8 unit = drive->dn & 1, udma; in ali_program_timings() local 74 pci_read_config_byte(dev, udmat, &udma); in ali_program_timings() 75 udma &= ~(0x0F << shift); in ali_program_timings() 76 udma |= ultra << shift; in ali_program_timings() 77 pci_write_config_byte(dev, udmat, udma); in ali_program_timings()
|
D | it8172.c | 93 u8 udma = speed - XFER_UDMA_0; in it8172_set_dma_mode() local 94 u_speed = udma << (drive->dn * 4); in it8172_set_dma_mode()
|
/kernel/linux/linux-5.10/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() 276 u32 saved_udma, udma; in nv_mode_filter() local 281 udma = saved_udma = (unsigned long)ap->host->private_data; in nv_mode_filter() 284 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_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_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_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()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/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
|