/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-ali1563.c | 73 inb_p(SMB_HST_STS), inb_p(SMB_HST_CNTL1), inb_p(SMB_HST_CNTL2), in ali1563_transaction() 74 inb_p(SMB_HST_CMD), inb_p(SMB_HST_ADD), inb_p(SMB_HST_DAT0), in ali1563_transaction() 75 inb_p(SMB_HST_DAT1)); in ali1563_transaction() 77 data = inb_p(SMB_HST_STS); in ali1563_transaction() 81 data = inb_p(SMB_HST_STS); in ali1563_transaction() 85 outb_p(inb_p(SMB_HST_CNTL2) | HST_CNTL2_START, SMB_HST_CNTL2); in ali1563_transaction() 90 } while (((data = inb_p(SMB_HST_STS)) & HST_STS_BUSY) && --timeout); in ali1563_transaction() 94 inb_p(SMB_HST_STS), inb_p(SMB_HST_CNTL1), inb_p(SMB_HST_CNTL2), in ali1563_transaction() 95 inb_p(SMB_HST_CMD), inb_p(SMB_HST_ADD), inb_p(SMB_HST_DAT0), in ali1563_transaction() 96 inb_p(SMB_HST_DAT1)); in ali1563_transaction() [all …]
|
D | i2c-ali15x3.c | 226 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTSTS), in ali15x3_transaction() 227 inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD), in ali15x3_transaction() 228 inb_p(SMBHSTDAT0), inb_p(SMBHSTDAT1)); in ali15x3_transaction() 231 temp = inb_p(SMBHSTSTS); in ali15x3_transaction() 260 temp = inb_p(SMBHSTSTS); in ali15x3_transaction() 267 if ((temp = inb_p(SMBHSTSTS)) & in ali15x3_transaction() 291 temp = inb_p(SMBHSTSTS); in ali15x3_transaction() 316 inb_p(SMBHSTADD)); in ali15x3_transaction() 325 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTSTS), in ali15x3_transaction() 326 inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD), in ali15x3_transaction() [all …]
|
D | i2c-ali1535.c | 220 inb_p(SMBHSTSTS), inb_p(SMBHSTTYP), inb_p(SMBHSTCMD), in ali1535_transaction() 221 inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), inb_p(SMBHSTDAT1)); in ali1535_transaction() 224 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 252 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 259 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 283 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 306 inb_p(SMBHSTADD)); in ali1535_transaction() 323 inb_p(SMBHSTSTS), inb_p(SMBHSTTYP), inb_p(SMBHSTCMD), in ali1535_transaction() 324 inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), inb_p(SMBHSTDAT1)); in ali1535_transaction() 351 temp = inb_p(SMBHSTSTS); in ali1535_access() [all …]
|
D | i2c-viapro.c | 105 "DAT=%02x,%02x\n", msg, inb_p(SMBHSTSTS), inb_p(SMBHSTCNT), in vt596_dump_regs() 106 inb_p(SMBHSTCMD), inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), in vt596_dump_regs() 107 inb_p(SMBHSTDAT1)); in vt596_dump_regs() 115 printk("%02x,", inb_p(SMBBLKDAT)); in vt596_dump_regs() 119 printk("%02x,", inb_p(SMBBLKDAT)); in vt596_dump_regs() 120 printk("%02x\n", inb_p(SMBBLKDAT)); in vt596_dump_regs() 137 if ((temp = inb_p(SMBHSTSTS)) & 0x1F) { in vt596_transaction() 142 if ((temp = inb_p(SMBHSTSTS)) & 0x1F) { in vt596_transaction() 155 temp = inb_p(SMBHSTSTS); in vt596_transaction() 239 inb_p(SMBHSTCNT); /* Reset SMBBLKDAT */ in vt596_access() [all …]
|
D | i2c-piix4.c | 301 smba_en_lo = inb_p(SB800_PIIX4_SMB_IDX + 1); in piix4_setup_sb800() 303 smba_en_hi = inb_p(SB800_PIIX4_SMB_IDX + 1); in piix4_setup_sb800() 347 i2ccfg = inb_p(piix4_smba + i2ccfg_offset); in piix4_setup_sb800() 381 port_sel = inb_p(SB800_PIIX4_SMB_IDX + 1); in piix4_setup_sb800() 446 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTCNT), in piix4_transaction() 447 inb_p(SMBHSTCMD), inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), in piix4_transaction() 448 inb_p(SMBHSTDAT1)); in piix4_transaction() 451 if ((temp = inb_p(SMBHSTSTS)) != 0x00) { in piix4_transaction() 455 if ((temp = inb_p(SMBHSTSTS)) != 0x00) { in piix4_transaction() 473 ((temp = inb_p(SMBHSTSTS)) & 0x01)) in piix4_transaction() [all …]
|
D | i2c-i801.c | 329 status = inb_p(SMBHSTSTS(priv)); in i801_check_pre() 340 status = inb_p(SMBHSTSTS(priv)) & STATUS_FLAGS; in i801_check_pre() 357 status = inb_p(SMBAUXSTS(priv)) & SMBAUXSTS_CRCE; in i801_check_pre() 362 status = inb_p(SMBAUXSTS(priv)) & SMBAUXSTS_CRCE; in i801_check_pre() 399 status = inb_p(SMBHSTSTS(priv)); in i801_check_post() 429 (inb_p(SMBAUXSTS(priv)) & SMBAUXSTS_CRCE)) { in i801_check_post() 458 status = inb_p(SMBHSTSTS(priv)); in i801_wait_intr() 479 status = inb_p(SMBHSTSTS(priv)); in i801_wait_byte_done() 543 inb_p(SMBHSTCNT(priv)); /* reset the data buffer index */ in i801_block_transaction_by_block() 559 len = inb_p(SMBHSTDAT0(priv)); in i801_block_transaction_by_block() [all …]
|
D | i2c-nforce2.c | 145 temp = inb_p(NVIDIA_SMB_STATUS_ABRT); in nforce2_abort() 161 temp = inb_p(NVIDIA_SMB_STS); in nforce2_check_status() 255 data->byte = inb_p(NVIDIA_SMB_DATA); in nforce2_access() 259 data->word = inb_p(NVIDIA_SMB_DATA) | in nforce2_access() 260 (inb_p(NVIDIA_SMB_DATA + 1) << 8); in nforce2_access() 264 len = inb_p(NVIDIA_SMB_BCNT); in nforce2_access() 272 data->block[i + 1] = inb_p(NVIDIA_SMB_DATA + i); in nforce2_access()
|
/kernel/linux/linux-5.10/drivers/net/appletalk/ |
D | ltpc.c | 346 if ( c != inb_p(dev->base_addr+6) ) return 0; in wait_timeout() 387 inb_p(base+3); in handlefc() 388 inb_p(base+2); in handlefc() 409 inb_p(base+3); in handlefd() 410 inb_p(base+2); in handlefd() 433 inb_p(base+3); in handlewrite() 434 inb_p(base+2); in handlewrite() 462 inb_p(base+3); in handleread() 463 inb_p(base+2); in handleread() 482 inb_p(base+3); in handlecommand() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/kpc2000/ |
D | kpc2000_i2c.c | 126 #undef inb_p 127 #define inb_p(a) readq((void __iomem *)a) macro 138 status = inb_p(SMBHSTSTS(priv)); in i801_check_pre() 148 status = inb_p(SMBHSTSTS(priv)) & STATUS_FLAGS; in i801_check_pre() 169 outb_p(inb_p(SMBHSTCNT(priv)) | SMBHSTCNT_KILL, in i801_check_post() 172 outb_p(inb_p(SMBHSTCNT(priv)) & (~SMBHSTCNT_KILL), in i801_check_post() 176 status = inb_p(SMBHSTSTS(priv)); in i801_check_post() 201 status = inb_p(SMBHSTSTS(priv)) & STATUS_FLAGS; in i801_check_post() 226 status = inb_p(SMBHSTSTS(priv)); in i801_transaction() 245 status = inb_p(SMBHSTSTS(priv)); in i801_wait_hwpec() [all …]
|
/kernel/linux/linux-5.10/drivers/char/ |
D | dtlk.c | 206 if (inb_p(dtlk_port_tts) & in dtlk_write() 223 inb_p(dtlk_port_tts)); in dtlk_write() 289 portval = inb_p(dtlk_port_tts); in dtlk_ioctl() 376 printk(" dtlk_readable=%u@%u", inb_p(dtlk_port_lpc) != 0x7f, jiffies); in dtlk_readable() 378 return inb_p(dtlk_port_lpc) != 0x7f; in dtlk_readable() 385 printk(" dtlk_writeable=%u", (inb_p(dtlk_port_tts) & TTS_WRITABLE)!=0); in dtlk_writeable() 387 return inb_p(dtlk_port_tts) & TTS_WRITABLE; in dtlk_writeable() 440 buffer[b++] = inb_p(dtlk_port_lpc); \ in dtlk_dev_probe() 470 buffer[b++] = inb_p(dtlk_port_tts); \ in dtlk_dev_probe() 574 portval = inb_p(dtlk_port_tts); in dtlk_read_tts() [all …]
|
D | sonypi.c | 516 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG); in sonypi_ec_write() 518 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 520 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 522 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 532 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG); in sonypi_ec_read() 534 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_read() 536 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_read() 537 *value = inb_p(SONYPI_DATA_IOPORT); in sonypi_ec_read() 639 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG); in sonypi_call1() 641 v1 = inb_p(sonypi_device.ioport2); in sonypi_call1() [all …]
|
D | pc8736x_gpio.c | 90 return inb_p(superio_cmd + 1); in superio_inb() 159 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_get() 177 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set() 190 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set() 191 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_set() 248 = inb_p(pc8736x_gpio_base + port_offset[port] in pc8736x_init_shadow()
|
/kernel/linux/linux-5.10/drivers/input/serio/ |
D | ct82c710.c | 73 if (inb_p(CT82C710_STATUS) & CT82C710_RX_FULL) inb_p(CT82C710_DATA); in ct82c170_wait() 87 outb_p(inb_p(CT82C710_STATUS) & ~(CT82C710_ENABLE | CT82C710_INTS_ON), CT82C710_STATUS); in ct82c710_close() 104 status = inb_p(CT82C710_STATUS); in ct82c710_open() 149 if (inb_p(0x391) != 0xe4) /* Config address found? */ in ct82c710_detect() 153 ct82c710_iores.start = inb_p(0x391) << 2; /* Get mouse I/O address */ in ct82c710_detect()
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | dt2801.c | 233 stat = inb_p(dev->iobase + DT2801_STATUS); in dt2801_readdata() 237 *data = inb_p(dev->iobase + DT2801_DATA); in dt2801_readdata() 268 stat = inb_p(dev->iobase + DT2801_STATUS); in dt2801_writedata() 300 stat = inb_p(dev->iobase + DT2801_STATUS); in dt2801_wait_for_ready() 304 stat = inb_p(dev->iobase + DT2801_STATUS); in dt2801_wait_for_ready() 321 stat = inb_p(dev->iobase + DT2801_STATUS); in dt2801_writecmd() 338 inb_p(dev->iobase + DT2801_DATA); in dt2801_reset() 339 inb_p(dev->iobase + DT2801_DATA); in dt2801_reset() 340 inb_p(dev->iobase + DT2801_DATA); in dt2801_reset() 341 inb_p(dev->iobase + DT2801_DATA); in dt2801_reset() [all …]
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | pcwd_pci.c | 176 got_response = inb_p(pcipcwd_private.io_addr + 2) & WD_PCI_WRSP; in send_command() 180 got_response = inb_p(pcipcwd_private.io_addr + 2) & WD_PCI_WRSP; in send_command() 194 *lsb = inb_p(pcipcwd_private.io_addr + 4); in send_command() 195 *msb = inb_p(pcipcwd_private.io_addr + 5); in send_command() 198 inb_p(pcipcwd_private.io_addr + 6); in send_command() 212 if (inb_p(pcipcwd_private.io_addr) != 0xF0) in pcipcwd_check_temperature_support() 220 option_switches = inb_p(pcipcwd_private.io_addr + 3); in pcipcwd_get_option_switches() 267 stat_reg = inb_p(pcipcwd_private.io_addr + 2); in pcipcwd_start() 292 stat_reg = inb_p(pcipcwd_private.io_addr + 2); in pcipcwd_stop() 342 control_status = inb_p(pcipcwd_private.io_addr + 1); in pcipcwd_get_status() [all …]
|
D | wdt.c | 121 inb_p(WDT_DC); /* Disable watchdog */ in wdt_start() 147 inb_p(WDT_DC); /* Disable watchdog */ in wdt_stop() 165 inb_p(WDT_DC); /* Disable watchdog */ in wdt_ping() 209 new_status = inb_p(WDT_SR); in wdt_get_status() 244 c = inb_p(WDT_RT); in wdt_get_temperature() 252 pr_crit("Overheat alarm (%d)\n", inb_p(WDT_RT)); in wdt_decode_501() 278 status = inb_p(WDT_SR); in wdt_interrupt()
|
D | pcwd.c | 232 port0 = inb_p(pcwd_private.io_addr); in send_isa_command() 235 port0 = inb_p(pcwd_private.io_addr); in send_isa_command() 383 wdrst_stat = inb_p(pcwd_private.io_addr); in pcwd_timer_ping() 416 stat_reg = inb_p(pcwd_private.io_addr + 2); in pcwd_start() 444 stat_reg = inb_p(pcwd_private.io_addr + 2); in pcwd_stop() 540 control_status = inb_p(pcwd_private.io_addr + 1); in pcwd_clear_status() 824 port0 = inb_p(base_addr); /* For REV A boards */ in pcwd_isa_match() 825 port1 = inb_p(base_addr + 1); /* For REV C boards */ in pcwd_isa_match() 835 port0 = inb_p(base_addr); in pcwd_isa_match() 836 port1 = inb_p(base_addr + 1); in pcwd_isa_match()
|
D | wafer5823wdt.c | 76 inb_p(wdt_stop); in wafwdt_ping() 77 inb_p(wdt_start); in wafwdt_ping() 85 inb_p(wdt_start); in wafwdt_start() 91 inb_p(wdt_stop); in wafwdt_stop()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | htcpen.c | 55 if (inb_p(HTCPEN_PORT_DATA)) { in htcpen_interrupt() 59 x = inb_p(HTCPEN_PORT_DATA); in htcpen_interrupt() 62 y = inb_p(HTCPEN_PORT_DATA); in htcpen_interrupt() 65 xy = inb_p(HTCPEN_PORT_DATA); in htcpen_interrupt() 84 inb_p(HTCPEN_PORT_IRQ_CLEAR); in htcpen_interrupt() 150 inb_p(HTCPEN_PORT_IRQ_CLEAR); in htcpen_isa_probe()
|
/kernel/linux/linux-5.10/drivers/accessibility/speakup/ |
D | serialio.c | 120 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler() 121 c = inb_p(speakup_info.port_tts + UART_RX); in synth_readbuf_handler() 242 while (!((inb_p(speakup_info.port_tts + UART_MSR)) & UART_MSR_CTS)) { in spk_serial_wait_for_xmitr() 258 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in() 265 return inb_p(speakup_info.port_tts + UART_RX); in spk_serial_in() 272 lsr = inb_p(speakup_info.port_tts + UART_LSR); in spk_serial_in_nowait() 275 return inb_p(speakup_info.port_tts + UART_RX); in spk_serial_in_nowait()
|
D | speakup_keypc.c | 123 return (inb_p(synth_port + UART_RX) & 0x10) != 0; in synth_writable() 128 return (inb_p(synth_port + UART_RX) & 0x80) == 0; in synth_full() 135 s1 = inb_p(synth_port); in oops() 136 s2 = inb_p(synth_port + 1); in oops() 137 s3 = inb_p(synth_port + 2); in oops() 138 s4 = inb_p(synth_port + 3); in oops()
|
/kernel/linux/linux-5.10/drivers/video/console/ |
D | vgacon.c | 290 inb_p(VGA_IS1_RC); in vgacon_startup() 486 curs = inb_p(vga_video_port_val); in vgacon_set_cursor_size() 488 cure = inb_p(vga_video_port_val); in vgacon_set_cursor_size() 582 max_scan = inb_p(vga_video_port_val); in vgacon_doresize() 588 mode = inb_p(vga_video_port_val); in vgacon_doresize() 597 r7 = inb_p(vga_video_port_val) & ~0x42; in vgacon_doresize() 606 vsync_end = inb_p(vga_video_port_val); in vgacon_doresize() 706 vga_state.CrtCtrlIndex = inb_p(vga_video_port_reg); in vga_vesa_blank() 711 vga_state.HorizontalTotal = inb_p(vga_video_port_val); in vga_vesa_blank() 713 vga_state.HorizDisplayEnd = inb_p(vga_video_port_val); in vga_vesa_blank() [all …]
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | vga.h | 21 #undef inb_p 28 #define inb_p(port) 0 macro
|
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/ |
D | ne.c | 306 reg0 = inb_p(ioaddr); in ne_probe1() 316 regd = inb_p(ioaddr + 0x0d); in ne_probe1() 319 inb_p(ioaddr + EN0_COUNTER0); /* Clear the counter by reading. */ in ne_probe1() 320 if (inb_p(ioaddr + EN0_COUNTER0) != 0) { in ne_probe1() 349 while ((inb_p(ioaddr + EN0_ISR) & ENISR_RESET) == 0) in ne_probe1() 563 while ((inb_p(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne_reset_8390() 664 int high = inb_p(nic_base + EN0_RSARHI); in ne_block_input() 665 int low = inb_p(nic_base + EN0_RSARLO); in ne_block_input() 754 int high = inb_p(nic_base + EN0_RSARHI); in ne_block_output() 755 int low = inb_p(nic_base + EN0_RSARLO); in ne_block_output() [all …]
|
D | axnet_cs.c | 439 retval = (retval << 1) | ((inb_p(addr) & MDIO_DATA_READ) != 0); in mdio_read() 528 if ((inb_p(nic_base+EN0_ISR) & ENISR_RESET) != 0) in axnet_reset_8390() 560 if (info->stale++ && (inb_p(nic_base + EN0_ISR) & ENISR_ALL)) { in ei_watchdog() 1116 inb_p(e8390_base + EN0_ISR), in ax_interrupt() 1117 inb_p(e8390_base + EN0_IMR)); in ax_interrupt() 1124 inb_p(e8390_base + EN0_ISR)); in ax_interrupt() 1130 while ((interrupts = inb_p(e8390_base + EN0_ISR)) != 0 && in ax_interrupt() 1165 dev->stats.rx_frame_errors += inb_p(e8390_base + EN0_COUNTER0); in ax_interrupt() 1166 dev->stats.rx_crc_errors += inb_p(e8390_base + EN0_COUNTER1); in ax_interrupt() 1167 dev->stats.rx_missed_errors+= inb_p(e8390_base + EN0_COUNTER2); in ax_interrupt() [all …]
|