Home
last modified time | relevance | path

Searched refs:pio (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/linux/drivers/pinctrl/
H A Dpinctrl-at91.c190 enum at91_mux (*get_periph)(void __iomem *pio, unsigned mask);
191 void (*mux_A_periph)(void __iomem *pio, unsigned mask);
192 void (*mux_B_periph)(void __iomem *pio, unsigned mask);
193 void (*mux_C_periph)(void __iomem *pio, unsigned mask);
194 void (*mux_D_periph)(void __iomem *pio, unsigned mask);
195 bool (*get_deglitch)(void __iomem *pio, unsigned pin);
196 void (*set_deglitch)(void __iomem *pio, unsigned mask, bool is_on);
197 bool (*get_debounce)(void __iomem *pio, unsigned pin, u32 *div);
198 void (*set_debounce)(void __iomem *pio, unsigned mask, bool is_on, u32 div);
199 bool (*get_pulldown)(void __iomem *pio, unsigned pin);
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dpio.c140 struct b43legacy_pio *pio = &dev->pio; in parse_cookie() local
146 queue = pio->queue0; in parse_cookie()
149 queue = pio->queue1; in parse_cookie()
152 queue = pio->queue2; in parse_cookie()
155 queue = pio->queue3; in parse_cookie()
390 struct b43legacy_pio *pio; in b43legacy_pio_free() local
394 pio = &dev->pio; in b43legacy_pio_free()
396 b43legacy_destroy_pioqueue(pio->queue3); in b43legacy_pio_free()
397 pio->queue3 = NULL; in b43legacy_pio_free()
398 b43legacy_destroy_pioqueue(pio->queue2); in b43legacy_pio_free()
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A Dpio.c48 struct b43_pio *pio = &dev->pio; in parse_cookie() local
54 q = pio->tx_queue_AC_BK; in parse_cookie()
57 q = pio->tx_queue_AC_BE; in parse_cookie()
60 q = pio->tx_queue_AC_VI; in parse_cookie()
63 q = pio->tx_queue_AC_VO; in parse_cookie()
66 q = pio->tx_queue_mcast; in parse_cookie()
209 #define destroy_queue_tx(pio, queue) do { \ argument
210 b43_destroy_pioqueue_tx((pio)->queue, __stringify(queue)); \
211 (pio)->queue = NULL; \
214 #define destroy_queue_rx(pio, queue) do { \ argument
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-2024.dts39 gpios = <&pio 0 0 GPIO_ACTIVE_LOW>; /* PA0 */
46 gpios = <&pio 0 1 GPIO_ACTIVE_LOW>; /* PA1 */
53 gpios = <&pio 4 0 GPIO_ACTIVE_LOW>; /* PE0 */
60 gpios = <&pio 0 10 GPIO_ACTIVE_LOW>; /* PA10 */
67 gpios = <&pio 0 11 GPIO_ACTIVE_LOW>; /* PA11 */
74 gpios = <&pio 0 8 GPIO_ACTIVE_LOW>; /* PA8 */
81 gpios = <&pio 4 3 GPIO_ACTIVE_LOW>; /* PE3 */
88 gpios = <&pio 0 12 GPIO_ACTIVE_LOW>; /* PA12 */
95 gpios = <&pio 0 7 GPIO_ACTIVE_LOW>; /* PA7 */
102 gpios = <&pio 0 9 GPIO_ACTIVE_LOW>; /* PA9 */
[all …]
H A Dsun50i-h700-anbernic-rg35xx-plus.dts19 reset-gpios = <&pio 6 18 GPIO_ACTIVE_LOW>; /* PG18 */
34 interrupt-parent = <&pio>;
49 device-wake-gpios = <&pio 6 17 GPIO_ACTIVE_HIGH>; /* PG17 */
50 enable-gpios = <&pio 6 19 GPIO_ACTIVE_HIGH>; /* PG19 */
51 host-wake-gpios = <&pio 6 16 GPIO_ACTIVE_HIGH>; /* PG16 */
/linux/arch/arm/boot/dts/allwinner/
H A Dsun4i-a10-inet9f-rev03.dts71 gpios = <&pio 0 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA6 */
79 gpios = <&pio 0 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA5 */
87 gpios = <&pio 0 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA8 */
95 gpios = <&pio 0 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA9 */
103 gpios = <&pio 0 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA1 */
111 gpios = <&pio 0 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA0 */
119 gpios = <&pio 0 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA3 */
127 gpios = <&pio 0 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PA4 */
135 gpios = <&pio 7 23 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PH23 */
143 gpios = <&pio 7 24 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PH24 */
[all …]
H A Dsun7i-a20-cubietruck.dts80 gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
85 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
90 gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>;
95 gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>;
101 reset-gpios = <&pio 7 9 GPIO_ACTIVE_LOW>; /* PH9 WIFI_EN */
202 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
216 interrupt-parent = <&pio>;
234 &pio {
247 gpio = <&pio 7 12 GPIO_ACTIVE_HIGH>;
287 gpio = <&pio 7 17 GPIO_ACTIVE_HIGH>;
[all …]
H A Dsun7i-a20-olimex-som204-evb.dts51 gpios = <&pio 8 0 GPIO_ACTIVE_HIGH>;
57 gpios = <&pio 8 10 GPIO_ACTIVE_HIGH>;
63 gpios = <&pio 8 11 GPIO_ACTIVE_HIGH>;
70 reset-gpios = <&pio 6 9 GPIO_ACTIVE_LOW>;
159 reset-gpios = <&pio 0 17 GPIO_ACTIVE_LOW>; /* PA17 */
169 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>;
197 &pio {
215 gpio = <&pio 2 3 GPIO_ACTIVE_HIGH>;
254 gpio = <&pio 2 17 GPIO_ACTIVE_HIGH>;
319 usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
[all …]
H A Dsun5i-a13-pocketbook-614-plus.dts34 gpios = <&pio 4 8 GPIO_ACTIVE_LOW>; /* PE8 */
44 gpios = <&pio 6 9 GPIO_ACTIVE_LOW>; /* PG9 */
50 gpios = <&pio 6 10 GPIO_ACTIVE_LOW>; /* PG10 */
59 gpio = <&pio 4 4 GPIO_ACTIVE_LOW>; /* PE4 */
137 cd-gpios = <&pio 6 0 GPIO_ACTIVE_LOW>; /* PG0 */
185 gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
189 gpio = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */
213 usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
H A Dsun8i-h3-nanopi-r1.dts28 gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>; /* PD6 */
57 gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */
63 gpios = <&pio 0 9 GPIO_ACTIVE_HIGH>; /* PA9 */
107 interrupt-parent = <&pio>;
154 device-wakeup-gpios = <&pio 0 8 GPIO_ACTIVE_HIGH>; /* PA8 */
155 host-wakeup-gpios = <&pio 0 7 GPIO_ACTIVE_HIGH>; /* PA7 */
156 shutdown-gpios = <&pio 6 13 GPIO_ACTIVE_HIGH>; /* PG13 */
166 usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
H A Dsun5i-a13-pocketbook-touch-lux-3.dts28 enable-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
42 gpios = <&pio 4 8 GPIO_ACTIVE_LOW>; /* PE8 */
55 gpios = <&pio 6 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PG9 */
61 gpios = <&pio 6 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PG10 */
70 gpio = <&pio 2 15 GPIO_ACTIVE_HIGH>;
79 gpio = <&pio 2 14 GPIO_ACTIVE_HIGH>;
90 gpio = <&pio 2 13 GPIO_ACTIVE_HIGH>;
100 gpio = <&pio 4 4 GPIO_ACTIVE_LOW>; /* PE4 */
161 cd-gpios = <&pio 6 0 GPIO_ACTIVE_LOW>; /* PG0 */
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt7981b-cudy-wr3000-v1.dts24 gpios = <&pio 0 GPIO_ACTIVE_LOW>;
30 gpios = <&pio 1 GPIO_ACTIVE_LOW>;
41 gpios = <&pio 5 GPIO_ACTIVE_LOW>;
47 gpios = <&pio 6 GPIO_ACTIVE_LOW>;
53 gpios = <&pio 7 GPIO_ACTIVE_LOW>;
59 gpios = <&pio 9 GPIO_ACTIVE_LOW>;
65 gpios = <&pio 10 GPIO_ACTIVE_LOW>;
71 gpios = <&pio 11 GPIO_ACTIVE_LOW>;
H A Dmt7986a-bananapi-bpi-r3.dts56 gpios = <&pio 9 GPIO_ACTIVE_LOW>;
62 gpios = <&pio 10 GPIO_ACTIVE_LOW>;
69 sda-gpios = <&pio 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
70 scl-gpios = <&pio 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
79 sda-gpios = <&pio 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
80 scl-gpios = <&pio 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
92 gpios = <&pio 69 GPIO_ACTIVE_HIGH>;
99 gpios = <&pio 86 GPIO_ACTIVE_HIGH>;
128 los-gpios = <&pio 46 GPIO_ACTIVE_HIGH>;
130 mod-def0-gpios = <&pio 49 GPIO_ACTIVE_LOW>;
[all …]
H A Dmt8183-kukui-jacuzzi.dtsi22 gpio = <&pio 54 GPIO_ACTIVE_HIGH>;
35 gpio = <&pio 36 GPIO_ACTIVE_HIGH>;
50 gpio = <&pio 35 GPIO_ACTIVE_HIGH>;
63 gpio = <&pio 37 GPIO_ACTIVE_HIGH>;
77 gpios = <&pio 6 GPIO_ACTIVE_LOW>;
85 gpios = <&pio 5 GPIO_ACTIVE_LOW>;
117 interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
119 reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>;
136 interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>;
153 enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
[all …]
H A Dmt8186-corsola-steelix.dtsi19 gpio = <&pio 29 GPIO_ACTIVE_HIGH>;
30 gpio = <&pio 30 GPIO_ACTIVE_HIGH>;
41 gpio = <&pio 31 GPIO_ACTIVE_HIGH>;
58 enable-gpios = <&pio 96 GPIO_ACTIVE_HIGH>;
59 reset-gpios = <&pio 98 GPIO_ACTIVE_HIGH>;
108 interrupts-extended = <&pio 12 IRQ_TYPE_EDGE_FALLING>;
111 reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>;
125 interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_LOW>;
160 &pio {
H A Dmt8183-kukui-jacuzzi-pico6.dts22 gpios = <&pio 42 GPIO_ACTIVE_HIGH>;
44 interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>;
51 gpios = <&pio 113 GPIO_ACTIVE_LOW>;
58 reset-gpios = <&pio 8 GPIO_ACTIVE_LOW>;
88 reset-gpios = <&pio 120 GPIO_ACTIVE_LOW>;
92 &pio {
/linux/arch/powerpc/include/asm/
H A Dio-defs.h23 DEF_PCI_AC_RET(inb, u8, (unsigned long port), (port), pio, port)
24 DEF_PCI_AC_RET(inw, u16, (unsigned long port), (port), pio, port)
25 DEF_PCI_AC_RET(inl, u32, (unsigned long port), (port), pio, port)
26 DEF_PCI_AC_NORET(outb, (u8 val, unsigned long port), (val, port), pio, port)
27 DEF_PCI_AC_NORET(outw, (u16 val, unsigned long port), (val, port), pio, port)
28 DEF_PCI_AC_NORET(outl, (u32 val, unsigned long port), (val, port), pio, port)
44 (p, b, c), pio, p)
46 (p, b, c), pio, p)
48 (p, b, c), pio, p)
50 (p, b, c), pio, p)
[all …]
/linux/drivers/ata/
H A Dpata_efar.c86 unsigned int pio = adev->pio_mode - XFER_PIO_0; in efar_set_piomode() local
106 if (pio > 1) in efar_set_piomode()
122 master_data |= (timings[pio][0] << 12) | in efar_set_piomode()
123 (timings[pio][1] << 8); in efar_set_piomode()
134 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << shift; in efar_set_piomode()
203 int pio = needed_pio[mwdma] - XFER_PIO_0; in efar_set_dmamode() local
220 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); in efar_set_dmamode()
227 (timings[pio][0] << 12) | in efar_set_dmamode()
228 (timings[pio][1] << 8); in efar_set_dmamode()
H A Dpata_rdc.c90 unsigned int pio = adev->pio_mode - XFER_PIO_0; in rdc_set_piomode() local
108 if (pio >= 2) in rdc_set_piomode()
133 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) in rdc_set_piomode()
142 (timings[pio][0] << 12) | in rdc_set_piomode()
143 (timings[pio][1] << 8); in rdc_set_piomode()
238 int pio = needed_pio[mwdma] - XFER_PIO_0; in rdc_set_dmamode() local
255 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); in rdc_set_dmamode()
262 (timings[pio][0] << 12) | in rdc_set_dmamode()
263 (timings[pio][1] << 8); in rdc_set_dmamode()
H A Dpata_artop.c99 static void artop6210_load_piomode(struct ata_port *ap, struct ata_device *adev, unsigned int pio) in artop6210_load_piomode() argument
109 pci_write_config_word(pdev, 0x40 + 2 * dn, timing[clock][pio]); in artop6210_load_piomode()
153 static void artop6260_load_piomode (struct ata_port *ap, struct ata_device *adev, unsigned int pio) in artop6260_load_piomode() argument
163 pci_write_config_byte(pdev, 0x40 + dn, timing[clock][pio]); in artop6260_load_piomode()
206 unsigned int pio; in artop6210_set_dmamode() local
212 pio = 1; in artop6210_set_dmamode()
214 pio = 4; in artop6210_set_dmamode()
217 artop6210_load_piomode(ap, adev, pio); in artop6210_set_dmamode()
246 unsigned int pio; in artop6260_set_dmamode() local
251 pio = 1; in artop6260_set_dmamode()
[all …]
H A Dpata_cs5520.c61 static void cs5520_set_timings(struct ata_port *ap, struct ata_device *adev, int pio) in cs5520_set_timings() argument
66 pio -= XFER_PIO_0; in cs5520_set_timings()
70 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_timings()
71 (cs5520_pio_clocks[pio].assert)); in cs5520_set_timings()
75 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_timings()
76 (cs5520_pio_clocks[pio].assert)); in cs5520_set_timings()
79 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_timings()
80 (cs5520_pio_clocks[pio].assert)); in cs5520_set_timings()
/linux/virt/kvm/
H A Dcoalesced_mmio.c74 ring->coalesced_mmio[insert].pio = dev->zone.pio; in coalesced_mmio_write()
128 if (zone->pio != 1 && zone->pio != 0) in kvm_vm_ioctl_register_coalesced_mmio()
142 zone->pio ? KVM_PIO_BUS : KVM_MMIO_BUS, in kvm_vm_ioctl_register_coalesced_mmio()
164 if (zone->pio != 1 && zone->pio != 0) in kvm_vm_ioctl_unregister_coalesced_mmio()
170 if (zone->pio == dev->zone.pio && in kvm_vm_ioctl_unregister_coalesced_mmio()
173 zone->pio ? KVM_PIO_BUS : KVM_MMIO_BUS, &dev->dev); in kvm_vm_ioctl_unregister_coalesced_mmio()
/linux/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dbase.c143 const struct nvkm_falcon_func_pio *pio = nvkm_falcon_pio(falcon, &mem_type, &mem_base); in nvkm_falcon_pio_rd() local
147 if (WARN_ON(!pio || !pio->rd)) in nvkm_falcon_pio_rd()
151 if (WARN_ON(!len || (len & (pio->min - 1)))) in nvkm_falcon_pio_rd()
154 pio->rd_init(falcon, port, mem_base); in nvkm_falcon_pio_rd()
156 xfer_len = min(len, pio->max); in nvkm_falcon_pio_rd()
157 pio->rd(falcon, port, img, xfer_len); in nvkm_falcon_pio_rd()
178 const struct nvkm_falcon_func_pio *pio = nvkm_falcon_pio(falcon, &mem_type, &mem_base); in nvkm_falcon_pio_wr() local
182 if (WARN_ON(!pio || !pio->wr)) in nvkm_falcon_pio_wr()
186 if (WARN_ON(!len || (len & (pio->min - 1)))) in nvkm_falcon_pio_wr()
189 pio->wr_init(falcon, port, sec, mem_base); in nvkm_falcon_pio_wr()
[all …]
/linux/arch/riscv/boot/dts/allwinner/
H A Dsun20i-d1-mangopi-mq-pro.dts31 gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /* PD18 */
61 reset-gpios = <&pio 6 17 GPIO_ACTIVE_LOW>; /* PG17 */
79 cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */
100 interrupt-parent = <&pio>;
110 &pio {
128 device-wake-gpios = <&pio 6 18 GPIO_ACTIVE_HIGH>; /* PG18 */
129 enable-gpios = <&pio 6 15 GPIO_ACTIVE_HIGH>; /* PG15 */
130 host-wake-gpios = <&pio 6 14 GPIO_ACTIVE_HIGH>; /* PG14 */
/linux/arch/arm/boot/dts/mediatek/
H A Dmt7623n-bananapi-bpi-r2.dts97 gpios = <&pio 256 GPIO_ACTIVE_LOW>;
103 gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
113 label = "bpi-r2:pio:blue";
114 gpios = <&pio 240 GPIO_ACTIVE_LOW>;
119 label = "bpi-r2:pio:green";
120 gpios = <&pio 241 GPIO_ACTIVE_LOW>;
125 label = "bpi-r2:pio:red";
126 gpios = <&pio 239 GPIO_ACTIVE_LOW>;
206 reset-gpios = <&pio 33 0>;
343 cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>;
[all …]

12345678910>>...15