Searched refs:bitstart (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/video/fbdev/core/ |
D | sysimgblt.c | 242 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; in sys_imageblit() local 251 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp); in sys_imageblit() 252 start_index = bitstart & (32 - 1); in sys_imageblit() 255 bitstart /= 8; in sys_imageblit() 256 bitstart &= ~(bpl - 1); in sys_imageblit() 257 dst1 = (void __force *)p->screen_base + bitstart; in sys_imageblit()
|
D | cfbimgblt.c | 267 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; in cfb_imageblit() local 276 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp); in cfb_imageblit() 277 start_index = bitstart & (32 - 1); in cfb_imageblit() 280 bitstart /= 8; in cfb_imageblit() 281 bitstart &= ~(bpl - 1); in cfb_imageblit() 282 dst1 = p->screen_base + bitstart; in cfb_imageblit()
|
/Linux-v4.19/drivers/phy/rockchip/ |
D | phy-rockchip-inno-usb2.c | 91 unsigned int bitstart; member 246 mask = GENMASK(reg->bitend, reg->bitstart); in property_enable() 247 val = (tmp << reg->bitstart) | (mask << BIT_WRITEABLE_SHIFT); in property_enable() 257 unsigned int mask = GENMASK(reg->bitend, reg->bitstart); in property_enabled() 263 tmp = (orig & mask) >> reg->bitstart; in property_enabled() 809 rport->port_cfg->utmi_hstdet.bitstart + 1; in rockchip_usb2phy_sm_work() 825 rport->port_cfg->utmi_hstdet.bitstart); in rockchip_usb2phy_sm_work() 827 rport->port_cfg->utmi_ls.bitstart); in rockchip_usb2phy_sm_work() 830 state = ((uhd & uhd_mask) >> rport->port_cfg->utmi_hstdet.bitstart) | in rockchip_usb2phy_sm_work() 831 (((ul & ul_mask) >> rport->port_cfg->utmi_ls.bitstart) << sh); in rockchip_usb2phy_sm_work()
|