Home
last modified time | relevance | path

Searched full:sgpio (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pinctrl/sirf/
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 …]
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-lpc18xx.c162 [FUNC_SGPIO] = "sgpio",
238 LPC_P(0,0, GPIO, SSP1, ENET, SGPIO, R, R, I2S0_TX_WS,I2S1, 0, ND);
239 LPC_P(0,1, GPIO, SSP1,ENET_ALT,SGPIO, R, R, ENET, I2S1, 0, ND);
240 LPC_P(1,0, GPIO, CTIN, EMC, R, R, SSP0, SGPIO, R, 0, ND);
241 LPC_P(1,1, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
242 LPC_P(1,2, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
243 LPC_P(1,3, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
244 LPC_P(1,4, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
245 LPC_P(1,5, GPIO, CTOUT, R, EMC, USB0, SSP1, SGPIO, SDMMC, 0, ND);
246 LPC_P(1,6, GPIO, CTIN, R, EMC, R, R, SGPIO, SDMMC, 0, ND);
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dsgpio-aspeed.txt1 Aspeed SGPIO controller Device Tree Bindings
4 This SGPIO controller is for ASPEED AST2500 SoC, it supports up to 80 full
17 "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";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ata/
Dsata_highbank.yaml33 sending an SGPIO pattern.
39 sending an SGPIO pattern.
42 description: Maps port numbers to offsets within the SGPIO bitstream.
63 calxeda,sgpio-gpio:
66 that the driver supports SGPIO indicator lights using the indicated
85 calxeda,sgpio-gpio =<&gpioh 5 1>, <&gpioh 6 1>, <&gpioh 7 1>;
/kernel/linux/linux-5.10/drivers/gpio/
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()
416 .name = "aspeed-sgpio",
436 /* Disable IRQ and clear Interrupt status registers for all SGPIO Pins. */ in aspeed_sgpio_setup_irqs()
470 { .compatible = "aspeed,ast2400-sgpio" },
471 { .compatible = "aspeed,ast2500-sgpio" },
519 * SGPIO period = 1/PCLK * 2 * (GPIO254[31:16] + 1) in aspeed_sgpio_probe()
DMakefile37 obj-$(CONFIG_GPIO_ASPEED_SGPIO) += gpio-aspeed-sgpio.o
DKconfig153 bool "Aspeed SGPIO support"
158 Say Y here to support Aspeed AST2500 SGPIO functionality.
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-scsi_host80 SES-2, SGPIO etc).
107 For eg. the AHCI driver supports SGPIO EM messages but the
108 SATA/AHCI specs do not define the SGPIO message format of the EM
112 tools for their SGPIO initiators.
/kernel/linux/linux-5.10/drivers/ata/
Dahci_seattle.c23 /* SGPIO Control Register definition
30 * 7 RO SGPIO feature flag
150 dev_info(dev, "SGPIO LED control is enabled.\n"); in ahci_seattle_get_port_info()
Dsata_highbank.c73 /* number of extra clocks that the SGPIO PIC controller expects */
159 * bit-bang out the SGPIO pattern, by consuming a bit and then in ecx_transmit_led_message()
188 gpiod = devm_gpiod_get_index(dev, "calxeda,sgpio", i, in highbank_set_em_messages()
194 gpiod_set_consumer_name(gpiod, "CX SGPIO"); in highbank_set_em_messages()
Dahci.h267 EM_CTL_SGPIO = (1 << 19), /* SGPIO messages supported */
276 EM_MSG_TYPE_SGPIO = (1 << 3), /* SGPIO */
/kernel/linux/linux-5.10/arch/sh/include/cpu-sh4/cpu/
Dsh7757.h184 /* PTN (mobule: USB, JMC, SGPIO, WDT) */
191 /* PTO (mobule: SGPIO, SerMux) */
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/reset/
Dnxp,lpc1850-rgu.txt57 57 SGPIO (LPC43xx only)
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4a/
Dsetup-sh7757.c824 SGPIO, enumerator
919 INTC_VECT(SGPIO, 0x1f80), INTC_VECT(SGPIO, 0x1fa0),
920 INTC_VECT(SGPIO, 0x1fc0),
979 { IIC4_1, IIC4_2, IIC5_0, ONFICTL, 0, 0, SGPIO, 0,
1083 { INT2PRI23, 0, 32, 8, { PECI5, SGPIO, IIC3_2, IIC5_1 } },
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dlpc1850-cgu.txt48 SPI, and SGPIO
/kernel/linux/linux-5.10/drivers/scsi/
Dses.c246 /* SES doesn't do the SGPIO blink settings */ in ses_set_fault()
306 /* SES doesn't do the SGPIO blink settings */ in ses_set_locate()
339 /* SES doesn't do the SGPIO blink settings */ in ses_set_active()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/scsi/
Dhisilicon-sas.txt13 SGPIO control. The second is optional, and should be set only when
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dhost.c1247 writel(SGPIO_HW_CONTROL, &ihost->scu_registers->peg0.sgpio.output_data_select[i]); in isci_host_deinit()
1264 /* disable sgpio: where the above wait should give time for the in isci_host_deinit()
1267 writel(0, &ihost->scu_registers->peg0.sgpio.interface_control); in isci_host_deinit()
2372 /* enable sgpio */ in isci_host_init()
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()
Dhost.h442 return ARRAY_SIZE(ihost->scu_registers->peg0.sgpio.output_data_select); in isci_gpio_count()
Dregisters.h1412 * SGPIO
1428 * struct scu_sgpio_registers - SCU SGPIO Registers
1822 struct scu_sgpio_registers sgpio; member
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Decx-common.dtsi33 calxeda,sgpio-gpio =<&gpioh 5 1>, <&gpioh 6 1>,
Daspeed-g5.dtsi341 sgpio: sgpio@1e780200 { label
343 compatible = "aspeed,ast2500-sgpio";
Daspeed-bmc-quanta-q71l.dts82 /* mux-gpios = <&sgpio 10 GPIO_ACTIVE_HIGH> */
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
Dpfc-sh7757.c415 /* PTN (mobule: USB, JMC, SGPIO, WDT) */
421 /* PTO (mobule: SGPIO, SerMux) */
1505 /* PTN (mobule: USB, JMC, SGPIO, WDT) */
1519 /* PTO (mobule: SGPIO, SerMux) */
/kernel/linux/linux-5.10/drivers/message/fusion/lsi/
Dmpi_log_sas.h196 #define PL_LOGINFO_CODE_ENCL_MGMT_SGPIO_NOT_PRESENT (0x00200070) /* SGPIO not present/enab…

12