/linux-6.3-rc2/drivers/media/pci/tw686x/ |
A 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-6.3-rc2/drivers/ata/ |
A 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()
|
A D | pata_sis.c | 339 int speed = adev->dma_mode - XFER_MW_DMA_0; in sis_old_set_dmamode() 348 if (adev->dma_mode < XFER_UDMA_0) { in sis_old_set_dmamode() 355 speed = adev->dma_mode - XFER_UDMA_0; in sis_old_set_dmamode() 388 if (adev->dma_mode < XFER_UDMA_0) { in sis_66_set_dmamode() 395 speed = adev->dma_mode - XFER_UDMA_0; in sis_66_set_dmamode() 425 if (adev->dma_mode < XFER_UDMA_0) { in sis_100_set_dmamode() 429 speed = adev->dma_mode - XFER_UDMA_0; in sis_100_set_dmamode() 459 if (adev->dma_mode < XFER_UDMA_0) { in sis_133_early_set_dmamode() 463 speed = adev->dma_mode - XFER_UDMA_0; in sis_133_early_set_dmamode() 490 if (adev->dma_mode < XFER_UDMA_0) { in sis_133_set_dmamode() [all …]
|
A D | pata_pdc2027x.c | 266 if (strstr(model_num, "Maxtor") == NULL && pair->dma_mode == XFER_UDMA_6) in pdc2027x_mode_filter() 326 unsigned int dma_mode = adev->dma_mode; in pdc2027x_set_dmamode() local 329 if ((dma_mode >= XFER_UDMA_0) && in pdc2027x_set_dmamode() 330 (dma_mode <= XFER_UDMA_6)) { in pdc2027x_set_dmamode() 332 unsigned int udma_mode = dma_mode & 0x07; in pdc2027x_set_dmamode() 334 if (dma_mode == XFER_UDMA_2) { in pdc2027x_set_dmamode() 355 } else if ((dma_mode >= XFER_MW_DMA_0) && in pdc2027x_set_dmamode() 356 (dma_mode <= XFER_MW_DMA_2)) { in pdc2027x_set_dmamode() 358 unsigned int mdma_mode = dma_mode & 0x07; in pdc2027x_set_dmamode() 371 ata_port_err(ap, "Unknown dma mode [%u] ignored\n", dma_mode); in pdc2027x_set_dmamode()
|
A 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()
|
A 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() 221 b = ioread8(dp->dma_mode); in atp867x_set_piomode() 226 iowrite8(b, dp->dma_mode); in atp867x_set_piomode() 329 (unsigned long)dp->dma_mode, in atp867x_check_ports() 347 dp->dma_mode = ATP867X_IO_DMAMODE(ap, port); in atp867x_set_priv()
|
A D | pata_atiixp.c | 155 int dma = adev->dma_mode; in atiixp_set_dmamode() 162 if (adev->dma_mode >= XFER_UDMA_0) { in atiixp_set_dmamode() 188 if (adev->dma_mode >= XFER_MW_DMA_2) in atiixp_set_dmamode() 190 else if (adev->dma_mode == XFER_MW_DMA_1) in atiixp_set_dmamode() 192 else if (adev->dma_mode == XFER_MW_DMA_0) in atiixp_set_dmamode()
|
A 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()
|
A D | pata_optidma.c | 120 int dma = adev->dma_mode - XFER_MW_DMA_0; 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() 305 return adev->dma_mode - XFER_MW_DMA_0; in optidma_make_bits43()
|
A D | pata_pdc202xx_old.c | 149 if (adev->dma_mode >= XFER_UDMA_0) { in pdc202xx_set_dmamode() 150 int speed = adev->dma_mode - XFER_UDMA_0; in pdc202xx_set_dmamode() 155 int speed = adev->dma_mode - XFER_MW_DMA_0; in pdc202xx_set_dmamode() 189 if (adev->dma_mode > XFER_UDMA_2) in pdc2026x_bmdma_start() 243 if (adev->dma_mode > XFER_UDMA_2) in pdc2026x_bmdma_stop()
|
A D | pata_mpc52xx.c | 258 u8 dma_mode; /* ATA + 0x7d ATA Host DMA Mode configuration */ member 414 if (adev->dma_mode >= XFER_UDMA_0) { in mpc52xx_ata_set_dmamode() 415 int dma = adev->dma_mode - XFER_UDMA_0; in mpc52xx_ata_set_dmamode() 418 int dma = adev->dma_mode - XFER_MW_DMA_0; in mpc52xx_ata_set_dmamode() 425 adev->dma_mode); in mpc52xx_ata_set_dmamode() 507 u8 dma_mode; in mpc52xx_bmdma_setup() local 519 dma_mode = MPC52xx_ATA_DMAMODE_IE | MPC52xx_ATA_DMAMODE_READ | in mpc52xx_bmdma_setup() 531 out_8(®s->dma_mode, MPC52xx_ATA_DMAMODE_FR); in mpc52xx_bmdma_setup() 534 dma_mode = MPC52xx_ATA_DMAMODE_IE | MPC52xx_ATA_DMAMODE_WRITE; in mpc52xx_bmdma_setup() 547 dma_mode |= MPC52xx_ATA_DMAMODE_UDMA; in mpc52xx_bmdma_setup() [all …]
|
A 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()
|
A 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 || !ata_dma_enabled(adev)) { in radisys_qc_issue()
|
A D | pata_amd.c | 70 ata_timing_compute(peer, peer->dma_mode, &apeer, T, UT); in timing_setup() 243 timing_setup(ap, adev, 0x40, adev->dma_mode, 1); in amd33_set_dmamode() 248 timing_setup(ap, adev, 0x40, adev->dma_mode, 2); in amd66_set_dmamode() 253 timing_setup(ap, adev, 0x40, adev->dma_mode, 3); in amd100_set_dmamode() 258 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()
|
A D | pata_ali.c | 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() 268 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_dmamode()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | pata_arasan_cf.c | 753 u32 opmode, tmcfg, dma_mode = adev->dma_mode; in arasan_cf_set_dmamode() local 761 if ((dma_mode >= XFER_UDMA_0) && (dma_mode <= XFER_UDMA_6)) { in arasan_cf_set_dmamode() 764 tmcfg |= (dma_mode - XFER_UDMA_0) << ULTRA_DMA_TIMING_SHIFT; in arasan_cf_set_dmamode() 765 } else if ((dma_mode >= XFER_MW_DMA_0) && (dma_mode <= XFER_MW_DMA_4)) { in arasan_cf_set_dmamode() 768 tmcfg |= (dma_mode - XFER_MW_DMA_0) << in arasan_cf_set_dmamode()
|
/linux-6.3-rc2/drivers/crypto/cavium/cpt/ |
A D | cptvf_algs.h | 19 #define DMA_MODE_FLAG(dma_mode) \ argument 20 (((dma_mode) == DMA_GATHER_SCATTER) ? (1 << 7) : 0)
|
A D | request_manager.h | 26 u32 dma_mode:2; /* DMA mode */ member 30 u32 dma_mode:2; /* DMA mode */
|
/linux-6.3-rc2/drivers/i2c/busses/ |
A D | i2c-tegra.c | 293 bool dma_mode; member 911 if (!i2c_dev->dma_mode) { in tegra_i2c_isr() 946 if (i2c_dev->dma_mode) in tegra_i2c_isr() 976 if (i2c_dev->dma_mode) { in tegra_i2c_isr() 1003 if (i2c_dev->dma_mode) { in tegra_i2c_config_fifo_trig() 1044 i2c_dev->dma_mode = false; in tegra_i2c_config_fifo_trig() 1277 if (i2c_dev->dma_mode) { in tegra_i2c_xfer_msg() 1296 if (i2c_dev->dma_mode) { in tegra_i2c_xfer_msg() 1315 if (!i2c_dev->dma_mode) { in tegra_i2c_xfer_msg() 1326 if (i2c_dev->dma_mode) { in tegra_i2c_xfer_msg() [all …]
|
/linux-6.3-rc2/drivers/crypto/ccree/ |
A D | cc_hw_queue_defs.h | 237 enum cc_dma_mode dma_mode, dma_addr_t addr, in set_din_type() argument 244 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_DMA_MODE, dma_mode) | in set_din_type() 330 enum cc_dma_mode dma_mode, dma_addr_t addr, in set_dout_type() argument 337 pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_DMA_MODE, dma_mode) | in set_dout_type()
|
/linux-6.3-rc2/arch/arm/mach-footbridge/ |
A D | dma-isa.c | 68 mode = (chan & 3) | dma->dma_mode; in isa_enable_dma() 69 switch (dma->dma_mode & DMA_MODE_MASK) { in isa_enable_dma()
|