/linux-4.4.14/drivers/watchdog/ |
D | w83977f_wdt.c | 78 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_start() 79 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt_start() 87 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt_start() 88 outb_p(0x08, IO_DATA_PORT); in wdt_start() 89 outb_p(0xF2, IO_INDEX_PORT); in wdt_start() 90 outb_p(timeoutW, IO_DATA_PORT); in wdt_start() 91 outb_p(0xF3, IO_INDEX_PORT); in wdt_start() 92 outb_p(0x08, IO_DATA_PORT); in wdt_start() 93 outb_p(0xF4, IO_INDEX_PORT); in wdt_start() 94 outb_p(0x00, IO_DATA_PORT); in wdt_start() [all …]
|
D | wdt977.c | 87 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_start() 88 outb_p(UNLOCK_DATA, IO_INDEX_PORT); in wdt977_start() 96 outb_p(DEVICE_REGISTER, IO_INDEX_PORT); in wdt977_start() 97 outb_p(0x08, IO_DATA_PORT); in wdt977_start() 98 outb_p(0xF2, IO_INDEX_PORT); in wdt977_start() 99 outb_p(timeoutM, IO_DATA_PORT); in wdt977_start() 100 outb_p(0xF3, IO_INDEX_PORT); in wdt977_start() 101 outb_p(0x00, IO_DATA_PORT); /* another setting is 0E for in wdt977_start() 103 outb_p(0xF4, IO_INDEX_PORT); in wdt977_start() 104 outb_p(0x00, IO_DATA_PORT); in wdt977_start() [all …]
|
D | pc87413_wdt.c | 80 outb_p(SIOCFG2, WDT_INDEX_IO_PORT); in pc87413_select_wdt_out() 85 outb_p(SIOCFG2, WDT_INDEX_IO_PORT); in pc87413_select_wdt_out() 87 outb_p(cr_data, WDT_DATA_IO_PORT); in pc87413_select_wdt_out() 104 outb_p(0x07, WDT_INDEX_IO_PORT); /* Point SWC_LDN (LDN=4) */ in pc87413_enable_swc() 105 outb_p(SWC_LDN, WDT_DATA_IO_PORT); in pc87413_enable_swc() 107 outb_p(0x30, WDT_INDEX_IO_PORT); /* Read Index 0x30 First */ in pc87413_enable_swc() 110 outb_p(0x30, WDT_INDEX_IO_PORT); in pc87413_enable_swc() 111 outb_p(cr_data, WDT_DATA_IO_PORT); /* Index0x30_bit0P1 */ in pc87413_enable_swc() 126 outb_p(0x60, WDT_INDEX_IO_PORT); /* Read Index 0x60 */ in pc87413_get_swc_base_addr() 129 outb_p(0x61, WDT_INDEX_IO_PORT); /* Read Index 0x61 */ in pc87413_get_swc_base_addr() [all …]
|
D | w83877f_wdt.c | 145 outb_p(ENABLE_W83877F, ENABLE_W83877F_PORT); in wdt_change() 146 outb_p(ENABLE_W83877F, ENABLE_W83877F_PORT); in wdt_change() 149 outb_p(WDT_REGISTER, ENABLE_W83877F_PORT); in wdt_change() 150 outb_p(writeval, ENABLE_W83877F_PORT+1); in wdt_change() 153 outb_p(DISABLE_W83877F, ENABLE_W83877F_PORT); in wdt_change()
|
D | pcwd.c | 228 outb_p(control_status, pcwd_private.io_addr + 2); in send_isa_command() 262 outb_p(0x00, pcwd_private.io_addr + 2); in set_command_mode() 264 outb_p(0x00, pcwd_private.io_addr + 2); in set_command_mode() 282 outb_p(0x00, pcwd_private.io_addr + 2); in unset_command_mode() 386 outb_p(wdrst_stat, pcwd_private.io_addr + 1); in pcwd_timer_ping() 389 outb_p(0x00, pcwd_private.io_addr); in pcwd_timer_ping() 413 outb_p(0x00, pcwd_private.io_addr + 3); in pcwd_start() 439 outb_p(0xA5, pcwd_private.io_addr + 3); in pcwd_stop() 441 outb_p(0xA5, pcwd_private.io_addr + 3); in pcwd_stop() 548 outb_p((control_status & WD_REVC_R2DS), in pcwd_clear_status()
|
D | pcwd_pci.c | 173 outb_p(*lsb, pcipcwd_private.io_addr + 4); in send_command() 174 outb_p(*msb, pcipcwd_private.io_addr + 5); in send_command() 175 outb_p(cmd, pcipcwd_private.io_addr + 6); in send_command() 268 outb_p(0x00, pcipcwd_private.io_addr + 3); in pcipcwd_start() 290 outb_p(0xA5, pcipcwd_private.io_addr + 3); in pcipcwd_stop() 293 outb_p(0xA5, pcipcwd_private.io_addr + 3); in pcipcwd_stop() 314 outb_p(0x42, pcipcwd_private.io_addr); /* send out any data */ in pcipcwd_keepalive() 379 outb_p((control_status & WD_PCI_R2DS) | WD_PCI_WTRP, in pcipcwd_clear_status()
|
D | wdt.c | 106 outb_p(ctr, WDT_CR); in wdt_ctr_mode() 111 outb_p(val&0xFF, WDT_COUNT0+ctr); in wdt_ctr_load() 112 outb_p(val>>8, WDT_COUNT0+ctr); in wdt_ctr_load() 135 outb_p(0, WDT_DC); /* Enable watchdog */ in wdt_start() 173 outb_p(0, WDT_DC); /* Enable watchdog */ in wdt_ping()
|
D | w83627hf_wdt.c | 124 outb_p(0x87, WDT_EFER); /* Enter extended function mode */ in superio_enter() 125 outb_p(0x87, WDT_EFER); /* Again according to manual */ in superio_enter() 137 outb_p(0xAA, WDT_EFER); /* Leave extended function mode */ in superio_exit()
|
D | ib700wdt.c | 123 outb_p(wd_margin, WDT_START); in ibwdt_ping() 131 outb_p(0, WDT_STOP); in ibwdt_disable()
|
D | sc1200wdt.c | 108 outb_p(index, PMIR); in __sc1200wdt_read_data() 123 outb_p(index, PMIR); in __sc1200wdt_write_data()
|
D | mixcomwd.c | 119 outb_p(55, watchdog_port); in mixcomwd_ping()
|
D | wafer5823wdt.c | 88 outb_p(timeout, wdt_start); in wafwdt_start()
|
D | sbc7240_wdt.c | 87 outb_p((unsigned)t, SBC7240_SET_TIMEOUT_PORT); in wdt_set_timeout()
|
D | advantechwdt.c | 93 outb_p(timeout, wdt_start); in advwdt_ping()
|
/linux-4.4.14/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 | 259 outb_p(smb_en, smba_idx); in piix4_setup_sb800() 261 outb_p(smb_en + 1, smba_idx); in piix4_setup_sb800() 377 outb_p(temp, SMBHSTSTS); in piix4_transaction() 387 outb_p(inb(SMBHSTCNT) | 0x040, SMBHSTCNT); in piix4_transaction() 423 outb_p(inb(SMBHSTSTS), SMBHSTSTS); in piix4_transaction() 448 outb_p((addr << 1) | read_write, in piix4_access() 453 outb_p((addr << 1) | read_write, in piix4_access() 456 outb_p(command, SMBHSTCMD); in piix4_access() 460 outb_p((addr << 1) | read_write, in piix4_access() 462 outb_p(command, SMBHSTCMD); in piix4_access() [all …]
|
D | i2c-i801.c | 290 outb_p(status, SMBHSTSTS(priv)); in i801_check_pre() 322 outb_p(inb_p(SMBHSTCNT(priv)) | SMBHSTCNT_KILL, in i801_check_post() 325 outb_p(inb_p(SMBHSTCNT(priv)) & (~SMBHSTCNT_KILL), in i801_check_post() 334 outb_p(STATUS_FLAGS, SMBHSTSTS(priv)); in i801_check_post() 352 outb_p(status, SMBHSTSTS(priv)); in i801_check_post() 409 outb_p(xact | SMBHSTCNT_INTREN | SMBHSTCNT_START, in i801_transaction() 425 outb_p(xact | SMBHSTCNT_START, SMBHSTCNT(priv)); in i801_transaction() 443 outb_p(len, SMBHSTDAT0(priv)); in i801_block_transaction_by_block() 445 outb_p(data->block[i+1], SMBBLKDAT(priv)); in i801_block_transaction_by_block() 495 outb_p(priv->cmd | SMBHSTCNT_LAST_BYTE, in i801_isr_byte_done() [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-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.4.14/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.4.14/drivers/clocksource/ |
D | i8253.c | 51 outb_p(0x00, PIT_MODE); /* latch the count ASAP */ in i8253_read() 57 outb_p(0x34, PIT_MODE); in i8253_read() 58 outb_p(PIT_LATCH & 0xff, PIT_CH0); in i8253_read() 59 outb_p(PIT_LATCH >> 8, PIT_CH0); in i8253_read() 110 outb_p(0x30, PIT_MODE); in pit_shutdown() 111 outb_p(0, PIT_CH0); in pit_shutdown() 112 outb_p(0, PIT_CH0); in pit_shutdown() 121 outb_p(0x38, PIT_MODE); in pit_set_oneshot() 131 outb_p(0x34, PIT_MODE); in pit_set_periodic() 132 outb_p(PIT_LATCH & 0xff, PIT_CH0); /* LSB */ in pit_set_periodic() [all …]
|
/linux-4.4.14/drivers/input/serio/ |
D | ct82c710.c | 103 outb_p(inb_p(CT82C710_STATUS) & ~(CT82C710_ENABLE | CT82C710_INTS_ON), CT82C710_STATUS); in ct82c710_close() 123 outb_p(status, CT82C710_STATUS); in ct82c710_open() 126 outb_p(status, CT82C710_STATUS); in ct82c710_open() 129 outb_p(status, CT82C710_STATUS); /* Enable interrupts */ in ct82c710_open() 134 outb_p(status, CT82C710_STATUS); in ct82c710_open() 149 outb_p(c, CT82C710_DATA); in ct82c710_write() 159 outb_p(0x55, 0x2fa); /* Any value except 9, ff or 36 */ in ct82c710_detect() 160 outb_p(0xaa, 0x3fa); /* Inverse of 55 */ in ct82c710_detect() 161 outb_p(0x36, 0x3fa); /* Address the chip */ in ct82c710_detect() 162 outb_p(0xe4, 0x3fa); /* 390/4; 390 = config address */ in ct82c710_detect() [all …]
|
/linux-4.4.14/drivers/video/console/ |
D | vgacon.c | 170 outb_p(reg, vga_video_port_reg); in write_vga() 171 outb_p(val >> 8, vga_video_port_val); in write_vga() 172 outb_p(reg + 1, vga_video_port_reg); in write_vga() 173 outb_p(val & 0xff, vga_video_port_val); in write_vga() 467 outb_p(6, VGA_GFX_I); in vgacon_startup() 468 outb_p(6, VGA_GFX_D); in vgacon_startup() 478 outb_p(i, VGA_ATT_W); in vgacon_startup() 479 outb_p(i, VGA_ATT_W); in vgacon_startup() 481 outb_p(0x20, VGA_ATT_W); in vgacon_startup() 488 outb_p(color_table[i], VGA_PEL_IW); in vgacon_startup() [all …]
|
D | mdacon.c | 114 outb_p(reg, mda_index_port); in write_mda_b() 115 outb_p(val, mda_value_port); in write_mda_b() 126 outb_p(reg, mda_index_port); outb_p(val >> 8, mda_value_port); in write_mda_w() 127 outb_p(reg+1, mda_index_port); outb_p(val & 0xff, mda_value_port); in write_mda_w() 139 outb_p(reg, mda_index_port); in test_mda_b() 305 outb_p(MDA_MODE_VIDEO_EN | MDA_MODE_BLINK_EN, mda_mode_port); in mda_initialize() 306 outb_p(0x00, mda_status_port); in mda_initialize() 307 outb_p(0x00, mda_gfx_port); in mda_initialize() 500 outb_p(0x00, mda_mode_port); /* disable video */ in mdacon_blank() 502 outb_p(MDA_MODE_VIDEO_EN | MDA_MODE_BLINK_EN, in mdacon_blank()
|
/linux-4.4.14/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 | 160 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 165 outb_p(mute | GEMTEK_CE | bit, isa->io); in gemtek_bu2614_transmit() 167 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 171 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 243 outb_p((i >> 5) | (mute ? GEMTEK_MT : 0), isa->io); in gemtek_s_mute_volume() 266 outb_p(1 << i, io); in gemtek_probe() 272 outb_p(q >> 5, io); /* Write bus contents back. */ in gemtek_probe()
|
D | radio-aztech.c | 80 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.4.14/drivers/net/ethernet/8390/ |
D | ne.c | 318 outb_p(E8390_NODMA+E8390_PAGE1+E8390_STOP, ioaddr + E8390_CMD); in ne_probe1() 320 outb_p(0xff, ioaddr + 0x0d); in ne_probe1() 321 outb_p(E8390_NODMA+E8390_PAGE0, ioaddr + E8390_CMD); in ne_probe1() 324 outb_p(reg0, ioaddr); in ne_probe1() 325 outb_p(regd, ioaddr + 0x0d); /* Restore the old values. */ in ne_probe1() 364 outb_p(0xff, ioaddr + EN0_ISR); /* Ack all intr. */ in ne_probe1() 390 outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); in ne_probe1() 405 outb_p(DCR_VAL, ioaddr + EN0_DCFG); in ne_probe1() 481 outb_p(0x50, ioaddr + EN0_IMR); /* Enable one interrupt. */ in ne_probe1() 482 outb_p(0x00, ioaddr + EN0_RCNTLO); in ne_probe1() [all …]
|
D | axnet_cs.c | 222 outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); in get_prom() 424 outb_p(MDIO_DATA_WRITE1, addr); in mdio_sync() 425 outb_p(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, addr); in mdio_sync() 437 outb_p(dat, addr); in mdio_read() 438 outb_p(dat | MDIO_SHIFT_CLK, addr); in mdio_read() 441 outb_p(MDIO_ENB_IN, addr); in mdio_read() 443 outb_p(MDIO_ENB_IN | MDIO_SHIFT_CLK, addr); in mdio_read() 456 outb_p(dat, addr); in mdio_write() 457 outb_p(dat | MDIO_SHIFT_CLK, addr); in mdio_write() 460 outb_p(MDIO_ENB_IN, addr); in mdio_write() [all …]
|
D | pcnet_cs.c | 350 outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); in get_prom() 406 outb_p(0x01, ioaddr + EN0_DCFG); /* Set word-wide access. */ in get_ax88190() 407 outb_p(0x00, ioaddr + EN0_RSARLO); /* DMA starting at 0x0400. */ in get_ax88190() 408 outb_p(0x04, ioaddr + EN0_RSARHI); in get_ax88190() 409 outb_p(E8390_RREAD+E8390_START, ioaddr + E8390_CMD); in get_ax88190() 771 outb_p(EE_EEP|EE_CS|dataval, ee_addr); in read_eeprom() 772 outb_p(EE_EEP|EE_CS|dataval|EE_CK, ee_addr); in read_eeprom() 777 outb_p(EE_EEP|EE_CS | EE_CK, ee_addr); in read_eeprom() 779 outb_p(EE_EEP|EE_CS, ee_addr); in read_eeprom() 810 outb_p(EE_ASIC|EE_CS|EE_DI|dataval, ee_addr); in write_asic() [all …]
|
D | wd.c | 290 outb_p(E8390_NODMA + E8390_STOP, nic_addr); in wd_probe1() 294 outb_p(0xff, nic_addr + EN0_IMR); /* Enable all interrupts. */ in wd_probe1() 295 outb_p(0x00, nic_addr + EN0_RCNTLO); in wd_probe1() 296 outb_p(0x00, nic_addr + EN0_RCNTHI); in wd_probe1() 301 outb_p(0x00, nic_addr+EN0_IMR); /* Mask all intrs. again. */ in wd_probe1()
|
D | 8390p.c | 9 #define ei_outb_p(_v, _p) outb_p(_v, _p)
|
D | smc-ultra.c | 412 outb_p(E8390_NODMA+E8390_PAGE0, dev->base_addr); in ultra_open()
|
/linux-4.4.14/drivers/ide/ |
D | ali14xx.c | 92 outb_p(reg, regPort); in inReg() 101 outb_p(reg, regPort); in outReg() 102 outb_p(data, dataPort); in outReg() 137 outb_p(regOn, basePort); in ali14xx_set_pio_mode() 142 outb_p(regOff, basePort); in ali14xx_set_pio_mode() 160 outb_p(regOn, basePort); in findPort() 165 outb_p(regOff, basePort); in findPort() 172 outb_p(regOff, basePort); in findPort() 188 outb_p(regOn, basePort); in initRegisters() 191 outb_p(0x01, regPort); in initRegisters() [all …]
|
D | umc8672.c | 75 outb_p(port, 0x108); in out_umc() 76 outb_p(wert, 0x109); in out_umc() 81 outb_p(port, 0x108); in in_umc() 89 outb_p(0x5A, 0x108); /* enable umc */ in umc_set_speeds() 101 outb_p(0xa5, 0x108); /* disable umc */ in umc_set_speeds() 148 outb_p(0x5A, 0x108); /* enable umc */ in umc8672_probe() 155 outb_p(0xa5, 0x108); /* disable umc */ in umc8672_probe()
|
D | dtc2278.c | 57 outb_p(b,0xb0); in sub22() 59 outb_p(c,0xb4); in sub22() 62 outb_p(7,0xb0); in sub22() 116 outb_p(4,0xb0); in dtc2278_probe() 118 outb_p(0x20,0xb4); in dtc2278_probe()
|
D | cmd640.c | 207 outb_p(val, (reg & 3) | 0xcfc); in put_cmd640_reg_pci1() 220 outb_p(0x10, 0xcf8); in put_cmd640_reg_pci2() 221 outb_p(val, cmd640_key + reg); in put_cmd640_reg_pci2() 222 outb_p(0, 0xcf8); in put_cmd640_reg_pci2() 229 outb_p(0x10, 0xcf8); in get_cmd640_reg_pci2() 231 outb_p(0, 0xcf8); in get_cmd640_reg_pci2() 239 outb_p(reg, cmd640_key); in put_cmd640_reg_vlb() 240 outb_p(val, cmd640_key + 4); in put_cmd640_reg_vlb() 245 outb_p(reg, cmd640_key); in get_cmd640_reg_vlb() 346 outb_p(0x0a, 0x176); /* select drive0 */ in secondary_port_responding() [all …]
|
D | qd65xx.c | 274 outb_p(QD_TESTVAL, port); /* safe value */ in qd_testreg()
|
D | serverworks.c | 205 outb_p(0x06, 0x0c00); in init_chipset_svwks()
|
/linux-4.4.14/drivers/cpufreq/ |
D | elanfreq.c | 85 outb_p(0x80, REG_CSCIR); in elanfreq_get_cpu_frequency() 124 outb_p(0x40, REG_CSCIR); /* Disable hyperspeed mode */ in elanfreq_target() 125 outb_p(0x00, REG_CSCDR); in elanfreq_target() 132 outb_p(0x80, REG_CSCIR); in elanfreq_target() 133 outb_p(elan_multiplier[state].val80h, REG_CSCDR); in elanfreq_target() 136 outb_p(0x40, REG_CSCIR); in elanfreq_target() 137 outb_p(elan_multiplier[state].val40h, REG_CSCDR); in elanfreq_target()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | htcpen.c | 56 outb_p(TOUCH_INDEX, HTCPEN_PORT_INDEX); in htcpen_interrupt() 61 outb_p(X_INDEX, HTCPEN_PORT_INDEX); in htcpen_interrupt() 64 outb_p(Y_INDEX, HTCPEN_PORT_INDEX); in htcpen_interrupt() 67 outb_p(LSB_XY_INDEX, HTCPEN_PORT_INDEX); in htcpen_interrupt() 94 outb_p(DEVICE_ENABLE, HTCPEN_PORT_INIT); in htcpen_open() 101 outb_p(DEVICE_DISABLE, HTCPEN_PORT_INIT); in htcpen_close() 196 outb_p(DEVICE_DISABLE, HTCPEN_PORT_INIT); in htcpen_isa_suspend() 203 outb_p(DEVICE_ENABLE, HTCPEN_PORT_INIT); in htcpen_isa_resume()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | hgafb.c | 146 outb_p(reg, HGA_INDEX_PORT); in write_hga_b() 147 outb_p(val, HGA_VALUE_PORT); in write_hga_b() 152 outb_p(reg, HGA_INDEX_PORT); outb_p(val >> 8, HGA_VALUE_PORT); in write_hga_w() 153 outb_p(reg+1, HGA_INDEX_PORT); outb_p(val & 0xff, HGA_VALUE_PORT); in write_hga_w() 158 outb_p(reg, HGA_INDEX_PORT); in test_hga_b() 184 outb_p(HGA_MODE_VIDEO_EN | HGA_MODE_BLINK_EN, HGA_MODE_PORT); in hga_txt_mode() 185 outb_p(0x00, HGA_GFX_PORT); in hga_txt_mode() 186 outb_p(0x00, HGA_STATUS_PORT); in hga_txt_mode() 215 outb_p(0x00, HGA_STATUS_PORT); in hga_gfx_mode() 216 outb_p(HGA_GFX_MODE_EN, HGA_GFX_PORT); in hga_gfx_mode() [all …]
|
D | vesafb.c | 95 outb_p(regno, dac_reg); in vesa_setpalette() 96 outb_p(red >> shift, dac_val); in vesa_setpalette() 97 outb_p(green >> shift, dac_val); in vesa_setpalette() 98 outb_p(blue >> shift, dac_val); in vesa_setpalette()
|
D | vga16fb.c | 752 outb_p(SeqCtrlIndex, VGA_SEQ_I); in vga_vesa_blank() 753 outb_p(CrtCtrlIndex, VGA_CRT_IC); in vga_vesa_blank() 793 outb_p(i, VGA_PEL_IW); in vga_pal_blank() 794 outb_p(0, VGA_PEL_D); in vga_pal_blank() 795 outb_p(0, VGA_PEL_D); in vga_pal_blank() 796 outb_p(0, VGA_PEL_D); in vga_pal_blank()
|
D | sm712fb.c | 1360 outb_p(0x18, 0x3c4); in sm7xx_init_hw() 1361 outb_p(0x11, 0x3c5); in sm7xx_init_hw()
|
D | uvesafb.c | 957 outb_p(start + i, dac_reg); in uvesafb_setpalette() 958 outb_p(entries[i].red, dac_val); in uvesafb_setpalette() 959 outb_p(entries[i].green, dac_val); in uvesafb_setpalette() 960 outb_p(entries[i].blue, dac_val); in uvesafb_setpalette()
|
/linux-4.4.14/drivers/irqchip/ |
D | irq-i8259.c | 262 outb_p(0x11, PIC_MASTER_CMD); /* ICW1: select 8259A-1 init */ in init_8259A() 263 …outb_p(I8259A_IRQ_BASE + 0, PIC_MASTER_IMR); /* ICW2: 8259A-1 IR0 mapped to I8259A_IRQ_BASE + 0x00… in init_8259A() 264 outb_p(1U << PIC_CASCADE_IR, PIC_MASTER_IMR); /* 8259A-1 (the master) has a slave on IR2 */ in init_8259A() 266 outb_p(MASTER_ICW4_DEFAULT | PIC_ICW4_AEOI, PIC_MASTER_IMR); in init_8259A() 268 outb_p(MASTER_ICW4_DEFAULT, PIC_MASTER_IMR); in init_8259A() 270 outb_p(0x11, PIC_SLAVE_CMD); /* ICW1: select 8259A-2 init */ in init_8259A() 271 …outb_p(I8259A_IRQ_BASE + 8, PIC_SLAVE_IMR); /* ICW2: 8259A-2 IR0 mapped to I8259A_IRQ_BASE + 0x08 … in init_8259A() 272 outb_p(PIC_CASCADE_IR, PIC_SLAVE_IMR); /* 8259A-2 is a slave on master's IR2 */ in init_8259A() 273 …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.4.14/arch/alpha/include/asm/ |
D | mc146818rtc.h | 19 outb_p((addr),RTC_PORT(0)); \ 23 outb_p((addr),RTC_PORT(0)); \ 24 outb_p((val),RTC_PORT(1)); \
|
D | floppy.h | 15 #define fd_outb(value,port) outb_p(value,port)
|
D | io.h | 502 #define outb_p outb macro
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | mc146818rtc_32.h | 19 outb_p((addr),RTC_PORT(0)); \ 23 outb_p((addr),RTC_PORT(0)); \ 24 outb_p((val),RTC_PORT(1)); \
|
D | mc146818rtc_64.h | 20 outb_p((addr),RTC_PORT(0)); \ 24 outb_p((addr),RTC_PORT(0)); \ 25 outb_p((val),RTC_PORT(1)); \
|
D | io_64.h | 232 #define outb_p(__b, __addr) outb(__b, __addr) macro
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | mc146818rtc.h | 19 outb_p((addr),RTC_PORT(0)); \ 23 outb_p((addr),RTC_PORT(0)); \ 24 outb_p((val),RTC_PORT(1)); \
|
D | io.h | 140 #define outb_p _outb_p macro
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | mc146818rtc.h | 27 outb_p((addr),RTC_PORT(0)); \ 31 outb_p((addr),RTC_PORT(0)); \ 32 outb_p((val),RTC_PORT(1)); \
|
D | floppy.h | 17 #define fd_outb(value,port) outb_p(value,port) 69 outb_p(*lptr, virtual_dma_port+5); in floppy_hardint()
|
D | dma.h | 33 #define dma_outb outb_p
|
D | io.h | 669 #define outb_p(val, port) (udelay(1), outb((val), (port))) macro
|
/linux-4.4.14/arch/arm/include/asm/ |
D | mc146818rtc.h | 22 outb_p((addr),RTC_PORT(0)); \ 26 outb_p((addr),RTC_PORT(0)); \ 27 outb_p((val),RTC_PORT(1)); \
|
/linux-4.4.14/arch/mips/include/asm/mach-generic/ |
D | mc146818rtc.h | 20 outb_p(addr, RTC_PORT(0)); in CMOS_READ() 26 outb_p(addr, RTC_PORT(0)); in CMOS_WRITE() 27 outb_p(data, RTC_PORT(1)); in CMOS_WRITE()
|
D | floppy.h | 36 outb_p(value, port); in fd_outb()
|
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/ |
D | mc146818rtc.h | 20 outb_p(addr, RTC_PORT(0)); in CMOS_READ() 26 outb_p(addr, RTC_PORT(0)); in CMOS_WRITE() 27 outb_p(data, RTC_PORT(1)); in CMOS_WRITE()
|
/linux-4.4.14/arch/sh/boards/mach-se/770x/ |
D | setup.c | 23 outb_p(index, INDEX_PORT); in smsc_config() 24 outb_p(data, DATA_PORT); in smsc_config() 30 outb_p(CONFIG_ENTER, CONFIG_PORT); in smsc_setup() 31 outb_p(CONFIG_ENTER, CONFIG_PORT); in smsc_setup() 63 outb_p(CONFIG_EXIT, CONFIG_PORT); in smsc_setup()
|
/linux-4.4.14/drivers/staging/speakup/ |
D | speakup_decpc.c | 257 outb_p(cmd & 0xFF, speakup_info.port_tts); in dt_sendcmd() 258 outb_p((cmd >> 8) & 0xFF, speakup_info.port_tts+1); in dt_sendcmd() 294 outb_p(0, speakup_info.port_tts+2); in dt_ctrl() 295 outb_p(0, speakup_info.port_tts+3); in dt_ctrl() 298 outb_p(0, speakup_info.port_tts+6); in dt_ctrl() 326 outb_p(DMA_sync, speakup_info.port_tts+4); in synth_flush() 327 outb_p(0, speakup_info.port_tts+4); in synth_flush() 345 outb_p(DMA_single_in, speakup_info.port_tts+4); in dt_sendchar() 346 outb_p(ch, speakup_info.port_tts+4); in dt_sendchar()
|
D | speakup_acntpc.c | 168 outb_p(ch, speakup_info.port_tts); in synth_immediate() 227 outb_p(ch, speakup_info.port_tts); in do_catch_up() 235 outb_p(PROCSPEECH, speakup_info.port_tts); in do_catch_up() 250 outb_p(PROCSPEECH, speakup_info.port_tts); in do_catch_up() 255 outb_p(SYNTH_CLEAR, speakup_info.port_tts); in synth_flush()
|
D | speakup_keypc.c | 169 outb_p(ch, synth_port); in synth_immediate() 230 outb_p(ch, synth_port); in do_catch_up() 241 outb_p(PROCSPEECH, synth_port); in do_catch_up() 257 outb_p(PROCSPEECH, synth_port); in do_catch_up() 262 outb_p(SYNTH_CLEAR, synth_port); in synth_flush()
|
D | speakup_dtlk.c | 183 outb_p(ch, speakup_info.port_tts); in spk_out() 264 outb_p(SYNTH_CLEAR, speakup_info.port_tts); in synth_flush() 276 outb_p(ch, speakup_info.port_tts); in synth_read_tts()
|
D | synth.c | 57 outb_p(0, ser->port); in spk_serial_synth_probe() 59 outb_p('\r', ser->port); in spk_serial_synth_probe()
|
D | serialio.c | 219 outb_p(ch, speakup_info.port_tts); in spk_serial_out()
|
/linux-4.4.14/drivers/block/ |
D | hd.c | 168 outb_p(0, 0x43); in read_timer() 297 outb_p(0xA0 | (drive<<4) | head, HD_CURRENT); in controller_ready() 325 outb_p(disk->ctl, HD_CMD); in hd_out() 327 outb_p(disk->wpcom >> 2, ++port); in hd_out() 328 outb_p(nsect, ++port); in hd_out() 329 outb_p(sect, ++port); in hd_out() 330 outb_p(cyl, ++port); in hd_out() 331 outb_p(cyl >> 8, ++port); in hd_out() 332 outb_p(0xA0 | (disk->unit << 4) | head, ++port); in hd_out() 333 outb_p(cmd, ++port); in hd_out() [all …]
|
/linux-4.4.14/sound/drivers/pcsp/ |
D | pcsp_input.c | 29 outb_p(0xB6, 0x43); in pcspkr_do_sound() 31 outb_p(count & 0xff, 0x42); in pcspkr_do_sound() 34 outb_p(inb_p(0x61) | 3, 0x61); in pcspkr_do_sound()
|
D | pcsp_lib.c | 71 outb_p(chip->val61, 0x61); in pcsp_timer_update() 72 outb_p(timer_cnt, 0x42); in pcsp_timer_update() 164 outb_p(0x92, 0x43); /* binary, mode 1, LSB only, ch 2 */ in pcsp_start_playing() 184 outb_p(0xb6, 0x43); /* binary, mode 3, LSB/MSB, ch 2 */ in pcsp_stop_playing()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | mach_timer.h | 35 outb_p(CALIBRATE_LATCH & 0xff, 0x42); /* LSB of count */ in mach_prepare_counter() 36 outb_p(CALIBRATE_LATCH >> 8, 0x42); /* MSB of count */ in mach_prepare_counter()
|
D | floppy.h | 35 #define fd_outb(value, port) outb_p(value, port) 84 outb_p(*lptr, virtual_dma_port + 5); in floppy_hardint()
|
D | dma.h | 15 #define dma_outb outb_p
|
/linux-4.4.14/arch/mips/include/asm/mach-jazz/ |
D | mc146818rtc.h | 24 outb_p(addr, RTC_PORT(0)); in CMOS_READ() 30 outb_p(addr, RTC_PORT(0)); in CMOS_WRITE()
|
/linux-4.4.14/drivers/input/misc/ |
D | pcspkr.c | 49 outb_p(0xB6, 0x43); in pcspkr_event() 51 outb_p(count & 0xff, 0x42); in pcspkr_event() 54 outb_p(inb_p(0x61) | 3, 0x61); in pcspkr_event()
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | vga.h | 14 #undef outb_p 21 #define outb_p(port, val) do { } while (0) macro
|
D | floppy.h | 78 outb_p(value, port); in fd_outb() 218 outb_p(*lptr, virtual_dma_port+5); in floppy_hardint()
|
D | io_mm.h | 119 #define outb_p mcf_pci_outb macro 361 #define outb_p isa_outb_p macro 397 #define outb_p(val, port) ((port) < 1024 ? isa_rom_outb_p((val), (port)) : out_8((port), (val))) macro 424 #define outb_p(val,port) ((void)0) macro
|
D | io_no.h | 125 #define outb_p(x,addr) outb(x,addr) macro
|
/linux-4.4.14/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.4.14/arch/powerpc/platforms/ |
D | fsl_uli1575.c | 170 outb_p(0x7c, 0x72); in quirk_final_uli1575() 171 outb_p(RTC_ALARM_DONT_CARE, 0x73); in quirk_final_uli1575() 173 outb_p(0x7d, 0x72); in quirk_final_uli1575() 174 outb_p(RTC_ALARM_DONT_CARE, 0x73); in quirk_final_uli1575()
|
/linux-4.4.14/arch/powerpc/platforms/maple/ |
D | time.c | 47 outb_p(addr, maple_rtc_addr); in maple_clock_read() 53 outb_p(addr, maple_rtc_addr); in maple_clock_write() 54 outb_p(val, maple_rtc_addr+1); in maple_clock_write()
|
D | setup.c | 118 outb_p(*maple_nvram_command, maple_nvram_base + *maple_nvram_offset); in maple_restart() 145 outb_p(*maple_nvram_command, maple_nvram_base + *maple_nvram_offset); in maple_power_off()
|
/linux-4.4.14/drivers/hwmon/ |
D | w83781d.c | 1679 outb_p(W83781D_REG_BANK, in w83781d_read_value_isa() 1681 outb_p(reg >> 8, in w83781d_read_value_isa() 1684 outb_p(reg & 0xff, data->isa_addr + W83781D_ADDR_REG_OFFSET); in w83781d_read_value_isa() 1687 outb_p((reg & 0xff) + 1, in w83781d_read_value_isa() 1694 outb_p(W83781D_REG_BANK, in w83781d_read_value_isa() 1696 outb_p(0, data->isa_addr + W83781D_DATA_REG_OFFSET); in w83781d_read_value_isa() 1711 outb_p(W83781D_REG_BANK, in w83781d_write_value_isa() 1713 outb_p(reg >> 8, in w83781d_write_value_isa() 1716 outb_p(reg & 0xff, data->isa_addr + W83781D_ADDR_REG_OFFSET); in w83781d_write_value_isa() 1718 outb_p(value >> 8, in w83781d_write_value_isa() [all …]
|
D | lm78.c | 700 outb_p(reg, data->isa_addr + LM78_ADDR_REG_OFFSET); in lm78_read_value() 716 outb_p(reg, data->isa_addr + LM78_ADDR_REG_OFFSET); in lm78_write_value() 717 outb_p(value, data->isa_addr + LM78_DATA_REG_OFFSET); in lm78_write_value() 882 outb_p(val, address + LM78_ADDR_REG_OFFSET); in lm78_isa_found() 884 outb_p(save, address + LM78_ADDR_REG_OFFSET); in lm78_isa_found() 889 outb_p(LM78_REG_CONFIG, address + LM78_ADDR_REG_OFFSET); in lm78_isa_found() 893 outb_p(LM78_REG_I2C_ADDR, address + LM78_ADDR_REG_OFFSET); in lm78_isa_found() 903 outb_p(0x4f, address + LM78_ADDR_REG_OFFSET); in lm78_isa_found() 909 outb_p(0x58, address + LM78_ADDR_REG_OFFSET); in lm78_isa_found() 915 outb_p(LM78_REG_CHIPID, address + LM78_ADDR_REG_OFFSET); in lm78_isa_found()
|
D | nct6683.c | 502 outb_p(0xff, data->addr + EC_PAGE_REG); /* unlock */ in nct6683_read() 503 outb_p(reg >> 8, data->addr + EC_PAGE_REG); in nct6683_read() 504 outb_p(reg & 0xff, data->addr + EC_INDEX_REG); in nct6683_read() 516 outb_p(0xff, data->addr + EC_PAGE_REG); /* unlock */ in nct6683_write() 517 outb_p(reg >> 8, data->addr + EC_PAGE_REG); in nct6683_write() 518 outb_p(reg & 0xff, data->addr + EC_INDEX_REG); in nct6683_write() 519 outb_p(value & 0xff, data->addr + EC_DATA_REG); in nct6683_write()
|
D | w83627hf.c | 1600 outb_p(W83781D_REG_BANK, data->addr + W83781D_ADDR_REG_OFFSET); in w83627hf_set_bank() 1601 outb_p(reg >> 8, data->addr + W83781D_DATA_REG_OFFSET); in w83627hf_set_bank() 1609 outb_p(W83781D_REG_BANK, data->addr + W83781D_ADDR_REG_OFFSET); in w83627hf_reset_bank() 1610 outb_p(0, data->addr + W83781D_DATA_REG_OFFSET); in w83627hf_reset_bank() 1625 outb_p(reg & 0xff, data->addr + W83781D_ADDR_REG_OFFSET); in w83627hf_read_value() 1628 outb_p((reg & 0xff) + 1, in w83627hf_read_value() 1710 outb_p(reg & 0xff, data->addr + W83781D_ADDR_REG_OFFSET); in w83627hf_write_value() 1712 outb_p(value >> 8, in w83627hf_write_value() 1714 outb_p((reg & 0xff) + 1, in w83627hf_write_value() 1717 outb_p(value & 0xff, in w83627hf_write_value()
|
D | sis5595.c | 683 outb_p(reg, data->addr + SIS5595_ADDR_REG_OFFSET); in sis5595_read_value() 692 outb_p(reg, data->addr + SIS5595_ADDR_REG_OFFSET); in sis5595_write_value() 693 outb_p(value, data->addr + SIS5595_DATA_REG_OFFSET); in sis5595_write_value()
|
D | w83627ehf.c | 528 outb_p(W83627EHF_REG_BANK, data->addr + ADDR_REG_OFFSET); in w83627ehf_set_bank() 529 outb_p(bank, data->addr + DATA_REG_OFFSET); in w83627ehf_set_bank() 541 outb_p(reg & 0xff, data->addr + ADDR_REG_OFFSET); in w83627ehf_read_value() 544 outb_p((reg & 0xff) + 1, in w83627ehf_read_value() 561 outb_p(reg & 0xff, data->addr + ADDR_REG_OFFSET); in w83627ehf_write_value() 563 outb_p(value >> 8, data->addr + DATA_REG_OFFSET); in w83627ehf_write_value() 564 outb_p((reg & 0xff) + 1, in w83627ehf_write_value() 567 outb_p(value & 0xff, data->addr + DATA_REG_OFFSET); in w83627ehf_write_value()
|
D | nct6775.c | 1177 outb_p(NCT6775_REG_BANK, data->addr + ADDR_REG_OFFSET); in nct6775_set_bank() 1178 outb_p(bank, data->addr + DATA_REG_OFFSET); in nct6775_set_bank() 1188 outb_p(reg & 0xff, data->addr + ADDR_REG_OFFSET); in nct6775_read_value() 1191 outb_p((reg & 0xff) + 1, in nct6775_read_value() 1203 outb_p(reg & 0xff, data->addr + ADDR_REG_OFFSET); in nct6775_write_value() 1205 outb_p(value >> 8, data->addr + DATA_REG_OFFSET); in nct6775_write_value() 1206 outb_p((reg & 0xff) + 1, in nct6775_write_value() 1209 outb_p(value & 0xff, data->addr + DATA_REG_OFFSET); in nct6775_write_value()
|
D | pc87360.c | 1400 outb_p(bank, data->address[ldi] + PC87365_REG_BANK); in pc87360_read_value() 1412 outb_p(bank, data->address[ldi] + PC87365_REG_BANK); in pc87360_write_value() 1413 outb_p(value, data->address[ldi] + reg); in pc87360_write_value()
|
D | smsc47m1.c | 153 outb_p(value, data->addr + reg); in smsc47m1_write_value()
|
D | it87.c | 2466 outb_p(reg, data->addr + IT87_ADDR_REG_OFFSET); in it87_read_value() 2477 outb_p(reg, data->addr + IT87_ADDR_REG_OFFSET); in it87_write_value() 2478 outb_p(value, data->addr + IT87_DATA_REG_OFFSET); in it87_write_value()
|
D | via686a.c | 349 outb_p(value, data->addr + reg); in via686a_write_value()
|
D | vt8231.c | 191 outb_p(value, data->addr + reg); in vt8231_write_value()
|
/linux-4.4.14/arch/mips/sni/ |
D | time.c | 90 outb_p(0x34, 0x43); in dosample() 91 outb_p(SNI_8254_TCSAMP_COUNTER & 0xff, 0x40); in dosample()
|
D | reset.c | 38 outb_p(0xfe, 0x64); /* pulse reset low */ in sni_machine_restart()
|
/linux-4.4.14/drivers/net/hamradio/ |
D | dmascc.c | 632 outb_p(reg, priv->scc_cmd); in write_scc() 633 outb_p(val, priv->scc_cmd); in write_scc() 637 outb_p(0, priv->card_base + PI_DREQ_MASK); in write_scc() 639 outb_p(reg, priv->scc_cmd); in write_scc() 640 outb_p(val, priv->scc_cmd); in write_scc() 656 outb_p(val, priv->scc_data); in write_scc_data() 660 outb_p(val, priv->scc_data); in write_scc_data() 663 outb_p(0, priv->card_base + PI_DREQ_MASK); in write_scc_data() 664 outb_p(val, priv->scc_data); in write_scc_data() 684 outb_p(reg, priv->scc_cmd); in read_scc() [all …]
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | dt2801.c | 267 outb_p(data & 0xff, dev->iobase + DT2801_DATA); in dt2801_writedata() 322 outb_p(command, dev->iobase + DT2801_CMD); in dt2801_writecmd() 338 outb_p(DT_C_STOP, dev->iobase + DT2801_CMD); in dt2801_reset() 353 outb_p(DT_C_RESET, dev->iobase + DT2801_CMD); in dt2801_reset()
|
D | c6xdigio.c | 75 outb_p(val, dev->iobase + C6XDIGIO_DATA_REG); in c6xdigio_write_data()
|
D | das08.c | 218 outb_p(0, dev->iobase + DAS08_AI_TRIG_REG); in das08_ai_insn_read()
|
D | das800.c | 560 outb_p(0, dev->iobase + DAS800_MSB); in das800_ai_insn_read()
|
D | das16.c | 842 outb_p(0, dev->iobase + DAS16_TRIG_REG); in das16_ai_insn_read()
|
/linux-4.4.14/drivers/scsi/ |
D | megaraid.h | 923 outb_p(ISSUE_BYTE, (adapter)->base + CMD_PORT) 928 outb_p((value), (adapter)->base + INTR_PORT) 931 outb_p(ACK_BYTE, (adapter)->base + ACK_PORT) 934 outb_p(ENABLE_INTR_BYTE, (adapter)->base + TOGGLE_PORT) 937 outb_p(DISABLE_INTR_BYTE, (adapter)->base + TOGGLE_PORT)
|
D | ppa.h | 143 #define w_ctr(x,y) outb_p(y, (x)+2)
|
D | imm.h | 136 #define w_ctr(x,y) outb_p(y, (x)+2)
|
/linux-4.4.14/include/linux/ |
D | scc.h | 20 #define Outb(port, val) outb_p(val, port)
|
/linux-4.4.14/drivers/staging/sm750fb/ |
D | ddk750_mode.c | 195 outb_p(0x88, 0x3d4); in ddk750_setModeTiming() 196 outb_p(0x06, 0x3d5); in ddk750_setModeTiming()
|
D | ddk750_chip.c | 221 outb_p(0x88, 0x3d4); in ddk750_initHw() 222 outb_p(0x06, 0x3d5); in ddk750_initHw()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | io_noioport.h | 51 #define outb_p(x, addr) outb((x), (addr)) macro
|
/linux-4.4.14/include/asm-generic/ |
D | io.h | 432 #ifndef outb_p 433 #define outb_p outb_p macro 434 static inline void outb_p(u8 value, unsigned long addr) in outb_p() function
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
D | tlan.h | 501 #define tlan_clear_bit(bit, port) outb_p(inb_p(port) & ~bit, port) 503 #define tlan_set_bit(bit, port) outb_p(inb_p(port) | bit, port)
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | io.h | 415 #ifndef outb_p 416 # define outb_p outb macro
|
/linux-4.4.14/arch/mips/include/asm/ |
D | dma.h | 21 #define dma_outb outb_p
|
/linux-4.4.14/drivers/bluetooth/ |
D | bluecard_cs.c | 209 outb_p(actual, iobase + offset); in bluecard_write() 212 outb_p(buf[i], iobase + offset + i + 1); in bluecard_write() 277 outb_p(command, iobase + REG_COMMAND); in bluecard_write_wakeup()
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | io.h | 262 #define outb_p outb macro
|
/linux-4.4.14/drivers/isdn/icn/ |
D | icn.h | 57 #define OUTB_P(v, p) {printk(KERN_DEBUG "icn: outb_p(0x%02x,0x%03x)\n", v, p); outb_p(v, p);}
|
/linux-4.4.14/sound/isa/msnd/ |
D | msnd.h | 196 # define outb outb_p
|
/linux-4.4.14/arch/cris/include/asm/ |
D | io.h | 179 #define outb_p(val, port) outb((val), (port)) macro
|
/linux-4.4.14/sound/oss/ |
D | msnd.h | 155 #define msnd_outb outb_p
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | io.h | 242 #define outb_p outb macro
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | io.h | 121 #define outb_p(x, addr) outb((x), (addr)) macro
|
/linux-4.4.14/include/video/ |
D | vga.h | 209 outb_p(val, port); in vga_io_w()
|
/linux-4.4.14/drivers/usb/host/ |
D | pci-quirks.c | 318 outb_p(AB_REG_BAR_LOW, 0xcd6); in usb_amd_quirk_pll() 320 outb_p(AB_REG_BAR_HIGH, 0xcd6); in usb_amd_quirk_pll()
|
/linux-4.4.14/arch/x86/kernel/ |
D | apm_32.c | 1226 outb_p(0x34, PIT_MODE); /* binary, mode 2, LSB/MSB, ch 0 */ in reinit_timer() 1228 outb_p(LATCH & 0xff, PIT_CH0); /* LSB */ in reinit_timer() 1230 outb_p(LATCH >> 8, PIT_CH0); /* MSB */ in reinit_timer()
|
/linux-4.4.14/arch/frv/include/asm/ |
D | io.h | 179 #define outb_p(x,addr) outb(x,addr) macro
|
/linux-4.4.14/arch/tile/include/asm/ |
D | io.h | 483 #define outb_p(x, addr) outb((x), (addr)) macro
|
/linux-4.4.14/drivers/tty/ |
D | rocket_int.h | 45 outb_p(value, port); in sOutB()
|
/linux-4.4.14/drivers/input/gameport/ |
D | gameport.c | 66 outb_p(0x00, 0x43); in get_time_pit()
|
/linux-4.4.14/drivers/net/irda/ |
D | donauboe.c | 171 #define OUTB(val,port) outb_p(val,port) 172 #define OUTBP(val,port) outb_p(val,port)
|
/linux-4.4.14/drivers/tty/serial/8250/ |
D | 8250_port.c | 1239 outb_p(0x80, ICP); in autoconfig_irq() 1275 outb_p(save_ICP, ICP); in autoconfig_irq() 2037 outb_p(0x80, icp); in serial8250_do_startup()
|
/linux-4.4.14/drivers/input/joystick/ |
D | analog.c | 155 outb_p(0x00, 0x43); in get_time_pit()
|
/linux-4.4.14/drivers/tty/serial/ |
D | sunsu.c | 714 outb_p(0x80, icp); in sunsu_startup()
|
/linux-4.4.14/drivers/net/wan/ |
D | cosa.c | 249 #define cosa_outb outb_p
|
/linux-4.4.14/drivers/net/wireless/ |
D | wl3501_cs.c | 68 #define wl3501_outb_p(a, b) { outb_p(a, b); slow_down_io(); }
|