Home
last modified time | relevance | path

Searched refs:timing_shift (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/ide/
Datiixp.c56 int timing_shift = (drive->dn ^ 1) * 8; in atiixp_set_pio_mode() local
69 pio_timing_data &= ~(0xff << timing_shift); in atiixp_set_pio_mode()
70 pio_timing_data |= (pio_timing[pio].recover_width << timing_shift) | in atiixp_set_pio_mode()
71 (pio_timing[pio].command_width << (timing_shift + 4)); in atiixp_set_pio_mode()
90 int timing_shift = (drive->dn ^ 1) * 8; in atiixp_set_dma_mode() local
111 tmp32 &= ~(0xff << timing_shift); in atiixp_set_dma_mode()
112 tmp32 |= (mdma_timing[i].recover_width << timing_shift) | in atiixp_set_dma_mode()
113 (mdma_timing[i].command_width << (timing_shift + 4)); in atiixp_set_dma_mode()
/Linux-v5.10/drivers/ata/
Dpata_atiixp.c108 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); in atiixp_set_pio_timing() local
118 pio_timing_data &= ~(0xFF << timing_shift); in atiixp_set_pio_timing()
119 pio_timing_data |= (pio_timings[pio] << timing_shift); in atiixp_set_pio_timing()
171 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); in atiixp_set_dmamode() local
178 mwdma_timing_data &= ~(0xFF << timing_shift); in atiixp_set_dmamode()
179 mwdma_timing_data |= (mwdma_timings[dma] << timing_shift); in atiixp_set_dmamode()
/Linux-v5.10/drivers/gpu/drm/zte/
Dzx_vou.c44 u32 timing_shift; member
53 .timing_shift = TIMING_MAIN_SHIFT,
62 .timing_shift = TIMING_AUX_SHIFT,
416 zx_writel(vou->timing + regs->timing_shift, val); in zx_crtc_atomic_enable()