Home
last modified time | relevance | path

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

12345

/linux/drivers/watchdog/
A Dw83977f_wdt.c83 outb_p(0x08, IO_DATA_PORT); in wdt_start()
84 outb_p(0xF2, IO_INDEX_PORT); in wdt_start()
86 outb_p(0xF3, IO_INDEX_PORT); in wdt_start()
87 outb_p(0x08, IO_DATA_PORT); in wdt_start()
88 outb_p(0xF4, IO_INDEX_PORT); in wdt_start()
89 outb_p(0x00, IO_DATA_PORT); in wdt_start()
93 outb_p(0x01, IO_DATA_PORT); in wdt_start()
103 outb_p(0x07, IO_DATA_PORT); in wdt_start()
117 outb_p(0x08, IO_DATA_PORT); in wdt_start()
121 outb_p(0x01, IO_DATA_PORT); in wdt_start()
[all …]
A Dwdt977.c93 outb_p(0x08, IO_DATA_PORT); in wdt977_start()
94 outb_p(0xF2, IO_INDEX_PORT); in wdt977_start()
96 outb_p(0xF3, IO_INDEX_PORT); in wdt977_start()
100 outb_p(0x00, IO_DATA_PORT); in wdt977_start()
141 outb_p(0x08, IO_DATA_PORT); in wdt977_stop()
143 outb_p(0xFF, IO_DATA_PORT); in wdt977_stop()
145 outb_p(0x00, IO_DATA_PORT); in wdt977_stop()
147 outb_p(0x00, IO_DATA_PORT); in wdt977_stop()
149 outb_p(0x00, IO_DATA_PORT); in wdt977_stop()
154 outb_p(0x07, IO_DATA_PORT); in wdt977_stop()
[all …]
A Dpc87413_wdt.c76 outb_p(SIOCFG2, WDT_INDEX_IO_PORT); in pc87413_select_wdt_out()
81 outb_p(SIOCFG2, WDT_INDEX_IO_PORT); in pc87413_select_wdt_out()
83 outb_p(cr_data, WDT_DATA_IO_PORT); in pc87413_select_wdt_out()
100 outb_p(0x07, WDT_INDEX_IO_PORT); /* Point SWC_LDN (LDN=4) */ in pc87413_enable_swc()
101 outb_p(SWC_LDN, WDT_DATA_IO_PORT); in pc87413_enable_swc()
103 outb_p(0x30, WDT_INDEX_IO_PORT); /* Read Index 0x30 First */ in pc87413_enable_swc()
106 outb_p(0x30, WDT_INDEX_IO_PORT); in pc87413_enable_swc()
107 outb_p(cr_data, WDT_DATA_IO_PORT); /* Index0x30_bit0P1 */ in pc87413_enable_swc()
122 outb_p(0x60, WDT_INDEX_IO_PORT); /* Read Index 0x60 */ in pc87413_get_swc_base_addr()
125 outb_p(0x61, WDT_INDEX_IO_PORT); /* Read Index 0x61 */ in pc87413_get_swc_base_addr()
[all …]
/linux/drivers/i2c/busses/
A Di2c-ali1535.c258 outb_p(0xFF, SMBHSTSTS); in ali1535_transaction()
273 outb_p(temp, SMBHSTSTS); in ali1535_transaction()
277 outb_p(0xFF, SMBHSTPORT); in ali1535_transaction()
330 outb_p(0xFF, SMBHSTSTS); in ali1535_transaction()
334 outb_p(0xFF, SMBHSTSTS); in ali1535_transaction()
362 outb_p(0xFF, SMBHSTSTS); in ali1535_access()
377 outb_p(command, SMBHSTCMD); in ali1535_access()
384 outb_p(command, SMBHSTCMD); in ali1535_access()
393 outb_p(command, SMBHSTCMD); in ali1535_access()
404 outb_p(command, SMBHSTCMD); in ali1535_access()
[all …]
A Di2c-ali1563.c104 outb_p(HST_CNTL2_KILL, SMB_HST_CNTL2); in ali1563_transaction()
124 outb_p(0x0, SMB_HST_CNTL2); in ali1563_transaction()
193 outb_p(HST_CNTL1_LAST, SMB_HST_CNTL1); in ali1563_block()
201 outb_p(len, SMB_HST_DAT0); in ali1563_block()
202 outb_p(data->block[1], SMB_BLK_DAT); in ali1563_block()
248 outb_p(0xff, SMB_HST_STS); in ali1563_access()
283 outb_p(cmd, SMB_HST_DAT0); in ali1563_access()
286 outb_p(cmd, SMB_HST_CMD); in ali1563_access()
288 outb_p(data->byte, SMB_HST_DAT0); in ali1563_access()
291 outb_p(cmd, SMB_HST_CMD); in ali1563_access()
[all …]
A Di2c-ali15x3.c259 outb_p(ALI15X3_T_OUT, SMBHSTCNT); in ali15x3_transaction()
266 outb_p(0xFF, SMBHSTSTS); in ali15x3_transaction()
280 outb_p(temp, SMBHSTSTS); in ali15x3_transaction()
285 outb_p(0xFF, SMBHSTSTART); in ali15x3_transaction()
341 outb_p(0xFF, SMBHSTSTS); in ali15x3_access()
364 outb_p(command, SMBHSTCMD); in ali15x3_access()
370 outb_p(command, SMBHSTCMD); in ali15x3_access()
372 outb_p(data->byte, SMBHSTDAT0); in ali15x3_access()
378 outb_p(command, SMBHSTCMD); in ali15x3_access()
388 outb_p(command, SMBHSTCMD); in ali15x3_access()
[all …]
A Di2c-piix4.c454 outb_p(temp, SMBHSTSTS); in piix4_transaction()
525 outb_p((addr << 1) | read_write, in piix4_access()
530 outb_p((addr << 1) | read_write, in piix4_access()
533 outb_p(command, SMBHSTCMD); in piix4_access()
539 outb_p(command, SMBHSTCMD); in piix4_access()
547 outb_p(command, SMBHSTCMD); in piix4_access()
557 outb_p(command, SMBHSTCMD); in piix4_access()
562 outb_p(len, SMBHSTDAT0); in piix4_access()
606 outb_p(idx, KERNCZ_IMC_IDX); in piix4_imc_read()
612 outb_p(idx, KERNCZ_IMC_IDX); in piix4_imc_write()
[all …]
A Di2c-viapro.c141 outb_p(temp, SMBHSTSTS); in vt596_transaction()
150 outb_p(0x40 | size, SMBHSTCNT); in vt596_transaction()
182 outb_p(temp, SMBHSTSTS); in vt596_transaction()
203 outb_p(command, SMBHSTCMD); in vt596_access()
207 outb_p(command, SMBHSTCMD); in vt596_access()
209 outb_p(data->byte, SMBHSTDAT0); in vt596_access()
213 outb_p(command, SMBHSTCMD); in vt596_access()
221 outb_p(command, SMBHSTCMD); in vt596_access()
230 outb_p(data->block[0], SMBHSTDAT0); in vt596_access()
233 outb_p(command, SMBHSTCMD); in vt596_access()
[all …]
A Di2c-i801.c339 outb_p(status, SMBHSTSTS(priv)); in i801_check_pre()
361 outb_p(status, SMBAUXSTS(priv)); in i801_check_pre()
396 outb_p(0, SMBHSTCNT(priv)); in i801_check_post()
444 outb_p(status, SMBHSTSTS(priv)); in i801_check_post()
531 outb_p(len, SMBHSTDAT0(priv)); in i801_block_transaction_by_block()
653 outb_p(status, SMBHSTSTS(priv)); in i801_isr()
692 outb_p(len, SMBHSTDAT0(priv)); in i801_block_transaction_byte_by_byte()
720 outb_p(smbcmd, SMBHSTCNT(priv)); in i801_block_transaction_byte_by_byte()
740 outb_p(SMBHSTSTS_BYTE_DONE, in i801_block_transaction_byte_by_byte()
889 outb_p(((addr & 0x7f) << 1) | in i801_access()
[all …]
A Di2c-nforce2.c142 outb_p(NVIDIA_SMB_CTRL_ABORT, NVIDIA_SMB_CTRL); in nforce2_abort()
199 outb_p(command, NVIDIA_SMB_CMD); in nforce2_access()
204 outb_p(command, NVIDIA_SMB_CMD); in nforce2_access()
206 outb_p(data->byte, NVIDIA_SMB_DATA); in nforce2_access()
211 outb_p(command, NVIDIA_SMB_CMD); in nforce2_access()
213 outb_p(data->word, NVIDIA_SMB_DATA); in nforce2_access()
220 outb_p(command, NVIDIA_SMB_CMD); in nforce2_access()
229 outb_p(len, NVIDIA_SMB_BCNT); in nforce2_access()
231 outb_p(data->block[i + 1], in nforce2_access()
242 outb_p((addr & 0x7f) << 1, NVIDIA_SMB_ADDR); in nforce2_access()
[all …]
/linux/drivers/video/console/
A Dvgacon.c289 outb_p(i, VGA_ATT_W); in vgacon_startup()
290 outb_p(i, VGA_ATT_W); in vgacon_startup()
292 outb_p(0x20, VGA_ATT_W); in vgacon_startup()
300 outb_p(default_red[i], VGA_PEL_D); in vgacon_startup()
301 outb_p(default_grn[i], VGA_PEL_D); in vgacon_startup()
494 outb_p(curs, vga_video_port_val); in vgacon_set_cursor_size()
496 outb_p(cure, vga_video_port_val); in vgacon_set_cursor_size()
616 outb_p(r7,vga_video_port_val); in vgacon_doresize()
1027 outb_p(ovr, vga_video_port_val); in vgacon_adjust_height()
1029 outb_p(fsr, vga_video_port_val); in vgacon_adjust_height()
[all …]
A 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()
315 outb_p(MDA_MODE_VIDEO_EN | MDA_MODE_BLINK_EN, mda_mode_port); in mda_initialize()
316 outb_p(0x00, mda_status_port); in mda_initialize()
317 outb_p(0x00, mda_gfx_port); in mda_initialize()
478 outb_p(0x00, mda_mode_port); /* disable video */ in mdacon_blank()
480 outb_p(MDA_MODE_VIDEO_EN | MDA_MODE_BLINK_EN, in mdacon_blank()
/linux/drivers/clocksource/
A Di8253.c65 outb_p(0x34, PIT_MODE); in i8253_read()
66 outb_p(PIT_LATCH & 0xff, PIT_CH0); in i8253_read()
67 outb_p(PIT_LATCH >> 8, PIT_CH0); in i8253_read()
118 outb_p(0x30, PIT_MODE); in pit_shutdown()
121 outb_p(0, PIT_CH0); in pit_shutdown()
122 outb_p(0, PIT_CH0); in pit_shutdown()
132 outb_p(0x38, PIT_MODE); in pit_set_oneshot()
142 outb_p(0x34, PIT_MODE); in pit_set_periodic()
144 outb_p(PIT_LATCH >> 8, PIT_CH0); /* MSB */ in pit_set_periodic()
158 outb_p(delta & 0xff , PIT_CH0); /* LSB */ in pit_next_event()
[all …]
/linux/drivers/input/serio/
A Dct82c710.c107 outb_p(status, CT82C710_STATUS); in ct82c710_open()
110 outb_p(status, CT82C710_STATUS); in ct82c710_open()
118 outb_p(status, CT82C710_STATUS); in ct82c710_open()
133 outb_p(c, CT82C710_DATA); in ct82c710_write()
144 outb_p(0xaa, 0x3fa); /* Inverse of 55 */ in ct82c710_detect()
145 outb_p(0x36, 0x3fa); /* Address the chip */ in ct82c710_detect()
147 outb_p(0x1b, 0x2fa); /* Inverse of e4 */ in ct82c710_detect()
148 outb_p(0x0f, 0x390); /* Write index */ in ct82c710_detect()
152 outb_p(0x0d, 0x390); /* Write index */ in ct82c710_detect()
156 outb_p(0x0f, 0x390); in ct82c710_detect()
[all …]
/linux/drivers/net/ethernet/8390/
A Daxnet_cs.c424 outb_p(MDIO_DATA_WRITE1, 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()
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()
976 outb_p(0x00, e8390_base + EN0_IMR); in axnet_start_xmit()
1129 outb_p(0x00, e8390_base + EN0_ISR); in ax_interrupt()
1150 outb_p(0, e8390_base + EN0_ISR); in ax_interrupt()
[all …]
A Dne.c317 outb_p(0xff, ioaddr + 0x0d); in ne_probe1()
321 outb_p(reg0, ioaddr); in ne_probe1()
402 outb_p(DCR_VAL, ioaddr + EN0_DCFG); in ne_probe1()
474 outb_p(0x00, ioaddr + EN0_RCNTLO); in ne_probe1()
475 outb_p(0x00, ioaddr + EN0_RCNTHI); in ne_probe1()
590 outb_p(0, nic_base + EN0_RCNTHI); in ne_get_8390_hdr()
717 outb_p(0x42, nic_base + EN0_RCNTLO); in ne_block_output()
718 outb_p(0x00, nic_base + EN0_RCNTHI); in ne_block_output()
719 outb_p(0x42, nic_base + EN0_RSARLO); in ne_block_output()
720 outb_p(0x00, nic_base + EN0_RSARHI); in ne_block_output()
[all …]
A Dpcnet_cs.c418 outb_p(0x04, ioaddr + EN0_RSARHI); in get_ax88190()
781 outb_p(EE_EEP|EE_CS|dataval, ee_addr); in read_eeprom()
782 outb_p(EE_EEP|EE_CS|dataval|EE_CK, ee_addr); in read_eeprom()
787 outb_p(EE_EEP|EE_CS | EE_CK, ee_addr); in read_eeprom()
789 outb_p(EE_EEP|EE_CS, ee_addr); in read_eeprom()
831 outb_p(EE_ASIC|EE_CS|dataval, ee_addr); in write_asic()
833 outb_p(EE_ASIC|EE_CS|dataval, ee_addr); in write_asic()
860 outb_p(tmp, nic_base + PCNET_MISC); in set_misc_reg()
1150 outb_p(0, nic_base + EN0_RCNTHI); in dma_get_8390_hdr()
1257 outb_p(ENISR_RDC, nic_base + EN0_ISR); in dma_block_output()
[all …]
/linux/drivers/media/radio/
A Dradio-rtrack2.c55 outb_p(1, isa->io); in zero()
56 outb_p(3, isa->io); in zero()
57 outb_p(1, isa->io); in zero()
62 outb_p(5, isa->io); in one()
63 outb_p(7, isa->io); in one()
64 outb_p(5, isa->io); in one()
73 outb_p(0xc8, isa->io); in rtrack2_s_frequency()
74 outb_p(0xc9, isa->io); in rtrack2_s_frequency()
75 outb_p(0xc9, isa->io); in rtrack2_s_frequency()
86 outb_p(0xc8, isa->io); in rtrack2_s_frequency()
[all …]
A Dradio-typhoon.c105 outb_p((outval >> 8) & 0x01, isa->io + 4); in typhoon_s_frequency()
106 outb_p(outval >> 9, isa->io + 6); in typhoon_s_frequency()
107 outb_p(outval & 0xff, isa->io + 8); in typhoon_s_frequency()
119 outb_p(vol / 2, isa->io); /* Set the volume, high bit. */ in typhoon_s_mute_volume()
120 outb_p(vol % 2, isa->io + 2); /* Set the volume, low bit. */ in typhoon_s_mute_volume()
A Dradio-gemtek.c157 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
162 outb_p(mute | GEMTEK_CE | bit, isa->io); in gemtek_bu2614_transmit()
164 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
168 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
240 outb_p((i >> 5) | (mute ? GEMTEK_MT : 0), isa->io); in gemtek_s_mute_volume()
263 outb_p(1 << i, io); in gemtek_probe()
269 outb_p(q >> 5, io); /* Write bus contents back. */ in gemtek_probe()
/linux/drivers/cpufreq/
A Delanfreq.c82 outb_p(0x80, REG_CSCIR); in elanfreq_get_cpu_frequency()
121 outb_p(0x40, REG_CSCIR); /* Disable hyperspeed mode */ in elanfreq_target()
122 outb_p(0x00, REG_CSCDR); in elanfreq_target()
129 outb_p(0x80, REG_CSCIR); in elanfreq_target()
130 outb_p(elan_multiplier[state].val80h, REG_CSCDR); in elanfreq_target()
133 outb_p(0x40, REG_CSCIR); in elanfreq_target()
134 outb_p(elan_multiplier[state].val40h, REG_CSCDR); in elanfreq_target()
/linux/drivers/video/fbdev/
A 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 …]
/linux/drivers/irqchip/
A Dirq-i8259.c242 outb_p(0x11, PIC_MASTER_CMD); /* ICW1: select 8259A-1 init */ in init_8259A()
243outb_p(I8259A_IRQ_BASE + 0, PIC_MASTER_IMR); /* ICW2: 8259A-1 IR0 mapped to I8259A_IRQ_BASE + 0x00… in init_8259A()
244 outb_p(1U << PIC_CASCADE_IR, PIC_MASTER_IMR); /* 8259A-1 (the master) has a slave on IR2 */ in init_8259A()
246 outb_p(MASTER_ICW4_DEFAULT | PIC_ICW4_AEOI, PIC_MASTER_IMR); in init_8259A()
248 outb_p(MASTER_ICW4_DEFAULT, PIC_MASTER_IMR); in init_8259A()
250 outb_p(0x11, PIC_SLAVE_CMD); /* ICW1: select 8259A-2 init */ in init_8259A()
251outb_p(I8259A_IRQ_BASE + 8, PIC_SLAVE_IMR); /* ICW2: 8259A-2 IR0 mapped to I8259A_IRQ_BASE + 0x08 … in init_8259A()
252 outb_p(PIC_CASCADE_IR, PIC_SLAVE_IMR); /* 8259A-2 is a slave on master's IR2 */ in init_8259A()
253outb_p(SLAVE_ICW4_DEFAULT, PIC_SLAVE_IMR); /* (slave's support for AEOI in flat mode is to be inve… in init_8259A()
/linux/drivers/input/touchscreen/
A Dhtcpen.c53 outb_p(TOUCH_INDEX, HTCPEN_PORT_INDEX); in htcpen_interrupt()
58 outb_p(X_INDEX, HTCPEN_PORT_INDEX); in htcpen_interrupt()
61 outb_p(Y_INDEX, HTCPEN_PORT_INDEX); in htcpen_interrupt()
64 outb_p(LSB_XY_INDEX, HTCPEN_PORT_INDEX); in htcpen_interrupt()
91 outb_p(DEVICE_ENABLE, HTCPEN_PORT_INIT); in htcpen_open()
98 outb_p(DEVICE_DISABLE, HTCPEN_PORT_INIT); in htcpen_close()
191 outb_p(DEVICE_DISABLE, HTCPEN_PORT_INIT); in htcpen_isa_suspend()
198 outb_p(DEVICE_ENABLE, HTCPEN_PORT_INIT); in htcpen_isa_resume()
/linux/arch/sh/boards/mach-se/770x/
A Dsetup.c25 outb_p(index, INDEX_PORT); in smsc_config()
26 outb_p(data, DATA_PORT); in smsc_config()
32 outb_p(CONFIG_ENTER, CONFIG_PORT); in smsc_setup()
33 outb_p(CONFIG_ENTER, CONFIG_PORT); in smsc_setup()
65 outb_p(CONFIG_EXIT, CONFIG_PORT); in smsc_setup()

Completed in 48 milliseconds

12345