Searched refs:gc (Results 176 - 200 of 339) sorted by relevance

1234567891011>>

/linux-master/drivers/gpio/
H A Dgpio-thunderx.c289 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
290 struct thunderx_gpio *txgpio = gpiochip_get_data(gc);
298 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
299 struct thunderx_gpio *txgpio = gpiochip_get_data(gc);
307 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
308 struct thunderx_gpio *txgpio = gpiochip_get_data(gc);
316 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
317 struct thunderx_gpio *txgpio = gpiochip_get_data(gc);
326 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
327 struct thunderx_gpio *txgpio = gpiochip_get_data(gc);
359 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
368 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
396 thunderx_gpio_child_to_parent_hwirq(struct gpio_chip *gc, unsigned int child, unsigned int child_type, unsigned int *parent, unsigned int *parent_type) argument
[all...]
H A Dgpio-npcm-sgpio.c204 static int npcm_sgpio_dir_in(struct gpio_chip *gc, unsigned int offset) argument
206 struct npcm_sgpio *gpio = gpiochip_get_data(gc);
212 static int npcm_sgpio_dir_out(struct gpio_chip *gc, unsigned int offset, int val) argument
214 gc->set(gc, offset, val);
219 static int npcm_sgpio_get_direction(struct gpio_chip *gc, unsigned int offset) argument
221 struct npcm_sgpio *gpio = gpiochip_get_data(gc);
229 static void npcm_sgpio_set(struct gpio_chip *gc, unsigned int offset, int val) argument
231 struct npcm_sgpio *gpio = gpiochip_get_data(gc);
247 static int npcm_sgpio_get(struct gpio_chip *gc, unsigne argument
306 npcm_sgpio_irq_init_valid_mask(struct gpio_chip *gc, unsigned long *valid_mask, unsigned int ngpios) argument
434 struct gpio_chip *gc = irq_desc_get_handler_data(desc); local
[all...]
H A Dgpiolib-of.c923 * @gc: pointer to the gpio_chip structure
931 static int of_gpio_simple_xlate(struct gpio_chip *gc, argument
941 if (gc->of_gpio_n_cells < 2) {
946 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells))
949 if (gpiospec->args[0] >= gc->ngpio)
985 struct gpio_chip *gc = &mm_gc->gc; local
987 gc->label = kasprintf(GFP_KERNEL, "%pOF", np);
988 if (!gc->label)
995 gc
1025 struct gpio_chip *gc = &mm_gc->gc; local
[all...]
H A Dgpio-ml-ioh.c243 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); local
244 struct ioh_gpio *chip = gc->private;
304 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); local
305 struct ioh_gpio *chip = gc->private;
313 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); local
314 struct ioh_gpio *chip = gc->private;
322 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); local
323 struct ioh_gpio *chip = gc->private;
336 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); local
337 struct ioh_gpio *chip = gc
376 struct irq_chip_generic *gc; local
[all...]
H A Dgpio-lp873x.c71 static int lp873x_gpio_request(struct gpio_chip *gc, unsigned int offset) argument
73 struct lp873x_gpio *gpio = gpiochip_get_data(gc);
95 static int lp873x_gpio_set_config(struct gpio_chip *gc, unsigned offset, argument
98 struct lp873x_gpio *gpio = gpiochip_get_data(gc);
H A Dgpio-lp87565.c80 static int lp87565_gpio_request(struct gpio_chip *gc, unsigned int offset) argument
82 struct lp87565_gpio *gpio = gpiochip_get_data(gc);
108 static int lp87565_gpio_set_config(struct gpio_chip *gc, unsigned int offset, argument
111 struct lp87565_gpio *gpio = gpiochip_get_data(gc);
H A Dgpiolib-sysfs.c176 if (!guard.gc)
203 ret = gpiochip_lock_as_irq(guard.gc, gpio_chip_hwgpio(desc));
217 gpiochip_unlock_as_irq(guard.gc, gpio_chip_hwgpio(desc));
234 if (!guard.gc)
239 gpiochip_unlock_as_irq(guard.gc, gpio_chip_hwgpio(desc));
471 if (!guard.gc)
475 if (!gpiochip_line_is_valid(guard.gc, offset)) {
593 if (!guard.gc)
623 if (guard.gc->direction_input && guard.gc
820 gpiofind_sysfs_register(struct gpio_chip *gc, const void *data) argument
[all...]
H A Dgpio-mvebu.c406 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); local
407 struct mvebu_gpio_chip *mvchip = gc->private;
410 irq_gc_lock(gc);
412 irq_gc_unlock(gc);
417 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); local
418 struct mvebu_gpio_chip *mvchip = gc->private;
422 irq_gc_lock(gc);
425 irq_gc_unlock(gc);
430 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); local
431 struct mvebu_gpio_chip *mvchip = gc
444 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); local
457 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); local
496 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); local
1126 struct irq_chip_generic *gc; local
[all...]
/linux-master/drivers/hid/
H A Dhid-mcp2221.c104 struct gpio_chip *gc; member in struct:mcp2221
610 static int mcp_gpio_get(struct gpio_chip *gc, argument
614 struct mcp2221 *mcp = gpiochip_get_data(gc);
627 static void mcp_gpio_set(struct gpio_chip *gc, argument
630 struct mcp2221 *mcp = gpiochip_get_data(gc);
659 static int mcp_gpio_direction_input(struct gpio_chip *gc, argument
663 struct mcp2221 *mcp = gpiochip_get_data(gc);
672 static int mcp_gpio_direction_output(struct gpio_chip *gc, argument
676 struct mcp2221 *mcp = gpiochip_get_data(gc);
686 mcp_gpio_set(gc, offse
691 mcp_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) argument
[all...]
/linux-master/security/keys/
H A DMakefile10 gc.o \
/linux-master/fs/f2fs/
H A DMakefile5 f2fs-y += checkpoint.o gc.o data.o node.o segment.o recovery.o
/linux-master/drivers/net/dsa/
H A Dvitesse-vsc73xx.h13 struct gpio_chip gc; member in struct:vsc73xx
/linux-master/drivers/usb/gadget/legacy/
H A Dg_ffs.c473 struct gfs_configuration *gc = local
486 if (gc->eth) {
487 ret = gc->eth(c);
493 f_ffs[gc->num][i] = usb_get_function(fi_ffs[i]);
494 if (IS_ERR(f_ffs[gc->num][i])) {
495 ret = PTR_ERR(f_ffs[gc->num][i]);
498 ret = usb_add_function(c, f_ffs[gc->num][i]);
500 usb_put_function(f_ffs[gc->num][i]);
521 if (!IS_ERR(f_ffs[gc->num][i]))
522 usb_remove_function(c, f_ffs[gc
[all...]
/linux-master/drivers/irqchip/
H A Dirq-omap-intc.c201 struct irq_chip_generic *gc; local
204 gc = irq_get_domain_generic_chip(d, 32 * i);
205 gc->reg_base = base;
206 ct = gc->chip_types;
226 struct irq_chip_generic *gc; local
229 gc = irq_alloc_generic_chip("INTC", 1, irq_start, base,
231 ct = gc->chip_types;
239 irq_setup_generic_chip(gc, IRQ_MSK(num), IRQ_GC_INIT_MASK_CACHE,
/linux-master/fs/ubifs/
H A DMakefile5 ubifs-y += tnc.o master.o scan.o replay.o log.o commit.o gc.o orphan.o
/linux-master/include/linux/mfd/
H A Dtps65010.h197 int (*setup)(struct i2c_client *client, struct gpio_chip *gc);
198 void (*teardown)(struct i2c_client *client, struct gpio_chip *gc);
/linux-master/drivers/pinctrl/
H A Dpinctrl-equilibrium.c27 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
28 struct eqbr_gpio_ctrl *gctrl = gpiochip_get_data(gc);
35 gpiochip_disable_irq(gc, offset);
40 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
41 struct eqbr_gpio_ctrl *gctrl = gpiochip_get_data(gc);
45 gc->direction_input(gc, offset);
46 gpiochip_enable_irq(gc, offset);
54 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
55 struct eqbr_gpio_ctrl *gctrl = gpiochip_get_data(gc);
96 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
152 struct gpio_chip *gc = irq_desc_get_handler_data(desc); local
180 struct gpio_chip *gc; local
452 struct gpio_chip *gc; local
[all...]
H A Dpinctrl-mcp23s08.c476 struct gpio_chip *gc = irq_data_get_irq_chip_data(data); local
477 struct mcp23s08 *mcp = gpiochip_get_data(gc);
481 gpiochip_disable_irq(gc, pos);
486 struct gpio_chip *gc = irq_data_get_irq_chip_data(data); local
487 struct mcp23s08 *mcp = gpiochip_get_data(gc);
490 gpiochip_enable_irq(gc, pos);
496 struct gpio_chip *gc = irq_data_get_irq_chip_data(data); local
497 struct mcp23s08 *mcp = gpiochip_get_data(gc);
526 struct gpio_chip *gc = irq_data_get_irq_chip_data(data); local
527 struct mcp23s08 *mcp = gpiochip_get_data(gc);
535 struct gpio_chip *gc = irq_data_get_irq_chip_data(data); local
569 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); local
[all...]
H A Dpinctrl-keembay.c1180 static int keembay_gpio_get(struct gpio_chip *gc, unsigned int pin) argument
1182 struct keembay_pinctrl *kpc = gpiochip_get_data(gc);
1191 static void keembay_gpio_set(struct gpio_chip *gc, unsigned int pin, int val) argument
1193 struct keembay_pinctrl *kpc = gpiochip_get_data(gc);
1205 static int keembay_gpio_get_direction(struct gpio_chip *gc, unsigned int pin) argument
1207 struct keembay_pinctrl *kpc = gpiochip_get_data(gc);
1213 static int keembay_gpio_set_direction_in(struct gpio_chip *gc, unsigned int pin) argument
1215 struct keembay_pinctrl *kpc = gpiochip_get_data(gc);
1225 static int keembay_gpio_set_direction_out(struct gpio_chip *gc, argument
1228 struct keembay_pinctrl *kpc = gpiochip_get_data(gc);
1241 struct gpio_chip *gc = irq_desc_get_handler_data(desc); local
1283 struct gpio_chip *gc = irq_data_get_irq_chip_data(data); local
1364 struct gpio_chip *gc = irq_data_get_irq_chip_data(data); local
1398 struct gpio_chip *gc = irq_data_get_irq_chip_data(data); local
1417 struct gpio_chip *gc = irq_data_get_irq_chip_data(data); local
1460 struct gpio_chip *gc = &kpc->chip; local
[all...]
/linux-master/arch/arm/common/
H A Dsa1111.c112 struct gpio_chip gc; member in struct:sa1111
476 static struct sa1111 *gc_to_sa1111(struct gpio_chip *gc) argument
478 return container_of(gc, struct sa1111, gc);
515 static int sa1111_gpio_get_direction(struct gpio_chip *gc, unsigned offset) argument
517 struct sa1111 *sachip = gc_to_sa1111(gc);
524 static int sa1111_gpio_direction_input(struct gpio_chip *gc, unsigned offset) argument
526 struct sa1111 *sachip = gc_to_sa1111(gc);
539 static int sa1111_gpio_direction_output(struct gpio_chip *gc, unsigned offset, argument
542 struct sa1111 *sachip = gc_to_sa1111(gc);
557 sa1111_gpio_get(struct gpio_chip *gc, unsigned offset) argument
566 sa1111_gpio_set(struct gpio_chip *gc, unsigned offset, int value) argument
579 sa1111_gpio_set_multiple(struct gpio_chip *gc, unsigned long *mask, unsigned long *bits) argument
600 sa1111_gpio_to_irq(struct gpio_chip *gc, unsigned offset) argument
[all...]
/linux-master/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.c537 static void samsung_gpio_set_value(struct gpio_chip *gc, argument
540 struct samsung_pin_bank *bank = gpiochip_get_data(gc);
555 static void samsung_gpio_set(struct gpio_chip *gc, unsigned offset, int value) argument
557 struct samsung_pin_bank *bank = gpiochip_get_data(gc);
561 samsung_gpio_set_value(gc, offset, value);
566 static int samsung_gpio_get(struct gpio_chip *gc, unsigned offset) argument
570 struct samsung_pin_bank *bank = gpiochip_get_data(gc);
587 static int samsung_gpio_set_direction(struct gpio_chip *gc, argument
595 bank = gpiochip_get_data(gc);
619 static int samsung_gpio_direction_input(struct gpio_chip *gc, unsigne argument
632 samsung_gpio_direction_output(struct gpio_chip *gc, unsigned offset, int value) argument
651 samsung_gpio_to_irq(struct gpio_chip *gc, unsigned offset) argument
664 samsung_add_pin_ranges(struct gpio_chip *gc) argument
959 struct gpio_chip *gc; local
[all...]
/linux-master/drivers/usb/serial/
H A Dcp210x.c264 struct gpio_chip gc; member in struct:cp210x_serial_private
1465 static int cp210x_gpio_get(struct gpio_chip *gc, unsigned int gpio) argument
1467 struct usb_serial *serial = gpiochip_get_data(gc);
1507 static void cp210x_gpio_set(struct gpio_chip *gc, unsigned int gpio, int value) argument
1509 struct usb_serial *serial = gpiochip_get_data(gc);
1565 static int cp210x_gpio_direction_get(struct gpio_chip *gc, unsigned int gpio) argument
1567 struct usb_serial *serial = gpiochip_get_data(gc);
1573 static int cp210x_gpio_direction_input(struct gpio_chip *gc, unsigned int gpio) argument
1575 struct usb_serial *serial = gpiochip_get_data(gc);
1588 cp210x_gpio_set(gc, gpi
1595 cp210x_gpio_direction_output(struct gpio_chip *gc, unsigned int gpio, int value) argument
1607 cp210x_gpio_set_config(struct gpio_chip *gc, unsigned int gpio, unsigned long config) argument
1626 cp210x_gpio_init_valid_mask(struct gpio_chip *gc, unsigned long *valid_mask, unsigned int ngpios) argument
[all...]
/linux-master/arch/arm/mach-s3c/
H A Dgpio-samsung.c504 struct gpio_chip *gc = &chip->chip; local
508 BUG_ON(!gc->label);
509 BUG_ON(!gc->ngpio);
513 if (!gc->direction_input)
514 gc->direction_input = samsung_gpiolib_2bit_input;
515 if (!gc->direction_output)
516 gc->direction_output = samsung_gpiolib_2bit_output;
517 if (!gc->set)
518 gc->set = samsung_gpiolib_set;
519 if (!gc
[all...]
/linux-master/drivers/leds/
H A Dleds-pca955x.c346 static int pca955x_gpio_request_pin(struct gpio_chip *gc, unsigned int offset) argument
348 struct pca955x *pca955x = gpiochip_get_data(gc);
353 static void pca955x_gpio_free_pin(struct gpio_chip *gc, unsigned int offset) argument
355 struct pca955x *pca955x = gpiochip_get_data(gc);
360 static int pca955x_set_value(struct gpio_chip *gc, unsigned int offset, argument
363 struct pca955x *pca955x = gpiochip_get_data(gc);
372 static void pca955x_gpio_set_value(struct gpio_chip *gc, unsigned int offset, argument
375 pca955x_set_value(gc, offset, val);
378 static int pca955x_gpio_get_value(struct gpio_chip *gc, unsigned int offset) argument
380 struct pca955x *pca955x = gpiochip_get_data(gc);
390 pca955x_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) argument
400 pca955x_gpio_direction_output(struct gpio_chip *gc, unsigned int offset, int val) argument
[all...]
/linux-master/drivers/input/touchscreen/
H A Dad7879.c112 struct gpio_chip gc; member in struct:ad7879
472 ts->gc.direction_input = ad7879_gpio_direction_input;
473 ts->gc.direction_output = ad7879_gpio_direction_output;
474 ts->gc.get = ad7879_gpio_get_value;
475 ts->gc.set = ad7879_gpio_set_value;
476 ts->gc.can_sleep = 1;
477 ts->gc.base = -1;
478 ts->gc.ngpio = 1;
479 ts->gc.label = "AD7879-GPIO";
480 ts->gc
[all...]

Completed in 434 milliseconds

1234567891011>>