Searched defs:chip (Results 1 - 25 of 103) sorted by relevance

12345

/arch/arm/plat-samsung/include/plat/
H A Dgpio-cfg-helpers.h27 static inline int samsung_gpio_do_setcfg(struct samsung_gpio_chip *chip, argument
30 return (chip->config->set_config)(chip, off, config);
33 static inline unsigned samsung_gpio_do_getcfg(struct samsung_gpio_chip *chip, argument
36 return (chip->config->get_config)(chip, off);
39 static inline int samsung_gpio_do_setpull(struct samsung_gpio_chip *chip, argument
42 return (chip->config->set_pull)(chip, off, pull);
45 static inline samsung_gpio_pull_t samsung_gpio_do_getpull(struct samsung_gpio_chip *chip, argument
[all...]
H A Dgpio-core.h26 * need to extend or change depending on the hardware and the s3c chip
42 void (*save)(struct samsung_gpio_chip *chip);
43 void (*resume)(struct samsung_gpio_chip *chip);
50 * @chip: The chip structure to be exported via gpiolib.
66 * Each chip has its own lock to avoid any contention between different
71 struct gpio_chip chip; member in struct:samsung_gpio_chip
86 return container_of(gpc, struct samsung_gpio_chip, chip);
91 * @chip: The gpio chip tha
105 samsung_gpiolib_getchip(unsigned int chip) argument
116 struct samsung_gpio_chip *chip; local
125 s3c_gpiolib_track(struct samsung_gpio_chip *chip) argument
[all...]
/arch/powerpc/platforms/86xx/
H A Dpic.c22 struct irq_chip *chip = irq_desc_get_chip(desc); local
28 chip->irq_eoi(&desc->irq_data);
/arch/sh/boards/mach-sdk7786/
H A Dgpio.c25 static int usrgpir_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) argument
31 static int usrgpir_gpio_get(struct gpio_chip *chip, unsigned gpio) argument
/arch/ia64/hp/sim/
H A Dhpsim_irq.c44 struct irq_chip *chip = irq_get_chip(irq); local
46 if (chip == &no_irq_chip)
/arch/mips/kernel/
H A Dgpio_txx9.c2 * A gpio chip driver for TXx9 SoCs
22 static int txx9_gpio_get(struct gpio_chip *chip, unsigned int offset) argument
38 static void txx9_gpio_set(struct gpio_chip *chip, unsigned int offset, argument
48 static int txx9_gpio_dir_in(struct gpio_chip *chip, unsigned int offset) argument
59 static int txx9_gpio_dir_out(struct gpio_chip *chip, unsigned int offset, argument
H A Dirq_cpu.c122 static struct irq_chip *chip; local
126 chip = &mips_mt_cpu_irq_controller;
128 chip = &mips_cpu_irq_controller;
131 irq_set_chip_and_handler(irq, chip, handle_percpu_irq);
/arch/powerpc/platforms/85xx/
H A Dcommon.c53 struct irq_chip *chip = irq_desc_get_chip(desc); local
59 chip->irq_eoi(&desc->irq_data);
/arch/sh/kernel/cpu/irq/
H A Dipr.c10 * On-chip supporting modules (TMU, RTC, etc.).
11 * On-chip supporting modules for SH7709/SH7709A/SH7729.
29 struct irq_chip *chip = irq_data_get_irq_chip(data); local
30 return container_of(chip, struct ipr_desc, chip);
59 desc->chip.irq_mask = disable_ipr_irq;
60 desc->chip.irq_unmask = enable_ipr_irq;
77 irq_set_chip_and_handler_name(p->irq, &desc->chip,
/arch/unicore32/kernel/
H A Dgpio.c53 static int puv3_gpio_get(struct gpio_chip *chip, unsigned offset) argument
58 static void puv3_gpio_set(struct gpio_chip *chip, unsigned offset, int value) argument
66 static int puv3_direction_input(struct gpio_chip *chip, unsigned offset) argument
76 static int puv3_direction_output(struct gpio_chip *chip, unsigned offset, argument
82 puv3_gpio_set(chip, offset, value);
/arch/x86/kernel/
H A Dirqinit.c72 struct irq_chip *chip = legacy_pic->chip; local
81 irq_set_chip_and_handler(i, chip, handle_level_irq);
/arch/alpha/kernel/
H A Dirq.c47 struct irq_chip *chip; local
53 chip = irq_data_get_irq_chip(data);
55 if (!chip->irq_set_affinity || irq_user_affinity[irq])
64 chip->irq_set_affinity(data, cpumask_of(cpu), false);
/arch/mips/loongson/common/
H A Dgpio.c76 static int ls2f_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) argument
94 static int ls2f_gpio_direction_output(struct gpio_chip *chip, argument
114 static int ls2f_gpio_get_value(struct gpio_chip *chip, unsigned gpio) argument
119 static void ls2f_gpio_set_value(struct gpio_chip *chip, argument
/arch/mips/vr41xx/common/
H A Dirq.c75 struct irq_chip *chip = irq_desc_get_chip(desc); local
78 if (chip->irq_mask_ack)
79 chip->irq_mask_ack(idata);
81 chip->irq_mask(idata);
82 chip->irq_ack(idata);
90 if (!irqd_irq_disabled(idata) && chip->irq_unmask)
91 chip->irq_unmask(idata);
/arch/powerpc/platforms/powernv/
H A Dopal-xscom.c29 uint32_t chip; member in struct:opal_scom_map
43 gcid = of_get_property(dev, "ibm,chip-id", NULL);
45 pr_err("%s: device %s has no ibm,chip-id\n",
52 m->chip = be32_to_cpup(gcid);
105 rc = opal_xscom_read(m->chip, reg, (__be64 *)__pa(&v));
116 rc = opal_xscom_write(m->chip, reg, value);
/arch/sh/include/asm/
H A Dhw_irq.h22 struct irq_chip chip; member in struct:ipr_desc
/arch/arm/kernel/
H A Dmachine_kexec.c99 struct irq_chip *chip; local
101 chip = irq_desc_get_chip(desc);
102 if (!chip)
105 if (chip->irq_eoi && irqd_irq_inprogress(&desc->irq_data))
106 chip->irq_eoi(&desc->irq_data);
108 if (chip->irq_mask)
109 chip->irq_mask(&desc->irq_data);
111 if (chip->irq_disable && !irqd_irq_disabled(&desc->irq_data))
112 chip->irq_disable(&desc->irq_data);
/arch/arm/mach-ep93xx/
H A Dsnappercl15.c47 #define NAND_CTRL_ADDR(chip) (chip->IO_ADDR_W + 0x40)
52 struct nand_chip *chip = mtd->priv; local
70 __raw_writew(nand_state, NAND_CTRL_ADDR(chip));
74 __raw_writew((cmd & 0xff) | nand_state, chip->IO_ADDR_W);
79 struct nand_chip *chip = mtd->priv; local
81 return !!(__raw_readw(NAND_CTRL_ADDR(chip)) & SNAPPERCL15_NAND_RDY);
98 .chip = {
/arch/arm/mach-w90x900/
H A Dgpio.c33 #define to_nuc900_gpio_chip(c) container_of(c, struct nuc900_gpio_chip, chip)
37 .chip = { \
49 struct gpio_chip chip; member in struct:nuc900_gpio_chip
54 static int nuc900_gpio_get(struct gpio_chip *chip, unsigned offset) argument
56 struct nuc900_gpio_chip *nuc900_gpio = to_nuc900_gpio_chip(chip);
66 static void nuc900_gpio_set(struct gpio_chip *chip, unsigned offset, int val) argument
68 struct nuc900_gpio_chip *nuc900_gpio = to_nuc900_gpio_chip(chip);
87 static int nuc900_dir_input(struct gpio_chip *chip, unsigned offset) argument
89 struct nuc900_gpio_chip *nuc900_gpio = to_nuc900_gpio_chip(chip);
105 static int nuc900_dir_output(struct gpio_chip *chip, unsigne argument
[all...]
/arch/avr32/mach-at32ap/
H A Dintc.c24 struct irq_chip chip; member in struct:intc
48 .chip = {
129 irq_set_chip_and_handler(i, &intc0.chip,
/arch/blackfin/mach-bf538/
H A Dext-gpio.c27 static void __iomem *gpio_chip_to_mmr(struct gpio_chip *chip) argument
29 switch (chip->base) {
37 static int bf538_gpio_get_value(struct gpio_chip *chip, unsigned gpio) argument
39 void __iomem *port = gpio_chip_to_mmr(chip);
43 static void bf538_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int value) argument
45 void __iomem *port = gpio_chip_to_mmr(chip);
52 static int bf538_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) argument
54 void __iomem *port = gpio_chip_to_mmr(chip);
60 static int bf538_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, int value) argument
62 void __iomem *port = gpio_chip_to_mmr(chip);
69 bf538_gpio_request(struct gpio_chip *chip, unsigned gpio) argument
74 bf538_gpio_free(struct gpio_chip *chip, unsigned gpio) argument
[all...]
/arch/blackfin/mach-bf561/
H A Dsmp.c161 struct irq_chip *chip = irq_data_get_irq_chip(data); local
166 chip->irq_unmask(data);
/arch/cris/arch-v32/drivers/mach-a3/
H A Dnandflash.c40 struct nand_chip chip; member in struct:mtd_info_wrapper
86 /* command to chip */
150 this = &wrapper->chip;
/arch/cris/arch-v32/drivers/mach-fs/
H A Dnandflash.c35 struct nand_chip chip; member in struct:mtd_info_wrapper
81 /* command to chip */
131 this = &wrapper->chip;
/arch/ia64/kernel/
H A Dirq.c108 struct irq_chip *chip = irq_data_get_irq_chip(data); local
134 if (chip && chip->irq_disable &&
135 chip->irq_enable && chip->irq_set_affinity) {
136 chip->irq_disable(data);
137 chip->irq_set_affinity(data,
139 chip->irq_enable(data);
141 WARN_ON((!chip || !chip
[all...]

Completed in 1730 milliseconds

12345