Lines Matching refs:MAX_LINE

119 #define MAX_LINE	(MAX_BANK * BANK_SZ)  macro
149 DECLARE_BITMAP(irq_mask, MAX_LINE);
150 DECLARE_BITMAP(irq_trig_raise, MAX_LINE);
151 DECLARE_BITMAP(irq_trig_fall, MAX_LINE);
152 DECLARE_BITMAP(irq_trig_low, MAX_LINE);
153 DECLARE_BITMAP(irq_trig_high, MAX_LINE);
154 DECLARE_BITMAP(push_pull, MAX_LINE);
155 DECLARE_BITMAP(shiftmask, MAX_LINE);
407 DECLARE_BITMAP(tmask, MAX_LINE); in cy8c95x0_write_regs_mask()
408 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_write_regs_mask()
415 bitmap_andnot(tmask, mask, chip->shiftmask, MAX_LINE); in cy8c95x0_write_regs_mask()
416 bitmap_shift_left(tmask, tmask, 4, MAX_LINE); in cy8c95x0_write_regs_mask()
419 bitmap_andnot(tval, val, chip->shiftmask, MAX_LINE); in cy8c95x0_write_regs_mask()
420 bitmap_shift_left(tval, tval, 4, MAX_LINE); in cy8c95x0_write_regs_mask()
477 DECLARE_BITMAP(tmask, MAX_LINE); in cy8c95x0_read_regs_mask()
478 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_read_regs_mask()
479 DECLARE_BITMAP(tmp, MAX_LINE); in cy8c95x0_read_regs_mask()
486 bitmap_andnot(tmask, mask, chip->shiftmask, MAX_LINE); in cy8c95x0_read_regs_mask()
487 bitmap_shift_left(tmask, tmask, 4, MAX_LINE); in cy8c95x0_read_regs_mask()
490 bitmap_andnot(tval, val, chip->shiftmask, MAX_LINE); in cy8c95x0_read_regs_mask()
491 bitmap_shift_left(tval, tval, 4, MAX_LINE); in cy8c95x0_read_regs_mask()
540 bitmap_shift_right(tmp, tval, 4, MAX_LINE); in cy8c95x0_read_regs_mask()
541 bitmap_replace(val, tmp, tval, chip->shiftmask, MAX_LINE); in cy8c95x0_read_regs_mask()
908 DECLARE_BITMAP(ones, MAX_LINE); in cy8c95x0_irq_bus_sync_unlock()
909 DECLARE_BITMAP(irq_mask, MAX_LINE); in cy8c95x0_irq_bus_sync_unlock()
910 DECLARE_BITMAP(reg_direction, MAX_LINE); in cy8c95x0_irq_bus_sync_unlock()
912 bitmap_fill(ones, MAX_LINE); in cy8c95x0_irq_bus_sync_unlock()
918 bitmap_or(irq_mask, chip->irq_mask, reg_direction, MAX_LINE); in cy8c95x0_irq_bus_sync_unlock()
919 bitmap_complement(irq_mask, irq_mask, MAX_LINE); in cy8c95x0_irq_bus_sync_unlock()
985 DECLARE_BITMAP(ones, MAX_LINE); in cy8c95x0_irq_pending()
986 DECLARE_BITMAP(cur_stat, MAX_LINE); in cy8c95x0_irq_pending()
987 DECLARE_BITMAP(new_stat, MAX_LINE); in cy8c95x0_irq_pending()
988 DECLARE_BITMAP(trigger, MAX_LINE); in cy8c95x0_irq_pending()
990 bitmap_fill(ones, MAX_LINE); in cy8c95x0_irq_pending()
1002 cur_stat, MAX_LINE); in cy8c95x0_irq_pending()
1004 bitmap_and(pending, new_stat, trigger, MAX_LINE); in cy8c95x0_irq_pending()
1006 return !bitmap_empty(pending, MAX_LINE); in cy8c95x0_irq_pending()
1013 DECLARE_BITMAP(pending, MAX_LINE); in cy8c95x0_irq_handler()
1022 for_each_set_bit(level, pending, MAX_LINE) { in cy8c95x0_irq_handler()
1081 DECLARE_BITMAP(mask, MAX_LINE); in cy8c95x0_pin_dbg_show()
1082 DECLARE_BITMAP(pwm, MAX_LINE); in cy8c95x0_pin_dbg_show()
1084 bitmap_zero(mask, MAX_LINE); in cy8c95x0_pin_dbg_show()
1206 DECLARE_BITMAP(pending_irqs, MAX_LINE); in cy8c95x0_irq_setup()
1211 bitmap_zero(pending_irqs, MAX_LINE); in cy8c95x0_irq_setup()
1221 bitmap_fill(chip->irq_mask, MAX_LINE); in cy8c95x0_irq_setup()
1356 bitmap_zero(chip->push_pull, MAX_LINE); in cy8c95x0_probe()
1357 bitmap_zero(chip->shiftmask, MAX_LINE); in cy8c95x0_probe()