Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.12.1/drivers/i3c/master/mipi-i3c-hci/
Dpio.c141 struct hci_pio_data *pio; in hci_pio_init() local
144 pio = kzalloc(sizeof(*pio), GFP_KERNEL); in hci_pio_init()
145 if (!pio) in hci_pio_init()
148 hci->io_data = pio; in hci_pio_init()
149 spin_lock_init(&pio->lock); in hci_pio_init()
174 pio->rx_thresh_size = 2 << rx_thresh; in hci_pio_init()
175 pio->tx_thresh_size = 2 << tx_thresh; in hci_pio_init()
178 pio->rx_thresh_size = 1 << rx_thresh; in hci_pio_init()
179 pio->tx_thresh_size = 1 << tx_thresh; in hci_pio_init()
191 pio->max_ibi_thresh = clamp_val(ibi_val/2, 1, 63); in hci_pio_init()
[all …]
/linux-6.12.1/drivers/pinctrl/
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-6.12.1/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 …]
/linux-6.12.1/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 …]
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
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>;
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 …]
Dmt8183-kukui-jacuzzi.dtsi20 gpio = <&pio 54 GPIO_ACTIVE_HIGH>;
32 gpio = <&pio 36 GPIO_ACTIVE_HIGH>;
46 gpio = <&pio 35 GPIO_ACTIVE_HIGH>;
58 gpio = <&pio 37 GPIO_ACTIVE_HIGH>;
71 gpios = <&pio 6 GPIO_ACTIVE_LOW>;
79 gpios = <&pio 5 GPIO_ACTIVE_LOW>;
111 interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
113 reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>;
130 interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>;
147 enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
[all …]
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 {
Dmt8173-elm-hana.dtsi16 interrupts-extended = <&pio 88 IRQ_TYPE_LEVEL_LOW>;
28 interrupts-extended = <&pio 88 IRQ_TYPE_LEVEL_LOW>;
36 interrupt-parent = <&pio>;
49 interrupts-extended = <&pio 117 IRQ_TYPE_LEVEL_LOW>;
57 wp-gpios = <&pio 42 GPIO_ACTIVE_HIGH>;
60 &pio {
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 {
/linux-6.12.1/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 …]
/linux-6.12.1/arch/arm/boot/dts/allwinner/
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-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 */
/linux-6.12.1/arch/arm64/boot/dts/allwinner/
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 …]
/linux-6.12.1/drivers/ata/
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_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_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()
/linux-6.12.1/virt/kvm/
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-6.12.1/drivers/gpu/drm/nouveau/nvkm/falcon/
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-6.12.1/arch/riscv/boot/dts/allwinner/
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-6.12.1/drivers/mmc/host/
Dau1xmmc.c110 } pio; member
248 host->pio.index = 0; in au1xmmc_finish_request()
249 host->pio.offset = 0; in au1xmmc_finish_request()
250 host->pio.len = 0; in au1xmmc_finish_request()
361 (data->blocks * data->blksz) - host->pio.len; in au1xmmc_data_complete()
391 sg = &data->sg[host->pio.index]; in au1xmmc_send_pio()
392 sg_ptr = kmap_local_page(sg_page(sg)) + sg->offset + host->pio.offset; in au1xmmc_send_pio()
395 sg_len = data->sg[host->pio.index].length - host->pio.offset; in au1xmmc_send_pio()
398 max = (sg_len > host->pio.len) ? host->pio.len : sg_len; in au1xmmc_send_pio()
415 host->pio.len -= count; in au1xmmc_send_pio()
[all …]

12345678910>>...17