Lines Matching defs:bits
126 unsigned int bits;
128 ret = pm8xxx_read_block_irq(chip, block, &bits);
133 if (!bits) {
138 /* Check IRQ bits */
140 if (bits & (1 << i)) {
203 unsigned int bits;
206 PM8821_SSBI_ADDR_IRQ_ROOT(master, block), &bits);
215 /* Check IRQ bits */
217 if (bits & BIT(i)) {
250 /* bits 1 through 7 marks the first 7 blocks in master 0 */
254 /* bit 0 marks if master 1 contains any bits */
331 unsigned int bits;
349 rc = regmap_read(chip->regmap, SSBI_REG_ADDR_IRQ_RT_STATUS, &bits);
355 *state = !!(bits & BIT(irq_bit));
459 unsigned int bits;
467 PM8821_SSBI_ADDR_IRQ_RT_STATUS(master, block), &bits);
473 *state = !!(bits & BIT(irq_bit));