/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-ali1535.c | 260 outb_p(ALI1535_T_OUT, SMBHSTTYP); in ali1535_transaction() 267 outb_p(0xFF, SMBHSTSTS); in ali1535_transaction() 282 outb_p(temp, SMBHSTSTS); in ali1535_transaction() 286 outb_p(0xFF, SMBHSTPORT); in ali1535_transaction() 338 outb_p(ALI1535_KILL, SMBHSTTYP); in ali1535_transaction() 339 outb_p(0xFF, SMBHSTSTS); in ali1535_transaction() 342 outb_p(ALI1535_T_OUT, SMBHSTTYP); in ali1535_transaction() 343 outb_p(0xFF, SMBHSTSTS); in ali1535_transaction() 371 outb_p(0xFF, SMBHSTSTS); in ali1535_access() 375 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali1535_access() [all …]
|
D | i2c-ali1563.c | 81 outb_p(data | HST_STS_BAD, SMB_HST_STS); in ali1563_transaction() 86 outb_p(inb_p(SMB_HST_CNTL2) | HST_CNTL2_START, SMB_HST_CNTL2); in ali1563_transaction() 105 outb_p(HST_CNTL2_KILL, SMB_HST_CNTL2); in ali1563_transaction() 120 outb_p(HST_CNTL1_TIMEOUT, SMB_HST_CNTL1); in ali1563_transaction() 125 outb_p(0x0, SMB_HST_CNTL2); in ali1563_transaction() 146 outb_p(data | HST_STS_BAD, SMB_HST_STS); in ali1563_block_start() 153 outb_p(data | HST_STS_DONE, SMB_HST_STS); in ali1563_block_start() 156 outb_p(inb_p(SMB_HST_CNTL2) | HST_CNTL2_START, SMB_HST_CNTL2); in ali1563_block_start() 194 outb_p(HST_CNTL1_LAST, SMB_HST_CNTL1); in ali1563_block() 202 outb_p(len, SMB_HST_DAT0); in ali1563_block() [all …]
|
D | i2c-ali15x3.c | 267 outb_p(ALI15X3_T_OUT, SMBHSTCNT); in ali15x3_transaction() 274 outb_p(0xFF, SMBHSTSTS); in ali15x3_transaction() 288 outb_p(temp, SMBHSTSTS); in ali15x3_transaction() 293 outb_p(0xFF, SMBHSTSTART); in ali15x3_transaction() 349 outb_p(0xFF, SMBHSTSTS); in ali15x3_access() 364 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali15x3_access() 369 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali15x3_access() 372 outb_p(command, SMBHSTCMD); in ali15x3_access() 376 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali15x3_access() 378 outb_p(command, SMBHSTCMD); in ali15x3_access() [all …]
|
D | i2c-viapro.c | 149 outb_p(temp, SMBHSTSTS); in vt596_transaction() 158 outb_p(0x40 | size, SMBHSTCNT); in vt596_transaction() 190 outb_p(temp, SMBHSTSTS); in vt596_transaction() 211 outb_p(command, SMBHSTCMD); in vt596_access() 215 outb_p(command, SMBHSTCMD); in vt596_access() 217 outb_p(data->byte, SMBHSTDAT0); in vt596_access() 221 outb_p(command, SMBHSTCMD); in vt596_access() 223 outb_p(data->word & 0xff, SMBHSTDAT0); in vt596_access() 224 outb_p((data->word & 0xff00) >> 8, SMBHSTDAT1); in vt596_access() 229 outb_p(command, SMBHSTCMD); in vt596_access() [all …]
|
D | i2c-piix4.c | 304 outb_p(smb_en, SB800_PIIX4_SMB_IDX); in piix4_setup_sb800() 306 outb_p(smb_en + 1, SB800_PIIX4_SMB_IDX); in piix4_setup_sb800() 383 outb_p(SB800_PIIX4_PORT_IDX_SEL, SB800_PIIX4_SMB_IDX); in piix4_setup_sb800() 457 outb_p(temp, SMBHSTSTS); in piix4_transaction() 467 outb_p(inb(SMBHSTCNT) | 0x040, SMBHSTCNT); in piix4_transaction() 503 outb_p(inb(SMBHSTSTS), SMBHSTSTS); in piix4_transaction() 528 outb_p((addr << 1) | read_write, in piix4_access() 533 outb_p((addr << 1) | read_write, in piix4_access() 536 outb_p(command, SMBHSTCMD); in piix4_access() 540 outb_p((addr << 1) | read_write, in piix4_access() [all …]
|
D | i2c-nforce2.c | 150 outb_p(NVIDIA_SMB_CTRL_ABORT, NVIDIA_SMB_CTRL); in nforce2_abort() 158 outb_p(NVIDIA_SMB_STATUS_ABRT_STS, NVIDIA_SMB_STATUS_ABRT); in nforce2_abort() 207 outb_p(command, NVIDIA_SMB_CMD); in nforce2_access() 212 outb_p(command, NVIDIA_SMB_CMD); in nforce2_access() 214 outb_p(data->byte, NVIDIA_SMB_DATA); in nforce2_access() 219 outb_p(command, NVIDIA_SMB_CMD); in nforce2_access() 221 outb_p(data->word, NVIDIA_SMB_DATA); in nforce2_access() 222 outb_p(data->word >> 8, NVIDIA_SMB_DATA + 1); in nforce2_access() 228 outb_p(command, NVIDIA_SMB_CMD); in nforce2_access() 237 outb_p(len, NVIDIA_SMB_BCNT); in nforce2_access() [all …]
|
D | i2c-i801.c | 332 outb_p(status, SMBHSTSTS(priv)); in i801_check_pre() 354 outb_p(status, SMBAUXSTS(priv)); in i801_check_pre() 387 outb_p(SMBHSTCNT_KILL, SMBHSTCNT(priv)); in i801_check_post() 389 outb_p(0, SMBHSTCNT(priv)); in i801_check_post() 397 outb_p(STATUS_FLAGS, SMBHSTSTS(priv)); in i801_check_post() 423 outb_p(SMBAUXSTS_CRCE, SMBAUXSTS(priv)); in i801_check_post() 437 outb_p(status, SMBHSTSTS(priv)); in i801_check_post() 494 outb_p(xact | SMBHSTCNT_INTREN | SMBHSTCNT_START, in i801_transaction() 510 outb_p(xact | SMBHSTCNT_START, SMBHSTCNT(priv)); in i801_transaction() 528 outb_p(len, SMBHSTDAT0(priv)); in i801_block_transaction_by_block() [all …]
|
D | i2c-amd756.c | 206 outb_p(command, SMB_HOST_DATA); in amd756_access() 212 outb_p(command, SMB_HOST_COMMAND); in amd756_access() 220 outb_p(command, SMB_HOST_COMMAND); in amd756_access() 228 outb_p(command, SMB_HOST_COMMAND); in amd756_access() 238 outb_p(data->block[i], in amd756_access()
|
/linux-4.19.296/drivers/isdn/hisax/ |
D | s0box.c | 23 outb_p(0x1c, padr + 2); in writereg() 24 outb_p(0x14, padr + 2); in writereg() 25 outb_p((addr + off) & 0x7f, padr); in writereg() 26 outb_p(0x16, padr + 2); in writereg() 27 outb_p(val, padr); in writereg() 28 outb_p(0x17, padr + 2); in writereg() 29 outb_p(0x14, padr + 2); in writereg() 30 outb_p(0x1c, padr + 2); in writereg() 41 outb_p(0x1c, padr + 2); in readreg() 42 outb_p(0x14, padr + 2); in readreg() [all …]
|
D | elsa_ser.c | 100 outb_p(value, cs->hw.elsa.base + 8 + offset); in serial_outp()
|
/linux-4.19.296/drivers/media/radio/ |
D | radio-rtrack2.c | 54 outb_p(1, isa->io); in zero() 55 outb_p(3, isa->io); in zero() 56 outb_p(1, isa->io); in zero() 61 outb_p(5, isa->io); in one() 62 outb_p(7, isa->io); in one() 63 outb_p(5, isa->io); in one() 72 outb_p(0xc8, isa->io); in rtrack2_s_frequency() 73 outb_p(0xc9, isa->io); in rtrack2_s_frequency() 74 outb_p(0xc9, isa->io); in rtrack2_s_frequency() 85 outb_p(0xc8, isa->io); in rtrack2_s_frequency() [all …]
|
D | radio-typhoon.c | 104 outb_p((outval >> 8) & 0x01, isa->io + 4); in typhoon_s_frequency() 105 outb_p(outval >> 9, isa->io + 6); in typhoon_s_frequency() 106 outb_p(outval & 0xff, isa->io + 8); in typhoon_s_frequency() 118 outb_p(vol / 2, isa->io); /* Set the volume, high bit. */ in typhoon_s_mute_volume() 119 outb_p(vol % 2, isa->io + 2); /* Set the volume, low bit. */ in typhoon_s_mute_volume()
|
D | radio-gemtek.c | 156 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 161 outb_p(mute | GEMTEK_CE | bit, isa->io); in gemtek_bu2614_transmit() 163 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 167 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 239 outb_p((i >> 5) | (mute ? GEMTEK_MT : 0), isa->io); in gemtek_s_mute_volume() 262 outb_p(1 << i, io); in gemtek_probe() 268 outb_p(q >> 5, io); /* Write bus contents back. */ in gemtek_probe()
|
D | radio-aztech.c | 79 outb_p(bits, az->isa.io); in aztech_set_pins()
|
D | radio-aimslab.c | 101 outb_p(bits, rt->isa.io); in rtrack_set_pins()
|
D | radio-sf16fmi.c | 86 outb_p(bits, fmi->io); in fmi_set_pins()
|
/linux-4.19.296/drivers/cpufreq/ |
D | elanfreq.c | 87 outb_p(0x80, REG_CSCIR); in elanfreq_get_cpu_frequency() 126 outb_p(0x40, REG_CSCIR); /* Disable hyperspeed mode */ in elanfreq_target() 127 outb_p(0x00, REG_CSCDR); in elanfreq_target() 134 outb_p(0x80, REG_CSCIR); in elanfreq_target() 135 outb_p(elan_multiplier[state].val80h, REG_CSCDR); in elanfreq_target() 138 outb_p(0x40, REG_CSCIR); in elanfreq_target() 139 outb_p(elan_multiplier[state].val40h, REG_CSCDR); in elanfreq_target()
|
/linux-4.19.296/drivers/irqchip/ |
D | irq-i8259.c | 250 outb_p(0x11, PIC_MASTER_CMD); /* ICW1: select 8259A-1 init */ in init_8259A() 251 …outb_p(I8259A_IRQ_BASE + 0, PIC_MASTER_IMR); /* ICW2: 8259A-1 IR0 mapped to I8259A_IRQ_BASE + 0x00… in init_8259A() 252 outb_p(1U << PIC_CASCADE_IR, PIC_MASTER_IMR); /* 8259A-1 (the master) has a slave on IR2 */ in init_8259A() 254 outb_p(MASTER_ICW4_DEFAULT | PIC_ICW4_AEOI, PIC_MASTER_IMR); in init_8259A() 256 outb_p(MASTER_ICW4_DEFAULT, PIC_MASTER_IMR); in init_8259A() 258 outb_p(0x11, PIC_SLAVE_CMD); /* ICW1: select 8259A-2 init */ in init_8259A() 259 …outb_p(I8259A_IRQ_BASE + 8, PIC_SLAVE_IMR); /* ICW2: 8259A-2 IR0 mapped to I8259A_IRQ_BASE + 0x08 … in init_8259A() 260 outb_p(PIC_CASCADE_IR, PIC_SLAVE_IMR); /* 8259A-2 is a slave on master's IR2 */ in init_8259A() 261 …outb_p(SLAVE_ICW4_DEFAULT, PIC_SLAVE_IMR); /* (slave's support for AEOI in flat mode is to be inve… in init_8259A()
|
/linux-4.19.296/drivers/char/ |
D | dtlk.c | 422 outb_p(0xff, dtlk_port_lpc); in dtlk_dev_probe() 447 outb_p(0xff, dtlk_port_lpc); in dtlk_dev_probe() 453 outb_p(0xff, dtlk_port_lpc); in dtlk_dev_probe() 478 outb_p(0x03, dtlk_port_tts); in dtlk_dev_probe() 582 outb_p(ch, dtlk_port_tts); in dtlk_read_tts() 606 outb_p(0xff, dtlk_port_lpc); in dtlk_read_lpc() 649 outb_p(ch, dtlk_port_tts); /* output to TTS port */ in dtlk_write_tts()
|
D | pc8736x_gpio.c | 82 outb_p(addr, superio_cmd); in superio_outb() 83 outb_p(val, superio_cmd + 1); in superio_outb() 88 outb_p(addr, superio_cmd); in superio_inb() 187 outb_p(val, pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
|
D | sonypi.c | 531 outb_p(0x81, SONYPI_CST_IOPORT); in sonypi_ec_write() 533 outb_p(addr, SONYPI_DATA_IOPORT); in sonypi_ec_write() 535 outb_p(value, SONYPI_DATA_IOPORT); in sonypi_ec_write() 547 outb_p(0x80, SONYPI_CST_IOPORT); in sonypi_ec_read() 549 outb_p(addr, SONYPI_DATA_IOPORT); in sonypi_ec_read()
|
/linux-4.19.296/include/linux/ |
D | scc.h | 21 #define Outb(port, val) outb_p(val, port)
|
/linux-4.19.296/include/asm-generic/ |
D | io.h | 559 #ifndef outb_p 560 #define outb_p outb_p macro 561 static inline void outb_p(u8 value, unsigned long addr) in outb_p() function
|
/linux-4.19.296/drivers/bluetooth/ |
D | bluecard_cs.c | 208 outb_p(actual, iobase + offset); in bluecard_write() 211 outb_p(buf[i], iobase + offset + i + 1); in bluecard_write() 276 outb_p(command, iobase + REG_COMMAND); in bluecard_write_wakeup()
|
/linux-4.19.296/include/video/ |
D | vga.h | 209 outb_p(val, port); in vga_io_w()
|