/linux-6.1.9/drivers/gpio/ |
D | gpio-pcie-idio-24.c | 157 if (ioread8(&idio24gpio->reg->ctl) & out_mode_mask) in idio_24_gpio_get_direction() 176 ctl_state = ioread8(&idio24gpio->reg->ctl) & ~out_mode_mask; in idio_24_gpio_direction_input() 198 ctl_state = ioread8(&idio24gpio->reg->ctl) | out_mode_mask; in idio_24_gpio_direction_output() 216 return !!(ioread8(&idio24gpio->reg->out0_7) & offset_mask); in idio_24_gpio_get() 219 return !!(ioread8(&idio24gpio->reg->out8_15) & offset_mask); in idio_24_gpio_get() 222 return !!(ioread8(&idio24gpio->reg->out16_23) & offset_mask); in idio_24_gpio_get() 226 return !!(ioread8(&idio24gpio->reg->in0_7) & offset_mask); in idio_24_gpio_get() 229 return !!(ioread8(&idio24gpio->reg->in8_15) & offset_mask); in idio_24_gpio_get() 232 return !!(ioread8(&idio24gpio->reg->in16_23) & offset_mask); in idio_24_gpio_get() 235 if (ioread8(&idio24gpio->reg->ctl) & out_mode_mask) in idio_24_gpio_get() [all …]
|
D | gpio-pci-idio-16.c | 88 return !!(ioread8(&idio16gpio->reg->out0_7) & mask); in idio_16_gpio_get() 91 return !!(ioread8(&idio16gpio->reg->out8_15) & (mask >> 8)); in idio_16_gpio_get() 94 return !!(ioread8(&idio16gpio->reg->in0_7) & (mask >> 16)); in idio_16_gpio_get() 96 return !!(ioread8(&idio16gpio->reg->in8_15) & (mask >> 24)); in idio_16_gpio_get() 117 port_state = ioread8(port_addr) & gpio_mask; in idio_16_gpio_get_multiple() 146 out_state = ioread8(base) | mask; in idio_16_gpio_set() 148 out_state = ioread8(base) & ~mask; in idio_16_gpio_set() 178 out_state = ioread8(port_addr) & ~gpio_mask; in idio_16_gpio_set_multiple() 221 ioread8(&idio16gpio->reg->irq_ctl); in idio_16_irq_unmask() 254 irq_status = ioread8(&idio16gpio->reg->irq_status); in idio_16_irq_handler()
|
D | gpio-amd8111.c | 80 agp->orig[offset] = ioread8(agp->pm + AMD_REG_GPIO(offset)) & in amd_gpio_request() 104 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_set() 117 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_get() 131 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_dirout() 148 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_dirin()
|
D | gpio-104-idio-16.c | 107 return !!(ioread8(&idio16gpio->reg->in0_7) & mask); in idio_16_gpio_get() 109 return !!(ioread8(&idio16gpio->reg->in8_15) & (mask>>8)); in idio_16_gpio_get() 119 *bits |= (unsigned long)ioread8(&idio16gpio->reg->in0_7) << 16; in idio_16_gpio_get_multiple() 121 *bits |= (unsigned long)ioread8(&idio16gpio->reg->in8_15) << 24; in idio_16_gpio_get_multiple() 207 ioread8(&idio16gpio->reg->irq_ctl); in idio_16_irq_unmask()
|
/linux-6.1.9/drivers/uio/ |
D | uio_aec.c | 45 unsigned char status = ioread8(int_flag); in aectc_irq() 50 status = ioread8(dev_info->priv + MAILBOX); in aectc_irq() 61 ioread8(i->priv + 0x01), in print_board_data() 62 ioread8(i->priv + 0x00), in print_board_data() 63 ioread8(i->priv + 0x03), in print_board_data() 64 ioread8(i->priv + 0x02), in print_board_data() 65 ioread8(i->priv + 0x06), in print_board_data() 66 ioread8(i->priv + 0x07)); in print_board_data() 106 if (!(ioread8(info->priv + INTA_DRVR_ADDR) in probe() 131 ioread8(info->priv + MAILBOX); in remove()
|
/linux-6.1.9/drivers/ata/ |
D | pata_ns87415.c | 131 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ns87415_bmdma_setup() 187 iowrite8((ioread8(mmio + ATA_DMA_CMD) | ATA_DMA_INTR | ATA_DMA_ERR), in ns87415_irq_clear() 231 tmp = ioread8(port); in ns87560_read_buggy() 268 tf->error = ioread8(ioaddr->error_addr); in ns87560_tf_read() 269 tf->nsect = ioread8(ioaddr->nsect_addr); in ns87560_tf_read() 270 tf->lbal = ioread8(ioaddr->lbal_addr); in ns87560_tf_read() 271 tf->lbam = ioread8(ioaddr->lbam_addr); in ns87560_tf_read() 272 tf->lbah = ioread8(ioaddr->lbah_addr); in ns87560_tf_read() 277 tf->hob_feature = ioread8(ioaddr->error_addr); in ns87560_tf_read() 278 tf->hob_nsect = ioread8(ioaddr->nsect_addr); in ns87560_tf_read() [all …]
|
D | pata_pdc202xx_old.c | 190 iowrite8(ioread8(clock) | sel66, clock); in pdc2026x_bmdma_start() 192 iowrite8(ioread8(clock) & ~sel66, clock); in pdc2026x_bmdma_start() 240 iowrite8(ioread8(clock) & ~sel66, clock); in pdc2026x_bmdma_stop() 244 iowrite8(ioread8(clock) & ~sel66, clock); in pdc2026x_bmdma_stop() 268 u8 burst = ioread8(bmdma + 0x1f); in pdc2026x_port_start()
|
D | pata_legacy.c | 345 ioread8(ap->ioaddr.nsect_addr); in pdc_data_xfer_vlb() 346 ioread8(ap->ioaddr.nsect_addr); in pdc_data_xfer_vlb() 347 ioread8(ap->ioaddr.nsect_addr); in pdc_data_xfer_vlb() 404 ioread8(ap->ioaddr.status_addr); in ht6560a_set_piomode() 446 ioread8(ap->ioaddr.status_addr); in ht6560b_set_piomode() 500 clock = 1000000000 / khz[ioread8(ap->ioaddr.lbah_addr) & 0x03]; in opti82c611a_set_piomode() 518 rc = ioread8(ap->ioaddr.lbal_addr); in opti82c611a_set_piomode() 528 rc = ioread8(ap->ioaddr.device_addr); in opti82c611a_set_piomode() 538 rc = ioread8(ap->ioaddr.lbal_addr); in opti82c611a_set_piomode() 597 rc = ioread8(ap->ioaddr.lbal_addr); in opti82c46x_set_piomode() [all …]
|
D | libata-sff.c | 66 return ioread8(ap->ioaddr.status_addr); in ata_sff_check_status() 93 tmp = ioread8(ap->ioaddr.altstatus_addr); in ata_sff_altstatus() 453 tf->error = ioread8(ioaddr->error_addr); in ata_sff_tf_read() 454 tf->nsect = ioread8(ioaddr->nsect_addr); in ata_sff_tf_read() 455 tf->lbal = ioread8(ioaddr->lbal_addr); in ata_sff_tf_read() 456 tf->lbam = ioread8(ioaddr->lbam_addr); in ata_sff_tf_read() 457 tf->lbah = ioread8(ioaddr->lbah_addr); in ata_sff_tf_read() 458 tf->device = ioread8(ioaddr->device_addr); in ata_sff_tf_read() 463 tf->hob_feature = ioread8(ioaddr->error_addr); in ata_sff_tf_read() 464 tf->hob_nsect = ioread8(ioaddr->nsect_addr); in ata_sff_tf_read() [all …]
|
/linux-6.1.9/drivers/staging/vt6655/ |
D | mac.c | 44 reg_value = ioread8(iobase + reg_offset); in vt6655_mac_reg_bits_on() 60 reg_value = ioread8(iobase + reg_offset); in vt6655_mac_reg_bits_off() 76 reg_value = ioread8(iobase + MAC_REG_STICKHW); in vt6655_mac_clear_stck_ds() 102 return !(ioread8(io_base + reg_offset) & mask); in vt6655_mac_is_reg_bits_off() 168 iowrite8((ioread8(io_base + MAC_REG_TEST) & 0x3f) | loopback_mode, io_base + MAC_REG_TEST); in vt6655_mac_set_loopback_mode() 274 if (!(ioread8(io_base + MAC_REG_HOSTCR) & HOSTCR_SOFTRST)) in MACbSoftwareReset() 356 if (!(ioread8(io_base + MAC_REG_HOSTCR) & HOSTCR_RXONST)) in vt6655_mac_safe_rx_off() 412 if (!(ioread8(io_base + MAC_REG_HOSTCR) & HOSTCR_TXONST)) in vt6655_mac_safe_tx_off() 536 org_dma_ctl = ioread8(io_base + MAC_REG_RXDMACTL0); in vt6655_mac_set_curr_rx_0_desc_addr() 541 if (!(ioread8(io_base + MAC_REG_RXDMACTL0) & DMACTL_RUN)) in vt6655_mac_set_curr_rx_0_desc_addr() [all …]
|
D | srom.c | 68 byOrg = ioread8(iobase + MAC_REG_I2MCFG); in SROMbyReadEmbedded() 79 byWait = ioread8(iobase + MAC_REG_I2MCSR); in SROMbyReadEmbedded() 89 byData = ioread8(iobase + MAC_REG_I2MDIPT); in SROMbyReadEmbedded()
|
/linux-6.1.9/drivers/char/tpm/ |
D | tpm_tis_synquacer.c | 45 *result++ = ioread8(phy->iobase + addr); in tpm_tis_synquacer_read_bytes() 48 result[1] = ioread8(phy->iobase + addr + 1); in tpm_tis_synquacer_read_bytes() 49 result[0] = ioread8(phy->iobase + addr); in tpm_tis_synquacer_read_bytes() 52 result[3] = ioread8(phy->iobase + addr + 3); in tpm_tis_synquacer_read_bytes() 53 result[2] = ioread8(phy->iobase + addr + 2); in tpm_tis_synquacer_read_bytes() 54 result[1] = ioread8(phy->iobase + addr + 1); in tpm_tis_synquacer_read_bytes() 55 result[0] = ioread8(phy->iobase + addr); in tpm_tis_synquacer_read_bytes()
|
D | tpm_atmel.c | 46 status = ioread8(priv->iobase + 1); in tpm_atml_recv() 51 *buf++ = ioread8(priv->iobase); in tpm_atml_recv() 62 status = ioread8(priv->iobase + 1); in tpm_atml_recv() 73 status = ioread8(priv->iobase + 1); in tpm_atml_recv() 78 *buf++ = ioread8(priv->iobase); in tpm_atml_recv() 82 status = ioread8(priv->iobase + 1); in tpm_atml_recv() 117 return ioread8(priv->iobase + 1); in tpm_atml_status()
|
/linux-6.1.9/drivers/ipack/ |
D | ipack.c | 362 if ((ioread8(idmem + 1) == 'I') && in ipack_device_read_id() 363 (ioread8(idmem + 3) == 'P') && in ipack_device_read_id() 364 (ioread8(idmem + 5) == 'A') && in ipack_device_read_id() 365 ((ioread8(idmem + 7) == 'C') || in ipack_device_read_id() 366 (ioread8(idmem + 7) == 'H'))) { in ipack_device_read_id() 368 dev->id_avail = ioread8(idmem + 0x15); in ipack_device_read_id() 373 } else if ((ioread8(idmem + 0) == 'I') && in ipack_device_read_id() 374 (ioread8(idmem + 1) == 'V') && in ipack_device_read_id() 375 (ioread8(idmem + 2) == 'A') && in ipack_device_read_id() 376 (ioread8(idmem + 3) == 'T') && in ipack_device_read_id() [all …]
|
/linux-6.1.9/drivers/platform/x86/ |
D | ibm_rtl.c | 100 if (ioread8(&rtl_table->rt_status) != value) { in ibm_rtl_write() 105 cmd_port_val = ioread8(&rtl_table->cmd_port_value); in ibm_rtl_write() 121 while (ioread8(&rtl_table->command)) { in ibm_rtl_write() 132 if (ioread8(&rtl_table->command_status)) { in ibm_rtl_write() 146 return sprintf(buf, "%d\n", (int)ioread8(&rtl_table->version)); in rtl_show_version() 153 return sprintf(buf, "%d\n", ioread8(&rtl_table->rt_status)); in rtl_show_state() 273 rtl_cmd_width = ioread8(&rtl_table->cmd_granularity); in ibm_rtl_init() 274 rtl_cmd_type = ioread8(&rtl_table->cmd_address_type); in ibm_rtl_init()
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-npcm7xx.c | 343 u8 i2cctl3 = ioread8(bus->reg + NPCM_I2CCTL3); in npcm_i2c_select_bank() 376 return ioread8(bus->reg + NPCM_I2CSDA); in npcm_i2c_rd_byte() 383 return !!(I2CCTL3_SCL_LVL & ioread8(bus->reg + NPCM_I2CCTL3)); in npcm_i2c_get_SCL() 390 return !!(I2CCTL3_SDA_LVL & ioread8(bus->reg + NPCM_I2CCTL3)); in npcm_i2c_get_SDA() 421 i2cctl2 = ioread8(bus->reg + NPCM_I2CCTL2); in npcm_i2c_disable() 430 u8 i2cctl2 = ioread8(bus->reg + NPCM_I2CCTL2); in npcm_i2c_enable() 443 val = ioread8(bus->reg + NPCM_I2CCST3); in npcm_i2c_eob_int() 447 val = ioread8(bus->reg + NPCM_I2CCTL1); in npcm_i2c_eob_int() 460 tx_fifo_sts = ioread8(bus->reg + NPCM_I2CTXF_STS); in npcm_i2c_tx_fifo_empty() 473 rx_fifo_sts = ioread8(bus->reg + NPCM_I2CRXF_STS); in npcm_i2c_rx_fifo_full() [all …]
|
/linux-6.1.9/arch/alpha/kernel/ |
D | io.c | 17 ioread8(const void __iomem *addr) in ioread8() function 21 ret = IO_CONCAT(__IO_PREFIX,ioread8)(addr); in ioread8() 77 EXPORT_SYMBOL(ioread8); 88 return ioread8(ioport_map(port, 1)); in inb() 283 *(unsigned char *)dst = ioread8(port); in ioread8_rep() 290 w = ioread8(port); in ioread8_rep() 291 w |= ioread8(port) << 8; in ioread8_rep() 292 w |= ioread8(port) << 16; in ioread8_rep() 293 w |= ioread8(port) << 24; in ioread8_rep() 300 *(unsigned char *)dst = ioread8(port); in ioread8_rep()
|
/linux-6.1.9/drivers/iio/addac/ |
D | stx104.c | 106 adc_config = ioread8(®->acfg); in stx104_read_raw() 124 while (ioread8(®->cir_asr) & BIT(7)); in stx104_read_raw() 130 adc_config = ioread8(®->acfg); in stx104_read_raw() 137 adc_config = ioread8(®->acfg); in stx104_read_raw() 251 return !!(ioread8(stx104gpio->base) & BIT(offset)); in stx104_gpio_get() 259 *bits = ioread8(stx104gpio->base); in stx104_gpio_get_multiple() 344 if (ioread8(&priv->reg->cir_asr) & BIT(5)) { in stx104_probe()
|
/linux-6.1.9/drivers/media/pci/cobalt/ |
D | cobalt-i2c.c | 139 status = ioread8(®s->cr_sr); in cobalt_tx_bytes() 144 status = ioread8(®s->cr_sr); in cobalt_tx_bytes() 198 status = ioread8(®s->cr_sr); in cobalt_rx_bytes() 203 status = ioread8(®s->cr_sr); in cobalt_rx_bytes() 213 data[i] = ioread8(®s->txr_rxr); in cobalt_rx_bytes() 336 status = ioread8(®s->cr_sr); in cobalt_i2c_init()
|
/linux-6.1.9/drivers/tty/serial/ |
D | pch_uart.c | 315 "IER: \t0x%02x\n", ioread8(priv->membase + UART_IER)); in port_show_regs() 317 "IIR: \t0x%02x\n", ioread8(priv->membase + UART_IIR)); in port_show_regs() 319 "LCR: \t0x%02x\n", ioread8(priv->membase + UART_LCR)); in port_show_regs() 321 "MCR: \t0x%02x\n", ioread8(priv->membase + UART_MCR)); in port_show_regs() 323 "LSR: \t0x%02x\n", ioread8(priv->membase + UART_LSR)); in port_show_regs() 325 "MSR: \t0x%02x\n", ioread8(priv->membase + UART_MSR)); in port_show_regs() 328 ioread8(priv->membase + PCH_UART_BRCSR)); in port_show_regs() 330 lcr = ioread8(priv->membase + UART_LCR); in port_show_regs() 333 "DLL: \t0x%02x\n", ioread8(priv->membase + UART_DLL)); in port_show_regs() 335 "DLM: \t0x%02x\n", ioread8(priv->membase + UART_DLM)); in port_show_regs() [all …]
|
D | timbuart.c | 72 u8 ctl = ioread8(port->membase + TIMBUART_CTRL) | in timbuart_flush_buffer() 85 u8 ch = ioread8(port->membase + TIMBUART_RXFIFO); in timbuart_rx_chars() 112 ioread8(port->membase + TIMBUART_CTRL), in timbuart_tx_chars() 114 ioread8(port->membase + TIMBUART_BAUDRATE)); in timbuart_tx_chars() 156 u8 ctl = ioread8(port->membase + TIMBUART_CTRL) | in timbuart_handle_rx_port() 199 u8 cts = ioread8(port->membase + TIMBUART_CTRL); in timbuart_get_mctrl() 351 if (ioread8(uart->port.membase + TIMBUART_IPR)) { in timbuart_handleinterrupt()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | health.c | 115 u8 synd = ioread8(&h->synd); in sensor_fw_synd_rfr() 118 rfr = mlx5_health_get_rfr(ioread8(&h->rfr_severity)); in sensor_fw_synd_rfr() 419 if (!ioread8(&h->synd)) in print_health_info() 427 rfr_severity = ioread8(&h->rfr_severity); in print_health_info() 430 hsynd_str(ioread8(&h->synd)), severity, mlx5_loglevel_str(severity)); in print_health_info() 444 mlx5_log(dev, severity, "irisc_index %d\n", ioread8(&h->irisc_index)); in print_health_info() 445 mlx5_log(dev, severity, "synd 0x%x: %s\n", ioread8(&h->synd), in print_health_info() 446 hsynd_str(ioread8(&h->synd))); in print_health_info() 462 synd = ioread8(&h->synd); in mlx5_fw_reporter_diagnose() 501 if (!ioread8(&h->synd)) in mlx5_fw_reporter_heath_buffer_data_put() [all …]
|
/linux-6.1.9/drivers/mfd/ |
D | tqmx86.c | 208 board_id = ioread8(io_base + TQMX86_REG_BOARD_ID); in tqmx86_probe() 210 rev = ioread8(io_base + TQMX86_REG_BOARD_REV); in tqmx86_probe() 216 i2c_det = ioread8(io_base + TQMX86_REG_I2C_DETECT); in tqmx86_probe() 222 readback = ioread8(io_base + TQMX86_REG_IO_EXT_INT); in tqmx86_probe()
|
/linux-6.1.9/arch/powerpc/sysdev/ |
D | pmi.c | 50 type = ioread8(data->pmi_reg + PMI_READ_TYPE); in pmi_irq_handler() 66 data->msg.data0 = ioread8(data->pmi_reg + PMI_READ_DATA0); in pmi_irq_handler() 67 data->msg.data1 = ioread8(data->pmi_reg + PMI_READ_DATA1); in pmi_irq_handler() 68 data->msg.data2 = ioread8(data->pmi_reg + PMI_READ_DATA2); in pmi_irq_handler()
|
/linux-6.1.9/drivers/net/ethernet/dlink/ |
D | sundance.c | 737 #define mdio_delay() ioread8(mdio_addr) 784 retval = (retval << 1) | ((ioread8(mdio_addr) & MDIO_Data) ? 1 : 0); in mdio_read() 894 iowrite8(ioread8(ioaddr + WakeEvent) | 0x00, ioaddr + WakeEvent); in netdev_open() 900 dev->name, ioread32(ioaddr + RxStatus), ioread8(ioaddr + TxStatus), in netdev_open() 954 ioread8(ioaddr + TxStatus), ioread32(ioaddr + RxStatus)); in netdev_timer() 972 " resetting...\n", dev->name, ioread8(ioaddr + TxStatus), in tx_timeout() 973 ioread8(ioaddr + TxFrameId)); in tx_timeout() 1253 hw_frame_id = ioread8(ioaddr + TxFrameId); in intr_handler() 1521 dev->stats.rx_missed_errors += ioread8(ioaddr + RxMissed); in get_stats() 1524 dev->stats.tx_carrier_errors += ioread8(ioaddr + StatsCarrierError); in get_stats() [all …]
|