Searched refs:bitpos (Results 1 – 4 of 4) sorted by relevance
/u-boot/arch/arm/mach-nexell/ |
A D | reset.c | 25 u32 regnum, bitpos, curstat; in nx_rstcon_setrst() local 29 bitpos = rstindex & 0x1f; in nx_rstcon_setrst() 30 curstat &= ~(1UL << bitpos); in nx_rstcon_setrst() 31 curstat |= (status & 0x01) << bitpos; in nx_rstcon_setrst()
|
/u-boot/drivers/rtc/ |
A D | ds1306.c | 217 unsigned char bitpos; /* bit position to receive */ in soft_spi_send() local 221 bitpos = 0x80; in soft_spi_send() 227 if (n & bitpos) in soft_spi_send() 236 bitpos >>= 1; /* Shift for next bit position */ in soft_spi_send() 248 unsigned char bitpos; /* bit position to receive */ in soft_spi_read() local 252 bitpos = 0x80; in soft_spi_read() 259 spi_byte |= bitpos; /* Set data accordingly */ in soft_spi_read() 262 bitpos >>= 1; /* Shift for next bit position */ in soft_spi_read()
|
/u-boot/drivers/pinctrl/mediatek/ |
A D | pinctrl-mtk-common.c | 111 pfd->bitpos = bits % c->sz_reg; in mtk_hw_pin_field_lookup() 118 pfd->next = pfd->bitpos + c->x_bits > c->sz_reg ? c->x_addrs : 0; in mtk_hw_pin_field_lookup() 142 *l = 32 - pf->bitpos; in mtk_hw_bits_part() 153 mtk_rmw(dev, pf->offset, pf->mask << pf->bitpos, in mtk_hw_write_cross_field() 154 (value & pf->mask) << pf->bitpos); in mtk_hw_write_cross_field() 167 l = (mtk_r32(dev, pf->offset) >> pf->bitpos) & (BIT(nbits_l) - 1); in mtk_hw_read_cross_field() 184 mtk_rmw(dev, pf.offset, pf.mask << pf.bitpos, in mtk_hw_set_value() 185 (value & pf.mask) << pf.bitpos); in mtk_hw_set_value() 203 *value = (mtk_r32(dev, pf.offset) >> pf.bitpos) & pf.mask; in mtk_hw_get_value()
|
A D | pinctrl-mtk-common.h | 82 u8 bitpos; member
|
Completed in 6 milliseconds