pio 23 arch/powerpc/include/asm/io-defs.h DEF_PCI_AC_RET(inb, u8, (unsigned long port), (port), pio, port) pio 24 arch/powerpc/include/asm/io-defs.h DEF_PCI_AC_RET(inw, u16, (unsigned long port), (port), pio, port) pio 25 arch/powerpc/include/asm/io-defs.h DEF_PCI_AC_RET(inl, u32, (unsigned long port), (port), pio, port) pio 26 arch/powerpc/include/asm/io-defs.h DEF_PCI_AC_NORET(outb, (u8 val, unsigned long port), (val, port), pio, port) pio 27 arch/powerpc/include/asm/io-defs.h DEF_PCI_AC_NORET(outw, (u16 val, unsigned long port), (val, port), pio, port) pio 28 arch/powerpc/include/asm/io-defs.h DEF_PCI_AC_NORET(outl, (u32 val, unsigned long port), (val, port), pio, port) pio 44 arch/powerpc/include/asm/io-defs.h (p, b, c), pio, p) pio 46 arch/powerpc/include/asm/io-defs.h (p, b, c), pio, p) pio 48 arch/powerpc/include/asm/io-defs.h (p, b, c), pio, p) pio 50 arch/powerpc/include/asm/io-defs.h (p, b, c), pio, p) pio 52 arch/powerpc/include/asm/io-defs.h (p, b, c), pio, p) pio 54 arch/powerpc/include/asm/io-defs.h (p, b, c), pio, p) pio 1137 arch/sparc/mm/init_64.c static int scan_pio_for_cfg_handle(struct mdesc_handle *md, u64 pio, pio 1142 arch/sparc/mm/init_64.c mdesc_for_each_arc(arc, md, pio, MDESC_ARC_TYPE_FWD) { pio 626 arch/x86/include/asm/kvm_host.h struct kvm_pio_request pio; pio 5896 arch/x86/kvm/x86.c for (i = 0; i < vcpu->arch.pio.count; i++) { pio 5897 arch/x86/kvm/x86.c if (vcpu->arch.pio.in) pio 5898 arch/x86/kvm/x86.c r = kvm_io_bus_read(vcpu, KVM_PIO_BUS, vcpu->arch.pio.port, pio 5899 arch/x86/kvm/x86.c vcpu->arch.pio.size, pd); pio 5902 arch/x86/kvm/x86.c vcpu->arch.pio.port, vcpu->arch.pio.size, pio 5906 arch/x86/kvm/x86.c pd += vcpu->arch.pio.size; pio 5915 arch/x86/kvm/x86.c vcpu->arch.pio.port = port; pio 5916 arch/x86/kvm/x86.c vcpu->arch.pio.in = in; pio 5917 arch/x86/kvm/x86.c vcpu->arch.pio.count = count; pio 5918 arch/x86/kvm/x86.c vcpu->arch.pio.size = size; pio 5921 arch/x86/kvm/x86.c vcpu->arch.pio.count = 0; pio 5942 arch/x86/kvm/x86.c if (vcpu->arch.pio.count) pio 5952 arch/x86/kvm/x86.c vcpu->arch.pio.count = 0; pio 6808 arch/x86/kvm/x86.c } else if (vcpu->arch.pio.count) { pio 6809 arch/x86/kvm/x86.c if (!vcpu->arch.pio.in) { pio 6811 arch/x86/kvm/x86.c vcpu->arch.pio.count = 0; pio 6870 arch/x86/kvm/x86.c vcpu->arch.pio.count = 0; pio 6876 arch/x86/kvm/x86.c vcpu->arch.pio.count = 0; pio 6878 arch/x86/kvm/x86.c if (unlikely(!kvm_is_linear_rip(vcpu, vcpu->arch.pio.linear_rip))) pio 6903 arch/x86/kvm/x86.c vcpu->arch.pio.linear_rip = kvm_get_linear_rip(vcpu); pio 6914 arch/x86/kvm/x86.c BUG_ON(vcpu->arch.pio.count != 1); pio 6916 arch/x86/kvm/x86.c if (unlikely(!kvm_is_linear_rip(vcpu, vcpu->arch.pio.linear_rip))) { pio 6917 arch/x86/kvm/x86.c vcpu->arch.pio.count = 0; pio 6922 arch/x86/kvm/x86.c val = (vcpu->arch.pio.size < 4) ? kvm_rax_read(vcpu) : 0; pio 6928 arch/x86/kvm/x86.c emulator_pio_in_emulated(&vcpu->arch.emulate_ctxt, vcpu->arch.pio.size, pio 6929 arch/x86/kvm/x86.c vcpu->arch.pio.port, &val, 1); pio 6951 arch/x86/kvm/x86.c vcpu->arch.pio.linear_rip = kvm_get_linear_rip(vcpu); pio 8445 arch/x86/kvm/x86.c BUG_ON(!vcpu->arch.pio.count); pio 8610 arch/x86/kvm/x86.c WARN_ON(vcpu->arch.pio.count || vcpu->mmio_needed); pio 550 drivers/ata/ata_piix.c u8 pio) pio 574 drivers/ata/ata_piix.c if (pio >= 2) pio 585 drivers/ata/ata_piix.c if (adev->pio_mode < XFER_PIO_0 + pio) pio 604 drivers/ata/ata_piix.c slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) pio 613 drivers/ata/ata_piix.c (timings[pio][0] << 12) | pio 614 drivers/ata/ata_piix.c (timings[pio][1] << 8); pio 723 drivers/ata/ata_piix.c int pio = needed_pio[mwdma] - XFER_PIO_0; pio 726 drivers/ata/ata_piix.c piix_set_timings(ap, adev, pio); pio 505 drivers/ata/libata-acpi.c mode = ata_timing_cycle2mode(ATA_SHIFT_PIO, gtm->drive[unit].pio); pio 1498 drivers/ata/libata-core.c int pio = (id[ATA_ID_CFA_MODES] >> 0) & 0x7; pio 1501 drivers/ata/libata-core.c if (pio) pio 1503 drivers/ata/libata-core.c if (pio > 1) pio 1786 drivers/ata/libata-core.c u16 pio = adev->id[ATA_ID_EIDE_PIO]; pio 1788 drivers/ata/libata-core.c if (pio) { pio 1790 drivers/ata/libata-core.c if (pio > 240) /* PIO2 is 240nS per cycle */ pio 123 drivers/ata/pata_acpi.c acpi->gtm.drive[unit].pio = t->cycle; pio 723 drivers/ata/pata_arasan_cf.c u8 pio = adev->pio_mode - XFER_PIO_0; pio 728 drivers/ata/pata_arasan_cf.c if (pio > 6) { pio 738 drivers/ata/pata_arasan_cf.c val |= pio << TRUEIDE_PIO_TIMING_SHIFT; pio 99 drivers/ata/pata_artop.c static void artop6210_load_piomode(struct ata_port *ap, struct ata_device *adev, unsigned int pio) pio 109 drivers/ata/pata_artop.c pci_write_config_word(pdev, 0x40 + 2 * dn, timing[clock][pio]); pio 153 drivers/ata/pata_artop.c static void artop6260_load_piomode (struct ata_port *ap, struct ata_device *adev, unsigned int pio) pio 163 drivers/ata/pata_artop.c pci_write_config_byte(pdev, 0x40 + dn, timing[clock][pio]); pio 206 drivers/ata/pata_artop.c unsigned int pio; pio 212 drivers/ata/pata_artop.c pio = 1; pio 214 drivers/ata/pata_artop.c pio = 4; pio 217 drivers/ata/pata_artop.c artop6210_load_piomode(ap, adev, pio); pio 246 drivers/ata/pata_artop.c unsigned int pio; pio 251 drivers/ata/pata_artop.c pio = 1; pio 253 drivers/ata/pata_artop.c pio = 4; pio 256 drivers/ata/pata_artop.c artop6260_load_piomode(ap, adev, pio); pio 102 drivers/ata/pata_atiixp.c static void atiixp_set_pio_timing(struct ata_port *ap, struct ata_device *adev, int pio) pio 114 drivers/ata/pata_atiixp.c pio_mode_data |= pio << (4 * dn); pio 119 drivers/ata/pata_atiixp.c pio_timing_data |= (pio_timings[pio] << timing_shift); pio 207 drivers/ata/pata_bk3710.c const u8 pio = adev->pio_mode - XFER_PIO_0; pio 216 drivers/ata/pata_bk3710.c if (pio < 3 && cycle_time < t->cycle) pio 223 drivers/ata/pata_bk3710.c pata_bk3710_setpiomode(base, pair, is_slave, cycle_time, pio); pio 60 drivers/ata/pata_cs5520.c static void cs5520_set_timings(struct ata_port *ap, struct ata_device *adev, int pio) pio 65 drivers/ata/pata_cs5520.c pio -= XFER_PIO_0; pio 69 drivers/ata/pata_cs5520.c (cs5520_pio_clocks[pio].recovery << 4) | pio 70 drivers/ata/pata_cs5520.c (cs5520_pio_clocks[pio].assert)); pio 74 drivers/ata/pata_cs5520.c (cs5520_pio_clocks[pio].recovery << 4) | pio 75 drivers/ata/pata_cs5520.c (cs5520_pio_clocks[pio].assert)); pio 78 drivers/ata/pata_cs5520.c (cs5520_pio_clocks[pio].recovery << 4) | pio 79 drivers/ata/pata_cs5520.c (cs5520_pio_clocks[pio].assert)); pio 86 drivers/ata/pata_efar.c unsigned int pio = adev->pio_mode - XFER_PIO_0; pio 106 drivers/ata/pata_efar.c if (pio > 1) pio 122 drivers/ata/pata_efar.c master_data |= (timings[pio][0] << 12) | pio 123 drivers/ata/pata_efar.c (timings[pio][1] << 8); pio 134 drivers/ata/pata_efar.c slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << shift; pio 203 drivers/ata/pata_efar.c int pio = needed_pio[mwdma] - XFER_PIO_0; pio 220 drivers/ata/pata_efar.c slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); pio 227 drivers/ata/pata_efar.c (timings[pio][0] << 12) | pio 228 drivers/ata/pata_efar.c (timings[pio][1] << 8); pio 223 drivers/ata/pata_ftide010.c u8 pio = adev->pio_mode - XFER_PIO_0; pio 226 drivers/ata/pata_ftide010.c adev->pio_mode, pio); pio 227 drivers/ata/pata_ftide010.c writeb(pio_active_time[pio] << 4 | pio_recovery_time[pio], pio 77 drivers/ata/pata_it8213.c unsigned int pio = adev->pio_mode - XFER_PIO_0; pio 95 drivers/ata/pata_it8213.c if (pio > 1) pio 109 drivers/ata/pata_it8213.c master_data |= (timings[pio][0] << 12) | pio 110 drivers/ata/pata_it8213.c (timings[pio][1] << 8); pio 120 drivers/ata/pata_it8213.c slave_data |= (timings[pio][0] << 2) | timings[pio][1]; pio 198 drivers/ata/pata_it8213.c int pio = needed_pio[mwdma] - XFER_PIO_0; pio 215 drivers/ata/pata_it8213.c slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); pio 222 drivers/ata/pata_it8213.c (timings[pio][0] << 12) | pio 223 drivers/ata/pata_it8213.c (timings[pio][1] << 8); pio 93 drivers/ata/pata_it821x.c u16 pio[2]; /* Cached PIO values */ pio 234 drivers/ata/pata_it821x.c it821x_program(ap, pair, itdev->pio[1-unit]); pio 242 drivers/ata/pata_it821x.c it821x_program(ap, adev, itdev->pio[unit]); pio 258 drivers/ata/pata_it821x.c static const u16 pio[] = { 0xAA88, 0xA382, 0xA181, 0x3332, 0x3121 }; pio 268 drivers/ata/pata_it821x.c itdev->pio[unit] = pio[mode_wanted]; pio 270 drivers/ata/pata_it821x.c it821x_program(ap, adev, itdev->pio[unit]); pio 377 drivers/ata/pata_it821x.c it821x_program(ap, adev, itdev->pio[unit]); pio 395 drivers/ata/pata_it821x.c it821x_program(ap, adev, itdev->pio[adev->devno]); pio 256 drivers/ata/pata_legacy.c int pio = adev->pio_mode - XFER_PIO_0; pio 282 drivers/ata/pata_legacy.c if (pio) pio 283 drivers/ata/pata_legacy.c rt |= (1 + 3 * pio) << (3 * adev->devno); pio 269 drivers/ata/pata_mpc52xx.c mpc52xx_ata_compute_pio_timings(struct mpc52xx_ata_priv *priv, int dev, int pio) pio 275 drivers/ata/pata_mpc52xx.c if ((pio < 0) || (pio > 4)) pio 278 drivers/ata/pata_mpc52xx.c t0 = CALC_CLKCYC(ipb_period, 1000 * ataspec_t0[pio]); pio 279 drivers/ata/pata_mpc52xx.c t1 = CALC_CLKCYC(ipb_period, 1000 * ataspec_t1[pio]); pio 280 drivers/ata/pata_mpc52xx.c t2_8 = CALC_CLKCYC(ipb_period, 1000 * ataspec_t2_8[pio]); pio 281 drivers/ata/pata_mpc52xx.c t2_16 = CALC_CLKCYC(ipb_period, 1000 * ataspec_t2_16[pio]); pio 282 drivers/ata/pata_mpc52xx.c t2i = CALC_CLKCYC(ipb_period, 1000 * ataspec_t2i[pio]); pio 283 drivers/ata/pata_mpc52xx.c t4 = CALC_CLKCYC(ipb_period, 1000 * ataspec_t4[pio]); pio 284 drivers/ata/pata_mpc52xx.c ta = CALC_CLKCYC(ipb_period, 1000 * ataspec_ta[pio]); pio 393 drivers/ata/pata_mpc52xx.c int pio, rv; pio 395 drivers/ata/pata_mpc52xx.c pio = adev->pio_mode - XFER_PIO_0; pio 397 drivers/ata/pata_mpc52xx.c rv = mpc52xx_ata_compute_pio_timings(priv, adev->devno, pio); pio 400 drivers/ata/pata_mpc52xx.c dev_err(ap->dev, "error: invalid PIO mode: %d\n", pio); pio 79 drivers/ata/pata_mpiix.c int pio = adev->pio_mode - XFER_PIO_0; pio 96 drivers/ata/pata_mpiix.c if (pio > 1) pio 104 drivers/ata/pata_mpiix.c idetim |= (timings[pio][0] << 12) | (timings[pio][1] << 8); pio 66 drivers/ata/pata_oldpiix.c unsigned int pio = adev->pio_mode - XFER_PIO_0; pio 85 drivers/ata/pata_oldpiix.c if (pio > 1) pio 107 drivers/ata/pata_oldpiix.c idetm_data |= (timings[pio][0] << 12) | pio 108 drivers/ata/pata_oldpiix.c (timings[pio][1] << 8); pio 150 drivers/ata/pata_oldpiix.c int pio = needed_pio[mwdma] - XFER_PIO_0; pio 175 drivers/ata/pata_oldpiix.c idetm_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); pio 111 drivers/ata/pata_opti.c int pio = adev->pio_mode - XFER_PIO_0; pio 133 drivers/ata/pata_opti.c addr = addr_timing[clock][pio]; pio 143 drivers/ata/pata_opti.c opti_write_reg(ap, data_rec_timing[clock][pio], READ_REG); pio 144 drivers/ata/pata_opti.c opti_write_reg(ap, data_rec_timing[clock][pio], WRITE_REG); pio 119 drivers/ata/pata_optidma.c int pio = adev->pio_mode - XFER_PIO_0; pio 151 drivers/ata/pata_optidma.c addr = addr_timing[pci_clock][pio]; pio 169 drivers/ata/pata_optidma.c iowrite8(data_rec_timing[pci_clock][pio], regio + READ_REG); pio 170 drivers/ata/pata_optidma.c iowrite8(data_rec_timing[pci_clock][pio], regio + WRITE_REG); pio 292 drivers/ata/pata_pdc2027x.c unsigned int pio = adev->pio_mode - XFER_PIO_0; pio 298 drivers/ata/pata_pdc2027x.c if (pio > 4) { pio 299 drivers/ata/pata_pdc2027x.c printk(KERN_ERR DRV_NAME ": Unknown pio mode [%d] ignored\n", pio); pio 309 drivers/ata/pata_pdc2027x.c ctcr0 |= pdc2027x_pio_timing_tbl[pio].value0 | pio 310 drivers/ata/pata_pdc2027x.c (pdc2027x_pio_timing_tbl[pio].value1 << 8); pio 315 drivers/ata/pata_pdc2027x.c ctcr1 |= (pdc2027x_pio_timing_tbl[pio].value2 << 24); pio 320 drivers/ata/pata_pdc2027x.c PDPRINTK("Set to pio mode[%u] \n", pio); pio 79 drivers/ata/pata_pdc202xx_old.c static void pdc202xx_configure_piomode(struct ata_port *ap, struct ata_device *adev, int pio) pio 92 drivers/ata/pata_pdc202xx_old.c r_ap |= (pio_timing[pio] >> 8); pio 93 drivers/ata/pata_pdc202xx_old.c r_bp |= (pio_timing[pio] & 0xFF); pio 33 drivers/ata/pata_piccolo.c static const u16 pio[6] = { /* For reg 0x50 low word & E088 */ pio 40 drivers/ata/pata_piccolo.c conf |= pio[adev->pio_mode - XFER_PIO_0]; pio 42 drivers/ata/pata_radisys.c unsigned int pio = adev->pio_mode - XFER_PIO_0; pio 61 drivers/ata/pata_radisys.c if (pio > 0) pio 72 drivers/ata/pata_radisys.c idetm_data |= (timings[pio][0] << 12) | pio 73 drivers/ata/pata_radisys.c (timings[pio][1] << 8); pio 117 drivers/ata/pata_radisys.c int pio = needed_pio[mwdma] - XFER_PIO_0; pio 131 drivers/ata/pata_radisys.c idetm_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); pio 90 drivers/ata/pata_rdc.c unsigned int pio = adev->pio_mode - XFER_PIO_0; pio 108 drivers/ata/pata_rdc.c if (pio >= 2) pio 133 drivers/ata/pata_rdc.c slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) pio 142 drivers/ata/pata_rdc.c (timings[pio][0] << 12) | pio 143 drivers/ata/pata_rdc.c (timings[pio][1] << 8); pio 238 drivers/ata/pata_rdc.c int pio = needed_pio[mwdma] - XFER_PIO_0; pio 255 drivers/ata/pata_rdc.c slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); pio 262 drivers/ata/pata_rdc.c (timings[pio][0] << 12) | pio 263 drivers/ata/pata_rdc.c (timings[pio][1] << 8); pio 98 drivers/ata/pata_sch.c unsigned int pio = adev->pio_mode - XFER_PIO_0; pio 107 drivers/ata/pata_sch.c data |= pio; pio 204 drivers/ata/pata_serverworks.c int pio = adev->pio_mode - XFER_PIO_0; pio 206 drivers/ata/pata_serverworks.c pci_write_config_byte(pdev, 0x40 + offset, pio_mode[pio]); pio 213 drivers/ata/pata_serverworks.c pci_write_config_word(pdev, 0x4A, csb5_pio | (pio << devbits)); pio 119 drivers/ata/pata_sil680.c int pio = adev->pio_mode - XFER_PIO_0; pio 120 drivers/ata/pata_sil680.c int lowest_pio = pio; pio 130 drivers/ata/pata_sil680.c pci_write_config_word(pdev, addr, speed_p[pio]); pio 78 drivers/ata/pata_sl82c105.c static void sl82c105_configure_piomode(struct ata_port *ap, struct ata_device *adev, int pio) pio 87 drivers/ata/pata_sl82c105.c pci_write_config_word(pdev, timing, pio_timing[pio]); pio 1060 drivers/ata/sata_promise.c int pio = 1; /* atapi dma off by default */ pio 1072 drivers/ata/sata_promise.c pio = 0; pio 1082 drivers/ata/sata_promise.c pio = 1; pio 1084 drivers/ata/sata_promise.c return pio; pio 919 drivers/ata/sata_sx4.c int pio = 1; /* atapi dma off by default */ pio 931 drivers/ata/sata_sx4.c pio = 0; pio 941 drivers/ata/sata_sx4.c pio = 1; pio 943 drivers/ata/sata_sx4.c return pio; pio 194 drivers/bus/hisi_lpc.c unsigned long pio) pio 196 drivers/bus/hisi_lpc.c return pio - lpcdev->io_host->io_start + lpcdev->io_host->hw_start; pio 207 drivers/bus/hisi_lpc.c static u32 hisi_lpc_comm_in(void *hostdata, unsigned long pio, size_t dwidth) pio 218 drivers/bus/hisi_lpc.c addr = hisi_lpc_pio_to_addr(lpcdev, pio); pio 240 drivers/bus/hisi_lpc.c static void hisi_lpc_comm_out(void *hostdata, unsigned long pio, pio 254 drivers/bus/hisi_lpc.c addr = hisi_lpc_pio_to_addr(lpcdev, pio); pio 273 drivers/bus/hisi_lpc.c static u32 hisi_lpc_comm_ins(void *hostdata, unsigned long pio, void *buffer, pio 289 drivers/bus/hisi_lpc.c addr = hisi_lpc_pio_to_addr(lpcdev, pio); pio 311 drivers/bus/hisi_lpc.c static void hisi_lpc_comm_outs(void *hostdata, unsigned long pio, pio 328 drivers/bus/hisi_lpc.c addr = hisi_lpc_pio_to_addr(lpcdev, pio); pio 504 drivers/dma/mxs-dma.c u32 *pio; pio 537 drivers/dma/mxs-dma.c pio = (u32 *) sgl; pio 540 drivers/dma/mxs-dma.c ccw->pio_words[j++] = *pio++; pio 120 drivers/ide/ali14xx.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 121 drivers/ide/ali14xx.c struct ide_timing *t = ide_timing_find_mode(XFER_PIO_0 + pio); pio 124 drivers/ide/ali14xx.c time1 = ide_pio_cycle_time(drive, pio); pio 128 drivers/ide/ali14xx.c if (pio < 3) { pio 133 drivers/ide/ali14xx.c drive->name, pio, time1, time2, param1, param2, param3, param4); pio 59 drivers/ide/atiixp.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 65 drivers/ide/atiixp.c pio_mode_data |= (pio << (drive->dn * 4)); pio 70 drivers/ide/atiixp.c pio_timing_data |= (pio_timing[pio].recover_width << timing_shift) | pio 71 drivers/ide/atiixp.c (pio_timing[pio].command_width << (timing_shift + 4)); pio 580 drivers/ide/cmd640.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 583 drivers/ide/cmd640.c switch (pio) { pio 587 drivers/ide/cmd640.c if (pio & 1) pio 591 drivers/ide/cmd640.c drive->name, (pio & 1) ? "en" : "dis"); pio 595 drivers/ide/cmd640.c set_prefetch_mode(drive, index, pio & 1); pio 597 drivers/ide/cmd640.c drive->name, (pio & 1) ? "en" : "dis"); pio 601 drivers/ide/cmd640.c cycle_time = ide_pio_cycle_time(drive, pio); pio 602 drivers/ide/cmd640.c cmd640_set_mode(drive, index, pio, cycle_time); pio 605 drivers/ide/cmd640.c drive->name, pio, cycle_time); pio 139 drivers/ide/cmd64x.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 145 drivers/ide/cmd64x.c if (pio == 8 || pio == 9) pio 148 drivers/ide/cmd64x.c cmd64x_program_timings(drive, XFER_PIO_0 + pio); pio 64 drivers/ide/cs5520.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 68 drivers/ide/cs5520.c (cs5520_pio_clocks[pio].recovery << 4) | pio 69 drivers/ide/cs5520.c (cs5520_pio_clocks[pio].assert)); pio 76 drivers/ide/cs5520.c (cs5520_pio_clocks[pio].recovery << 4) | pio 77 drivers/ide/cs5520.c (cs5520_pio_clocks[pio].assert)); pio 80 drivers/ide/cs5520.c (cs5520_pio_clocks[pio].recovery << 4) | pio 81 drivers/ide/cs5520.c (cs5520_pio_clocks[pio].assert)); pio 57 drivers/ide/cs5530.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 59 drivers/ide/cs5530.c outl(cs5530_pio_timings[format][pio], basereg + ((drive->dn & 1)<<3)); pio 139 drivers/ide/cs5536.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 140 drivers/ide/cs5536.c u8 cmd_pio = pio; pio 143 drivers/ide/cs5536.c cmd_pio = min_t(u8, pio, pair->pio_mode - XFER_PIO_0); pio 146 drivers/ide/cs5536.c timings |= drv_timings[pio]; pio 149 drivers/ide/cs5536.c cs5536_program_dtc(drive, drv_timings[pio]); pio 154 drivers/ide/cs5536.c cast |= addr_timings[pio] << cshift; pio 200 drivers/ide/ht6560b.c static u8 ht_pio2timings(ide_drive_t *drive, const u8 pio) pio 206 drivers/ide/ht6560b.c if (pio) { pio 208 drivers/ide/ht6560b.c struct ide_timing *t = ide_timing_find_mode(XFER_PIO_0 + pio); pio 210 drivers/ide/ht6560b.c cycle_time = ide_pio_cycle_time(drive, pio); pio 233 drivers/ide/ht6560b.c printk("ht6560b: drive %s setting pio=%d recovery=%d (%dns) active=%d (%dns)\n", drive->name, pio, recovery_cycles, recovery_time, active_cycles, active_time); pio 285 drivers/ide/ht6560b.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 288 drivers/ide/ht6560b.c switch (pio) { pio 291 drivers/ide/ht6560b.c ht_set_prefetch(drive, pio & 1); pio 295 drivers/ide/ht6560b.c timing = ht_pio2timings(drive, pio); pio 305 drivers/ide/ht6560b.c printk("ht6560b: drive %s tuned to pio mode %#x timing=%#x\n", drive->name, pio, timing); pio 15 drivers/ide/ide-pio-blacklist.c int pio; pio 93 drivers/ide/ide-pio-blacklist.c return p->pio; pio 68 drivers/ide/ide-timings.c u16 ide_pio_cycle_time(ide_drive_t *drive, u8 pio) pio 71 drivers/ide/ide-timings.c struct ide_timing *t = ide_timing_find_mode(XFER_PIO_0 + pio); pio 81 drivers/ide/ide-timings.c if (pio < 3 && cycle < t->cycle) pio 85 drivers/ide/ide-timings.c if (pio > 4 && ata_id_is_cfa(id)) pio 111 drivers/ide/ide-xfer-mode.c int ide_pio_need_iordy(ide_drive_t *drive, const u8 pio) pio 117 drivers/ide/ide-xfer-mode.c if (pio == 0 && (drive->hwif->port_flags & IDE_PFLAG_PROBING)) pio 119 drivers/ide/ide-xfer-mode.c return ata_id_pio_need_iordy(drive->id, pio); pio 187 drivers/ide/ide-xfer-mode.c u8 host_pio, pio; pio 197 drivers/ide/ide-xfer-mode.c pio = ide_get_best_pio_mode(drive, req_pio, host_pio); pio 206 drivers/ide/ide-xfer-mode.c req_pio == 255 ? "(auto-tune)" : "", pio); pio 208 drivers/ide/ide-xfer-mode.c (void)ide_set_pio_mode(drive, XFER_PIO_0 + pio); pio 45 drivers/ide/it8172.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 69 drivers/ide/it8172.c if (ide_pio_need_iordy(drive, pio)) pio 74 drivers/ide/it8172.c drive_timing |= timings[pio] << (drive->dn * 6 + 8); pio 38 drivers/ide/it8213.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 50 drivers/ide/it8213.c if (pio > 1) pio 54 drivers/ide/it8213.c if (ide_pio_need_iordy(drive, pio)) pio 59 drivers/ide/it8213.c if (pio > 1) pio 63 drivers/ide/it8213.c slave_data = slave_data | (timings[pio][0] << 2) | timings[pio][1]; pio 66 drivers/ide/it8213.c if (pio > 1) pio 68 drivers/ide/it8213.c master_data = master_data | (timings[pio][0] << 12) | (timings[pio][1] << 8); pio 81 drivers/ide/it821x.c u16 pio[2]; /* Cached PIO values */ pio 218 drivers/ide/it821x.c it821x_program(pair, itdev->pio[1-unit]); pio 226 drivers/ide/it821x.c it821x_program(drive, itdev->pio[unit]); pio 243 drivers/ide/it821x.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 244 drivers/ide/it821x.c u8 unit = drive->dn & 1, set_pio = pio; pio 265 drivers/ide/it821x.c itdev->pio[unit] = pio_timings[set_pio]; pio 267 drivers/ide/it821x.c it821x_program(drive, itdev->pio[unit]); pio 391 drivers/ide/it821x.c it821x_program(drive, itdev->pio[unit]); pio 71 drivers/ide/opti621.c const u8 pio = mode - XFER_PIO_0; pio 72 drivers/ide/opti621.c u8 tim, misc, addr_pio = pio, clk; pio 110 drivers/ide/opti621.c tim = data_rec_timings[clk][pio]; pio 200 drivers/ide/palm_bk3710.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 205 drivers/ide/palm_bk3710.c cycle_time = ide_pio_cycle_time(drive, pio); pio 207 drivers/ide/palm_bk3710.c palm_bk3710_setpiomode(base, mate, is_slave, cycle_time, pio); pio 170 drivers/ide/pdc202xx_new.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 173 drivers/ide/pdc202xx_new.c set_indexed_reg(hwif, 0x0c + adj, pio_timings[pio].reg0c); pio 174 drivers/ide/pdc202xx_new.c set_indexed_reg(hwif, 0x0d + adj, pio_timings[pio].reg0d); pio 175 drivers/ide/pdc202xx_new.c set_indexed_reg(hwif, 0x13 + adj, pio_timings[pio].reg13); pio 79 drivers/ide/piix.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 97 drivers/ide/piix.c if (pio > 1) pio 101 drivers/ide/piix.c if (ide_pio_need_iordy(drive, pio)) pio 106 drivers/ide/piix.c if (pio > 1) { pio 112 drivers/ide/piix.c slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << pio 116 drivers/ide/piix.c if (pio > 1) { pio 120 drivers/ide/piix.c master_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); pio 495 drivers/ide/pmac.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 496 drivers/ide/pmac.c struct ide_timing *tim = ide_timing_find_mode(XFER_PIO_0 + pio); pio 506 drivers/ide/pmac.c cycle_time = ide_pio_cycle_time(drive, pio); pio 564 drivers/ide/pmac.c drive->name, pio, *timings); pio 214 drivers/ide/qd65xx.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 215 drivers/ide/qd65xx.c struct ide_timing *t = ide_timing_find_mode(XFER_PIO_0 + pio); pio 222 drivers/ide/qd65xx.c cycle_time = ide_pio_cycle_time(drive, pio); pio 224 drivers/ide/qd65xx.c switch (pio) { pio 249 drivers/ide/qd65xx.c printk(KERN_INFO "%s: PIO mode%d\n", drive->name,pio); pio 81 drivers/ide/sc1200.c static void sc1200_tunepio(ide_drive_t *drive, u8 pio) pio 92 drivers/ide/sc1200.c sc1200_pio_timings[format][pio]); pio 200 drivers/ide/sc1200.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 205 drivers/ide/sc1200.c switch (pio) { pio 222 drivers/ide/sc1200.c sc1200_tunepio(drive, pio); pio 116 drivers/ide/serverworks.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 121 drivers/ide/serverworks.c pci_write_config_byte(dev, drive_pci[drive->dn], pio_modes[pio]); pio 129 drivers/ide/serverworks.c csb_pio |= (pio << (4 * drive->dn)); pio 251 drivers/ide/siimage.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 252 drivers/ide/siimage.c u8 tf_pio = pio; pio 268 drivers/ide/siimage.c speedp = data_speed[pio]; pio 281 drivers/ide/siimage.c if (ide_pio_need_iordy(drive, pio)) { pio 43 drivers/ide/sl82c105.c static unsigned int get_pio_timings(ide_drive_t *drive, u8 pio) pio 45 drivers/ide/sl82c105.c struct ide_timing *t = ide_timing_find_mode(XFER_PIO_0 + pio); pio 50 drivers/ide/sl82c105.c cmd_off = (ide_pio_cycle_time(drive, pio) - 30 * cmd_on + 29) / 30; pio 58 drivers/ide/sl82c105.c if (ide_pio_need_iordy(drive, pio)) pio 73 drivers/ide/sl82c105.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 75 drivers/ide/sl82c105.c drv_ctrl = get_pio_timings(drive, pio); pio 89 drivers/ide/sl82c105.c ide_xfer_verbose(pio + XFER_PIO_0), pio 90 drivers/ide/sl82c105.c ide_pio_cycle_time(drive, pio), drv_ctrl); pio 32 drivers/ide/slc90e66.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 45 drivers/ide/slc90e66.c if (pio > 1) pio 49 drivers/ide/slc90e66.c if (ide_pio_need_iordy(drive, pio)) pio 54 drivers/ide/slc90e66.c if (pio > 1) { pio 60 drivers/ide/slc90e66.c slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << pio 64 drivers/ide/slc90e66.c if (pio > 1) { pio 68 drivers/ide/slc90e66.c master_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); pio 24 drivers/ide/tx4938ide.c u8 pio) pio 26 drivers/ide/tx4938ide.c struct ide_timing *t = ide_timing_find_mode(XFER_PIO_0 + pio); pio 111 drivers/ide/tx4939ide.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 112 drivers/ide/tx4939ide.c u8 safe = pio; pio 123 drivers/ide/tx4939ide.c val = ((safe << 8) | (pio << 4)) << (is_slave ? 16 : 0); pio 112 drivers/ide/umc8672.c const u8 pio = drive->pio_mode - XFER_PIO_0; pio 115 drivers/ide/umc8672.c drive->name, pio, pio_to_umc[pio]); pio 121 drivers/ide/umc8672.c current_speeds[drive->name[2] - 'a'] = pio_to_umc[pio]; pio 1285 drivers/infiniband/hw/hfi1/pio.c u64 sc_ctrl, reg, pio; pio 1341 drivers/infiniband/hw/hfi1/pio.c pio = ((sc->hw_context & SEND_PIO_INIT_CTXT_PIO_CTXT_NUM_MASK) << pio 1344 drivers/infiniband/hw/hfi1/pio.c write_csr(dd, SEND_PIO_INIT_CTXT, pio); pio 96 drivers/media/pci/ivtv/ivtv-streams.c int dma, pio; pio 181 drivers/media/pci/ivtv/ivtv-streams.c if (ivtv_stream_info[type].pio) pio 109 drivers/mmc/host/au1xmmc.c } pio; pio 247 drivers/mmc/host/au1xmmc.c host->pio.index = 0; pio 248 drivers/mmc/host/au1xmmc.c host->pio.offset = 0; pio 249 drivers/mmc/host/au1xmmc.c host->pio.len = 0; pio 376 drivers/mmc/host/au1xmmc.c (data->blocks * data->blksz) - host->pio.len; pio 406 drivers/mmc/host/au1xmmc.c sg = &data->sg[host->pio.index]; pio 407 drivers/mmc/host/au1xmmc.c sg_ptr = kmap_atomic(sg_page(sg)) + sg->offset + host->pio.offset; pio 410 drivers/mmc/host/au1xmmc.c sg_len = data->sg[host->pio.index].length - host->pio.offset; pio 413 drivers/mmc/host/au1xmmc.c max = (sg_len > host->pio.len) ? host->pio.len : sg_len; pio 430 drivers/mmc/host/au1xmmc.c host->pio.len -= count; pio 431 drivers/mmc/host/au1xmmc.c host->pio.offset += count; pio 434 drivers/mmc/host/au1xmmc.c host->pio.index++; pio 435 drivers/mmc/host/au1xmmc.c host->pio.offset = 0; pio 438 drivers/mmc/host/au1xmmc.c if (host->pio.len == 0) { pio 461 drivers/mmc/host/au1xmmc.c max = host->pio.len; pio 463 drivers/mmc/host/au1xmmc.c if (host->pio.index < host->dma.len) { pio 464 drivers/mmc/host/au1xmmc.c sg = &data->sg[host->pio.index]; pio 465 drivers/mmc/host/au1xmmc.c sg_ptr = kmap_atomic(sg_page(sg)) + sg->offset + host->pio.offset; pio 468 drivers/mmc/host/au1xmmc.c sg_len = sg_dma_len(&data->sg[host->pio.index]) - host->pio.offset; pio 486 drivers/mmc/host/au1xmmc.c host->pio.len, count); pio 492 drivers/mmc/host/au1xmmc.c host->pio.len, count); pio 497 drivers/mmc/host/au1xmmc.c host->pio.len, count); pio 509 drivers/mmc/host/au1xmmc.c host->pio.len -= count; pio 510 drivers/mmc/host/au1xmmc.c host->pio.offset += count; pio 513 drivers/mmc/host/au1xmmc.c host->pio.index++; pio 514 drivers/mmc/host/au1xmmc.c host->pio.offset = 0; pio 517 drivers/mmc/host/au1xmmc.c if (host->pio.len == 0) { pio 670 drivers/mmc/host/au1xmmc.c host->pio.index = 0; pio 671 drivers/mmc/host/au1xmmc.c host->pio.offset = 0; pio 672 drivers/mmc/host/au1xmmc.c host->pio.len = datalen; pio 175 drivers/mmc/host/mvsdio.c int pio; pio 182 drivers/mmc/host/mvsdio.c pio = mvsd_setup_data(host, data); pio 183 drivers/mmc/host/mvsdio.c if (pio) { pio 175 drivers/mmc/host/renesas_sdhi_sys_dmac.c goto pio; pio 205 drivers/mmc/host/renesas_sdhi_sys_dmac.c pio: pio 247 drivers/mmc/host/renesas_sdhi_sys_dmac.c goto pio; pio 282 drivers/mmc/host/renesas_sdhi_sys_dmac.c pio: pio 2248 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c u32 pio[3]; pio 2251 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[0] = BF_GPMI_CTRL0_COMMAND_MODE(BV_GPMI_CTRL0_COMMAND_MODE__WRITE) pio 2258 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[1] = 0; pio 2259 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[2] = 0; pio 2260 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c desc = mxs_dmaengine_prep_pio(channel, pio, ARRAY_SIZE(pio), pio 2287 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c u32 pio[2]; pio 2289 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[0] = BF_GPMI_CTRL0_COMMAND_MODE(BV_GPMI_CTRL0_COMMAND_MODE__WAIT_FOR_READY) pio 2295 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[1] = 0; pio 2297 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c return mxs_dmaengine_prep_pio(channel, pio, 2, DMA_TRANS_NONE, pio 2307 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c u32 pio[6] = {}; pio 2318 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[0] = BF_GPMI_CTRL0_COMMAND_MODE(BV_GPMI_CTRL0_COMMAND_MODE__READ) pio 2326 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[2] = BM_GPMI_ECCCTRL_ENABLE_ECC pio 2330 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[3] = raw_len; pio 2331 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[4] = transfer->sgl.dma_address; pio 2332 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[5] = this->auxiliary_phys; pio 2335 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c desc = mxs_dmaengine_prep_pio(channel, pio, ARRAY_SIZE(pio), pio 2354 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c u32 pio[6] = {}; pio 2364 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[0] = BF_GPMI_CTRL0_COMMAND_MODE(BV_GPMI_CTRL0_COMMAND_MODE__WRITE) pio 2372 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[2] = BM_GPMI_ECCCTRL_ENABLE_ECC pio 2376 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[3] = raw_len; pio 2377 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[4] = transfer->sgl.dma_address; pio 2378 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c pio[5] = this->auxiliary_phys; pio 2381 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c desc = mxs_dmaengine_prep_pio(channel, pio, ARRAY_SIZE(pio), pio 851 drivers/net/wireless/broadcom/b43/b43.h struct b43_pio pio; pio 109 drivers/net/wireless/broadcom/b43/main.c module_param_named(pio, b43_modparam_pio, int, 0644); pio 110 drivers/net/wireless/broadcom/b43/main.c MODULE_PARM_DESC(pio, "Use PIO accesses by default: 0=DMA, 1=PIO"); pio 2029 drivers/net/wireless/broadcom/b43/main.c b43_pio_rx(dev->pio.rx_queue); pio 48 drivers/net/wireless/broadcom/b43/pio.c struct b43_pio *pio = &dev->pio; pio 54 drivers/net/wireless/broadcom/b43/pio.c q = pio->tx_queue_AC_BK; pio 57 drivers/net/wireless/broadcom/b43/pio.c q = pio->tx_queue_AC_BE; pio 60 drivers/net/wireless/broadcom/b43/pio.c q = pio->tx_queue_AC_VI; pio 63 drivers/net/wireless/broadcom/b43/pio.c q = pio->tx_queue_AC_VO; pio 66 drivers/net/wireless/broadcom/b43/pio.c q = pio->tx_queue_mcast; pio 209 drivers/net/wireless/broadcom/b43/pio.c #define destroy_queue_tx(pio, queue) do { \ pio 210 drivers/net/wireless/broadcom/b43/pio.c b43_destroy_pioqueue_tx((pio)->queue, __stringify(queue)); \ pio 211 drivers/net/wireless/broadcom/b43/pio.c (pio)->queue = NULL; \ pio 214 drivers/net/wireless/broadcom/b43/pio.c #define destroy_queue_rx(pio, queue) do { \ pio 215 drivers/net/wireless/broadcom/b43/pio.c b43_destroy_pioqueue_rx((pio)->queue, __stringify(queue)); \ pio 216 drivers/net/wireless/broadcom/b43/pio.c (pio)->queue = NULL; \ pio 221 drivers/net/wireless/broadcom/b43/pio.c struct b43_pio *pio; pio 225 drivers/net/wireless/broadcom/b43/pio.c pio = &dev->pio; pio 227 drivers/net/wireless/broadcom/b43/pio.c destroy_queue_rx(pio, rx_queue); pio 228 drivers/net/wireless/broadcom/b43/pio.c destroy_queue_tx(pio, tx_queue_mcast); pio 229 drivers/net/wireless/broadcom/b43/pio.c destroy_queue_tx(pio, tx_queue_AC_VO); pio 230 drivers/net/wireless/broadcom/b43/pio.c destroy_queue_tx(pio, tx_queue_AC_VI); pio 231 drivers/net/wireless/broadcom/b43/pio.c destroy_queue_tx(pio, tx_queue_AC_BE); pio 232 drivers/net/wireless/broadcom/b43/pio.c destroy_queue_tx(pio, tx_queue_AC_BK); pio 237 drivers/net/wireless/broadcom/b43/pio.c struct b43_pio *pio = &dev->pio; pio 244 drivers/net/wireless/broadcom/b43/pio.c pio->tx_queue_AC_BK = b43_setup_pioqueue_tx(dev, 0); pio 245 drivers/net/wireless/broadcom/b43/pio.c if (!pio->tx_queue_AC_BK) pio 248 drivers/net/wireless/broadcom/b43/pio.c pio->tx_queue_AC_BE = b43_setup_pioqueue_tx(dev, 1); pio 249 drivers/net/wireless/broadcom/b43/pio.c if (!pio->tx_queue_AC_BE) pio 252 drivers/net/wireless/broadcom/b43/pio.c pio->tx_queue_AC_VI = b43_setup_pioqueue_tx(dev, 2); pio 253 drivers/net/wireless/broadcom/b43/pio.c if (!pio->tx_queue_AC_VI) pio 256 drivers/net/wireless/broadcom/b43/pio.c pio->tx_queue_AC_VO = b43_setup_pioqueue_tx(dev, 3); pio 257 drivers/net/wireless/broadcom/b43/pio.c if (!pio->tx_queue_AC_VO) pio 260 drivers/net/wireless/broadcom/b43/pio.c pio->tx_queue_mcast = b43_setup_pioqueue_tx(dev, 4); pio 261 drivers/net/wireless/broadcom/b43/pio.c if (!pio->tx_queue_mcast) pio 264 drivers/net/wireless/broadcom/b43/pio.c pio->rx_queue = b43_setup_pioqueue_rx(dev, 0); pio 265 drivers/net/wireless/broadcom/b43/pio.c if (!pio->rx_queue) pio 274 drivers/net/wireless/broadcom/b43/pio.c destroy_queue_tx(pio, tx_queue_mcast); pio 276 drivers/net/wireless/broadcom/b43/pio.c destroy_queue_tx(pio, tx_queue_AC_VO); pio 278 drivers/net/wireless/broadcom/b43/pio.c destroy_queue_tx(pio, tx_queue_AC_VI); pio 280 drivers/net/wireless/broadcom/b43/pio.c destroy_queue_tx(pio, tx_queue_AC_BE); pio 282 drivers/net/wireless/broadcom/b43/pio.c destroy_queue_tx(pio, tx_queue_AC_BK); pio 299 drivers/net/wireless/broadcom/b43/pio.c q = dev->pio.tx_queue_AC_VO; pio 302 drivers/net/wireless/broadcom/b43/pio.c q = dev->pio.tx_queue_AC_VI; pio 305 drivers/net/wireless/broadcom/b43/pio.c q = dev->pio.tx_queue_AC_BE; pio 308 drivers/net/wireless/broadcom/b43/pio.c q = dev->pio.tx_queue_AC_BK; pio 312 drivers/net/wireless/broadcom/b43/pio.c q = dev->pio.tx_queue_AC_BE; pio 501 drivers/net/wireless/broadcom/b43/pio.c q = dev->pio.tx_queue_mcast; pio 806 drivers/net/wireless/broadcom/b43/pio.c b43_pio_tx_suspend_queue(dev->pio.tx_queue_AC_BK); pio 807 drivers/net/wireless/broadcom/b43/pio.c b43_pio_tx_suspend_queue(dev->pio.tx_queue_AC_BE); pio 808 drivers/net/wireless/broadcom/b43/pio.c b43_pio_tx_suspend_queue(dev->pio.tx_queue_AC_VI); pio 809 drivers/net/wireless/broadcom/b43/pio.c b43_pio_tx_suspend_queue(dev->pio.tx_queue_AC_VO); pio 810 drivers/net/wireless/broadcom/b43/pio.c b43_pio_tx_suspend_queue(dev->pio.tx_queue_mcast); pio 815 drivers/net/wireless/broadcom/b43/pio.c b43_pio_tx_resume_queue(dev->pio.tx_queue_mcast); pio 816 drivers/net/wireless/broadcom/b43/pio.c b43_pio_tx_resume_queue(dev->pio.tx_queue_AC_VO); pio 817 drivers/net/wireless/broadcom/b43/pio.c b43_pio_tx_resume_queue(dev->pio.tx_queue_AC_VI); pio 818 drivers/net/wireless/broadcom/b43/pio.c b43_pio_tx_resume_queue(dev->pio.tx_queue_AC_BE); pio 819 drivers/net/wireless/broadcom/b43/pio.c b43_pio_tx_resume_queue(dev->pio.tx_queue_AC_BK); pio 700 drivers/net/wireless/broadcom/b43legacy/b43legacy.h struct b43legacy_pio pio; pio 54 drivers/net/wireless/broadcom/b43legacy/main.c module_param_named(pio, modparam_pio, int, 0444); pio 55 drivers/net/wireless/broadcom/b43legacy/main.c MODULE_PARM_DESC(pio, "enable(1) / disable(0) PIO mode"); pio 1351 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_pio_rx(dev->pio.queue0); pio 1359 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_pio_rx(dev->pio.queue3); pio 140 drivers/net/wireless/broadcom/b43legacy/pio.c struct b43legacy_pio *pio = &dev->pio; pio 146 drivers/net/wireless/broadcom/b43legacy/pio.c queue = pio->queue0; pio 149 drivers/net/wireless/broadcom/b43legacy/pio.c queue = pio->queue1; pio 152 drivers/net/wireless/broadcom/b43legacy/pio.c queue = pio->queue2; pio 155 drivers/net/wireless/broadcom/b43legacy/pio.c queue = pio->queue3; pio 391 drivers/net/wireless/broadcom/b43legacy/pio.c struct b43legacy_pio *pio; pio 395 drivers/net/wireless/broadcom/b43legacy/pio.c pio = &dev->pio; pio 397 drivers/net/wireless/broadcom/b43legacy/pio.c b43legacy_destroy_pioqueue(pio->queue3); pio 398 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue3 = NULL; pio 399 drivers/net/wireless/broadcom/b43legacy/pio.c b43legacy_destroy_pioqueue(pio->queue2); pio 400 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue2 = NULL; pio 401 drivers/net/wireless/broadcom/b43legacy/pio.c b43legacy_destroy_pioqueue(pio->queue1); pio 402 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue1 = NULL; pio 403 drivers/net/wireless/broadcom/b43legacy/pio.c b43legacy_destroy_pioqueue(pio->queue0); pio 404 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue0 = NULL; pio 409 drivers/net/wireless/broadcom/b43legacy/pio.c struct b43legacy_pio *pio = &dev->pio; pio 416 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue0 = queue; pio 421 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue1 = queue; pio 426 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue2 = queue; pio 431 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue3 = queue; pio 442 drivers/net/wireless/broadcom/b43legacy/pio.c b43legacy_destroy_pioqueue(pio->queue2); pio 443 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue2 = NULL; pio 445 drivers/net/wireless/broadcom/b43legacy/pio.c b43legacy_destroy_pioqueue(pio->queue1); pio 446 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue1 = NULL; pio 448 drivers/net/wireless/broadcom/b43legacy/pio.c b43legacy_destroy_pioqueue(pio->queue0); pio 449 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue0 = NULL; pio 456 drivers/net/wireless/broadcom/b43legacy/pio.c struct b43legacy_pioqueue *queue = dev->pio.queue1; pio 654 drivers/net/wireless/broadcom/b43legacy/pio.c struct b43legacy_pio *pio; pio 657 drivers/net/wireless/broadcom/b43legacy/pio.c pio = &dev->pio; pio 658 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue0->tx_frozen = 1; pio 659 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue1->tx_frozen = 1; pio 660 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue2->tx_frozen = 1; pio 661 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue3->tx_frozen = 1; pio 666 drivers/net/wireless/broadcom/b43legacy/pio.c struct b43legacy_pio *pio; pio 669 drivers/net/wireless/broadcom/b43legacy/pio.c pio = &dev->pio; pio 670 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue0->tx_frozen = 0; pio 671 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue1->tx_frozen = 0; pio 672 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue2->tx_frozen = 0; pio 673 drivers/net/wireless/broadcom/b43legacy/pio.c pio->queue3->tx_frozen = 0; pio 674 drivers/net/wireless/broadcom/b43legacy/pio.c if (!list_empty(&pio->queue0->txqueue)) pio 675 drivers/net/wireless/broadcom/b43legacy/pio.c tasklet_schedule(&pio->queue0->txtask); pio 676 drivers/net/wireless/broadcom/b43legacy/pio.c if (!list_empty(&pio->queue1->txqueue)) pio 677 drivers/net/wireless/broadcom/b43legacy/pio.c tasklet_schedule(&pio->queue1->txtask); pio 678 drivers/net/wireless/broadcom/b43legacy/pio.c if (!list_empty(&pio->queue2->txqueue)) pio 679 drivers/net/wireless/broadcom/b43legacy/pio.c tasklet_schedule(&pio->queue2->txtask); pio 680 drivers/net/wireless/broadcom/b43legacy/pio.c if (!list_empty(&pio->queue3->txqueue)) pio 681 drivers/net/wireless/broadcom/b43legacy/pio.c tasklet_schedule(&pio->queue3->txtask); pio 359 drivers/pci/controller/pci-tegra.c struct resource pio; pio 807 drivers/pci/controller/pci-tegra.c pci_add_resource_offset(windows, &pcie->pio, pcie->offset.io); pio 818 drivers/pci/controller/pci-tegra.c pci_remap_iospace(&pcie->pio, pcie->io.start); pio 828 drivers/pci/controller/pci-tegra.c pci_unmap_iospace(&pcie->pio); pio 2182 drivers/pci/controller/pci-tegra.c memcpy(&pcie->pio, &res, sizeof(res)); pio 2183 drivers/pci/controller/pci-tegra.c pcie->pio.name = np->full_name; pio 3902 drivers/pci/pci.c phys_addr_t pci_pio_to_address(unsigned long pio) pio 3907 drivers/pci/pci.c if (pio >= MMIO_UPPER_LIMIT) pio 3910 drivers/pci/pci.c address = logic_pio_to_hwaddr(pio); pio 167 drivers/pinctrl/pinctrl-at91.c enum at91_mux (*get_periph)(void __iomem *pio, unsigned mask); pio 168 drivers/pinctrl/pinctrl-at91.c void (*mux_A_periph)(void __iomem *pio, unsigned mask); pio 169 drivers/pinctrl/pinctrl-at91.c void (*mux_B_periph)(void __iomem *pio, unsigned mask); pio 170 drivers/pinctrl/pinctrl-at91.c void (*mux_C_periph)(void __iomem *pio, unsigned mask); pio 171 drivers/pinctrl/pinctrl-at91.c void (*mux_D_periph)(void __iomem *pio, unsigned mask); pio 172 drivers/pinctrl/pinctrl-at91.c bool (*get_deglitch)(void __iomem *pio, unsigned pin); pio 173 drivers/pinctrl/pinctrl-at91.c void (*set_deglitch)(void __iomem *pio, unsigned mask, bool is_on); pio 174 drivers/pinctrl/pinctrl-at91.c bool (*get_debounce)(void __iomem *pio, unsigned pin, u32 *div); pio 175 drivers/pinctrl/pinctrl-at91.c void (*set_debounce)(void __iomem *pio, unsigned mask, bool is_on, u32 div); pio 176 drivers/pinctrl/pinctrl-at91.c bool (*get_pulldown)(void __iomem *pio, unsigned pin); pio 177 drivers/pinctrl/pinctrl-at91.c void (*set_pulldown)(void __iomem *pio, unsigned mask, bool is_on); pio 178 drivers/pinctrl/pinctrl-at91.c bool (*get_schmitt_trig)(void __iomem *pio, unsigned pin); pio 179 drivers/pinctrl/pinctrl-at91.c void (*disable_schmitt_trig)(void __iomem *pio, unsigned mask); pio 180 drivers/pinctrl/pinctrl-at91.c unsigned (*get_drivestrength)(void __iomem *pio, unsigned pin); pio 181 drivers/pinctrl/pinctrl-at91.c void (*set_drivestrength)(void __iomem *pio, unsigned pin, pio 183 drivers/pinctrl/pinctrl-at91.c unsigned (*get_slewrate)(void __iomem *pio, unsigned pin); pio 184 drivers/pinctrl/pinctrl-at91.c void (*set_slewrate)(void __iomem *pio, unsigned pin, u32 slewrate); pio 380 drivers/pinctrl/pinctrl-at91.c static void at91_mux_disable_interrupt(void __iomem *pio, unsigned mask) pio 382 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_IDR); pio 385 drivers/pinctrl/pinctrl-at91.c static unsigned at91_mux_get_pullup(void __iomem *pio, unsigned pin) pio 387 drivers/pinctrl/pinctrl-at91.c return !((readl_relaxed(pio + PIO_PUSR) >> pin) & 0x1); pio 390 drivers/pinctrl/pinctrl-at91.c static void at91_mux_set_pullup(void __iomem *pio, unsigned mask, bool on) pio 393 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_PPDDR); pio 395 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + (on ? PIO_PUER : PIO_PUDR)); pio 398 drivers/pinctrl/pinctrl-at91.c static bool at91_mux_get_output(void __iomem *pio, unsigned int pin, bool *val) pio 400 drivers/pinctrl/pinctrl-at91.c *val = (readl_relaxed(pio + PIO_ODSR) >> pin) & 0x1; pio 401 drivers/pinctrl/pinctrl-at91.c return (readl_relaxed(pio + PIO_OSR) >> pin) & 0x1; pio 404 drivers/pinctrl/pinctrl-at91.c static void at91_mux_set_output(void __iomem *pio, unsigned int mask, pio 407 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + (val ? PIO_SODR : PIO_CODR)); pio 408 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + (is_on ? PIO_OER : PIO_ODR)); pio 411 drivers/pinctrl/pinctrl-at91.c static unsigned at91_mux_get_multidrive(void __iomem *pio, unsigned pin) pio 413 drivers/pinctrl/pinctrl-at91.c return (readl_relaxed(pio + PIO_MDSR) >> pin) & 0x1; pio 416 drivers/pinctrl/pinctrl-at91.c static void at91_mux_set_multidrive(void __iomem *pio, unsigned mask, bool on) pio 418 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + (on ? PIO_MDER : PIO_MDDR)); pio 421 drivers/pinctrl/pinctrl-at91.c static void at91_mux_set_A_periph(void __iomem *pio, unsigned mask) pio 423 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_ASR); pio 426 drivers/pinctrl/pinctrl-at91.c static void at91_mux_set_B_periph(void __iomem *pio, unsigned mask) pio 428 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_BSR); pio 431 drivers/pinctrl/pinctrl-at91.c static void at91_mux_pio3_set_A_periph(void __iomem *pio, unsigned mask) pio 434 drivers/pinctrl/pinctrl-at91.c writel_relaxed(readl_relaxed(pio + PIO_ABCDSR1) & ~mask, pio 435 drivers/pinctrl/pinctrl-at91.c pio + PIO_ABCDSR1); pio 436 drivers/pinctrl/pinctrl-at91.c writel_relaxed(readl_relaxed(pio + PIO_ABCDSR2) & ~mask, pio 437 drivers/pinctrl/pinctrl-at91.c pio + PIO_ABCDSR2); pio 440 drivers/pinctrl/pinctrl-at91.c static void at91_mux_pio3_set_B_periph(void __iomem *pio, unsigned mask) pio 442 drivers/pinctrl/pinctrl-at91.c writel_relaxed(readl_relaxed(pio + PIO_ABCDSR1) | mask, pio 443 drivers/pinctrl/pinctrl-at91.c pio + PIO_ABCDSR1); pio 444 drivers/pinctrl/pinctrl-at91.c writel_relaxed(readl_relaxed(pio + PIO_ABCDSR2) & ~mask, pio 445 drivers/pinctrl/pinctrl-at91.c pio + PIO_ABCDSR2); pio 448 drivers/pinctrl/pinctrl-at91.c static void at91_mux_pio3_set_C_periph(void __iomem *pio, unsigned mask) pio 450 drivers/pinctrl/pinctrl-at91.c writel_relaxed(readl_relaxed(pio + PIO_ABCDSR1) & ~mask, pio + PIO_ABCDSR1); pio 451 drivers/pinctrl/pinctrl-at91.c writel_relaxed(readl_relaxed(pio + PIO_ABCDSR2) | mask, pio + PIO_ABCDSR2); pio 454 drivers/pinctrl/pinctrl-at91.c static void at91_mux_pio3_set_D_periph(void __iomem *pio, unsigned mask) pio 456 drivers/pinctrl/pinctrl-at91.c writel_relaxed(readl_relaxed(pio + PIO_ABCDSR1) | mask, pio + PIO_ABCDSR1); pio 457 drivers/pinctrl/pinctrl-at91.c writel_relaxed(readl_relaxed(pio + PIO_ABCDSR2) | mask, pio + PIO_ABCDSR2); pio 460 drivers/pinctrl/pinctrl-at91.c static enum at91_mux at91_mux_pio3_get_periph(void __iomem *pio, unsigned mask) pio 464 drivers/pinctrl/pinctrl-at91.c if (readl_relaxed(pio + PIO_PSR) & mask) pio 467 drivers/pinctrl/pinctrl-at91.c select = !!(readl_relaxed(pio + PIO_ABCDSR1) & mask); pio 468 drivers/pinctrl/pinctrl-at91.c select |= (!!(readl_relaxed(pio + PIO_ABCDSR2) & mask) << 1); pio 473 drivers/pinctrl/pinctrl-at91.c static enum at91_mux at91_mux_get_periph(void __iomem *pio, unsigned mask) pio 477 drivers/pinctrl/pinctrl-at91.c if (readl_relaxed(pio + PIO_PSR) & mask) pio 480 drivers/pinctrl/pinctrl-at91.c select = readl_relaxed(pio + PIO_ABSR) & mask; pio 485 drivers/pinctrl/pinctrl-at91.c static bool at91_mux_get_deglitch(void __iomem *pio, unsigned pin) pio 487 drivers/pinctrl/pinctrl-at91.c return (readl_relaxed(pio + PIO_IFSR) >> pin) & 0x1; pio 490 drivers/pinctrl/pinctrl-at91.c static void at91_mux_set_deglitch(void __iomem *pio, unsigned mask, bool is_on) pio 492 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + (is_on ? PIO_IFER : PIO_IFDR)); pio 495 drivers/pinctrl/pinctrl-at91.c static bool at91_mux_pio3_get_deglitch(void __iomem *pio, unsigned pin) pio 497 drivers/pinctrl/pinctrl-at91.c if ((readl_relaxed(pio + PIO_IFSR) >> pin) & 0x1) pio 498 drivers/pinctrl/pinctrl-at91.c return !((readl_relaxed(pio + PIO_IFSCSR) >> pin) & 0x1); pio 503 drivers/pinctrl/pinctrl-at91.c static void at91_mux_pio3_set_deglitch(void __iomem *pio, unsigned mask, bool is_on) pio 506 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_IFSCDR); pio 507 drivers/pinctrl/pinctrl-at91.c at91_mux_set_deglitch(pio, mask, is_on); pio 510 drivers/pinctrl/pinctrl-at91.c static bool at91_mux_pio3_get_debounce(void __iomem *pio, unsigned pin, u32 *div) pio 512 drivers/pinctrl/pinctrl-at91.c *div = readl_relaxed(pio + PIO_SCDR); pio 514 drivers/pinctrl/pinctrl-at91.c return ((readl_relaxed(pio + PIO_IFSR) >> pin) & 0x1) && pio 515 drivers/pinctrl/pinctrl-at91.c ((readl_relaxed(pio + PIO_IFSCSR) >> pin) & 0x1); pio 518 drivers/pinctrl/pinctrl-at91.c static void at91_mux_pio3_set_debounce(void __iomem *pio, unsigned mask, pio 522 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_IFSCER); pio 523 drivers/pinctrl/pinctrl-at91.c writel_relaxed(div & PIO_SCDR_DIV, pio + PIO_SCDR); pio 524 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_IFER); pio 526 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_IFSCDR); pio 529 drivers/pinctrl/pinctrl-at91.c static bool at91_mux_pio3_get_pulldown(void __iomem *pio, unsigned pin) pio 531 drivers/pinctrl/pinctrl-at91.c return !((readl_relaxed(pio + PIO_PPDSR) >> pin) & 0x1); pio 534 drivers/pinctrl/pinctrl-at91.c static void at91_mux_pio3_set_pulldown(void __iomem *pio, unsigned mask, bool is_on) pio 537 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_PUDR); pio 539 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + (is_on ? PIO_PPDER : PIO_PPDDR)); pio 542 drivers/pinctrl/pinctrl-at91.c static void at91_mux_pio3_disable_schmitt_trig(void __iomem *pio, unsigned mask) pio 544 drivers/pinctrl/pinctrl-at91.c writel_relaxed(readl_relaxed(pio + PIO_SCHMITT) | mask, pio + PIO_SCHMITT); pio 547 drivers/pinctrl/pinctrl-at91.c static bool at91_mux_pio3_get_schmitt_trig(void __iomem *pio, unsigned pin) pio 549 drivers/pinctrl/pinctrl-at91.c return (readl_relaxed(pio + PIO_SCHMITT) >> pin) & 0x1; pio 561 drivers/pinctrl/pinctrl-at91.c static unsigned at91_mux_sama5d3_get_drivestrength(void __iomem *pio, pio 564 drivers/pinctrl/pinctrl-at91.c unsigned tmp = read_drive_strength(pio + pio 575 drivers/pinctrl/pinctrl-at91.c static unsigned at91_mux_sam9x5_get_drivestrength(void __iomem *pio, pio 578 drivers/pinctrl/pinctrl-at91.c unsigned tmp = read_drive_strength(pio + pio 588 drivers/pinctrl/pinctrl-at91.c static unsigned at91_mux_sam9x60_get_drivestrength(void __iomem *pio, pio 591 drivers/pinctrl/pinctrl-at91.c unsigned tmp = readl_relaxed(pio + SAM9X60_PIO_DRIVER1); pio 599 drivers/pinctrl/pinctrl-at91.c static unsigned at91_mux_sam9x60_get_slewrate(void __iomem *pio, unsigned pin) pio 601 drivers/pinctrl/pinctrl-at91.c unsigned tmp = readl_relaxed(pio + SAM9X60_PIO_SLEWR); pio 620 drivers/pinctrl/pinctrl-at91.c static void at91_mux_sama5d3_set_drivestrength(void __iomem *pio, unsigned pin, pio 628 drivers/pinctrl/pinctrl-at91.c set_drive_strength(pio + sama5d3_get_drive_register(pin), pin, setting); pio 631 drivers/pinctrl/pinctrl-at91.c static void at91_mux_sam9x5_set_drivestrength(void __iomem *pio, unsigned pin, pio 642 drivers/pinctrl/pinctrl-at91.c set_drive_strength(pio + at91sam9x5_get_drive_register(pin), pin, pio 646 drivers/pinctrl/pinctrl-at91.c static void at91_mux_sam9x60_set_drivestrength(void __iomem *pio, unsigned pin, pio 656 drivers/pinctrl/pinctrl-at91.c tmp = readl_relaxed(pio + SAM9X60_PIO_DRIVER1); pio 664 drivers/pinctrl/pinctrl-at91.c writel_relaxed(tmp, pio + SAM9X60_PIO_DRIVER1); pio 667 drivers/pinctrl/pinctrl-at91.c static void at91_mux_sam9x60_set_slewrate(void __iomem *pio, unsigned pin, pio 675 drivers/pinctrl/pinctrl-at91.c tmp = readl_relaxed(pio + SAM9X60_PIO_SLEWR); pio 682 drivers/pinctrl/pinctrl-at91.c writel_relaxed(tmp, pio + SAM9X60_PIO_SLEWR); pio 809 drivers/pinctrl/pinctrl-at91.c static void at91_mux_gpio_disable(void __iomem *pio, unsigned mask) pio 811 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_PDR); pio 814 drivers/pinctrl/pinctrl-at91.c static void at91_mux_gpio_enable(void __iomem *pio, unsigned mask, bool input) pio 816 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_PER); pio 817 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + (input ? PIO_ODR : PIO_OER)); pio 829 drivers/pinctrl/pinctrl-at91.c void __iomem *pio; pio 846 drivers/pinctrl/pinctrl-at91.c pio = pin_to_controller(info, pin->bank); pio 848 drivers/pinctrl/pinctrl-at91.c if (!pio) pio 852 drivers/pinctrl/pinctrl-at91.c at91_mux_disable_interrupt(pio, mask); pio 855 drivers/pinctrl/pinctrl-at91.c at91_mux_gpio_enable(pio, mask, 1); pio 858 drivers/pinctrl/pinctrl-at91.c info->ops->mux_A_periph(pio, mask); pio 861 drivers/pinctrl/pinctrl-at91.c info->ops->mux_B_periph(pio, mask); pio 866 drivers/pinctrl/pinctrl-at91.c info->ops->mux_C_periph(pio, mask); pio 871 drivers/pinctrl/pinctrl-at91.c info->ops->mux_D_periph(pio, mask); pio 875 drivers/pinctrl/pinctrl-at91.c at91_mux_gpio_disable(pio, mask); pio 963 drivers/pinctrl/pinctrl-at91.c void __iomem *pio; pio 970 drivers/pinctrl/pinctrl-at91.c pio = pin_to_controller(info, pin_to_bank(pin_id)); pio 972 drivers/pinctrl/pinctrl-at91.c if (!pio) pio 977 drivers/pinctrl/pinctrl-at91.c if (at91_mux_get_multidrive(pio, pin)) pio 980 drivers/pinctrl/pinctrl-at91.c if (at91_mux_get_pullup(pio, pin)) pio 983 drivers/pinctrl/pinctrl-at91.c if (info->ops->get_deglitch && info->ops->get_deglitch(pio, pin)) pio 985 drivers/pinctrl/pinctrl-at91.c if (info->ops->get_debounce && info->ops->get_debounce(pio, pin, &div)) pio 987 drivers/pinctrl/pinctrl-at91.c if (info->ops->get_pulldown && info->ops->get_pulldown(pio, pin)) pio 989 drivers/pinctrl/pinctrl-at91.c if (info->ops->get_schmitt_trig && info->ops->get_schmitt_trig(pio, pin)) pio 992 drivers/pinctrl/pinctrl-at91.c *config |= (info->ops->get_drivestrength(pio, pin) pio 995 drivers/pinctrl/pinctrl-at91.c *config |= (info->ops->get_slewrate(pio, pin) << SLEWRATE_SHIFT); pio 996 drivers/pinctrl/pinctrl-at91.c if (at91_mux_get_output(pio, pin, &out)) pio 1008 drivers/pinctrl/pinctrl-at91.c void __iomem *pio; pio 1019 drivers/pinctrl/pinctrl-at91.c pio = pin_to_controller(info, pin_to_bank(pin_id)); pio 1021 drivers/pinctrl/pinctrl-at91.c if (!pio) pio 1030 drivers/pinctrl/pinctrl-at91.c at91_mux_set_output(pio, mask, config & OUTPUT, pio 1032 drivers/pinctrl/pinctrl-at91.c at91_mux_set_pullup(pio, mask, config & PULL_UP); pio 1033 drivers/pinctrl/pinctrl-at91.c at91_mux_set_multidrive(pio, mask, config & MULTI_DRIVE); pio 1035 drivers/pinctrl/pinctrl-at91.c info->ops->set_deglitch(pio, mask, config & DEGLITCH); pio 1037 drivers/pinctrl/pinctrl-at91.c info->ops->set_debounce(pio, mask, config & DEBOUNCE, pio 1040 drivers/pinctrl/pinctrl-at91.c info->ops->set_pulldown(pio, mask, config & PULL_DOWN); pio 1042 drivers/pinctrl/pinctrl-at91.c info->ops->disable_schmitt_trig(pio, mask); pio 1044 drivers/pinctrl/pinctrl-at91.c info->ops->set_drivestrength(pio, pin, pio 1048 drivers/pinctrl/pinctrl-at91.c info->ops->set_slewrate(pio, pin, pio 1412 drivers/pinctrl/pinctrl-at91.c void __iomem *pio = at91_gpio->regbase; pio 1416 drivers/pinctrl/pinctrl-at91.c osr = readl_relaxed(pio + PIO_OSR); pio 1423 drivers/pinctrl/pinctrl-at91.c void __iomem *pio = at91_gpio->regbase; pio 1426 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_ODR); pio 1433 drivers/pinctrl/pinctrl-at91.c void __iomem *pio = at91_gpio->regbase; pio 1437 drivers/pinctrl/pinctrl-at91.c pdsr = readl_relaxed(pio + PIO_PDSR); pio 1445 drivers/pinctrl/pinctrl-at91.c void __iomem *pio = at91_gpio->regbase; pio 1448 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + (val ? PIO_SODR : PIO_CODR)); pio 1455 drivers/pinctrl/pinctrl-at91.c void __iomem *pio = at91_gpio->regbase; pio 1462 drivers/pinctrl/pinctrl-at91.c writel_relaxed(set_mask, pio + PIO_SODR); pio 1463 drivers/pinctrl/pinctrl-at91.c writel_relaxed(clear_mask, pio + PIO_CODR); pio 1470 drivers/pinctrl/pinctrl-at91.c void __iomem *pio = at91_gpio->regbase; pio 1473 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + (val ? PIO_SODR : PIO_CODR)); pio 1474 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_OER); pio 1485 drivers/pinctrl/pinctrl-at91.c void __iomem *pio = at91_gpio->regbase; pio 1494 drivers/pinctrl/pinctrl-at91.c mode = at91_gpio->ops->get_periph(pio, mask); pio 1500 drivers/pinctrl/pinctrl-at91.c readl_relaxed(pio + PIO_OSR) & mask ? pio 1503 drivers/pinctrl/pinctrl-at91.c readl_relaxed(pio + PIO_PDSR) & mask ? pio 1532 drivers/pinctrl/pinctrl-at91.c void __iomem *pio = at91_gpio->regbase; pio 1535 drivers/pinctrl/pinctrl-at91.c if (pio) pio 1536 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_IDR); pio 1542 drivers/pinctrl/pinctrl-at91.c void __iomem *pio = at91_gpio->regbase; pio 1545 drivers/pinctrl/pinctrl-at91.c if (pio) pio 1546 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_IER); pio 1564 drivers/pinctrl/pinctrl-at91.c void __iomem *pio = at91_gpio->regbase; pio 1570 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_ESR); pio 1571 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_REHLSR); pio 1575 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_ESR); pio 1576 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_FELLSR); pio 1580 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_LSR); pio 1581 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_FELLSR); pio 1585 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_LSR); pio 1586 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_REHLSR); pio 1594 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_AIMDR); pio 1603 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + PIO_AIMER); pio 1642 drivers/pinctrl/pinctrl-at91.c void __iomem *pio; pio 1647 drivers/pinctrl/pinctrl-at91.c pio = gpio_chips[i]->regbase; pio 1649 drivers/pinctrl/pinctrl-at91.c backups[i] = readl_relaxed(pio + PIO_IMR); pio 1650 drivers/pinctrl/pinctrl-at91.c writel_relaxed(backups[i], pio + PIO_IDR); pio 1651 drivers/pinctrl/pinctrl-at91.c writel_relaxed(wakeups[i], pio + PIO_IER); pio 1666 drivers/pinctrl/pinctrl-at91.c void __iomem *pio; pio 1671 drivers/pinctrl/pinctrl-at91.c pio = gpio_chips[i]->regbase; pio 1676 drivers/pinctrl/pinctrl-at91.c writel_relaxed(wakeups[i], pio + PIO_IDR); pio 1677 drivers/pinctrl/pinctrl-at91.c writel_relaxed(backups[i], pio + PIO_IER); pio 1690 drivers/pinctrl/pinctrl-at91.c void __iomem *pio = at91_gpio->regbase; pio 1700 drivers/pinctrl/pinctrl-at91.c isr = readl_relaxed(pio + PIO_ISR) & readl_relaxed(pio + PIO_IMR); pio 1705 drivers/pinctrl/pinctrl-at91.c pio = at91_gpio->regbase; pio 628 drivers/scsi/pcmcia/sym53c500_cs.c int pio; pio 633 drivers/scsi/pcmcia/sym53c500_cs.c pio = simple_strtoul(buf, NULL, 0); pio 634 drivers/scsi/pcmcia/sym53c500_cs.c if (pio == 0 || pio == 1) { pio 635 drivers/scsi/pcmcia/sym53c500_cs.c data->fast_pio = pio; pio 1937 drivers/scsi/qla2xxx/qla_os.c resource_size_t pio; pio 1951 drivers/scsi/qla2xxx/qla_os.c pio = pci_resource_start(ha->pdev, 0); pio 1957 drivers/scsi/qla2xxx/qla_os.c pio = 0; pio 1963 drivers/scsi/qla2xxx/qla_os.c pio = 0; pio 1965 drivers/scsi/qla2xxx/qla_os.c ha->pio_address = pio; pio 5556 drivers/scsi/qla4xxx/ql4_os.c unsigned long pio, pio_len, pio_flags; pio 5559 drivers/scsi/qla4xxx/ql4_os.c pio = pci_resource_start(ha->pdev, 0); pio 5566 drivers/scsi/qla4xxx/ql4_os.c pio = 0; pio 5570 drivers/scsi/qla4xxx/ql4_os.c pio = 0; pio 5598 drivers/scsi/qla4xxx/ql4_os.c ha->pio_address = pio; pio 149 drivers/soc/fsl/qe/qe_io.c struct device_node *pio; pio 165 drivers/soc/fsl/qe/qe_io.c pio = of_find_node_by_phandle(*ph); pio 167 drivers/soc/fsl/qe/qe_io.c pio_map = of_get_property(pio, "pio-map", &pio_map_len); pio 185 drivers/soc/fsl/qe/qe_io.c of_node_put(pio); pio 178 drivers/spi/spi-mxs.c u32 pio[4]; pio 217 drivers/spi/spi-mxs.c dma_xfer[sg_count].pio[0] = ctrl0; pio 218 drivers/spi/spi-mxs.c dma_xfer[sg_count].pio[3] = min; pio 242 drivers/spi/spi-mxs.c (struct scatterlist *)dma_xfer[sg_count].pio, pio 554 drivers/tty/serial/mxs-auart.c u32 pio; pio 557 drivers/tty/serial/mxs-auart.c pio = AUART_CTRL1_XFER_COUNT(size); pio 558 drivers/tty/serial/mxs-auart.c desc = dmaengine_prep_slave_sg(channel, (struct scatterlist *)&pio, pio 876 drivers/tty/serial/mxs-auart.c u32 pio[1]; pio 879 drivers/tty/serial/mxs-auart.c pio[0] = AUART_CTRL0_RXTO_ENABLE pio 882 drivers/tty/serial/mxs-auart.c desc = dmaengine_prep_slave_sg(channel, (struct scatterlist *)pio, pio 107 drivers/usb/musb/tusb6010_omap.c unsigned long remaining, flags, pio; pio 129 drivers/usb/musb/tusb6010_omap.c pio = chdat->len - channel->actual_len; pio 134 drivers/usb/musb/tusb6010_omap.c if (pio > 0 && pio < 32) { pio 137 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "Using PIO for remaining %lu bytes\n", pio); pio 143 drivers/usb/musb/tusb6010_omap.c musb_write_fifo(hw_ep, pio, buf); pio 148 drivers/usb/musb/tusb6010_omap.c musb_read_fifo(hw_ep, pio, buf); pio 150 drivers/usb/musb/tusb6010_omap.c channel->actual_len += pio; pio 73 drivers/video/fbdev/mb862xx/mb862xxfb.h void __iomem *pio; pio 637 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c par->pio = par->mmio_base + MB862XX_PIO_BASE; pio 642 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c rev = inreg(pio, GC_REVISION); pio 851 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c par->pio = par->mmio_base + MB862XX_PIO_BASE; pio 337 drivers/w1/slaves/w1_ds28e04.c static BIN_ATTR_RW(pio, 1); pio 999 include/linux/ata.h static inline bool ata_id_pio_need_iordy(const u16 *id, const u8 pio) pio 1002 include/linux/ata.h if (pio > 4 && ata_id_is_cfa(id)) pio 1005 include/linux/ata.h if (pio > 2) pio 17 include/linux/dma/mxs-dma.h struct dma_chan *chan, u32 *pio, unsigned int npio, pio 20 include/linux/dma/mxs-dma.h return dmaengine_prep_slave_sg(chan, (struct scatterlist *)pio, npio, pio 1569 include/linux/ide.h static inline void ide_set_pio(ide_drive_t *drive, u8 pio) { ; } pio 770 include/linux/libata.h u32 pio; pio 121 include/linux/logic_pio.h resource_size_t logic_pio_to_hwaddr(unsigned long pio); pio 1327 include/linux/pci.h phys_addr_t pci_pio_to_address(unsigned long pio); pio 427 include/uapi/linux/kvm.h __u32 pio; pio 436 include/uapi/linux/kvm.h __u32 pio; pio 140 lib/logic_pio.c static struct logic_pio_hwaddr *find_io_range(unsigned long pio) pio 146 lib/logic_pio.c if (in_range(pio, range->io_start, range->size)) { pio 154 lib/logic_pio.c pr_err("PIO entry token 0x%lx invalid\n", pio); pio 168 lib/logic_pio.c resource_size_t logic_pio_to_hwaddr(unsigned long pio) pio 172 lib/logic_pio.c range = find_io_range(pio); pio 174 lib/logic_pio.c return range->hw_start + pio - range->io_start; pio 721 sound/pci/asihpi/hpi_internal.h struct hpi_punchinout pio; pio 648 sound/pci/asihpi/hpifunc.c hm.u.d.u.pio.punch_in_sample = punch_in_sample; pio 649 sound/pci/asihpi/hpifunc.c hm.u.d.u.pio.punch_out_sample = punch_out_sample; pio 427 tools/include/uapi/linux/kvm.h __u32 pio; pio 436 tools/include/uapi/linux/kvm.h __u32 pio; pio 89 virt/kvm/coalesced_mmio.c ring->coalesced_mmio[insert].pio = dev->zone.pio; pio 147 virt/kvm/coalesced_mmio.c if (zone->pio != 1 && zone->pio != 0) pio 161 virt/kvm/coalesced_mmio.c zone->pio ? KVM_PIO_BUS : KVM_MMIO_BUS, pio 182 virt/kvm/coalesced_mmio.c if (zone->pio != 1 && zone->pio != 0) pio 188 virt/kvm/coalesced_mmio.c if (zone->pio == dev->zone.pio && pio 191 virt/kvm/coalesced_mmio.c zone->pio ? KVM_PIO_BUS : KVM_MMIO_BUS, &dev->dev);