/Linux-v5.4/kernel/irq/ |
D | generic-chip.c | 38 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_mask_disable_reg() local 57 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_mask_set_bit() local 77 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_mask_clr_bit() local 97 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_unmask_enable_reg() local 113 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_ack_set_bit() local 129 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_ack_clr_bit() local 152 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_mask_disable_and_ack_set() local 169 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_eoi() local 189 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_set_wake() local 214 void irq_init_generic_chip(struct irq_chip_generic *gc, const char *name, in irq_init_generic_chip() [all …]
|
/Linux-v5.4/drivers/gpio/ |
D | gpio-mmio.c | 125 static unsigned long bgpio_line2mask(struct gpio_chip *gc, unsigned int line) in bgpio_line2mask() 132 static int bgpio_get_set(struct gpio_chip *gc, unsigned int gpio) in bgpio_get_set() 147 static int bgpio_get_set_multiple(struct gpio_chip *gc, unsigned long *mask, in bgpio_get_set_multiple() 167 static int bgpio_get(struct gpio_chip *gc, unsigned int gpio) in bgpio_get() 175 static int bgpio_get_multiple(struct gpio_chip *gc, unsigned long *mask, in bgpio_get_multiple() 187 static int bgpio_get_multiple_be(struct gpio_chip *gc, unsigned long *mask, in bgpio_get_multiple_be() 216 static void bgpio_set_none(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_none() 220 static void bgpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set() 237 static void bgpio_set_with_clear(struct gpio_chip *gc, unsigned int gpio, in bgpio_set_with_clear() 248 static void bgpio_set_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_set() [all …]
|
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() 247 static int mpc52xx_simple_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_simple_gpio_dir_in() [all …]
|
D | gpio-mpc8xxx.c | 38 struct gpio_chip gc; member 56 static int ls1028a_gpio_dir_in_init(struct gpio_chip *gc) in ls1028a_gpio_dir_in_init() 85 static int mpc8572_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc8572_gpio_get() 98 static int mpc5121_gpio_dir_out(struct gpio_chip *gc, in mpc5121_gpio_dir_out() 109 static int mpc5125_gpio_dir_out(struct gpio_chip *gc, in mpc5125_gpio_dir_out() 120 static int mpc8xxx_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in mpc8xxx_gpio_to_irq() 134 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_gpio_irq_cascade() local 149 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_irq_unmask() local 164 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_irq_mask() local 179 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_irq_ack() local [all …]
|
D | gpio-reg.c | 14 struct gpio_chip gc; member 25 static int gpio_reg_get_direction(struct gpio_chip *gc, unsigned offset) in gpio_reg_get_direction() 32 static int gpio_reg_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_reg_direction_output() 44 static int gpio_reg_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_reg_direction_input() 51 static void gpio_reg_set(struct gpio_chip *gc, unsigned offset, int value) in gpio_reg_set() 68 static int gpio_reg_get(struct gpio_chip *gc, unsigned offset) in gpio_reg_get() 86 static void gpio_reg_set_multiple(struct gpio_chip *gc, unsigned long *mask, in gpio_reg_set_multiple() 98 static int gpio_reg_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_reg_to_irq() 172 int gpio_reg_resume(struct gpio_chip *gc) in gpio_reg_resume()
|
D | gpio-ep93xx.c | 39 struct gpio_chip gc[8]; member 74 static int ep93xx_gpio_port(struct gpio_chip *gc) in ep93xx_gpio_port() 91 static void ep93xx_gpio_int_debounce(struct gpio_chip *gc, in ep93xx_gpio_int_debounce() 109 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in ep93xx_gpio_ab_irq_handler() local 155 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ep93xx_gpio_irq_ack() local 170 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ep93xx_gpio_irq_mask_ack() local 186 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ep93xx_gpio_irq_mask() local 196 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ep93xx_gpio_irq_unmask() local 211 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ep93xx_gpio_irq_type() local 310 static int ep93xx_gpio_set_config(struct gpio_chip *gc, unsigned offset, in ep93xx_gpio_set_config() [all …]
|
D | gpio-pl061.c | 53 struct gpio_chip gc; member 62 static int pl061_get_direction(struct gpio_chip *gc, unsigned offset) in pl061_get_direction() 69 static int pl061_direction_input(struct gpio_chip *gc, unsigned offset) in pl061_direction_input() 84 static int pl061_direction_output(struct gpio_chip *gc, unsigned offset, in pl061_direction_output() 107 static int pl061_get_value(struct gpio_chip *gc, unsigned offset) in pl061_get_value() 114 static void pl061_set_value(struct gpio_chip *gc, unsigned offset, int value) in pl061_set_value() 123 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in pl061_irq_type() local 213 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in pl061_irq_handler() local 231 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in pl061_irq_mask() local 244 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in pl061_irq_unmask() local [all …]
|
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()
|
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()
|
D | gpio-mockup.c | 54 struct gpio_chip gc; member 93 static int gpio_mockup_get(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_get() 105 static int gpio_mockup_get_multiple(struct gpio_chip *gc, in gpio_mockup_get_multiple() 127 static void gpio_mockup_set(struct gpio_chip *gc, in gpio_mockup_set() 137 static void gpio_mockup_set_multiple(struct gpio_chip *gc, in gpio_mockup_set_multiple() 149 static int gpio_mockup_dirout(struct gpio_chip *gc, in gpio_mockup_dirout() 162 static int gpio_mockup_dirin(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_dirin() 173 static int gpio_mockup_get_direction(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_get_direction() 185 static int gpio_mockup_to_irq(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_to_irq() 192 static void gpio_mockup_free(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_free() [all …]
|
D | gpio-zx.c | 44 struct gpio_chip gc; member 47 static int zx_direction_input(struct gpio_chip *gc, unsigned offset) in zx_direction_input() 65 static int zx_direction_output(struct gpio_chip *gc, unsigned offset, in zx_direction_output() 89 static int zx_get_value(struct gpio_chip *gc, unsigned offset) in zx_get_value() 96 static void zx_set_value(struct gpio_chip *gc, unsigned offset, int value) in zx_set_value() 108 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in zx_irq_type() local 160 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in zx_irq_handler() local 179 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in zx_irq_mask() local 194 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in zx_irq_unmask() local
|
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()
|
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() 51 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()
|
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()
|
D | gpio-xtensa.c | 73 static int xtensa_impwire_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_direction() 78 static int xtensa_impwire_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_value() 90 static void xtensa_impwire_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_impwire_set_value() 96 static int xtensa_expstate_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_direction() 101 static int xtensa_expstate_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_value() 113 static void xtensa_expstate_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_expstate_set_value()
|
D | gpio-tps65912.c | 23 static int tps65912_gpio_get_direction(struct gpio_chip *gc, in tps65912_gpio_get_direction() 40 static int tps65912_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_direction_input() 48 static int tps65912_gpio_direction_output(struct gpio_chip *gc, in tps65912_gpio_direction_output() 61 static int tps65912_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_get() 76 static void tps65912_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65912_gpio_set()
|
D | gpio-max77620.c | 126 static int max77620_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_dir_input() 140 static int max77620_gpio_get(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_get() 158 static int max77620_gpio_dir_output(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_dir_output() 217 static void max77620_gpio_set(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_set() 233 static int max77620_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_set_config() 257 static int max77620_gpio_to_irq(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_to_irq()
|
D | gpio-amd-fch.c | 35 struct gpio_chip gc; member 47 static int amd_fch_gpio_direction_input(struct gpio_chip *gc, in amd_fch_gpio_direction_input() 61 static int amd_fch_gpio_direction_output(struct gpio_chip *gc, in amd_fch_gpio_direction_output() 84 static int amd_fch_gpio_get_direction(struct gpio_chip *gc, unsigned int gpio) in amd_fch_gpio_get_direction() 98 static void amd_fch_gpio_set(struct gpio_chip *gc, in amd_fch_gpio_set() 118 static int amd_fch_gpio_get(struct gpio_chip *gc, in amd_fch_gpio_get()
|
D | gpio-ftgpio010.c | 50 struct gpio_chip gc; member 58 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ftgpio_gpio_ack_irq() local 66 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ftgpio_gpio_mask_irq() local 77 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ftgpio_gpio_unmask_irq() local 88 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ftgpio_gpio_set_irq_type() local 141 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in ftgpio_gpio_irq_handler() local 158 static int ftgpio_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in ftgpio_gpio_set_config()
|
/Linux-v5.4/drivers/lightnvm/ |
D | pblk-gc.c | 33 struct pblk_gc *gc = &pblk->gc; in pblk_gc_write() local 57 static void pblk_gc_writer_kick(struct pblk_gc *gc) in pblk_gc_writer_kick() 91 struct pblk_gc *gc = &pblk->gc; in pblk_gc_line_ws() local 185 struct pblk_gc *gc = &pblk->gc; in pblk_gc_line_prepare_ws() local 304 struct pblk_gc *gc = &pblk->gc; in pblk_gc_line() local 323 static void pblk_gc_reader_kick(struct pblk_gc *gc) in pblk_gc_reader_kick() 330 struct pblk_gc *gc = &pblk->gc; in pblk_gc_kick() local 345 struct pblk_gc *gc = &pblk->gc; in pblk_gc_read() local 394 static bool pblk_gc_should_run(struct pblk_gc *gc, struct pblk_rl *rl) in pblk_gc_should_run() 410 struct pblk_gc *gc = &pblk->gc; in pblk_gc_free_full_lines() local [all …]
|
/Linux-v5.4/drivers/input/joystick/ |
D | gamecon.c | 73 struct gc { struct 75 struct gc_pad pads[GC_MAX_DEVICES]; argument 87 static struct gc *gc_base[3]; argument 133 static void gc_n64_send_command(struct gc *gc, unsigned long cmd, in gc_n64_send_command() 147 static void gc_n64_send_stop_bit(struct gc *gc, unsigned char target) in gc_n64_send_stop_bit() 165 static void gc_n64_read_packet(struct gc *gc, unsigned char *data) in gc_n64_read_packet() 205 static void gc_n64_process_packet(struct gc *gc) in gc_n64_process_packet() 255 struct gc *gc = input_get_drvdata(dev); in gc_n64_play_effect() local 341 static void gc_nes_read_packet(struct gc *gc, int length, unsigned char *data) in gc_nes_read_packet() 358 static void gc_nes_process_packet(struct gc *gc) in gc_nes_process_packet() [all …]
|
/Linux-v5.4/drivers/irqchip/ |
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
|
/Linux-v5.4/drivers/pinctrl/sh-pfc/ |
D | gpio.c | 38 static struct sh_pfc *gpio_to_pfc(struct gpio_chip *gc) in gpio_to_pfc() 131 static int gpio_pin_request(struct gpio_chip *gc, unsigned offset) in gpio_pin_request() 142 static void gpio_pin_free(struct gpio_chip *gc, unsigned offset) in gpio_pin_free() 166 static int gpio_pin_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_pin_direction_input() 171 static int gpio_pin_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_pin_direction_output() 179 static int gpio_pin_get(struct gpio_chip *gc, unsigned offset) in gpio_pin_get() 193 static void gpio_pin_set(struct gpio_chip *gc, unsigned offset, int value) in gpio_pin_set() 198 static int gpio_pin_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_pin_to_irq() 221 struct gpio_chip *gc = &chip->gpio_chip; in gpio_pin_setup() local 256 static int gpio_function_request(struct gpio_chip *gc, unsigned offset) in gpio_function_request() [all …]
|
/Linux-v5.4/drivers/pinctrl/ |
D | pinctrl-amd.c | 39 static int amd_gpio_get_direction(struct gpio_chip *gc, unsigned offset) in amd_gpio_get_direction() 52 static int amd_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in amd_gpio_direction_input() 67 static int amd_gpio_direction_output(struct gpio_chip *gc, unsigned offset, in amd_gpio_direction_output() 87 static int amd_gpio_get_value(struct gpio_chip *gc, unsigned offset) in amd_gpio_get_value() 100 static void amd_gpio_set_value(struct gpio_chip *gc, unsigned offset, int value) in amd_gpio_set_value() 116 static int amd_gpio_set_debounce(struct gpio_chip *gc, unsigned offset, in amd_gpio_set_debounce() 181 static int amd_gpio_set_config(struct gpio_chip *gc, unsigned offset, in amd_gpio_set_config() 194 static void amd_gpio_dbg_show(struct seq_file *s, struct gpio_chip *gc) in amd_gpio_dbg_show() 345 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in amd_gpio_irq_enable() local 360 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in amd_gpio_irq_disable() local [all …]
|
/Linux-v5.4/arch/powerpc/sysdev/ |
D | simple_gpio.c | 36 static int u8_gpio_get(struct gpio_chip *gc, unsigned int gpio) in u8_gpio_get() 43 static void u8_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in u8_gpio_set() 61 static int u8_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in u8_gpio_dir_in() 66 static int u8_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in u8_gpio_dir_out() 85 struct gpio_chip *gc; in u8_simple_gpiochip_add() local
|