Searched refs:sgpio (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/pinctrl/sirf/ |
D | pinctrl-sirf.c | 410 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 …]
|
/Linux-v5.4/Documentation/devicetree/bindings/gpio/ |
D | sgpio-aspeed.txt | 17 "aspeed,ast2400-sgpio", "aspeed,ast2500-sgpio" 28 The sgpio and interrupt properties are further described in their respective 35 sgpio: sgpio@1e780200 { 37 compatible = "aspeed,ast2500-sgpio";
|
/Linux-v5.4/Documentation/devicetree/bindings/ata/ |
D | sata_highbank.txt | 18 - calxeda,sgpio-gpio: phandle-gpio bank, bit offset, and default on or off, 39 calxeda,sgpio-gpio =<&gpioh 5 1 &gpioh 6 1 &gpioh 7 1>;
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | ecx-common.dtsi | 33 calxeda,sgpio-gpio =<&gpioh 5 1 &gpioh 6 1 &gpioh 7 1>;
|
D | aspeed-bmc-quanta-q71l.dts | 82 /* mux-gpios = <&sgpio 10 GPIO_ACTIVE_HIGH> */
|
/Linux-v5.4/drivers/scsi/isci/ |
D | host.c | 1247 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() 2783 writel(val, &ihost->scu_registers->peg0.sgpio.output_data_select[d]); in sci_write_gpio_tx_gp()
|
D | host.h | 442 return ARRAY_SIZE(ihost->scu_registers->peg0.sgpio.output_data_select); in isci_gpio_count()
|
D | registers.h | 1822 struct scu_sgpio_registers sgpio; member
|