Lines Matching refs:omnia_gpios

143 static const struct omnia_gpio omnia_gpios[64] = {  variable
269 if (!omnia_gpios[offset].cmd) in omnia_gpio_request()
296 if (omnia_gpios[offset].ctl_cmd) in omnia_gpio_get_direction()
304 const struct omnia_gpio *gpio = &omnia_gpios[offset]; in omnia_gpio_direction_input()
321 const struct omnia_gpio *gpio = &omnia_gpios[offset]; in omnia_gpio_direction_output()
339 const struct omnia_gpio *gpio = &omnia_gpios[offset]; in omnia_gpio_get()
391 for_each_set_bit(i, mask, ARRAY_SIZE(omnia_gpios)) { in omnia_gpio_get_multiple()
392 field = _relevant_field_for_sts_cmd(omnia_gpios[i].cmd, in omnia_gpio_get_multiple()
397 __set_bit(omnia_gpios[i].bit, field); in omnia_gpio_get_multiple()
429 for_each_set_bit(i, mask, ARRAY_SIZE(omnia_gpios)) { in omnia_gpio_get_multiple()
430 field = _relevant_field_for_sts_cmd(omnia_gpios[i].cmd, in omnia_gpio_get_multiple()
435 __assign_bit(i, bits, test_bit(omnia_gpios[i].bit, field)); in omnia_gpio_get_multiple()
443 const struct omnia_gpio *gpio = &omnia_gpios[offset]; in omnia_gpio_set()
463 for_each_set_bit(i, mask, ARRAY_SIZE(omnia_gpios)) { in omnia_gpio_set_multiple()
465 u8 bit = omnia_gpios[i].ctl_bit; in omnia_gpio_set_multiple()
467 switch (omnia_gpios[i].ctl_cmd) { in omnia_gpio_set_multiple()
518 const struct omnia_gpio *gpio = &omnia_gpios[i]; in omnia_gpio_init_valid_mask()
562 u8 bit = omnia_gpios[hwirq].int_bit; in omnia_irq_shutdown()
573 u8 bit = omnia_gpios[hwirq].int_bit; in omnia_irq_mask()
575 if (!omnia_gpios[hwirq].cmd) in omnia_irq_mask()
586 u8 bit = omnia_gpios[hwirq].int_bit; in omnia_irq_unmask()
590 if (!omnia_gpios[hwirq].cmd) in omnia_irq_unmask()
600 u8 bit = omnia_gpios[hwirq].int_bit; in omnia_irq_set_type()
734 const struct omnia_gpio *gpio = &omnia_gpios[i]; in omnia_irq_init_valid_mask()
1023 mcu->gc.ngpio = ARRAY_SIZE(omnia_gpios); in omnia_mcu_register_gpiochip()