Lines Matching defs:bits
127 unsigned int bits;
129 ret = pm8xxx_read_block_irq(chip, block, &bits);
134 if (!bits) {
139 /* Check IRQ bits */
141 if (bits & (1 << i)) {
200 unsigned int bits;
203 PM8821_SSBI_ADDR_IRQ_ROOT(master, block), &bits);
212 /* Check IRQ bits */
214 if (bits & BIT(i)) {
244 /* bits 1 through 7 marks the first 7 blocks in master 0 */
248 /* bit 0 marks if master 1 contains any bits */
324 unsigned int bits;
343 rc = regmap_read(chip->regmap, SSBI_REG_ADDR_IRQ_RT_STATUS, &bits);
349 *state = !!(bits & BIT(irq_bit));
453 unsigned int bits;
461 PM8821_SSBI_ADDR_IRQ_RT_STATUS(master, block), &bits);
467 *state = !!(bits & BIT(irq_bit));