Home
last modified time | relevance | path

Searched refs:outb_p (Results 1 – 147 of 147) sorted by relevance

/linux-4.1.27/drivers/watchdog/
Dw83977f_wdt.c78 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 …]
Dwdt977.c87 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 …]
Dpc87413_wdt.c80 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 …]
Dw83877f_wdt.c145 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()
Dpcwd.c228 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()
Dpcwd_pci.c173 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()
Dwdt.c106 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()
Dw83627hf_wdt.c124 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()
Dib700wdt.c123 outb_p(wd_margin, WDT_START); in ibwdt_ping()
131 outb_p(0, WDT_STOP); in ibwdt_disable()
Dsc1200wdt.c108 outb_p(index, PMIR); in __sc1200wdt_read_data()
123 outb_p(index, PMIR); in __sc1200wdt_write_data()
Dmixcomwd.c119 outb_p(55, watchdog_port); in mixcomwd_ping()
Dwafer5823wdt.c88 outb_p(timeout, wdt_start); in wafwdt_start()
Dadvantechwdt.c93 outb_p(timeout, wdt_start); in advwdt_ping()
Dsbc7240_wdt.c87 outb_p((unsigned)t, SBC7240_SET_TIMEOUT_PORT); in wdt_set_timeout()
/linux-4.1.27/drivers/i2c/busses/
Di2c-ali1535.c260 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 …]
Di2c-ali1563.c81 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 …]
Di2c-ali15x3.c267 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 …]
Di2c-viapro.c149 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 …]
Di2c-i801.c266 outb_p(status, SMBHSTSTS(priv)); in i801_check_pre()
298 outb_p(inb_p(SMBHSTCNT(priv)) | SMBHSTCNT_KILL, in i801_check_post()
301 outb_p(inb_p(SMBHSTCNT(priv)) & (~SMBHSTCNT_KILL), in i801_check_post()
310 outb_p(STATUS_FLAGS, SMBHSTSTS(priv)); in i801_check_post()
328 outb_p(status, SMBHSTSTS(priv)); in i801_check_post()
385 outb_p(xact | SMBHSTCNT_INTREN | SMBHSTCNT_START, in i801_transaction()
401 outb_p(xact | SMBHSTCNT_START, SMBHSTCNT(priv)); in i801_transaction()
419 outb_p(len, SMBHSTDAT0(priv)); in i801_block_transaction_by_block()
421 outb_p(data->block[i+1], SMBBLKDAT(priv)); in i801_block_transaction_by_block()
471 outb_p(priv->cmd | SMBHSTCNT_LAST_BYTE, in i801_isr_byte_done()
[all …]
Di2c-piix4.c259 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 …]
Di2c-nforce2.c150 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 …]
Di2c-amd756.c206 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.1.27/drivers/isdn/hisax/
Ds0box.c23 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 …]
Delsa_ser.c100 outb_p(value, cs->hw.elsa.base + 8 + offset); in serial_outp()
/linux-4.1.27/drivers/clocksource/
Di8253.c51 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()
116 outb_p(0x34, PIT_MODE); in init_pit_timer()
117 outb_p(PIT_LATCH & 0xff , PIT_CH0); /* LSB */ in init_pit_timer()
118 outb_p(PIT_LATCH >> 8 , PIT_CH0); /* MSB */ in init_pit_timer()
125 outb_p(0x30, PIT_MODE); in init_pit_timer()
126 outb_p(0, PIT_CH0); in init_pit_timer()
127 outb_p(0, PIT_CH0); in init_pit_timer()
[all …]
/linux-4.1.27/drivers/input/serio/
Dct82c710.c103 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.1.27/drivers/video/console/
Dvgacon.c170 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 …]
Dmdacon.c114 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.1.27/drivers/media/radio/
Dradio-rtrack2.c54 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 …]
Dradio-typhoon.c104 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()
Dradio-gemtek.c160 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()
Dradio-aztech.c80 outb_p(bits, az->isa.io); in aztech_set_pins()
Dradio-aimslab.c101 outb_p(bits, rt->isa.io); in rtrack_set_pins()
Dradio-sf16fmi.c86 outb_p(bits, fmi->io); in fmi_set_pins()
/linux-4.1.27/drivers/net/ethernet/8390/
Dne.c318 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 …]
Daxnet_cs.c222 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 …]
Dpcnet_cs.c350 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 …]
Dwd.c290 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()
D8390p.c9 #define ei_outb_p(_v, _p) outb_p(_v, _p)
Dsmc-ultra.c412 outb_p(E8390_NODMA+E8390_PAGE0, dev->base_addr); in ultra_open()
/linux-4.1.27/drivers/ide/
Dali14xx.c92 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 …]
Dumc8672.c75 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()
Ddtc2278.c57 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()
Dcmd640.c207 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 …]
Dqd65xx.c274 outb_p(QD_TESTVAL, port); /* safe value */ in qd_testreg()
Dserverworks.c205 outb_p(0x06, 0x0c00); in init_chipset_svwks()
/linux-4.1.27/drivers/cpufreq/
Delanfreq.c85 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.1.27/arch/mips/kernel/
Di8259.c260 outb_p(0x11, PIC_MASTER_CMD); /* ICW1: select 8259A-1 init */ in init_8259A()
261outb_p(I8259A_IRQ_BASE + 0, PIC_MASTER_IMR); /* ICW2: 8259A-1 IR0 mapped to I8259A_IRQ_BASE + 0x00… in init_8259A()
262 outb_p(1U << PIC_CASCADE_IR, PIC_MASTER_IMR); /* 8259A-1 (the master) has a slave on IR2 */ in init_8259A()
264 outb_p(MASTER_ICW4_DEFAULT | PIC_ICW4_AEOI, PIC_MASTER_IMR); in init_8259A()
266 outb_p(MASTER_ICW4_DEFAULT, PIC_MASTER_IMR); in init_8259A()
268 outb_p(0x11, PIC_SLAVE_CMD); /* ICW1: select 8259A-2 init */ in init_8259A()
269outb_p(I8259A_IRQ_BASE + 8, PIC_SLAVE_IMR); /* ICW2: 8259A-2 IR0 mapped to I8259A_IRQ_BASE + 0x08 … in init_8259A()
270 outb_p(PIC_CASCADE_IR, PIC_SLAVE_IMR); /* 8259A-2 is a slave on master's IR2 */ in init_8259A()
271outb_p(SLAVE_ICW4_DEFAULT, PIC_SLAVE_IMR); /* (slave's support for AEOI in flat mode is to be inve… in init_8259A()
/linux-4.1.27/drivers/input/touchscreen/
Dhtcpen.c56 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.1.27/drivers/video/fbdev/
Dhgafb.c146 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 …]
Dvesafb.c91 outb_p(regno, dac_reg); in vesa_setpalette()
92 outb_p(red >> shift, dac_val); in vesa_setpalette()
93 outb_p(green >> shift, dac_val); in vesa_setpalette()
94 outb_p(blue >> shift, dac_val); in vesa_setpalette()
Dvga16fb.c752 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()
Duvesafb.c957 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.1.27/arch/alpha/include/asm/
Dmc146818rtc.h19 outb_p((addr),RTC_PORT(0)); \
23 outb_p((addr),RTC_PORT(0)); \
24 outb_p((val),RTC_PORT(1)); \
Dfloppy.h15 #define fd_outb(value,port) outb_p(value,port)
Dio.h500 #define outb_p outb macro
/linux-4.1.27/arch/m32r/include/asm/
Dmc146818rtc.h19 outb_p((addr),RTC_PORT(0)); \
23 outb_p((addr),RTC_PORT(0)); \
24 outb_p((val),RTC_PORT(1)); \
Dio.h138 #define outb_p _outb_p macro
/linux-4.1.27/arch/sparc/include/asm/
Dmc146818rtc_32.h19 outb_p((addr),RTC_PORT(0)); \
23 outb_p((addr),RTC_PORT(0)); \
24 outb_p((val),RTC_PORT(1)); \
Dmc146818rtc_64.h20 outb_p((addr),RTC_PORT(0)); \
24 outb_p((addr),RTC_PORT(0)); \
25 outb_p((val),RTC_PORT(1)); \
Dio_64.h232 #define outb_p(__b, __addr) outb(__b, __addr) macro
/linux-4.1.27/arch/powerpc/include/asm/
Dmc146818rtc.h27 outb_p((addr),RTC_PORT(0)); \
31 outb_p((addr),RTC_PORT(0)); \
32 outb_p((val),RTC_PORT(1)); \
Dfloppy.h17 #define fd_outb(value,port) outb_p(value,port)
69 outb_p(*lptr, virtual_dma_port+5); in floppy_hardint()
Ddma.h33 #define dma_outb outb_p
Dio.h669 #define outb_p(val, port) (udelay(1), outb((val), (port))) macro
/linux-4.1.27/arch/arm/include/asm/
Dmc146818rtc.h22 outb_p((addr),RTC_PORT(0)); \
26 outb_p((addr),RTC_PORT(0)); \
27 outb_p((val),RTC_PORT(1)); \
/linux-4.1.27/arch/mips/include/asm/mach-generic/
Dmc146818rtc.h20 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()
Dfloppy.h36 outb_p(value, port); in fd_outb()
/linux-4.1.27/arch/mips/include/asm/mach-loongson/
Dmc146818rtc.h20 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.1.27/arch/sh/boards/mach-se/770x/
Dsetup.c23 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.1.27/drivers/staging/speakup/
Dspeakup_decpc.c256 outb_p(cmd & 0xFF, speakup_info.port_tts); in dt_sendcmd()
257 outb_p((cmd >> 8) & 0xFF, speakup_info.port_tts+1); in dt_sendcmd()
293 outb_p(0, speakup_info.port_tts+2); in dt_ctrl()
294 outb_p(0, speakup_info.port_tts+3); in dt_ctrl()
297 outb_p(0, speakup_info.port_tts+6); in dt_ctrl()
325 outb_p(DMA_sync, speakup_info.port_tts+4); in synth_flush()
326 outb_p(0, speakup_info.port_tts+4); in synth_flush()
344 outb_p(DMA_single_in, speakup_info.port_tts+4); in dt_sendchar()
345 outb_p(ch, speakup_info.port_tts+4); in dt_sendchar()
Dspeakup_keypc.c169 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()
Dspeakup_acntpc.c168 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()
Dspeakup_dtlk.c183 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()
Dsynth.c57 outb_p(0, ser->port); in spk_serial_synth_probe()
59 outb_p('\r', ser->port); in spk_serial_synth_probe()
Dserialio.c216 outb_p(ch, speakup_info.port_tts); in spk_serial_out()
/linux-4.1.27/drivers/block/
Dhd.c168 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.1.27/sound/drivers/pcsp/
Dpcsp_input.c29 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()
Dpcsp_lib.c71 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.1.27/arch/x86/include/asm/
Dmach_timer.h35 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()
Dfloppy.h35 #define fd_outb(value, port) outb_p(value, port)
84 outb_p(*lptr, virtual_dma_port + 5); in floppy_hardint()
Ddma.h15 #define dma_outb outb_p
/linux-4.1.27/arch/mips/include/asm/mach-jazz/
Dmc146818rtc.h24 outb_p(addr, RTC_PORT(0)); in CMOS_READ()
30 outb_p(addr, RTC_PORT(0)); in CMOS_WRITE()
/linux-4.1.27/drivers/input/misc/
Dpcspkr.c49 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.1.27/arch/m68k/include/asm/
Dvga.h14 #undef outb_p
21 #define outb_p(port, val) do { } while (0) macro
Dfloppy.h78 outb_p(value, port); in fd_outb()
218 outb_p(*lptr, virtual_dma_port+5); in floppy_hardint()
Dio_mm.h117 #define outb_p mcf_pci_outb macro
359 #define outb_p isa_outb_p macro
395 #define outb_p(val, port) ((port) < 1024 ? isa_rom_outb_p((val), (port)) : out_8((port), (val))) macro
421 #define outb_p(val,port) ((void)0) macro
Dio_no.h123 #define outb_p(x,addr) outb(x,addr) macro
/linux-4.1.27/drivers/char/
Ddtlk.c422 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()
Dpc8736x_gpio.c82 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()
Dsonypi.c531 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.1.27/arch/powerpc/platforms/
Dfsl_uli1575.c170 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.1.27/arch/powerpc/platforms/maple/
Dtime.c47 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()
Dsetup.c118 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.1.27/drivers/hwmon/
Dw83781d.c1679 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 …]
Dlm78.c700 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()
Dnct6683.c502 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()
Dw83627hf.c1600 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()
Dsis5595.c683 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()
Dw83627ehf.c528 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()
Dnct6775.c1085 outb_p(NCT6775_REG_BANK, data->addr + ADDR_REG_OFFSET); in nct6775_set_bank()
1086 outb_p(bank, data->addr + DATA_REG_OFFSET); in nct6775_set_bank()
1096 outb_p(reg & 0xff, data->addr + ADDR_REG_OFFSET); in nct6775_read_value()
1099 outb_p((reg & 0xff) + 1, in nct6775_read_value()
1111 outb_p(reg & 0xff, data->addr + ADDR_REG_OFFSET); in nct6775_write_value()
1113 outb_p(value >> 8, data->addr + DATA_REG_OFFSET); in nct6775_write_value()
1114 outb_p((reg & 0xff) + 1, in nct6775_write_value()
1117 outb_p(value & 0xff, data->addr + DATA_REG_OFFSET); in nct6775_write_value()
Dpc87360.c1400 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()
Dsmsc47m1.c153 outb_p(value, data->addr + reg); in smsc47m1_write_value()
Dit87.c2437 outb_p(reg, data->addr + IT87_ADDR_REG_OFFSET); in it87_read_value()
2448 outb_p(reg, data->addr + IT87_ADDR_REG_OFFSET); in it87_write_value()
2449 outb_p(value, data->addr + IT87_DATA_REG_OFFSET); in it87_write_value()
Dvia686a.c349 outb_p(value, data->addr + reg); in via686a_write_value()
Dvt8231.c191 outb_p(value, data->addr + reg); in vt8231_write_value()
/linux-4.1.27/arch/mips/sni/
Dtime.c101 outb_p(0x34, 0x43); in dosample()
102 outb_p(SNI_8254_TCSAMP_COUNTER & 0xff, 0x40); in dosample()
Dreset.c37 outb_p(0xfe, 0x64); /* pulse reset low */ in sni_machine_restart()
/linux-4.1.27/drivers/net/hamradio/
Ddmascc.c632 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.1.27/drivers/staging/comedi/drivers/
Ddt2801.c267 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()
Dc6xdigio.c75 outb_p(val, dev->iobase + C6XDIGIO_DATA_REG); in c6xdigio_write_data()
Ddas08.c242 outb_p(0, dev->iobase + DAS08_TRIG_12BIT); in das08_ai_rinsn()
Ddas800.c560 outb_p(0, dev->iobase + DAS800_MSB); in das800_ai_insn_read()
Ddas16.c842 outb_p(0, dev->iobase + DAS16_TRIG_REG); in das16_ai_insn_read()
/linux-4.1.27/drivers/scsi/
Dmegaraid.h923 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)
Dppa.h143 #define w_ctr(x,y) outb_p(y, (x)+2)
Dimm.h136 #define w_ctr(x,y) outb_p(y, (x)+2)
/linux-4.1.27/include/linux/
Dscc.h20 #define Outb(port, val) outb_p(val, port)
/linux-4.1.27/include/asm-generic/
Dio.h432 #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.1.27/drivers/staging/sm750fb/
Dddk750_mode.c198 outb_p(0x88,0x3d4); in ddk750_setModeTiming()
199 outb_p(0x06,0x3d5); in ddk750_setModeTiming()
Dddk750_chip.c290 outb_p(0x88, 0x3d4); in ddk750_initHw()
291 outb_p(0x06, 0x3d5); in ddk750_initHw()
/linux-4.1.27/arch/sh/include/asm/
Dio_noioport.h51 #define outb_p(x, addr) outb((x), (addr)) macro
/linux-4.1.27/drivers/net/ethernet/ti/
Dtlan.h501 #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.1.27/arch/ia64/include/asm/
Dio.h415 #ifndef outb_p
416 # define outb_p outb macro
/linux-4.1.27/arch/mips/include/asm/
Ddma.h21 #define dma_outb outb_p
/linux-4.1.27/drivers/bluetooth/
Dbluecard_cs.c209 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.1.27/arch/hexagon/include/asm/
Dio.h262 #define outb_p outb macro
/linux-4.1.27/drivers/isdn/icn/
Dicn.h57 #define OUTB_P(v, p) {printk(KERN_DEBUG "icn: outb_p(0x%02x,0x%03x)\n", v, p); outb_p(v, p);}
/linux-4.1.27/sound/oss/
Dmsnd.h155 #define msnd_outb outb_p
/linux-4.1.27/sound/isa/msnd/
Dmsnd.h196 # define outb outb_p
/linux-4.1.27/arch/cris/include/asm/
Dio.h177 #define outb_p(val, port) outb((val), (port)) macro
/linux-4.1.27/arch/parisc/include/asm/
Dio.h240 #define outb_p outb macro
/linux-4.1.27/arch/mn10300/include/asm/
Dio.h121 #define outb_p(x, addr) outb((x), (addr)) macro
/linux-4.1.27/include/video/
Dvga.h209 outb_p(val, port); in vga_io_w()
/linux-4.1.27/drivers/usb/host/
Dpci-quirks.c318 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.1.27/arch/x86/kernel/
Dapm_32.c1226 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.1.27/arch/frv/include/asm/
Dio.h177 #define outb_p(x,addr) outb(x,addr) macro
/linux-4.1.27/arch/tile/include/asm/
Dio.h482 #define outb_p(x, addr) outb((x), (addr)) macro
/linux-4.1.27/drivers/staging/sm7xxfb/
Dsm7xxfb.c761 outb_p(0x18, 0x3c4); in sm7xx_init_hw()
762 outb_p(0x11, 0x3c5); in sm7xx_init_hw()
/linux-4.1.27/drivers/tty/
Drocket_int.h45 outb_p(value, port); in sOutB()
/linux-4.1.27/drivers/input/gameport/
Dgameport.c66 outb_p(0x00, 0x43); in get_time_pit()
/linux-4.1.27/drivers/net/irda/
Ddonauboe.c171 #define OUTB(val,port) outb_p(val,port)
172 #define OUTBP(val,port) outb_p(val,port)
/linux-4.1.27/drivers/input/joystick/
Danalog.c155 outb_p(0x00, 0x43); in get_time_pit()
/linux-4.1.27/drivers/tty/serial/8250/
D8250_core.c1323 outb_p(0x80, ICP); in autoconfig_irq()
1356 outb_p(save_ICP, ICP); in autoconfig_irq()
2368 outb_p(0x80, icp); in serial8250_do_startup()
/linux-4.1.27/drivers/tty/serial/
Dsunsu.c714 outb_p(0x80, icp); in sunsu_startup()
/linux-4.1.27/drivers/net/wan/
Dcosa.c249 #define cosa_outb outb_p
/linux-4.1.27/drivers/net/wireless/
Dwl3501_cs.c68 #define wl3501_outb_p(a, b) { outb_p(a, b); slow_down_io(); }