/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-ali1563.c | 74 inb_p(SMB_HST_STS), inb_p(SMB_HST_CNTL1), inb_p(SMB_HST_CNTL2), in ali1563_transaction() 75 inb_p(SMB_HST_CMD), inb_p(SMB_HST_ADD), inb_p(SMB_HST_DAT0), in ali1563_transaction() 76 inb_p(SMB_HST_DAT1)); in ali1563_transaction() 78 data = inb_p(SMB_HST_STS); in ali1563_transaction() 82 data = inb_p(SMB_HST_STS); in ali1563_transaction() 86 outb_p(inb_p(SMB_HST_CNTL2) | HST_CNTL2_START, SMB_HST_CNTL2); in ali1563_transaction() 91 } while (((data = inb_p(SMB_HST_STS)) & HST_STS_BUSY) && --timeout); in ali1563_transaction() 95 inb_p(SMB_HST_STS), inb_p(SMB_HST_CNTL1), inb_p(SMB_HST_CNTL2), in ali1563_transaction() 96 inb_p(SMB_HST_CMD), inb_p(SMB_HST_ADD), inb_p(SMB_HST_DAT0), in ali1563_transaction() 97 inb_p(SMB_HST_DAT1)); in ali1563_transaction() [all …]
|
D | i2c-ali15x3.c | 234 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTSTS), in ali15x3_transaction() 235 inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD), in ali15x3_transaction() 236 inb_p(SMBHSTDAT0), inb_p(SMBHSTDAT1)); in ali15x3_transaction() 239 temp = inb_p(SMBHSTSTS); in ali15x3_transaction() 268 temp = inb_p(SMBHSTSTS); in ali15x3_transaction() 275 if ((temp = inb_p(SMBHSTSTS)) & in ali15x3_transaction() 299 temp = inb_p(SMBHSTSTS); in ali15x3_transaction() 324 inb_p(SMBHSTADD)); in ali15x3_transaction() 333 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTSTS), in ali15x3_transaction() 334 inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD), in ali15x3_transaction() [all …]
|
D | i2c-ali1535.c | 229 inb_p(SMBHSTSTS), inb_p(SMBHSTTYP), inb_p(SMBHSTCMD), in ali1535_transaction() 230 inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), inb_p(SMBHSTDAT1)); in ali1535_transaction() 233 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 261 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 268 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 292 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 315 inb_p(SMBHSTADD)); in ali1535_transaction() 332 inb_p(SMBHSTSTS), inb_p(SMBHSTTYP), inb_p(SMBHSTCMD), in ali1535_transaction() 333 inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), inb_p(SMBHSTDAT1)); in ali1535_transaction() 360 temp = inb_p(SMBHSTSTS); in ali1535_access() [all …]
|
D | i2c-viapro.c | 113 "DAT=%02x,%02x\n", msg, inb_p(SMBHSTSTS), inb_p(SMBHSTCNT), in vt596_dump_regs() 114 inb_p(SMBHSTCMD), inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), in vt596_dump_regs() 115 inb_p(SMBHSTDAT1)); in vt596_dump_regs() 123 printk("%02x,", inb_p(SMBBLKDAT)); in vt596_dump_regs() 127 printk("%02x,", inb_p(SMBBLKDAT)); in vt596_dump_regs() 128 printk("%02x\n", inb_p(SMBBLKDAT)); in vt596_dump_regs() 145 if ((temp = inb_p(SMBHSTSTS)) & 0x1F) { in vt596_transaction() 150 if ((temp = inb_p(SMBHSTSTS)) & 0x1F) { in vt596_transaction() 163 temp = inb_p(SMBHSTSTS); in vt596_transaction() 247 inb_p(SMBHSTCNT); /* Reset SMBBLKDAT */ in vt596_access() [all …]
|
D | i2c-piix4.c | 305 smba_en_lo = inb_p(SB800_PIIX4_SMB_IDX + 1); in piix4_setup_sb800() 307 smba_en_hi = inb_p(SB800_PIIX4_SMB_IDX + 1); in piix4_setup_sb800() 351 i2ccfg = inb_p(piix4_smba + i2ccfg_offset); in piix4_setup_sb800() 384 port_sel = inb_p(SB800_PIIX4_SMB_IDX + 1); in piix4_setup_sb800() 449 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTCNT), in piix4_transaction() 450 inb_p(SMBHSTCMD), inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), in piix4_transaction() 451 inb_p(SMBHSTDAT1)); in piix4_transaction() 454 if ((temp = inb_p(SMBHSTSTS)) != 0x00) { in piix4_transaction() 458 if ((temp = inb_p(SMBHSTSTS)) != 0x00) { in piix4_transaction() 476 ((temp = inb_p(SMBHSTSTS)) & 0x01)) in piix4_transaction() [all …]
|
D | i2c-i801.c | 322 status = inb_p(SMBHSTSTS(priv)); in i801_check_pre() 333 status = inb_p(SMBHSTSTS(priv)) & STATUS_FLAGS; in i801_check_pre() 350 status = inb_p(SMBAUXSTS(priv)) & SMBAUXSTS_CRCE; in i801_check_pre() 355 status = inb_p(SMBAUXSTS(priv)) & SMBAUXSTS_CRCE; in i801_check_pre() 392 status = inb_p(SMBHSTSTS(priv)); in i801_check_post() 422 (inb_p(SMBAUXSTS(priv)) & SMBAUXSTS_CRCE)) { in i801_check_post() 451 status = inb_p(SMBHSTSTS(priv)); in i801_wait_intr() 472 status = inb_p(SMBHSTSTS(priv)); in i801_wait_byte_done() 523 inb_p(SMBHSTCNT(priv)); /* reset the data buffer index */ in i801_block_transaction_by_block() 539 len = inb_p(SMBHSTDAT0(priv)); in i801_block_transaction_by_block() [all …]
|
D | i2c-nforce2.c | 153 temp = inb_p(NVIDIA_SMB_STATUS_ABRT); in nforce2_abort() 169 temp = inb_p(NVIDIA_SMB_STS); in nforce2_check_status() 263 data->byte = inb_p(NVIDIA_SMB_DATA); in nforce2_access() 267 data->word = inb_p(NVIDIA_SMB_DATA) | in nforce2_access() 268 (inb_p(NVIDIA_SMB_DATA + 1) << 8); in nforce2_access() 272 len = inb_p(NVIDIA_SMB_BCNT); in nforce2_access() 280 data->block[i + 1] = inb_p(NVIDIA_SMB_DATA + i); in nforce2_access()
|
D | i2c-amd756.c | 113 inb_p(SMB_HOST_DATA)); in amd756_transaction() 176 inw_p(SMB_HOST_ADDRESS), inb_p(SMB_HOST_DATA)); in amd756_transaction() 275 data->block[i] = inb_p(SMB_HOST_BLOCK_DATA); in amd756_access()
|
/linux-4.19.296/drivers/char/ |
D | dtlk.c | 205 if (inb_p(dtlk_port_tts) & in dtlk_write() 222 inb_p(dtlk_port_tts)); in dtlk_write() 288 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 | pc8736x_gpio.c | 89 return inb_p(superio_cmd + 1); in superio_inb() 158 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_get() 176 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set() 189 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set() 190 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_set() 247 = inb_p(pc8736x_gpio_base + port_offset[port] in pc8736x_init_shadow()
|
D | sonypi.c | 530 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG); in sonypi_ec_write() 532 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 534 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 536 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_write() 546 wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG); in sonypi_ec_read() 548 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_read() 550 wait_on_command(0, inb_p(SONYPI_CST_IOPORT) & 2, ITERATIONS_LONG); in sonypi_ec_read() 551 *value = inb_p(SONYPI_DATA_IOPORT); in sonypi_ec_read() 653 wait_on_command(0, inb_p(sonypi_device.ioport2) & 2, ITERATIONS_LONG); in sonypi_call1() 655 v1 = inb_p(sonypi_device.ioport2); in sonypi_call1() [all …]
|
/linux-4.19.296/drivers/media/radio/ |
D | radio-gemtek.c | 237 i = inb_p(isa->io); in gemtek_s_mute_volume() 246 if (inb_p(isa->io) & GEMTEK_NS) in gemtek_g_rxsubchans() 258 q = inb_p(io); /* Read bus contents before probing. */ in gemtek_probe() 265 if ((inb_p(io) & ~GEMTEK_NS) != (0x17 | (1 << (i + 5)))) in gemtek_probe()
|
/linux-4.19.296/drivers/isdn/hisax/ |
D | s0box.c | 46 n1 = (inb_p(padr + 1) >> 3) & 0x17; in readreg() 48 n2 = (inb_p(padr + 1) >> 3) & 0x17; in readreg() 66 n1 = (inb_p(padr + 1) >> 3) & 0x17; in read_fifo() 68 n2 = (inb_p(padr + 1) >> 3) & 0x17; in read_fifo()
|
D | elsa_ser.c | 66 u_int val = inb_p(cs->hw.elsa.base + 8 + offset); in serial_inp() 74 return inb_p(cs->hw.elsa.base + 8 + offset); in serial_inp()
|
/linux-4.19.296/include/linux/ |
D | scc.h | 20 #define Inb(port) inb_p(port)
|
/linux-4.19.296/drivers/cpufreq/ |
D | elanfreq.c | 88 clockspeed_reg = inb_p(REG_CSCDR); in elanfreq_get_cpu_frequency()
|
/linux-4.19.296/include/asm-generic/ |
D | io.h | 535 #ifndef inb_p 536 #define inb_p inb_p macro 537 static inline u8 inb_p(unsigned long addr) in inb_p() function
|
/linux-4.19.296/drivers/pci/hotplug/ |
D | cpcihp_generic.c | 119 value = inb_p(port); in query_enum()
|
D | cpcihp_zt5550.c | 144 value = inb_p(ENUM_PORT); in zt5550_hc_query_enum()
|
/linux-4.19.296/include/video/ |
D | vga.h | 204 return inb_p(port); in vga_io_r()
|