/Linux-v6.6/drivers/i3c/master/mipi-i3c-hci/ |
D | pio.c | 141 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-v6.6/drivers/pinctrl/ |
D | pinctrl-at91.c | 191 enum at91_mux (*get_periph)(void __iomem *pio, unsigned mask); 192 void (*mux_A_periph)(void __iomem *pio, unsigned mask); 193 void (*mux_B_periph)(void __iomem *pio, unsigned mask); 194 void (*mux_C_periph)(void __iomem *pio, unsigned mask); 195 void (*mux_D_periph)(void __iomem *pio, unsigned mask); 196 bool (*get_deglitch)(void __iomem *pio, unsigned pin); 197 void (*set_deglitch)(void __iomem *pio, unsigned mask, bool is_on); 198 bool (*get_debounce)(void __iomem *pio, unsigned pin, u32 *div); 199 void (*set_debounce)(void __iomem *pio, unsigned mask, bool is_on, u32 div); 200 bool (*get_pulldown)(void __iomem *pio, unsigned pin); [all …]
|
/Linux-v6.6/drivers/net/wireless/broadcom/b43legacy/ |
D | pio.c | 140 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-v6.6/drivers/net/wireless/broadcom/b43/ |
D | pio.c | 48 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-v6.6/arch/powerpc/include/asm/ |
D | io-defs.h | 23 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-v6.6/arch/arm/boot/dts/allwinner/ |
D | sun4i-a10-inet9f-rev03.dts | 71 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 …]
|
D | sun7i-a20-cubietruck.dts | 80 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 …]
|
D | sun7i-a20-olimex-som204-evb.dts | 51 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 …]
|
D | sun8i-h3-nanopi-r1.dts | 28 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 */
|
D | sun5i-a13-pocketbook-touch-lux-3.dts | 28 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-v6.6/drivers/ata/ |
D | pata_efar.c | 86 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()
|
D | pata_it8213.c | 77 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()
|
D | pata_rdc.c | 90 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()
|
D | pata_artop.c | 99 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 …]
|
D | pata_radisys.c | 42 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()
|
D | pata_oldpiix.c | 66 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()
|
D | pata_cs5520.c | 61 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-v6.6/virt/kvm/ |
D | coalesced_mmio.c | 89 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()
|
/Linux-v6.6/arch/arm64/boot/dts/mediatek/ |
D | mt7986a-bananapi-bpi-r3.dts | 56 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>; 129 mod-def0-gpios = <&pio 49 GPIO_ACTIVE_LOW>; [all …]
|
D | mt8183-kukui-jacuzzi.dtsi | 20 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>; 114 interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; 116 reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; 133 interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; 151 enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; [all …]
|
D | mt8173-elm-hana.dtsi | 16 interrupt-parent = <&pio>; 29 interrupt-parent = <&pio>; 42 interrupt-parent = <&pio>; 51 wp-gpios = <&pio 42 GPIO_ACTIVE_HIGH>; 54 &pio {
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/falcon/ |
D | base.c | 127 const struct nvkm_falcon_func_pio *pio = nvkm_falcon_pio(falcon, &mem_type, &mem_base); in nvkm_falcon_pio_rd() local 131 if (WARN_ON(!pio || !pio->rd)) in nvkm_falcon_pio_rd() 135 if (WARN_ON(!len || (len & (pio->min - 1)))) in nvkm_falcon_pio_rd() 138 pio->rd_init(falcon, port, mem_base); in nvkm_falcon_pio_rd() 140 xfer_len = min(len, pio->max); in nvkm_falcon_pio_rd() 141 pio->rd(falcon, port, img, xfer_len); in nvkm_falcon_pio_rd() 162 const struct nvkm_falcon_func_pio *pio = nvkm_falcon_pio(falcon, &mem_type, &mem_base); in nvkm_falcon_pio_wr() local 166 if (WARN_ON(!pio || !pio->wr)) in nvkm_falcon_pio_wr() 170 if (WARN_ON(!len || (len & (pio->min - 1)))) in nvkm_falcon_pio_wr() 173 pio->wr_init(falcon, port, sec, mem_base); in nvkm_falcon_pio_wr() [all …]
|
/Linux-v6.6/arch/riscv/boot/dts/allwinner/ |
D | sun20i-d1-mangopi-mq-pro.dts | 31 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-v6.6/drivers/mmc/host/ |
D | au1xmmc.c | 109 } 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_local_page(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 …]
|
/Linux-v6.6/arch/arm/boot/dts/mediatek/ |
D | mt7623n-bananapi-bpi-r2.dts | 97 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 …]
|