Home
last modified time | relevance | path

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

12345678910>>...15

/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-at91.c171 enum at91_mux (*get_periph)(void __iomem *pio, unsigned mask);
172 void (*mux_A_periph)(void __iomem *pio, unsigned mask);
173 void (*mux_B_periph)(void __iomem *pio, unsigned mask);
174 void (*mux_C_periph)(void __iomem *pio, unsigned mask);
175 void (*mux_D_periph)(void __iomem *pio, unsigned mask);
176 bool (*get_deglitch)(void __iomem *pio, unsigned pin);
177 void (*set_deglitch)(void __iomem *pio, unsigned mask, bool is_on);
178 bool (*get_debounce)(void __iomem *pio, unsigned pin, u32 *div);
179 void (*set_debounce)(void __iomem *pio, unsigned mask, bool is_on, u32 div);
180 bool (*get_pulldown)(void __iomem *pio, unsigned pin);
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
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 …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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 …]
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 …]
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 …]
Dsun5i-a13-pocketbook-touch-lux-3.dts28 enable-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
41 gpios = <&pio 4 8 GPIO_ACTIVE_LOW>; /* PE8 */
54 gpios = <&pio 6 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PG9 */
60 gpios = <&pio 6 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PG10 */
69 gpio = <&pio 2 15 GPIO_ACTIVE_HIGH>;
78 gpio = <&pio 2 14 GPIO_ACTIVE_HIGH>;
89 gpio = <&pio 2 13 GPIO_ACTIVE_HIGH>;
99 gpio = <&pio 4 4 GPIO_ACTIVE_LOW>; /* PE4 */
160 cd-gpios = <&pio 6 0 GPIO_ACTIVE_LOW>; /* PG0 */
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>;
196 reset-gpios = <&pio 33 0>;
320 cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>;
/kernel/linux/linux-5.10/drivers/ata/
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()
Dpata_it8213.c77 unsigned int pio = adev->pio_mode - XFER_PIO_0; in it8213_set_piomode() local
95 if (pio > 1) in it8213_set_piomode()
109 master_data |= (timings[pio][0] << 12) | in it8213_set_piomode()
110 (timings[pio][1] << 8); in it8213_set_piomode()
120 slave_data |= (timings[pio][0] << 2) | timings[pio][1]; in it8213_set_piomode()
198 int pio = needed_pio[mwdma] - XFER_PIO_0; in it8213_set_dmamode() local
215 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); in it8213_set_dmamode()
222 (timings[pio][0] << 12) | in it8213_set_dmamode()
223 (timings[pio][1] << 8); in it8213_set_dmamode()
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()
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 …]
Dpata_radisys.c42 unsigned int pio = adev->pio_mode - XFER_PIO_0; in radisys_set_piomode() local
61 if (pio > 0) in radisys_set_piomode()
72 idetm_data |= (timings[pio][0] << 12) | in radisys_set_piomode()
73 (timings[pio][1] << 8); in radisys_set_piomode()
117 int pio = needed_pio[mwdma] - XFER_PIO_0; in radisys_set_dmamode() local
131 idetm_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); in radisys_set_dmamode()
Dpata_oldpiix.c66 unsigned int pio = adev->pio_mode - XFER_PIO_0; in oldpiix_set_piomode() local
85 if (pio > 1) in oldpiix_set_piomode()
107 idetm_data |= (timings[pio][0] << 12) | in oldpiix_set_piomode()
108 (timings[pio][1] << 8); in oldpiix_set_piomode()
150 int pio = needed_pio[mwdma] - XFER_PIO_0; in oldpiix_set_dmamode() local
175 idetm_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); in oldpiix_set_dmamode()
Dpata_cs5520.c60 static void cs5520_set_timings(struct ata_port *ap, struct ata_device *adev, int pio) in cs5520_set_timings() argument
65 pio -= XFER_PIO_0; in cs5520_set_timings()
69 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_timings()
70 (cs5520_pio_clocks[pio].assert)); in cs5520_set_timings()
74 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_timings()
75 (cs5520_pio_clocks[pio].assert)); in cs5520_set_timings()
78 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_timings()
79 (cs5520_pio_clocks[pio].assert)); in cs5520_set_timings()
/kernel/linux/linux-5.10/virt/kvm/
Dcoalesced_mmio.c89 ring->coalesced_mmio[insert].pio = dev->zone.pio; in coalesced_mmio_write()
143 if (zone->pio != 1 && zone->pio != 0) in kvm_vm_ioctl_register_coalesced_mmio()
157 zone->pio ? KVM_PIO_BUS : KVM_MMIO_BUS, in kvm_vm_ioctl_register_coalesced_mmio()
179 if (zone->pio != 1 && zone->pio != 0) in kvm_vm_ioctl_unregister_coalesced_mmio()
185 if (zone->pio == dev->zone.pio && in kvm_vm_ioctl_unregister_coalesced_mmio()
188 zone->pio ? KVM_PIO_BUS : KVM_MMIO_BUS, &dev->dev); in kvm_vm_ioctl_unregister_coalesced_mmio()
/kernel/linux/linux-5.10/drivers/ide/
Dcs5520.c64 const u8 pio = drive->pio_mode - XFER_PIO_0; in cs5520_set_pio_mode() local
68 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_pio_mode()
69 (cs5520_pio_clocks[pio].assert)); in cs5520_set_pio_mode()
76 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_pio_mode()
77 (cs5520_pio_clocks[pio].assert)); in cs5520_set_pio_mode()
80 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_pio_mode()
81 (cs5520_pio_clocks[pio].assert)); in cs5520_set_pio_mode()
Dslc90e66.c32 const u8 pio = drive->pio_mode - XFER_PIO_0; in slc90e66_set_pio_mode() local
45 if (pio > 1) in slc90e66_set_pio_mode()
49 if (ide_pio_need_iordy(drive, pio)) in slc90e66_set_pio_mode()
54 if (pio > 1) { in slc90e66_set_pio_mode()
60 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << in slc90e66_set_pio_mode()
64 if (pio > 1) { in slc90e66_set_pio_mode()
68 master_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); in slc90e66_set_pio_mode()
Dht6560b.c200 static u8 ht_pio2timings(ide_drive_t *drive, const u8 pio) in ht_pio2timings() argument
206 if (pio) { in ht_pio2timings()
208 struct ide_timing *t = ide_timing_find_mode(XFER_PIO_0 + pio); in ht_pio2timings()
210 cycle_time = ide_pio_cycle_time(drive, pio); in ht_pio2timings()
233 …printk("ht6560b: drive %s setting pio=%d recovery=%d (%dns) active=%d (%dns)\n", drive->name, pio,… in ht_pio2timings()
285 const u8 pio = drive->pio_mode - XFER_PIO_0; in ht6560b_set_pio_mode() local
288 switch (pio) { in ht6560b_set_pio_mode()
291 ht_set_prefetch(drive, pio & 1); in ht6560b_set_pio_mode()
295 timing = ht_pio2timings(drive, pio); in ht6560b_set_pio_mode()
305 printk("ht6560b: drive %s tuned to pio mode %#x timing=%#x\n", drive->name, pio, timing); in ht6560b_set_pio_mode()
Dit8213.c38 const u8 pio = drive->pio_mode - XFER_PIO_0; in it8213_set_pio_mode() local
50 if (pio > 1) in it8213_set_pio_mode()
54 if (ide_pio_need_iordy(drive, pio)) in it8213_set_pio_mode()
59 if (pio > 1) in it8213_set_pio_mode()
63 slave_data = slave_data | (timings[pio][0] << 2) | timings[pio][1]; in it8213_set_pio_mode()
66 if (pio > 1) in it8213_set_pio_mode()
68 master_data = master_data | (timings[pio][0] << 12) | (timings[pio][1] << 8); in it8213_set_pio_mode()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dau1xmmc.c109 } pio; member
247 host->pio.index = 0; in au1xmmc_finish_request()
248 host->pio.offset = 0; in au1xmmc_finish_request()
249 host->pio.len = 0; in au1xmmc_finish_request()
360 (data->blocks * data->blksz) - host->pio.len; in au1xmmc_data_complete()
390 sg = &data->sg[host->pio.index]; in au1xmmc_send_pio()
391 sg_ptr = kmap_atomic(sg_page(sg)) + sg->offset + host->pio.offset; in au1xmmc_send_pio()
394 sg_len = data->sg[host->pio.index].length - host->pio.offset; in au1xmmc_send_pio()
397 max = (sg_len > host->pio.len) ? host->pio.len : sg_len; in au1xmmc_send_pio()
414 host->pio.len -= count; in au1xmmc_send_pio()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt8173-elm-hana.dtsi16 interrupt-parent = <&pio>;
29 interrupt-parent = <&pio>;
42 interrupt-parent = <&pio>;
51 wp-gpios = <&pio 42 GPIO_ACTIVE_HIGH>;
54 &pio {
/kernel/linux/linux-5.10/arch/arm64/boot/dts/allwinner/
Dsun50i-a64-pinetab.dts30 enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>; /* PD23 */
40 sda-gpios = <&pio 4 13 GPIO_ACTIVE_HIGH>; /* PE13 */
41 scl-gpios = <&pio 4 12 GPIO_ACTIVE_HIGH>; /* PE12 */
58 reset-gpios = <&pio 4 14 GPIO_ACTIVE_LOW>; /* PE14 */
59 powerdown-gpios = <&pio 4 15 GPIO_ACTIVE_HIGH>; /* PE15 */
76 enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
85 gpio = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */
158 reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
177 interrupt-parent = <&pio>;
179 irq-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
[all …]
Dsun50i-a64-pinephone.dtsi22 enable-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */
36 gpios = <&pio 3 20 GPIO_ACTIVE_HIGH>; /* PD20 */
42 gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /* PD18 */
48 gpios = <&pio 3 19 GPIO_ACTIVE_HIGH>; /* PD19 */
54 enable-gpios = <&pio 2 7 GPIO_ACTIVE_HIGH>; /* PC7 */
60 enable-gpios = <&pio 3 2 GPIO_ACTIVE_HIGH>; /* PD2 */
109 reset-gpios = <&pio 3 23 GPIO_ACTIVE_LOW>; /* PD23 */
130 interrupt-parent = <&pio>;
132 irq-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
133 reset-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
[all …]

12345678910>>...15