Searched refs:sr (Results 1 – 6 of 6) sorted by relevance
34 unsigned sr; in __udivmoddi4() local104 if (sr > n_uword_bits - 2) in __udivmoddi4()110 ++sr; in __udivmoddi4()116 r.s.high = n.s.high >> sr; in __udivmoddi4()117 r.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4()135 q.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4()147 if (sr == n_uword_bits) in __udivmoddi4()159 r.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4()184 ++sr; in __udivmoddi4()198 r.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4()[all …]
28 i2c_out(&ccsr_i2c->sr, I2C_SR_RST); in i2c_init()35 unsigned char sr; in wait_for_state() local40 sr = i2c_in(&ccsr_i2c->sr); in wait_for_state()41 if (sr & I2C_SR_AL) { in wait_for_state()42 i2c_out(&ccsr_i2c->sr, sr); in wait_for_state()46 if ((sr & mask) == state) { in wait_for_state()47 return (int)sr; in wait_for_state()64 i2c_out(&ccsr_i2c->sr, I2C_SR_IF); in tx_byte()109 i2c_out(&ccsr_i2c->sr, I2C_SR_IF); in i2c_write_addr()157 i2c_out(&ccsr_i2c->sr, I2C_SR_IF); in read_data()[all …]
64 static inline int spi_nor_read_sr(uint8_t *sr) in spi_nor_read_sr() argument86 uint8_t sr; in spi_nor_ready() local89 ret = spi_nor_read_sr(&sr); in spi_nor_ready()102 return (((fsr & FSR_READY) != 0U) && ((sr & SR_WIP) == 0U)) ? in spi_nor_ready()106 return (((sr & SR_WIP) == 0U) ? 0 : 1); in spi_nor_ready()126 uint8_t sr; in spi_nor_macronix_quad_enable() local129 ret = spi_nor_read_sr(&sr); in spi_nor_macronix_quad_enable()134 if ((sr & SR_QUAD_EN_MX) != 0U) { in spi_nor_macronix_quad_enable()143 sr |= SR_QUAD_EN_MX; in spi_nor_macronix_quad_enable()154 ret = spi_nor_read_sr(&sr); in spi_nor_macronix_quad_enable()[all …]
80 uint32_t rmsk, sr; in rcar_swdt_init() local130 sr = mmio_read_32(SWDT_WTCSRA) & WTCSRA_MASK_ALL; in rcar_swdt_init()131 mmio_write_32(SWDT_WTCSRA, (WTCSRA_UPPER_BYTE | sr | SWDT_ENABLE)); in rcar_swdt_init()
39 unsigned char sr; /* I2c Bus Status Register */ member
860 paxb = paxb_get_config(sr); in paxb_set_config()
Completed in 13 milliseconds