Home
last modified time | relevance | path

Searched defs:gc (Results 1 – 25 of 200) sorted by relevance

12345678

/Linux-v4.19/kernel/irq/
Dgeneric-chip.c38 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-v4.19/drivers/gpio/
Dgpio-mmio.c129 static unsigned long bgpio_line2mask(struct gpio_chip *gc, unsigned int line) in bgpio_line2mask()
136 static int bgpio_get_set(struct gpio_chip *gc, unsigned int gpio) in bgpio_get_set()
162 static int bgpio_get_set_multiple(struct gpio_chip *gc, unsigned long *mask, in bgpio_get_set_multiple()
188 static int bgpio_get(struct gpio_chip *gc, unsigned int gpio) in bgpio_get()
196 static int bgpio_get_multiple(struct gpio_chip *gc, unsigned long *mask, in bgpio_get_multiple()
208 static int bgpio_get_multiple_be(struct gpio_chip *gc, unsigned long *mask, in bgpio_get_multiple_be()
237 static void bgpio_set_none(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_none()
241 static void bgpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set()
258 static void bgpio_set_with_clear(struct gpio_chip *gc, unsigned int gpio, in bgpio_set_with_clear()
269 static void bgpio_set_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_set()
[all …]
Dgpio-mpc5200.c56 static int mpc52xx_wkup_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_wkup_gpio_get()
70 __mpc52xx_wkup_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in __mpc52xx_wkup_gpio_set()
85 mpc52xx_wkup_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in mpc52xx_wkup_gpio_set()
98 static int mpc52xx_wkup_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_wkup_gpio_dir_in()
121 mpc52xx_wkup_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in mpc52xx_wkup_gpio_dir_out()
151 struct gpio_chip *gc; in mpc52xx_wkup_gpiochip_probe() local
220 static int mpc52xx_simple_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_simple_gpio_get()
232 __mpc52xx_simple_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in __mpc52xx_simple_gpio_set()
246 mpc52xx_simple_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in mpc52xx_simple_gpio_set()
259 static int mpc52xx_simple_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_simple_gpio_dir_in()
[all …]
Dgpio-mpc8xxx.c37 struct gpio_chip gc; member
63 static int mpc8572_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc8572_gpio_get()
76 static int mpc5121_gpio_dir_out(struct gpio_chip *gc, in mpc5121_gpio_dir_out()
87 static int mpc5125_gpio_dir_out(struct gpio_chip *gc, in mpc5125_gpio_dir_out()
98 static int mpc8xxx_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in mpc8xxx_gpio_to_irq()
112 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_gpio_irq_cascade() local
127 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_irq_unmask() local
142 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_irq_mask() local
157 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_irq_ack() local
166 struct gpio_chip *gc = &mpc8xxx_gc->gc; in mpc8xxx_irq_set_type() local
[all …]
Dgpio-ingenic.c44 struct gpio_chip gc; member
121 struct gpio_chip *gc = irq_data_get_irq_chip_data(irqd); in ingenic_gpio_irq_mask() local
129 struct gpio_chip *gc = irq_data_get_irq_chip_data(irqd); in ingenic_gpio_irq_unmask() local
137 struct gpio_chip *gc = irq_data_get_irq_chip_data(irqd); in ingenic_gpio_irq_enable() local
151 struct gpio_chip *gc = irq_data_get_irq_chip_data(irqd); in ingenic_gpio_irq_disable() local
165 struct gpio_chip *gc = irq_data_get_irq_chip_data(irqd); in ingenic_gpio_irq_ack() local
190 struct gpio_chip *gc = irq_data_get_irq_chip_data(irqd); in ingenic_gpio_irq_set_type() local
224 struct gpio_chip *gc = irq_data_get_irq_chip_data(irqd); in ingenic_gpio_irq_set_wake() local
232 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in ingenic_gpio_irq_handler() local
249 static void ingenic_gpio_set(struct gpio_chip *gc, in ingenic_gpio_set()
[all …]
Dgpio-reg.c17 struct gpio_chip gc; member
28 static int gpio_reg_get_direction(struct gpio_chip *gc, unsigned offset) in gpio_reg_get_direction()
35 static int gpio_reg_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_reg_direction_output()
47 static int gpio_reg_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_reg_direction_input()
54 static void gpio_reg_set(struct gpio_chip *gc, unsigned offset, int value) in gpio_reg_set()
71 static int gpio_reg_get(struct gpio_chip *gc, unsigned offset) in gpio_reg_get()
89 static void gpio_reg_set_multiple(struct gpio_chip *gc, unsigned long *mask, in gpio_reg_set_multiple()
101 static int gpio_reg_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_reg_to_irq()
175 int gpio_reg_resume(struct gpio_chip *gc) in gpio_reg_resume()
Dgpio-pl061.c56 struct gpio_chip gc; member
64 static int pl061_get_direction(struct gpio_chip *gc, unsigned offset) in pl061_get_direction()
71 static int pl061_direction_input(struct gpio_chip *gc, unsigned offset) in pl061_direction_input()
86 static int pl061_direction_output(struct gpio_chip *gc, unsigned offset, in pl061_direction_output()
109 static int pl061_get_value(struct gpio_chip *gc, unsigned offset) in pl061_get_value()
116 static void pl061_set_value(struct gpio_chip *gc, unsigned offset, int value) in pl061_set_value()
125 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in pl061_irq_type() local
215 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in pl061_irq_handler() local
233 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in pl061_irq_mask() local
246 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in pl061_irq_unmask() local
[all …]
Dgpio-zx.c47 struct gpio_chip gc; member
50 static int zx_direction_input(struct gpio_chip *gc, unsigned offset) in zx_direction_input()
68 static int zx_direction_output(struct gpio_chip *gc, unsigned offset, in zx_direction_output()
92 static int zx_get_value(struct gpio_chip *gc, unsigned offset) in zx_get_value()
99 static void zx_set_value(struct gpio_chip *gc, unsigned offset, int value) in zx_set_value()
111 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in zx_irq_type() local
163 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in zx_irq_handler() local
182 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in zx_irq_mask() local
197 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in zx_irq_unmask() local
Dgpio-mb86s7x.c41 struct gpio_chip gc; member
47 static int mb86s70_gpio_request(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_request()
64 static void mb86s70_gpio_free(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_free()
79 static int mb86s70_gpio_direction_input(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_direction_input()
96 static int mb86s70_gpio_direction_output(struct gpio_chip *gc, in mb86s70_gpio_direction_output()
121 static int mb86s70_gpio_get(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_get()
128 static void mb86s70_gpio_set(struct gpio_chip *gc, unsigned gpio, int value) in mb86s70_gpio_set()
Dgpio-tps65218.c27 static int tps65218_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_get()
41 static void tps65218_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_set()
58 static int tps65218_gpio_output(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_output()
66 static int tps65218_gpio_input(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_input()
71 static int tps65218_gpio_request(struct gpio_chip *gc, unsigned offset) in tps65218_gpio_request()
142 static int tps65218_gpio_set_config(struct gpio_chip *gc, unsigned offset, in tps65218_gpio_set_config()
Dgpio-tps68470.c26 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()
Dgpio-rc5t583.c36 static int rc5t583_gpio_get(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_get()
50 static void rc5t583_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in rc5t583_gpio_set()
60 static int rc5t583_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_dir_input()
74 static int rc5t583_gpio_dir_output(struct gpio_chip *gc, unsigned offset, in rc5t583_gpio_dir_output()
90 static int rc5t583_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_to_irq()
100 static void rc5t583_gpio_free(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_free()
Dgpio-mockup.c50 struct gpio_chip gc; member
89 static int gpio_mockup_get(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_get()
96 static void gpio_mockup_set(struct gpio_chip *gc, in gpio_mockup_set()
104 static void gpio_mockup_set_multiple(struct gpio_chip *gc, in gpio_mockup_set_multiple()
114 static int gpio_mockup_dirout(struct gpio_chip *gc, in gpio_mockup_dirout()
125 static int gpio_mockup_dirin(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_dirin()
134 static int gpio_mockup_get_direction(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_get_direction()
141 static int gpio_mockup_to_irq(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_to_irq()
192 struct gpio_chip *gc; in gpio_mockup_debugfs_setup() local
236 struct gpio_chip *gc = &chip->gc; in gpio_mockup_name_lines() local
[all …]
Dgpio-xtensa.c76 static int xtensa_impwire_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_direction()
81 static int xtensa_impwire_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_value()
93 static void xtensa_impwire_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_impwire_set_value()
99 static int xtensa_expstate_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_direction()
104 static int xtensa_expstate_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_value()
116 static void xtensa_expstate_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_expstate_set_value()
Dgpio-tps65912.c31 static int tps65912_gpio_get_direction(struct gpio_chip *gc, in tps65912_gpio_get_direction()
48 static int tps65912_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_direction_input()
56 static int tps65912_gpio_direction_output(struct gpio_chip *gc, in tps65912_gpio_direction_output()
69 static int tps65912_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_get()
84 static void tps65912_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65912_gpio_set()
Dgpio-max77620.c97 static int max77620_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_dir_input()
111 static int max77620_gpio_get(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_get()
129 static int max77620_gpio_dir_output(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_dir_output()
188 static void max77620_gpio_set(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_set()
204 static int max77620_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_set_config()
228 static int max77620_gpio_to_irq(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_to_irq()
Dgpio-ucb1400.c15 static int ucb1400_gpio_dir_in(struct gpio_chip *gc, unsigned off) in ucb1400_gpio_dir_in()
23 static int ucb1400_gpio_dir_out(struct gpio_chip *gc, unsigned off, int val) in ucb1400_gpio_dir_out()
32 static int ucb1400_gpio_get(struct gpio_chip *gc, unsigned off) in ucb1400_gpio_get()
40 static void ucb1400_gpio_set(struct gpio_chip *gc, unsigned off, int val) in ucb1400_gpio_set()
Dgpio-ftgpio010.c46 struct gpio_chip gc; member
52 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ftgpio_gpio_ack_irq() local
60 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ftgpio_gpio_mask_irq() local
71 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ftgpio_gpio_unmask_irq() local
82 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in ftgpio_gpio_set_irq_type() local
143 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in ftgpio_gpio_irq_handler() local
Dgpio-dwapb.c85 struct gpio_chip gc; member
133 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_read() local
142 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_write() local
148 static int dwapb_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in dwapb_gpio_to_irq()
173 struct gpio_chip *gc; in dwapb_toggle_trigger() local
227 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_enable() local
242 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_disable() local
257 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_reqres() local
273 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_relres() local
282 struct gpio_chip *gc = &gpio->ports[0].gc; in dwapb_irq_set_type() local
[all …]
/Linux-v4.19/drivers/lightnvm/
Dpblk-gc.c30 struct pblk_gc *gc = &pblk->gc; in pblk_gc_write() local
54 static void pblk_gc_writer_kick(struct pblk_gc *gc) in pblk_gc_writer_kick()
84 struct pblk_gc *gc = &pblk->gc; in pblk_gc_line_ws() local
187 struct pblk_gc *gc = &pblk->gc; in pblk_gc_line_prepare_ws() local
297 struct pblk_gc *gc = &pblk->gc; in pblk_gc_line() local
316 static void pblk_gc_reader_kick(struct pblk_gc *gc) in pblk_gc_reader_kick()
323 struct pblk_gc *gc = &pblk->gc; in pblk_gc_kick() local
338 struct pblk_gc *gc = &pblk->gc; in pblk_gc_read() local
376 static bool pblk_gc_should_run(struct pblk_gc *gc, struct pblk_rl *rl) in pblk_gc_should_run()
392 struct pblk_gc *gc = &pblk->gc; in pblk_gc_free_full_lines() local
[all …]
/Linux-v4.19/drivers/input/joystick/
Dgamecon.c85 struct gc { struct
87 struct gc_pad pads[GC_MAX_DEVICES]; argument
99 static struct gc *gc_base[3]; argument
145 static void gc_n64_send_command(struct gc *gc, unsigned long cmd, in gc_n64_send_command()
159 static void gc_n64_send_stop_bit(struct gc *gc, unsigned char target) in gc_n64_send_stop_bit()
177 static void gc_n64_read_packet(struct gc *gc, unsigned char *data) in gc_n64_read_packet()
217 static void gc_n64_process_packet(struct gc *gc) in gc_n64_process_packet()
267 struct gc *gc = input_get_drvdata(dev); in gc_n64_play_effect() local
353 static void gc_nes_read_packet(struct gc *gc, int length, unsigned char *data) in gc_nes_read_packet()
370 static void gc_nes_process_packet(struct gc *gc) in gc_nes_process_packet()
[all …]
/Linux-v4.19/drivers/irqchip/
Dirq-atmel-aic.c64 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-v4.19/drivers/pinctrl/sh-pfc/
Dgpio.c41 static struct sh_pfc *gpio_to_pfc(struct gpio_chip *gc) in gpio_to_pfc()
134 static int gpio_pin_request(struct gpio_chip *gc, unsigned offset) in gpio_pin_request()
145 static void gpio_pin_free(struct gpio_chip *gc, unsigned offset) in gpio_pin_free()
169 static int gpio_pin_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_pin_direction_input()
174 static int gpio_pin_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_pin_direction_output()
182 static int gpio_pin_get(struct gpio_chip *gc, unsigned offset) in gpio_pin_get()
196 static void gpio_pin_set(struct gpio_chip *gc, unsigned offset, int value) in gpio_pin_set()
201 static int gpio_pin_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_pin_to_irq()
224 struct gpio_chip *gc = &chip->gpio_chip; in gpio_pin_setup() local
259 static int gpio_function_request(struct gpio_chip *gc, unsigned offset) in gpio_function_request()
[all …]
/Linux-v4.19/drivers/pinctrl/
Dpinctrl-amd.c43 static int amd_gpio_get_direction(struct gpio_chip *gc, unsigned offset) in amd_gpio_get_direction()
56 static int amd_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in amd_gpio_direction_input()
71 static int amd_gpio_direction_output(struct gpio_chip *gc, unsigned offset, in amd_gpio_direction_output()
91 static int amd_gpio_get_value(struct gpio_chip *gc, unsigned offset) in amd_gpio_get_value()
104 static void amd_gpio_set_value(struct gpio_chip *gc, unsigned offset, int value) in amd_gpio_set_value()
120 static int amd_gpio_set_debounce(struct gpio_chip *gc, unsigned offset, in amd_gpio_set_debounce()
185 static int amd_gpio_set_config(struct gpio_chip *gc, unsigned offset, in amd_gpio_set_config()
198 static void amd_gpio_dbg_show(struct seq_file *s, struct gpio_chip *gc) in amd_gpio_dbg_show()
349 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in amd_gpio_irq_enable() local
364 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in amd_gpio_irq_disable() local
[all …]
/Linux-v4.19/arch/powerpc/sysdev/
Dsimple_gpio.c40 static int u8_gpio_get(struct gpio_chip *gc, unsigned int gpio) in u8_gpio_get()
47 static void u8_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in u8_gpio_set()
65 static int u8_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in u8_gpio_dir_in()
70 static int u8_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in u8_gpio_dir_out()
89 struct gpio_chip *gc; in u8_simple_gpiochip_add() local

12345678