/linux-5.19.10/drivers/macintosh/ |
D | via-cuda.c | 111 out_8(&via[B], in_8(&via[B]) | TIP); in assert_TIP() 113 out_8(&via[B], in_8(&via[B]) & ~TIP); in assert_TIP() 120 out_8(&via[B], in_8(&via[B]) | TIP | TACK); in assert_TIP_and_TACK() 122 out_8(&via[B], in_8(&via[B]) & ~(TIP | TACK)); in assert_TIP_and_TACK() 129 out_8(&via[B], in_8(&via[B]) | TACK); in assert_TACK() 131 out_8(&via[B], in_8(&via[B]) & ~TACK); in assert_TACK() 136 out_8(&via[B], in_8(&via[B]) ^ TACK); in toggle_TACK() 143 out_8(&via[B], in_8(&via[B]) & ~TACK); in negate_TACK() 145 out_8(&via[B], in_8(&via[B]) | TACK); in negate_TACK() 152 out_8(&via[B], in_8(&via[B]) & ~(TIP | TACK)); in negate_TIP_and_TACK() [all …]
|
D | macio-adb.c | 155 out_8(&adb->ctrl.r, in_8(&adb->ctrl.r) | ADB_RST); in macio_adb_reset_bus() 156 while ((in_8(&adb->ctrl.r) & ADB_RST) != 0) { in macio_adb_reset_bus() 158 out_8(&adb->ctrl.r, in_8(&adb->ctrl.r) & ~ADB_RST); in macio_adb_reset_bus() 191 out_8(&adb->ctrl.r, in_8(&adb->ctrl.r) | TAR); in macio_send_request() 214 if (in_8(&adb->intr.r) & TAG) { in macio_adb_interrupt() 229 out_8(&adb->ctrl.r, in_8(&adb->ctrl.r) | TAR); in macio_adb_interrupt() 235 if (in_8(&adb->intr.r) & DFB) { in macio_adb_interrupt() 237 err = in_8(&adb->error.r); in macio_adb_interrupt() 242 req->reply_len = in_8(&adb->dcount.r) & HMB; in macio_adb_interrupt() 244 req->reply[i] = in_8(&adb->data[i].r); in macio_adb_interrupt() [all …]
|
D | via-pmu.c | 581 out_8(&via2[B], in_8(&via2[B]) | TREQ); in init_pmu() 582 out_8(&via2[DIRB], (in_8(&via2[DIRB]) | TREQ) & ~TACK); in init_pmu() 1190 while ((in_8(&via2[B]) & TACK) == 0) { in wait_for_ack() 1204 out_8(&via1[ACR], in_8(&via1[ACR]) | SR_OUT | SR_EXT); in send_byte() 1206 out_8(&via2[B], in_8(&via2[B]) & ~TREQ); /* assert TREQ */ in send_byte() 1207 (void)in_8(&via2[B]); in send_byte() 1213 out_8(&via1[ACR], (in_8(&via1[ACR]) & ~SR_OUT) | SR_EXT); in recv_byte() 1214 in_8(&via1[SR]); /* resets SR */ in recv_byte() 1215 out_8(&via2[B], in_8(&via2[B]) & ~TREQ); in recv_byte() 1216 (void)in_8(&via2[B]); in recv_byte() [all …]
|
/linux-5.19.10/drivers/i2c/busses/ |
D | i2c-ibm_iic.c | 89 in_8(&iic->cntl), in_8(&iic->mdcntl), in_8(&iic->sts), in dump_iic_regs() 90 in_8(&iic->extsts), in_8(&iic->clkdiv), in_8(&iic->xfrcnt), in dump_iic_regs() 91 in_8(&iic->xtcntlss), in_8(&iic->directcntl)); in dump_iic_regs() 190 dc = in_8(&iic->directcntl); in iic_dev_reset() 199 dc = in_8(&iic->directcntl); in iic_dev_reset() 230 while ((in_8(&iic->directcntl) & mask) != mask){ in iic_dc_wait() 291 res = (in_8(&iic->directcntl) & DIRCNTL_MSDA) ? -EREMOTEIO : 1; in iic_smbus_quick() 329 dev->idx, in_8(&iic->sts), in_8(&iic->extsts)); in iic_handler() 346 if (unlikely(in_8(&iic->sts) & STS_ERR)){ in iic_xfer_result() 348 in_8(&iic->extsts)); in iic_xfer_result() [all …]
|
/linux-5.19.10/drivers/video/fbdev/ |
D | hpfb.c | 129 while (in_8(fb_regs + BUSY) & fb_bitmask) in topcat_blit() 157 while (in_8(fb_regs + BUSY) & fb_bitmask) in hpfb_fillrect() 177 while (in_8(fb_regs + BUSY) & fb_bitmask) in hpfb_sync() 216 fboff = (in_8(fb_regs + HPFB_FBOMSB) << 8) | in_8(fb_regs + HPFB_FBOLSB); in hpfb_init_one() 218 fb_info.fix.smem_start = (in_8(fb_regs + fboff) << 16); in hpfb_init_one() 241 fb_width = (in_8(fb_regs + HPFB_FBWMSB) << 8) | in_8(fb_regs + HPFB_FBWLSB); in hpfb_init_one() 243 fb_height = (in_8(fb_regs + HPFB_FBHMSB) << 8) | in_8(fb_regs + HPFB_FBHLSB); in hpfb_init_one() 247 hpfb_defined.xres = (in_8(fb_regs + HPFB_DWMSB) << 8) | in_8(fb_regs + HPFB_DWLSB); in hpfb_init_one() 248 hpfb_defined.yres = (in_8(fb_regs + HPFB_DHMSB) << 8) | in_8(fb_regs + HPFB_DHLSB); in hpfb_init_one() 251 hpfb_defined.bits_per_pixel = in_8(fb_regs + HPFB_NUMPLANES); in hpfb_init_one() [all …]
|
/linux-5.19.10/arch/powerpc/platforms/powermac/ |
D | udbg_scc.c | 26 while ((in_8(sccc) & SCC_TXRDY) == 0) in udbg_scc_putc() 37 if ((in_8(sccc) & SCC_RXRDY) != 0) in udbg_scc_getc_poll() 38 return in_8(sccd); in udbg_scc_getc_poll() 48 while ((in_8(sccc) & SCC_RXRDY) == 0) in udbg_scc_getc() 50 return in_8(sccd); in udbg_scc_getc() 119 in_8(sccc); in udbg_scc_init() 128 scc_inittab[1] = in_8(sccc); in udbg_scc_init() 130 scc_inittab[3] = in_8(sccc); in udbg_scc_init()
|
D | nvram.c | 153 return in_8(&nvram_data[(addr & (NVRAM_SIZE - 1)) * nvram_mult]); in direct_nvram_read_byte() 169 val = in_8(&nvram_data[(addr & 0x1f) << 4]); in indirect_nvram_read_byte() 298 stat = in_8(base); in sm_erase_bank() 331 stat = in_8(base); in sm_write_bank() 377 stat = in_8(base) ^ in_8(base); in amd_erase_bank() 419 stat = in_8(base) ^ in_8(base); in amd_write_bank()
|
D | time.c | 199 while ((in_8(&via[IFR]) & T1_INT) == 0) in via_calibrate_decr() 203 in_8(&via[T1CL]); in via_calibrate_decr() 204 while ((in_8(&via[IFR]) & T1_INT) == 0) in via_calibrate_decr()
|
/linux-5.19.10/arch/powerpc/platforms/embedded6xx/ |
D | ls_uart.c | 36 char lsr = in_8(avr_addr + UART_LSR); in wd_stop() 46 while (in_8(avr_addr + UART_LSR) & UART_LSR_DR) in wd_stop() 47 printk("%c", in_8(avr_addr + UART_RX)); in wd_stop() 104 (void) in_8(avr_addr + UART_LSR); in ls_uart_init() 105 (void) in_8(avr_addr + UART_RX); in ls_uart_init() 106 (void) in_8(avr_addr + UART_IIR); in ls_uart_init() 107 (void) in_8(avr_addr + UART_MSR); in ls_uart_init()
|
/linux-5.19.10/drivers/rtc/ |
D | rtc-mpc5121.c | 153 tm->tm_sec = in_8(®s->second); in mpc5200_rtc_read_time() 154 tm->tm_min = in_8(®s->minute); in mpc5200_rtc_read_time() 157 if (in_8(®s->hour) & 0x20) in mpc5200_rtc_read_time() 158 tm->tm_hour = (in_8(®s->hour) >> 1) + in mpc5200_rtc_read_time() 159 (in_8(®s->hour) & 1 ? 12 : 0); in mpc5200_rtc_read_time() 161 tm->tm_hour = in_8(®s->hour); in mpc5200_rtc_read_time() 163 tmp = in_8(®s->wday_mday); in mpc5200_rtc_read_time() 165 tm->tm_mon = in_8(®s->month) - 1; in mpc5200_rtc_read_time() 203 alarm->pending = in_8(®s->alm_status); in mpc5121_rtc_read_alarm() 231 if (in_8(®s->int_alm)) { in mpc5121_rtc_handler() [all …]
|
/linux-5.19.10/arch/m68k/hp300/ |
D | time.c | 62 in_8(CLOCKBASE + CLKSR); in hp300_tick() 83 msb = in_8(CLOCKBASE + CLKMSB1); in hp300_read_clk() 85 if ((in_8(CLOCKBASE + CLKSR) & CLKSR_INT1) && msb > 0) in hp300_read_clk() 87 lsb = in_8(CLOCKBASE + CLKLSB1); in hp300_read_clk() 88 msb_new = in_8(CLOCKBASE + CLKMSB1); in hp300_read_clk()
|
D | config.c | 121 #define rtc_busy() (in_8(RTCBASE + RTC_CMD) & RTC_BUSY) 122 #define rtc_data_available() (in_8(RTCBASE + RTC_CMD) & RTC_DATA_RDY) 123 #define rtc_status() (in_8(RTCBASE + RTC_CMD)) 125 #define rtc_read_data() (in_8(RTCBASE + RTC_DATA))
|
/linux-5.19.10/arch/powerpc/boot/ |
D | ns16550.c | 42 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_THRE) == 0); in ns16550_putc() 48 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) == 0); in ns16550_getc() 49 return in_8(reg_base); in ns16550_getc() 54 return ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) != 0); in ns16550_tstc()
|
/linux-5.19.10/drivers/net/can/mscan/ |
D | mscan.c | 66 canctl1 = in_8(®s->canctl1); in mscan_set_mode() 70 if (in_8(®s->canctl1) & MSCAN_SLPAK) in mscan_set_mode() 96 if (in_8(®s->canctl1) & MSCAN_INITAK) in mscan_set_mode() 109 canctl1 = in_8(®s->canctl1); in mscan_set_mode() 113 canctl1 = in_8(®s->canctl1); in mscan_set_mode() 144 if (in_8(®s->canmisc) & MSCAN_BOHOLD) in mscan_start() 152 canrflg = in_8(®s->canrflg); in mscan_start() 172 WARN(!(in_8(®s->canmisc) & MSCAN_BOHOLD), in mscan_restart() 315 frame->len = can_cc_dlc2len(in_8(®s->rx.dlr) & 0xf); in mscan_get_rx_frame() 327 frame->data[frame->len - 1] = in_8(data); in mscan_get_rx_frame() [all …]
|
/linux-5.19.10/drivers/usb/host/ |
D | fhci-dbg.c | 49 in_8(®s->usb_usmod), in_8(®s->usb_usadr), in fhci_dfs_regs_show() 50 in_8(®s->usb_uscom), in_be16(®s->usb_usep[0]), in fhci_dfs_regs_show() 52 in_8(®s->usb_usbs), in_be16(®s->usb_ussft), in fhci_dfs_regs_show()
|
/linux-5.19.10/drivers/scsi/ |
D | mesh.c | 318 while(in_8(&mr->fifo_count)) in mesh_dump_regs() 319 printk(KERN_DEBUG " fifo data=%.2x\n",in_8(&mr->fifo)); in mesh_dump_regs() 341 (void)in_8(&mr->mesh_id); in mesh_flush_io() 443 if (in_8(&mr->bus_status1) & (BS1_BSY | BS1_SEL)) { in mesh_start_cmd() 452 if ((in_8(&mr->bus_status1) & (BS1_BSY | BS1_SEL)) == 0) in mesh_start_cmd() 454 if (in_8(&mr->interrupt) != 0) { in mesh_start_cmd() 464 if (in_8(&mr->bus_status1) & (BS1_BSY | BS1_SEL)) { in mesh_start_cmd() 492 if (in_8(&mr->interrupt) != 0) { in mesh_start_cmd() 507 if (in_8(&mr->interrupt) != 0) in mesh_start_cmd() 513 if (in_8(&mr->interrupt) == 0 && (in_8(&mr->bus_status1) & BS1_SEL) in mesh_start_cmd() [all …]
|
/linux-5.19.10/drivers/net/ethernet/apple/ |
D | mace.c | 173 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | in mace_probe() 174 in_8(&mp->mace->chipid_lo); in mace_probe() 328 if (in_8(&mb->biucc) & SWRST) { in mace_reset() 340 i = in_8(&mb->ir); in mace_reset() 357 while ((in_8(&mb->iac) & ADDRCHG) != 0) in mace_reset() 386 while ((in_8(&mb->iac) & ADDRCHG) != 0) in __mace_set_address() 628 while ((in_8(&mb->iac) & ADDRCHG) != 0) in mace_set_multicast() 648 dev->stats.rx_missed_errors += in_8(&mb->mpc); /* reading clears it */ in mace_handle_misc_intrs() 651 dev->stats.rx_length_errors += in_8(&mb->rntpc); /* reading clears it */ in mace_handle_misc_intrs() 675 intr = in_8(&mb->ir); /* read interrupt register */ in mace_interrupt() [all …]
|
/linux-5.19.10/drivers/net/ethernet/amd/ |
D | hplance.c | 148 addr[i] = ((in_8(va + HPLANCE_NVRAMOFF + i*4 + 1) & 0xF) << 4) in hplance_init() 149 | (in_8(va + HPLANCE_NVRAMOFF + i*4 + 3) & 0xF); in hplance_init() 178 } while ((in_8(lp->base + HPLANCE_STATUS) & LE_ACK) == 0); in hplance_writerap() 187 } while ((in_8(lp->base + HPLANCE_STATUS) & LE_ACK) == 0); in hplance_writerdp() 197 } while ((in_8(lp->base + HPLANCE_STATUS) & LE_ACK) == 0); in hplance_readrdp()
|
/linux-5.19.10/arch/powerpc/platforms/512x/ |
D | mpc5121_ads_cpld.c | 65 in_8(pic_mask) | irq_to_pic_bit(cpld_irq)); in cpld_mask_irq() 75 in_8(pic_mask) & ~irq_to_pic_bit(cpld_irq)); in cpld_unmask_irq() 89 u8 status = in_8(statusp); in cpld_pic_get_irq() 90 u8 mask = in_8(maskp); in cpld_pic_get_irq()
|
/linux-5.19.10/include/linux/ |
D | dio.h | 124 #define DIO_ID(baseaddr) in_8((baseaddr) + DIO_IDOFF) 125 #define DIO_SECID(baseaddr) in_8((baseaddr) + DIO_SECIDOFF) 128 #define DIO_IPL(baseaddr) (((in_8((baseaddr) + DIO_IPLOFF) >> 4) & 0x03) + 3) 133 #define DIOII_SIZE(baseaddr) ((in_8((baseaddr) + DIOII_SIZEOFF) + 1) * 0x100000)
|
/linux-5.19.10/arch/powerpc/platforms/82xx/ |
D | ep8248e.c | 67 in_8(&ep8248e_bcsr[8]); in ep8248e_set_mdc() 78 in_8(&ep8248e_bcsr[8]); in ep8248e_set_mdio_dir() 89 in_8(&ep8248e_bcsr[8]); in ep8248e_set_mdio_data() 94 return in_8(&ep8248e_bcsr[8]) & BCSR8_MDIO_DATA; in ep8248e_get_mdio_data()
|
/linux-5.19.10/drivers/spi/ |
D | spi-ppc4xx.c | 203 if (in_8(&hw->regs->cdm) != cdm) in spi_ppc4xx_setupxfer() 268 status = in_8(&hw->regs->sr); in spi_ppc4xx_int() 285 lstatus = in_8(&hw->regs->sr); in spi_ppc4xx_int() 294 status = in_8(&hw->regs->sr); in spi_ppc4xx_int() 303 data = in_8(&hw->regs->rxd); in spi_ppc4xx_int()
|
/linux-5.19.10/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pm.c | 44 out_8(&gpiow->wkup_gpioe, in_8(&gpiow->wkup_gpioe) | (1 << pin)); in mpc52xx_set_wakeup_gpio() 46 out_8(&gpiow->wkup_ddr, in_8(&gpiow->wkup_ddr) & ~(1 << pin)); in mpc52xx_set_wakeup_gpio() 48 out_8(&gpiow->wkup_inten, in_8(&gpiow->wkup_inten) | (1 << pin)); in mpc52xx_set_wakeup_gpio()
|
/linux-5.19.10/arch/m68k/include/asm/ |
D | raw_io.h | 19 #define in_8(addr) \ macro 36 #define raw_inb in_8 39 #define __raw_readb in_8 106 *buf++ = in_8(port); in raw_insb()
|
/linux-5.19.10/drivers/gpio/ |
D | gpio-mpc5200.c | 50 ret = (in_8(®s->wkup_ival) >> (7 - gpio)) & 1; in mpc52xx_wkup_gpio_get() 161 chip->shadow_gpioe = in_8(®s->wkup_gpioe); in mpc52xx_wkup_gpiochip_probe() 162 chip->shadow_ddr = in_8(®s->wkup_ddr); in mpc52xx_wkup_gpiochip_probe() 163 chip->shadow_dvo = in_8(®s->wkup_dvo); in mpc52xx_wkup_gpiochip_probe()
|