/Linux-v5.4/drivers/media/pci/tw686x/ |
D | tw686x-core.c | 57 static unsigned int dma_mode = TW686X_DMA_MODE_MEMCPY; variable 74 return sprintf(buffer, "%s", dma_mode_name(dma_mode)); in tw686x_dma_mode_get() 80 dma_mode = TW686X_DMA_MODE_MEMCPY; in tw686x_dma_mode_set() 82 dma_mode = TW686X_DMA_MODE_CONTIG; in tw686x_dma_mode_set() 84 dma_mode = TW686X_DMA_MODE_SG; in tw686x_dma_mode_set() 89 module_param_call(dma_mode, tw686x_dma_mode_set, tw686x_dma_mode_get, 90 &dma_mode, S_IRUGO|S_IWUSR); 91 MODULE_PARM_DESC(dma_mode, "DMA operation mode (memcpy/contig/sg, default=memcpy)"); 250 dev->dma_mode = dma_mode; in tw686x_probe() 270 dma_mode_name(dma_mode)); in tw686x_probe()
|
/Linux-v5.4/drivers/ata/ |
D | pata_sch.c | 127 unsigned int dma_mode = adev->dma_mode; in sch_set_dmamode() local 134 if (dma_mode >= XFER_UDMA_0) { in sch_set_dmamode() 138 data |= (dma_mode - XFER_UDMA_0) << 16; in sch_set_dmamode() 141 data |= (dma_mode - XFER_MW_DMA_0) << 8; in sch_set_dmamode()
|
D | pata_sis.c | 340 int speed = adev->dma_mode - XFER_MW_DMA_0; in sis_old_set_dmamode() 349 if (adev->dma_mode < XFER_UDMA_0) { in sis_old_set_dmamode() 356 speed = adev->dma_mode - XFER_UDMA_0; in sis_old_set_dmamode() 379 int speed = adev->dma_mode - XFER_MW_DMA_0; in sis_66_set_dmamode() 389 if (adev->dma_mode < XFER_UDMA_0) { in sis_66_set_dmamode() 396 speed = adev->dma_mode - XFER_UDMA_0; in sis_66_set_dmamode() 418 int speed = adev->dma_mode - XFER_MW_DMA_0; in sis_100_set_dmamode() 426 if (adev->dma_mode < XFER_UDMA_0) { in sis_100_set_dmamode() 430 speed = adev->dma_mode - XFER_UDMA_0; in sis_100_set_dmamode() 452 int speed = adev->dma_mode - XFER_MW_DMA_0; in sis_133_early_set_dmamode() [all …]
|
D | pata_pdc2027x.c | 273 if (strstr(model_num, "Maxtor") == NULL && pair->dma_mode == XFER_UDMA_6) in pdc2027x_mode_filter() 335 unsigned int dma_mode = adev->dma_mode; in pdc2027x_set_dmamode() local 338 if ((dma_mode >= XFER_UDMA_0) && in pdc2027x_set_dmamode() 339 (dma_mode <= XFER_UDMA_6)) { in pdc2027x_set_dmamode() 341 unsigned int udma_mode = dma_mode & 0x07; in pdc2027x_set_dmamode() 343 if (dma_mode == XFER_UDMA_2) { in pdc2027x_set_dmamode() 366 } else if ((dma_mode >= XFER_MW_DMA_0) && in pdc2027x_set_dmamode() 367 (dma_mode <= XFER_MW_DMA_2)) { in pdc2027x_set_dmamode() 369 unsigned int mdma_mode = dma_mode & 0x07; in pdc2027x_set_dmamode() 383 printk(KERN_ERR DRV_NAME ": Unknown dma mode [%u] ignored\n", dma_mode); in pdc2027x_set_dmamode()
|
D | pata_optidma.c | 120 int dma = adev->dma_mode - XFER_MW_DMA_0; in optidma_mode_setup() 156 if (pair->dma_mode) in optidma_mode_setup() 213 optidma_mode_setup(ap, adev, adev->dma_mode); in optiplus_mode_setup() 256 optidma_mode_setup(ap, adev, adev->dma_mode); in optidma_set_dma_mode() 286 optiplus_mode_setup(ap, adev, adev->dma_mode); in optiplus_set_dma_mode() 304 if (adev->dma_mode) in optidma_make_bits43() 305 return adev->dma_mode - XFER_MW_DMA_0; in optidma_make_bits43()
|
D | pata_radisys.c | 112 if (adev->dma_mode < XFER_UDMA_0) { in radisys_set_dmamode() 113 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0; in radisys_set_dmamode() 175 if (adev->dma_mode < XFER_UDMA_0) { in radisys_qc_issue() 176 if (adev->dma_mode) in radisys_qc_issue()
|
D | pata_artop.c | 211 if (adev->dma_mode == XFER_MW_DMA_0) in artop6210_set_dmamode() 223 if (adev->dma_mode >= XFER_UDMA_0) { in artop6210_set_dmamode() 224 u8 mode = (adev->dma_mode - XFER_UDMA_0) + 1 - clock; in artop6210_set_dmamode() 250 if (adev->dma_mode == XFER_MW_DMA_0) in artop6260_set_dmamode() 261 if (adev->dma_mode >= XFER_UDMA_0) { in artop6260_set_dmamode() 262 u8 mode = adev->dma_mode - XFER_UDMA_0 + 1 - clock; in artop6260_set_dmamode()
|
D | pata_atp867x.c | 100 void __iomem *dma_mode; member 111 u8 speed = adev->dma_mode; in atp867x_set_dmamode() 127 b = ioread8(dp->dma_mode); in atp867x_set_dmamode() 135 iowrite8(b, dp->dma_mode); in atp867x_set_dmamode() 220 b = ioread8(dp->dma_mode); in atp867x_set_piomode() 225 iowrite8(b, dp->dma_mode); in atp867x_set_piomode() 329 (unsigned long long)dp->dma_mode, in atp867x_check_ports() 348 dp->dma_mode = ATP867X_IO_DMAMODE(ap, port); in atp867x_set_priv()
|
D | pata_atiixp.c | 154 int dma = adev->dma_mode; in atiixp_set_dmamode() 161 if (adev->dma_mode >= XFER_UDMA_0) { in atiixp_set_dmamode() 187 if (adev->dma_mode >= XFER_MW_DMA_2) in atiixp_set_dmamode() 189 else if (adev->dma_mode == XFER_MW_DMA_1) in atiixp_set_dmamode() 191 else if (adev->dma_mode == XFER_MW_DMA_0) in atiixp_set_dmamode()
|
D | pata_piccolo.c | 50 if (adev->dma_mode >= XFER_UDMA_0) { in tosh_set_dmamode() 51 int udma = adev->dma_mode - XFER_UDMA_0; in tosh_set_dmamode() 59 conf |= mwdma[adev->dma_mode - XFER_MW_DMA_0]; in tosh_set_dmamode()
|
D | pata_ali.c | 218 if (pair->dma_mode) { in ali_set_piomode() 219 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_piomode() 253 if (adev->dma_mode >= XFER_UDMA_0) { in ali_set_dmamode() 254 ali_program_modes(ap, adev, NULL, udma_timing[adev->dma_mode - XFER_UDMA_0]); in ali_set_dmamode() 255 if (adev->dma_mode >= XFER_UDMA_3) { in ali_set_dmamode() 262 ata_timing_compute(adev, adev->dma_mode, &t, T, 1); in ali_set_dmamode() 267 if (pair->dma_mode) { in ali_set_dmamode() 268 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_dmamode()
|
D | pata_amd.c | 69 if (peer->dma_mode) { in timing_setup() 70 ata_timing_compute(peer, peer->dma_mode, &apeer, T, UT); in timing_setup() 244 timing_setup(ap, adev, 0x40, adev->dma_mode, 1); in amd33_set_dmamode() 249 timing_setup(ap, adev, 0x40, adev->dma_mode, 2); in amd66_set_dmamode() 254 timing_setup(ap, adev, 0x40, adev->dma_mode, 3); in amd100_set_dmamode() 259 timing_setup(ap, adev, 0x40, adev->dma_mode, 4); in amd133_set_dmamode() 375 timing_setup(ap, adev, 0x50, adev->dma_mode, 3); in nv100_set_dmamode() 380 timing_setup(ap, adev, 0x50, adev->dma_mode, 4); in nv133_set_dmamode()
|
D | pata_pdc202xx_old.c | 151 if (adev->dma_mode >= XFER_UDMA_0) { in pdc202xx_set_dmamode() 152 int speed = adev->dma_mode - XFER_UDMA_0; in pdc202xx_set_dmamode() 157 int speed = adev->dma_mode - XFER_MW_DMA_0; in pdc202xx_set_dmamode() 191 if (adev->dma_mode > XFER_UDMA_2) in pdc2026x_bmdma_start() 245 if (adev->dma_mode > XFER_UDMA_2) in pdc2026x_bmdma_stop()
|
D | pata_mpc52xx.c | 257 u8 dma_mode; /* ATA + 0x7d ATA Host DMA Mode configuration */ member 413 if (adev->dma_mode >= XFER_UDMA_0) { in mpc52xx_ata_set_dmamode() 414 int dma = adev->dma_mode - XFER_UDMA_0; in mpc52xx_ata_set_dmamode() 417 int dma = adev->dma_mode - XFER_MW_DMA_0; in mpc52xx_ata_set_dmamode() 424 adev->dma_mode); in mpc52xx_ata_set_dmamode() 506 u8 dma_mode; in mpc52xx_bmdma_setup() local 518 dma_mode = MPC52xx_ATA_DMAMODE_IE | MPC52xx_ATA_DMAMODE_READ | in mpc52xx_bmdma_setup() 530 out_8(®s->dma_mode, MPC52xx_ATA_DMAMODE_FR); in mpc52xx_bmdma_setup() 533 dma_mode = MPC52xx_ATA_DMAMODE_IE | MPC52xx_ATA_DMAMODE_WRITE; in mpc52xx_bmdma_setup() 546 dma_mode |= MPC52xx_ATA_DMAMODE_UDMA; in mpc52xx_bmdma_setup() [all …]
|
D | pata_serverworks.c | 229 static const u8 dma_mode[] = { 0x77, 0x21, 0x20 }; in serverworks_set_dmamode() local 240 if (adev->dma_mode >= XFER_UDMA_0) { in serverworks_set_dmamode() 243 ultra |= (adev->dma_mode - XFER_UDMA_0) in serverworks_set_dmamode() 248 dma_mode[adev->dma_mode - XFER_MW_DMA_0]); in serverworks_set_dmamode()
|
D | pata_it8213.c | 144 u8 speed = adev->dma_mode; in it8213_set_dmamode() 159 unsigned int udma = adev->dma_mode - XFER_UDMA_0; in it8213_set_dmamode() 192 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0; in it8213_set_dmamode()
|
D | pata_efar.c | 163 u8 speed = adev->dma_mode; in efar_set_dmamode() 181 unsigned int udma = adev->dma_mode - XFER_UDMA_0; in efar_set_dmamode() 197 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0; in efar_set_dmamode()
|
D | pata_rdc.c | 176 u8 speed = adev->dma_mode; in rdc_set_dmamode() 193 unsigned int udma = adev->dma_mode - XFER_UDMA_0; in rdc_set_dmamode() 232 unsigned int mwdma = adev->dma_mode - XFER_MW_DMA_0; in rdc_set_dmamode()
|
D | pata_cmd64x.c | 214 if (adev->dma_mode >= XFER_UDMA_0) { in cmd64x_set_dmamode() 216 regU |= udma_data[adev->dma_mode - XFER_UDMA_0] << shift; in cmd64x_set_dmamode() 219 if (adev->dma_mode > XFER_UDMA_2) /* 15nS timing */ in cmd64x_set_dmamode() 223 cmd64x_set_timing(ap, adev, adev->dma_mode); in cmd64x_set_dmamode()
|
/Linux-v5.4/drivers/ide/ |
D | alim15x3.c | 116 if (pair->dma_mode) { in ali_set_pio_mode() 117 ide_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_pio_mode() 171 const u8 speed = drive->dma_mode; in ali_set_dma_mode() 176 ide_timing_compute(drive, drive->dma_mode, &t, T, 1); in ali_set_dma_mode() 183 if (pair->dma_mode) { in ali_set_dma_mode() 184 ide_timing_compute(pair, pair->dma_mode, in ali_set_dma_mode()
|
D | triflex.c | 34 switch (drive->dma_mode) { in triflex_set_mode() 74 drive->dma_mode = drive->pio_mode; in triflex_set_pio_mode()
|
D | icside.c | 242 const u8 xfer_mode = drive->dma_mode; in icside_set_dma_mode() 314 unsigned int dma_mode; in icside_dma_setup() local 317 dma_mode = DMA_MODE_WRITE; in icside_dma_setup() 319 dma_mode = DMA_MODE_READ; in icside_dma_setup() 346 set_dma_mode(ec->dma, dma_mode); in icside_dma_setup()
|
/Linux-v5.4/drivers/crypto/cavium/cpt/ |
D | cptvf_algs.h | 19 #define DMA_MODE_FLAG(dma_mode) \ argument 20 (((dma_mode) == DMA_GATHER_SCATTER) ? (1 << 7) : 0)
|
D | request_manager.h | 26 u32 dma_mode:2; /* DMA mode */ member 30 u32 dma_mode:2; /* DMA mode */
|
/Linux-v5.4/drivers/crypto/ccree/ |
D | cc_hw_queue_defs.h | 239 enum cc_dma_mode dma_mode, dma_addr_t addr, in set_din_type() argument 246 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_DMA_MODE, dma_mode) | in set_din_type() 336 enum cc_dma_mode dma_mode, dma_addr_t addr, in set_dout_type() argument 343 pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_DMA_MODE, dma_mode) | in set_dout_type()
|