/openbmc/linux/drivers/gpio/ |
H A D | gpio-mmio.c | 134 static int bgpio_get_set(struct gpio_chip *gc, unsigned int gpio) in bgpio_get_set() 169 static int bgpio_get(struct gpio_chip *gc, unsigned int gpio) in bgpio_get() 265 static void bgpio_multiple_get_masks(struct gpio_chip *gc, in bgpio_multiple_get_masks() 283 static void bgpio_set_multiple_single_reg(struct gpio_chip *gc, in bgpio_set_multiple_single_reg() 315 static void bgpio_set_multiple_with_clear(struct gpio_chip *gc, in bgpio_set_multiple_with_clear() 348 static int bgpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in bgpio_dir_in() 421 struct gpio_chip *gc, in bgpio_setup_accessors() 490 static int bgpio_setup_io(struct gpio_chip *gc, in bgpio_setup_io() 541 static int bgpio_setup_direction(struct gpio_chip *gc, in bgpio_setup_direction() 601 int bgpio_init(struct gpio_chip *gc, struct device *dev, in bgpio_init() [all …]
|
H A D | gpiolib.c | 236 struct gpio_chip *gc; in gpiod_get_direction() local 2205 struct gpio_chip *gc; in gpiod_free_commit() local 2467 struct gpio_chip *gc; in gpiod_direction_input() local 2656 struct gpio_chip *gc; in gpiod_enable_hw_timestamp_ns() local 2685 struct gpio_chip *gc; in gpiod_disable_hw_timestamp_ns() local 2714 struct gpio_chip *gc; in gpiod_set_config() local 2818 struct gpio_chip *gc; in gpiod_get_raw_value_commit() local 3113 struct gpio_chip *gc; in gpiod_set_raw_value_commit() local 3407 struct gpio_chip *gc; in gpiod_to_irq() local 3849 struct gpio_chip *gc; in gpiod_add_hogs() local [all …]
|
H A D | gpio-mpc5200.c | 44 static int mpc52xx_wkup_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_wkup_gpio_get() 58 __mpc52xx_wkup_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in __mpc52xx_wkup_gpio_set() 73 mpc52xx_wkup_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in mpc52xx_wkup_gpio_set() 86 static int mpc52xx_wkup_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_wkup_gpio_dir_in() 109 mpc52xx_wkup_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in mpc52xx_wkup_gpio_dir_out() 139 struct gpio_chip *gc; in mpc52xx_wkup_gpiochip_probe() local 208 static int mpc52xx_simple_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_simple_gpio_get() 220 __mpc52xx_simple_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in __mpc52xx_simple_gpio_set() 234 mpc52xx_simple_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in mpc52xx_simple_gpio_set() 270 mpc52xx_simple_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in mpc52xx_simple_gpio_dir_out() [all …]
|
H A D | gpio-pl061.c | 55 struct gpio_chip gc; member 63 static int pl061_get_direction(struct gpio_chip *gc, unsigned offset) in pl061_get_direction() 73 static int pl061_direction_input(struct gpio_chip *gc, unsigned offset) in pl061_direction_input() 111 static int pl061_get_value(struct gpio_chip *gc, unsigned offset) in pl061_get_value() 127 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in pl061_irq_type() local 217 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in pl061_irq_handler() local 235 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in pl061_irq_mask() local 250 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in pl061_irq_unmask() local 273 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in pl061_irq_ack() local 284 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in pl061_irq_set_wake() local [all …]
|
H A D | gpio-reg.c | 22 struct gpio_chip gc; member 33 static int gpio_reg_get_direction(struct gpio_chip *gc, unsigned offset) in gpio_reg_get_direction() 41 static int gpio_reg_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_reg_direction_output() 53 static int gpio_reg_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_reg_direction_input() 60 static void gpio_reg_set(struct gpio_chip *gc, unsigned offset, int value) in gpio_reg_set() 77 static int gpio_reg_get(struct gpio_chip *gc, unsigned offset) in gpio_reg_get() 95 static void gpio_reg_set_multiple(struct gpio_chip *gc, unsigned long *mask, in gpio_reg_set_multiple() 107 static int gpio_reg_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_reg_to_irq() 181 int gpio_reg_resume(struct gpio_chip *gc) in gpio_reg_resume()
|
H A D | gpio-mpc8xxx.c | 36 struct gpio_chip gc; member 62 static int mpc8572_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc8572_gpio_get() 75 static int mpc5121_gpio_dir_out(struct gpio_chip *gc, in mpc5121_gpio_dir_out() 86 static int mpc5125_gpio_dir_out(struct gpio_chip *gc, in mpc5125_gpio_dir_out() 110 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_gpio_irq_cascade() local 125 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_irq_unmask() local 140 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_irq_mask() local 155 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_irq_ack() local 164 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_irq_set_type() local 195 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc512x_irq_set_type() local [all …]
|
H A D | gpio-mockup.c | 50 struct gpio_chip gc; member 101 static int gpio_mockup_get_multiple(struct gpio_chip *gc, in gpio_mockup_get_multiple() 123 static void gpio_mockup_set(struct gpio_chip *gc, in gpio_mockup_set() 133 static void gpio_mockup_set_multiple(struct gpio_chip *gc, in gpio_mockup_set_multiple() 148 struct gpio_chip *gc = &chip->gc; in gpio_mockup_apply_pull() local 193 static int gpio_mockup_set_config(struct gpio_chip *gc, in gpio_mockup_set_config() 209 static int gpio_mockup_dirout(struct gpio_chip *gc, in gpio_mockup_dirout() 266 struct gpio_chip *gc; in gpio_mockup_debugfs_read() local 349 struct gpio_chip *gc; in gpio_mockup_debugfs_setup() local 387 struct gpio_chip *gc = &chip->gc; in gpio_mockup_dispose_mappings() local [all …]
|
H A D | gpio-ep93xx.c | 53 struct gpio_chip gc; member 59 struct ep93xx_gpio_chip gc[EP93XX_GPIO_CHIP_NUM]; member 97 static void ep93xx_gpio_int_debounce(struct gpio_chip *gc, in ep93xx_gpio_int_debounce() 115 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in ep93xx_gpio_ab_irq_handler() local 161 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ep93xx_gpio_irq_ack() local 176 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ep93xx_gpio_irq_mask_ack() local 193 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ep93xx_gpio_irq_mask() local 204 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ep93xx_gpio_irq_unmask() local 220 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ep93xx_gpio_irq_type() local 352 struct gpio_chip *gc = &egc->gc; in ep93xx_gpio_add_bank() local [all …]
|
H A D | gpio-max77650.c | 36 struct gpio_chip gc; member 40 static int max77650_gpio_direction_input(struct gpio_chip *gc, in max77650_gpio_direction_input() 51 static int max77650_gpio_direction_output(struct gpio_chip *gc, in max77650_gpio_direction_output() 65 static void max77650_gpio_set_value(struct gpio_chip *gc, in max77650_gpio_set_value() 79 static int max77650_gpio_get_value(struct gpio_chip *gc, in max77650_gpio_get_value() 93 static int max77650_gpio_get_direction(struct gpio_chip *gc, in max77650_gpio_get_direction() 107 static int max77650_gpio_set_config(struct gpio_chip *gc, in max77650_gpio_set_config() 133 static int max77650_gpio_to_irq(struct gpio_chip *gc, unsigned int offset) in max77650_gpio_to_irq()
|
H A D | gpio-mb86s7x.c | 37 struct gpio_chip gc; member 43 static int mb86s70_gpio_request(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_request() 60 static void mb86s70_gpio_free(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_free() 75 static int mb86s70_gpio_direction_input(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_direction_input() 92 static int mb86s70_gpio_direction_output(struct gpio_chip *gc, in mb86s70_gpio_direction_output() 117 static int mb86s70_gpio_get(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_get() 124 static void mb86s70_gpio_set(struct gpio_chip *gc, unsigned gpio, int value) in mb86s70_gpio_set() 142 static int mb86s70_gpio_to_irq(struct gpio_chip *gc, unsigned int offset) in mb86s70_gpio_to_irq()
|
H A D | gpio-en7523.c | 23 struct gpio_chip gc; member 29 static struct airoha_gpio_ctrl *gc_to_ctrl(struct gpio_chip *gc) in gc_to_ctrl() 34 static int airoha_dir_set(struct gpio_chip *gc, unsigned int gpio, in airoha_dir_set() 60 static int airoha_dir_out(struct gpio_chip *gc, unsigned int gpio, in airoha_dir_out() 66 static int airoha_dir_in(struct gpio_chip *gc, unsigned int gpio) in airoha_dir_in() 71 static int airoha_get_dir(struct gpio_chip *gc, unsigned int gpio) in airoha_get_dir()
|
H A D | gpio-idt3243x.c | 21 struct gpio_chip gc; member 29 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in idt_gpio_dispatch() local 50 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in idt_gpio_irq_set_type() local 77 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in idt_gpio_ack() local 85 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in idt_gpio_mask() local 101 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in idt_gpio_unmask() local 114 static int idt_gpio_irq_init_hw(struct gpio_chip *gc) in idt_gpio_irq_init_hw()
|
H A D | gpio-xlp.c | 95 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in xlp_gpio_irq_enable() local 102 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in xlp_gpio_irq_disable() local 115 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in xlp_gpio_irq_mask_ack() local 128 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in xlp_gpio_irq_unmask() local 140 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in xlp_gpio_set_irq_type() local 205 static int xlp_gpio_dir_output(struct gpio_chip *gc, unsigned gpio, int state) in xlp_gpio_dir_output() 215 static int xlp_gpio_dir_input(struct gpio_chip *gc, unsigned gpio) in xlp_gpio_dir_input() 225 static int xlp_gpio_get(struct gpio_chip *gc, unsigned gpio) in xlp_gpio_get() 233 static void xlp_gpio_set(struct gpio_chip *gc, unsigned gpio, int state) in xlp_gpio_set() 243 struct gpio_chip *gc; in xlp_gpio_probe() local
|
H A D | gpio-rockchip.c | 184 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get() 196 static int rockchip_gpio_set_debounce(struct gpio_chip *gc, in rockchip_gpio_set_debounce() 257 static int rockchip_gpio_direction_input(struct gpio_chip *gc, in rockchip_gpio_direction_input() 263 static int rockchip_gpio_direction_output(struct gpio_chip *gc, in rockchip_gpio_direction_output() 385 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in rockchip_irq_set_type() local 470 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in rockchip_irq_reqres() local 478 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in rockchip_irq_relres() local 486 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in rockchip_irq_suspend() local 495 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in rockchip_irq_resume() local 514 struct irq_chip_generic *gc; in rockchip_interrupts_register() local [all …]
|
H A D | gpio-tps65218.c | 23 static int tps65218_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_get() 37 static void tps65218_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_set() 54 static int tps65218_gpio_output(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_output() 62 static int tps65218_gpio_input(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_input() 67 static int tps65218_gpio_request(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_request() 138 static int tps65218_gpio_set_config(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_set_config()
|
H A D | gpio-tps68470.c | 26 struct gpio_chip gc; member 29 static int tps68470_gpio_get(struct gpio_chip *gc, unsigned int offset) in tps68470_gpio_get() 50 static int tps68470_gpio_get_direction(struct gpio_chip *gc, in tps68470_gpio_get_direction() 73 static void tps68470_gpio_set(struct gpio_chip *gc, unsigned int offset, in tps68470_gpio_set() 88 static int tps68470_gpio_output(struct gpio_chip *gc, unsigned int offset, in tps68470_gpio_output() 106 static int tps68470_gpio_input(struct gpio_chip *gc, unsigned int offset) in tps68470_gpio_input()
|
H A D | gpio-rc5t583.c | 24 static int rc5t583_gpio_get(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_get() 38 static void rc5t583_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in rc5t583_gpio_set() 48 static int rc5t583_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_dir_input() 62 static int rc5t583_gpio_dir_output(struct gpio_chip *gc, unsigned offset, in rc5t583_gpio_dir_output() 78 static int rc5t583_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_to_irq() 88 static void rc5t583_gpio_free(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_free()
|
H A D | gpio-sch.c | 100 static int sch_gpio_direction_in(struct gpio_chip *gc, unsigned int gpio_num) in sch_gpio_direction_in() 111 static int sch_gpio_get(struct gpio_chip *gc, unsigned int gpio_num) in sch_gpio_get() 118 static void sch_gpio_set(struct gpio_chip *gc, unsigned int gpio_num, int val) in sch_gpio_set() 128 static int sch_gpio_direction_out(struct gpio_chip *gc, unsigned int gpio_num, in sch_gpio_direction_out() 151 static int sch_gpio_get_direction(struct gpio_chip *gc, unsigned int gpio_num) in sch_gpio_get_direction() 173 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in sch_irq_type() local 210 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in sch_irq_ack() local 220 static void sch_irq_mask_unmask(struct gpio_chip *gc, irq_hw_number_t gpio_num, int val) in sch_irq_mask_unmask() 232 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in sch_irq_mask() local 241 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in sch_irq_unmask() local [all …]
|
H A D | gpio-xtensa.c | 72 static int xtensa_impwire_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_direction() 77 static int xtensa_impwire_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_value() 89 static void xtensa_impwire_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_impwire_set_value() 95 static int xtensa_expstate_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_direction() 100 static int xtensa_expstate_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_value() 112 static void xtensa_expstate_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_expstate_set_value()
|
/openbmc/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | gdma_main.c | 23 struct gdma_context *gc = pci_get_drvdata(pdev); in mana_gd_init_pf_regs() local 40 struct gdma_context *gc = pci_get_drvdata(pdev); in mana_gd_init_vf_regs() local 55 struct gdma_context *gc = pci_get_drvdata(pdev); in mana_gd_init_registers() local 399 struct gdma_context *gc; in mana_gd_process_eq_events() local 447 struct gdma_context *gc; in mana_gd_register_irq() local 492 struct gdma_context *gc; in mana_gd_deregiser_irq() local 585 struct gdma_context *gc = gd->gdma_context; in mana_gd_create_eq() local 657 struct gdma_context *gc = gd->gdma_context; in mana_gd_create_hwc_queue() local 726 struct gdma_context *gc = gd->gdma_context; in mana_gd_create_dma_region() local 1095 struct gdma_context *gc; in mana_gd_post_work_request() local [all …]
|
/openbmc/linux/kernel/irq/ |
H A D | generic-chip.c | 39 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_mask_disable_reg() local 59 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_mask_set_bit() local 79 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_mask_clr_bit() local 99 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_unmask_enable_reg() local 245 struct irq_chip_generic *gc; in irq_alloc_generic_chip() local 292 struct irq_chip_generic *gc; in __irq_alloc_domain_generic_chips() local 389 struct irq_chip_generic *gc; in irq_map_generic_chip() local 439 struct irq_chip_generic *gc; in irq_unmap_generic_chip() local 600 struct irq_chip_generic *gc; in irq_gc_suspend() local 620 struct irq_chip_generic *gc; in irq_gc_resume() local [all …]
|
/openbmc/linux/drivers/input/joystick/ |
H A D | gamecon.c | 70 struct gc { struct 72 struct gc_pad pads[GC_MAX_DEVICES]; argument 84 static struct gc *gc_base[3]; argument 202 static void gc_n64_process_packet(struct gc *gc) in gc_n64_process_packet() 252 struct gc *gc = input_get_drvdata(dev); in gc_n64_play_effect() local 578 static void gc_psx_read_packet(struct gc *gc, in gc_psx_read_packet() 729 struct gc *gc = from_timer(gc, t, timer); in gc_timer() local 767 struct gc *gc = input_get_drvdata(dev); in gc_open() local 786 struct gc *gc = input_get_drvdata(dev); in gc_close() local 921 struct gc *gc; in gc_attach() local [all …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-atmel-aic.c | 64 struct irq_chip_generic *gc = dgc->gc[0]; in aic_handle() local 79 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in aic_retrigger() local 91 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in aic_set_type() local 108 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in aic_suspend() local 118 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in aic_resume() local 128 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in aic_pm_shutdown() local 143 struct irq_chip_generic *gc = irq_get_domain_generic_chip(domain, 0); in aic_hw_init() local 178 struct irq_chip_generic *gc; in aic_irq_domain_xlate() local 244 struct irq_chip_generic *gc; in aic_of_init() local
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A D | gpio.c | 37 static struct sh_pfc *gpio_to_pfc(struct gpio_chip *gc) in gpio_to_pfc() 130 static int gpio_pin_request(struct gpio_chip *gc, unsigned offset) in gpio_pin_request() 141 static void gpio_pin_free(struct gpio_chip *gc, unsigned offset) in gpio_pin_free() 165 static int gpio_pin_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_pin_direction_input() 170 static int gpio_pin_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_pin_direction_output() 178 static int gpio_pin_get(struct gpio_chip *gc, unsigned offset) in gpio_pin_get() 192 static void gpio_pin_set(struct gpio_chip *gc, unsigned offset, int value) in gpio_pin_set() 197 static int gpio_pin_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_pin_to_irq() 217 struct gpio_chip *gc = &chip->gpio_chip; in gpio_pin_setup() local 252 static int gpio_function_request(struct gpio_chip *gc, unsigned offset) in gpio_function_request() [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-da9062.c | 41 struct gpio_chip gc; member 81 static int da9062_gpio_get(struct gpio_chip *gc, unsigned int offset) in da9062_gpio_get() 110 static void da9062_gpio_set(struct gpio_chip *gc, unsigned int offset, in da9062_gpio_set() 120 static int da9062_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in da9062_gpio_get_direction() 142 static int da9062_gpio_direction_input(struct gpio_chip *gc, in da9062_gpio_direction_input() 169 static int da9062_gpio_direction_output(struct gpio_chip *gc, in da9062_gpio_direction_output() 185 static int da9062_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in da9062_gpio_set_config() 231 static int da9062_gpio_to_irq(struct gpio_chip *gc, unsigned int offset) in da9062_gpio_to_irq()
|