Searched refs:dshift (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/ata/ |
H A D | pata_cs5536.c | 111 int dshift = adev->devno ? IDE_D1_SHIFT : IDE_D0_SHIFT; in cs5536_program_dtc() local 115 dtc &= ~(IDE_DRV_MASK << dshift); in cs5536_program_dtc() 116 dtc |= tim << dshift; in cs5536_program_dtc() 205 int dshift = adev->devno ? IDE_D1_SHIFT : IDE_D0_SHIFT; in cs5536_set_dmamode() local 210 etc &= ~(IDE_DRV_MASK << dshift); in cs5536_set_dmamode() 211 etc |= udma_timings[mode - XFER_UDMA_0] << dshift; in cs5536_set_dmamode() 213 etc &= ~(IDE_ETC_UDMA_MASK << dshift); in cs5536_set_dmamode()
|
/openbmc/qemu/hw/dma/ |
H A D | i8257.c | 127 r->now[ADDR] = r->base[ADDR] << d->dshift; in i8257_init_chan() 146 iport = (nport >> d->dshift) & 0x0f; in i8257_read_chan() 154 val = (r->base[COUNT] << d->dshift) - r->now[COUNT]; in i8257_read_chan() 159 return (val >> (d->dshift + (ff << 3))) & 0xff; in i8257_read_chan() 169 iport = (nport >> d->dshift) & 0x0f; in i8257_write_chan() 187 iport = (nport >> d->dshift) & 0x0f; in i8257_write_cont() 276 iport = (nport >> d->dshift) & 0x0f; in i8257_read_cont() 322 int ncont = d->dshift; in i8257_channel_run() 471 i8257_write_cont(d, (0x05 << d->dshift), 0, 1); in i8257_reset() 549 VMSTATE_INT32(dshift, I8257State), [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/gphoto2/libgphoto2/ |
H A D | fix-build-with-gcc-14.patch | 24 int sshift, dshift, xshift, skip; 28 dshift = (width/height > 2) ? 6 : 12;
|
/openbmc/qemu/include/hw/dma/ |
H A D | i8257.h | 31 int32_t dshift; member
|
/openbmc/qemu/target/i386/tcg/ |
H A D | translate.c | 693 TCGv dshift = tcg_temp_new(); in gen_compute_Dshift() local 694 tcg_gen_ld32s_tl(dshift, tcg_env, offsetof(CPUX86State, df)); in gen_compute_Dshift() 695 tcg_gen_shli_tl(dshift, dshift, ot); in gen_compute_Dshift() 696 return dshift; in gen_compute_Dshift() 797 TCGv dshift; in gen_movs() local 804 dshift = gen_compute_Dshift(s, ot); in gen_movs() 805 gen_op_add_reg(s, s->aflag, R_ESI, dshift); in gen_movs() 806 gen_op_add_reg(s, s->aflag, R_EDI, dshift); in gen_movs() 1254 TCGv dshift; in gen_cmps() local 1265 dshift = gen_compute_Dshift(s, ot); in gen_cmps() [all …]
|