Home
last modified time | relevance | path

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

12

/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 DMakefile-error-fix.patch37 -# Intel SGPIO enclosure management utility
43 -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
89 +# Intel SGPIO enclosure management utility
97 +ALL = sgpio
102 +sgpio.o: sgpio.c
[all …]
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
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/
H A 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";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ata/
H A 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>;
/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()
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()
H A DMakefile37 obj-$(CONFIG_GPIO_ASPEED_SGPIO) += gpio-aspeed-sgpio.o
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A 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.
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/sgpio/
H A Dsgpio_1.2.0.10.bb1 SUMMARY = "SGPIO captive backplane tool"
3 DESCRIPTION = "Intel SGPIO enclosure management utility"
/OK3568_Linux_fs/kernel/drivers/ata/
H A 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()
H A 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()
H A Dahci.h267 EM_CTL_SGPIO = (1 << 19), /* SGPIO messages supported */
276 EM_MSG_TYPE_SGPIO = (1 << 3), /* SGPIO */
/OK3568_Linux_fs/kernel/arch/sh/include/cpu-sh4/cpu/
H A Dsh7757.h184 /* PTN (mobule: USB, JMC, SGPIO, WDT) */
191 /* PTO (mobule: SGPIO, SerMux) */
/OK3568_Linux_fs/kernel/arch/sh/kernel/cpu/sh4a/
H A 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 } },
/OK3568_Linux_fs/u-boot/board/renesas/sh7752evb/
H A Dsh7752evb.c38 writew(0x0000, &gpio->pncr); /* USB, SGPIO */ in init_gpio()
39 writew(0x0000, &gpio->pocr); /* SGPIO */ in init_gpio()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/reset/
H A Dnxp,lpc1850-rgu.txt57 57 SGPIO (LPC43xx only)
/OK3568_Linux_fs/u-boot/board/renesas/sh7753evb/
H A Dsh7753evb.c41 writew(0x0000, &gpio->pncr); /* USB, SGPIO */ in init_gpio()
42 writew(0x0000, &gpio->pocr); /* SGPIO */ in init_gpio()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/
H A Dlpc1850-cgu.txt48 SPI, and SGPIO
/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()
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()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/scsi/
H A Dhisilicon-sas.txt13 SGPIO control. The second is optional, and should be set only when
/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> */

12