Home
last modified time | relevance | path

Searched refs:sgpio (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/pinctrl/sirf/
H A Dpinctrl-sirf.c410 sirfsoc_gpio_to_bank(struct sirfsoc_gpio_chip *sgpio, unsigned int offset) in sirfsoc_gpio_to_bank() argument
412 return &sgpio->sgpio_bank[offset / SIRFSOC_GPIO_BANK_SIZE]; in sirfsoc_gpio_to_bank()
423 struct sirfsoc_gpio_chip *sgpio = gpiochip_get_data(gc); in sirfsoc_gpio_irq_ack() local
424 struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, d->hwirq); in sirfsoc_gpio_irq_ack()
431 spin_lock_irqsave(&sgpio->lock, flags); in sirfsoc_gpio_irq_ack()
433 val = readl(sgpio->chip.regs + offset); in sirfsoc_gpio_irq_ack()
435 writel(val, sgpio->chip.regs + offset); in sirfsoc_gpio_irq_ack()
437 spin_unlock_irqrestore(&sgpio->lock, flags); in sirfsoc_gpio_irq_ack()
440 static void __sirfsoc_gpio_irq_mask(struct sirfsoc_gpio_chip *sgpio, in __sirfsoc_gpio_irq_mask() argument
449 spin_lock_irqsave(&sgpio->lock, flags); in __sirfsoc_gpio_irq_mask()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/sgpio/sgpio/
H A D0001-makefile-Add-LDFLAGS-to-linking-rule.patch18 @@ -34,7 +34,7 @@ sgpio.o: sgpio.c
19 ${CC} $(CFLAGS) -c sgpio.c
21 sgpio: sgpio.o
22 - ${CC} -g sgpio.o -o sgpio
23 + ${CC} $(LDFLAGS) -g sgpio.o -o sgpio
26 rm -f sgpio.o sgpio
H A DMakefile-error-fix.patch43 -ALL = sgpio
47 -sgpio.o: sgpio.c
48 - gcc -g -Wall -c sgpio.c
50 -sgpio: sgpio.o
51 - gcc -g sgpio.o -o sgpio
54 - rm -f sgpio.o sgpio
97 +ALL = sgpio
102 +sgpio.o: sgpio.c
103 + ${CC} $(CFLAGS) -c sgpio.c
105 +sgpio: sgpio.o
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/
H A Dsgpio-aspeed.txt17 "aspeed,ast2400-sgpio", "aspeed,ast2500-sgpio"
29 The sgpio and interrupt properties are further described in their respective
36 sgpio: sgpio@1e780200 {
38 compatible = "aspeed,ast2500-sgpio";
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-aspeed-sgpio.c141 struct aspeed_sgpio *sgpio = gpiochip_get_data(gc); in aspeed_sgpio_init_valid_mask() local
142 int n = sgpio->n_sgpio; in aspeed_sgpio_init_valid_mask()
161 struct aspeed_sgpio *sgpio = gpiochip_get_data(gc); in aspeed_sgpio_irq_init_valid_mask() local
162 int n = sgpio->n_sgpio; in aspeed_sgpio_irq_init_valid_mask()
H A DMakefile37 obj-$(CONFIG_GPIO_ASPEED_SGPIO) += gpio-aspeed-sgpio.o
/OK3568_Linux_fs/kernel/drivers/scsi/isci/
H A Dhost.c1247 writel(SGPIO_HW_CONTROL, &ihost->scu_registers->peg0.sgpio.output_data_select[i]); in isci_host_deinit()
1267 writel(0, &ihost->scu_registers->peg0.sgpio.interface_control); in isci_host_deinit()
2373 writel(1, &ihost->scu_registers->peg0.sgpio.interface_control); in isci_host_init()
2375 writel(SGPIO_HW_CONTROL, &ihost->scu_registers->peg0.sgpio.output_data_select[i]); in isci_host_init()
2376 writel(0, &ihost->scu_registers->peg0.sgpio.vendor_specific_code); in isci_host_init()
2781 writel(val, &ihost->scu_registers->peg0.sgpio.output_data_select[d]); in sci_write_gpio_tx_gp()
H A Dhost.h442 return ARRAY_SIZE(ihost->scu_registers->peg0.sgpio.output_data_select); in isci_gpio_count()
H A Dregisters.h1822 struct scu_sgpio_registers sgpio; member
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Decx-common.dtsi33 calxeda,sgpio-gpio =<&gpioh 5 1>, <&gpioh 6 1>,
H A Daspeed-g5.dtsi341 sgpio: sgpio@1e780200 { label
343 compatible = "aspeed,ast2500-sgpio";
H A Daspeed-bmc-quanta-q71l.dts82 /* mux-gpios = <&sgpio 10 GPIO_ACTIVE_HIGH> */
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/packagegroups/
H A Dpackagegroup-meta-oe.bb391 sgpio \