Home
last modified time | relevance | path

Searched refs:outb (Results 1 – 25 of 560) sorted by relevance

12345678910>>...23

/linux/drivers/net/ethernet/realtek/
A Datp.h165 outb(outval, port + PAR_DATA); in write_reg()
170 outb(outval, port + PAR_DATA); in write_reg()
172 outb(outval, port + PAR_DATA); in write_reg()
173 outb(outval, port + PAR_DATA); in write_reg()
183 outb(outval, port + PAR_DATA); in write_reg_high()
185 outb(outval, port + PAR_DATA); in write_reg_high()
189 outb(outval, port + PAR_DATA); in write_reg_high()
191 outb(outval, port + PAR_DATA); in write_reg_high()
192 outb(outval, port + PAR_DATA); in write_reg_high()
205 outb(outval, port + PAR_DATA); in write_reg_byte()
[all …]
/linux/arch/arm/kernel/
A Ddma-isa.c167 outb(0xff, 0x0d); in isa_init_dma()
168 outb(0xff, 0xda); in isa_init_dma()
174 outb(0x55, 0x00); in isa_init_dma()
175 outb(0xaa, 0x00); in isa_init_dma()
185 outb(0x40, 0x0b); in isa_init_dma()
186 outb(0x41, 0x0b); in isa_init_dma()
187 outb(0x42, 0x0b); in isa_init_dma()
188 outb(0x43, 0x0b); in isa_init_dma()
190 outb(0xc0, 0xd6); in isa_init_dma()
191 outb(0x41, 0xd6); in isa_init_dma()
[all …]
/linux/arch/alpha/kernel/
A Dsmc37c93x.c143 outb(device, dataPort); in SMCEnableDevice()
145 outb(ADDR_LO, indexPort); in SMCEnableDevice()
148 outb(ADDR_HI, indexPort); in SMCEnableDevice()
152 outb(interrupt, dataPort); in SMCEnableDevice()
154 outb(ACTIVATE, indexPort); in SMCEnableDevice()
155 outb(DEVICE_ON, dataPort); in SMCEnableDevice()
167 outb(KYBD, dataPort); in SMCEnableKYBD()
190 outb(FDC, dataPort); in SMCEnableFDC()
196 outb(oldValue, dataPort); in SMCEnableFDC()
199 outb(0x06, dataPort ); in SMCEnableFDC()
[all …]
A Dsys_ruffian.c42 outb(0x11,0xA0); in ruffian_init_irq()
43 outb(0x08,0xA1); in ruffian_init_irq()
44 outb(0x02,0xA1); in ruffian_init_irq()
45 outb(0x01,0xA1); in ruffian_init_irq()
46 outb(0xFF,0xA1); in ruffian_init_irq()
48 outb(0x11,0x20); in ruffian_init_irq()
49 outb(0x00,0x21); in ruffian_init_irq()
50 outb(0x04,0x21); in ruffian_init_irq()
51 outb(0x01,0x21); in ruffian_init_irq()
52 outb(0xFF,0x21); in ruffian_init_irq()
[all …]
/linux/arch/arm/mach-footbridge/
A Dcats-hw.c32 outb(0x51, CFG_PORT); in cats_hw_init()
33 outb(0x23, CFG_PORT); in cats_hw_init()
36 outb(0x07, INDEX_PORT); in cats_hw_init()
37 outb(0x03, DATA_PORT); in cats_hw_init()
42 outb(0x03, DATA_PORT); in cats_hw_init()
45 outb(0x0f, DATA_PORT); in cats_hw_init()
48 outb(0x07, DATA_PORT); in cats_hw_init()
52 outb(0x04, DATA_PORT); in cats_hw_init()
56 outb(0x02, DATA_PORT); in cats_hw_init()
60 outb(0x05, DATA_PORT); in cats_hw_init()
[all …]
A Disa-irq.c34 outb(inb(PIC_MASK_LO) | mask, PIC_MASK_LO); in isa_mask_pic_lo_irq()
41 outb(inb(PIC_MASK_LO) | mask, PIC_MASK_LO); in isa_ack_pic_lo_irq()
42 outb(0x20, PIC_LO); in isa_ack_pic_lo_irq()
70 outb(0x62, PIC_LO); in isa_ack_pic_hi_irq()
71 outb(0x20, PIC_HI); in isa_ack_pic_hi_irq()
120 outb(0x11, PIC_LO); in isa_init_irq()
123 outb(0x01, PIC_MASK_LO); /* x86 */ in isa_init_irq()
126 outb(0x11, PIC_HI); in isa_init_irq()
129 outb(0x01, PIC_MASK_HI); /* x86 */ in isa_init_irq()
132 outb(0x0b, PIC_LO); in isa_init_irq()
[all …]
A Dnetwinder-hw.c37 outb(0x87, 0x370); in wb977_open()
38 outb(0x87, 0x370); in wb977_open()
43 outb(0xaa, 0x370); in wb977_close()
48 outb(reg, 0x370); in wb977_wb()
49 outb(val, 0x371); in wb977_wb()
54 outb(reg, 0x370); in wb977_ww()
428 outb(1, 0x279); in rwa010_read_ident()
542 outb(1, 0x226); in rwa010_soundblaster_reset()
544 outb(0, 0x226); in rwa010_soundblaster_reset()
586 outb(5, 0x38a); in rwa010_soundblaster_reset()
[all …]
/linux/drivers/comedi/drivers/
A Dssv_dnp.c57 outb(PADR, CSCIR); in dnp_dio_insn_bits()
60 outb(PBDR, CSCIR); in dnp_dio_insn_bits()
63 outb(PCDR, CSCIR); in dnp_dio_insn_bits()
68 outb(PADR, CSCIR); in dnp_dio_insn_bits()
70 outb(PBDR, CSCIR); in dnp_dio_insn_bits()
72 outb(PCDR, CSCIR); in dnp_dio_insn_bits()
119 outb(val, CSCDR); in dnp_dio_insn_config()
150 outb(PAMR, CSCIR); in dnp_attach()
151 outb(0x00, CSCDR); in dnp_attach()
152 outb(PBMR, CSCIR); in dnp_attach()
[all …]
/linux/drivers/block/paride/
A Dppc6lnx.c129 outb(i, ppc->lpt_addr + 1); in ppc6_select()
142 outb('x', ppc->lpt_addr); in ppc6_select()
144 outb('b', ppc->lpt_addr); in ppc6_select()
145 outb('p', ppc->lpt_addr); in ppc6_select()
162 outb(i, ppc->lpt_addr); in ppc6_select()
235 outb(cmd, ppc->lpt_addr); in ppc6_send_cmd()
248 outb(cmd, ppc->lpt_addr + 3); in ppc6_send_cmd()
266 outb(data, ppc->lpt_addr); in ppc6_wr_data_byte()
279 outb(data, ppc->lpt_addr + 4); in ppc6_wr_data_byte()
560 outb(last, ppc->lpt_addr); in ppc6_wr_data_blk()
[all …]
/linux/arch/powerpc/sysdev/
A Di8259.c84 outb(cached_A1, 0xA1); in i8259_mask_and_ack_irq()
90 outb(cached_21, 0x21); in i8259_mask_and_ack_irq()
98 outb(cached_A1,0xA1); in i8259_set_irq_mask()
99 outb(cached_21,0x21); in i8259_set_irq_mask()
231 outb(0xff, 0xA1); in i8259_init()
232 outb(0xff, 0x21); in i8259_init()
236 outb(0x00, 0x21); /* Vector base */ in i8259_init()
250 outb(0x0B, 0x20); in i8259_init()
251 outb(0x0B, 0xA0); in i8259_init()
257 outb(cached_A1, 0xA1); in i8259_init()
[all …]
/linux/arch/x86/kernel/
A Di8259.c66 outb(cached_slave_mask, PIC_SLAVE_IMR); in mask_8259A_irq()
68 outb(cached_master_mask, PIC_MASTER_IMR); in mask_8259A_irq()
85 outb(cached_slave_mask, PIC_SLAVE_IMR); in unmask_8259A_irq()
87 outb(cached_master_mask, PIC_MASTER_IMR); in unmask_8259A_irq()
179 outb(cached_slave_mask, PIC_SLAVE_IMR); in mask_and_ack_8259A()
181 outb(0x60+(irq&7), PIC_SLAVE_CMD); in mask_and_ack_8259A()
183 outb(0x60+PIC_CASCADE_IR, PIC_MASTER_CMD); in mask_and_ack_8259A()
186 outb(cached_master_mask, PIC_MASTER_IMR); in mask_and_ack_8259A()
238 outb(trigger[0], PIC_ELCR1); in restore_ELCR()
239 outb(trigger[1], PIC_ELCR2); in restore_ELCR()
[all …]
/linux/drivers/scsi/
A Dinitio.c291 outb(b, base + TUL_NVRAM); in initio_se2_instr()
535 outb(0, host->addr + TUL_SSignal); in initio_reset_scsi()
582 outb(0x1F, host->addr + TUL_Mask); in initio_init()
602 outb(0, host->addr + TUL_SPeriod); in initio_init()
644 outb(0x17, host->addr + TUL_SCFG1); in initio_init()
927 outb(0x1F, host->addr + TUL_Mask); in initio_abort_srb()
933 outb(0x0F, host->addr + TUL_Mask); in initio_abort_srb()
1036 outb(0x1F, host->addr + TUL_Mask); in initio_exec_scb()
1764 outb(0, host->addr + TUL_SFifo); in initio_xpad_out()
2171 outb(3, host->addr + TUL_SFifo); in initio_msgin_extend()
[all …]
A Dfdomain.c120 outb(0, fd->base + REG_BCTL); in fdomain_make_bus_idle()
121 outb(0, fd->base + REG_MCTL); in fdomain_make_bus_idle()
146 outb(0, port + REG_CFG2); in fdomain_identify()
159 outb(i, base + REG_LOOPBACK); in fdomain_test_loopback()
169 outb(BCTL_RST, base + REG_BCTL); in fdomain_reset()
171 outb(0, base + REG_BCTL); in fdomain_reset()
173 outb(0, base + REG_MCTL); in fdomain_reset()
207 outb(0, fd->base + REG_ICTL); in fdomain_finish_cmd()
371 outb(0, fd->base + REG_BCTL); in fdomain_work()
388 outb(0, fd->base + REG_ICTL); in fdomain_irq()
[all …]
A Dqlogicfas408.c86 outb(3, qbase + 3); /* reset SCSI */ in ql_zap()
87 outb(2, qbase + 3); /* reset chip */ in ql_zap()
167 outb(*request++, qbase + 4); in ql_pdma()
227 outb(2, qbase + 3); /* reset chip */ in ql_icmd()
229 outb(1, qbase + 3); /* clear fifo */ in ql_icmd()
239 outb(qlcfgc, qbase + 0xc); in ql_icmd()
242 outb(qlcfg7, qbase + 7); in ql_icmd()
243 outb(qlcfg6, qbase + 6); in ql_icmd()
247 outb(scmd_id(cmd), qbase + 4); in ql_icmd()
250 outb(cmd->cmnd[i], qbase + 2); in ql_icmd()
[all …]
/linux/drivers/media/radio/
A Dradio-zoltrix.c94 outb(0, isa->io); in zoltrix_s_mute_volume()
95 outb(0, isa->io); in zoltrix_s_mute_volume()
126 outb(0, isa->io); in zoltrix_s_frequency()
127 outb(0, isa->io); in zoltrix_s_frequency()
130 outb(0x40, isa->io); in zoltrix_s_frequency()
131 outb(0xc0, isa->io); in zoltrix_s_frequency()
136 outb(0x80, isa->io); in zoltrix_s_frequency()
138 outb(0x00, isa->io); in zoltrix_s_frequency()
153 outb(0x80, isa->io); in zoltrix_s_frequency()
154 outb(0xc0, isa->io); in zoltrix_s_frequency()
[all …]
/linux/drivers/net/ethernet/8390/
A Dne2k-pci.c268 outb(0xff, ioaddr + 0x0d); in ne2k_pci_init_one()
273 outb(reg0, ioaddr); in ne2k_pci_init_one()
275 outb(regd, ioaddr + 0x0d); in ne2k_pci_init_one()
309 outb(0xff, ioaddr + EN0_ISR); in ne2k_pci_init_one()
342 outb(program_seq[i].value, in ne2k_pci_init_one()
358 outb(0x49, ioaddr + EN0_DCFG); in ne2k_pci_init_one()
516 outb(0, nic_base + EN0_RCNTHI); in ne2k_pci_get_8390_hdr()
619 outb(0x42, nic_base + EN0_RCNTLO); in ne2k_pci_block_output()
620 outb(0x00, nic_base + EN0_RCNTHI); in ne2k_pci_block_output()
621 outb(0x42, nic_base + EN0_RSARLO); in ne2k_pci_block_output()
[all …]
A Dapne.c275 outb(0x49, ioaddr + NE_EN0_DCFG); in apne_probe1()
302 outb(0x49, ioaddr + NE_EN0_DCFG); in apne_probe1()
400 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_get_8390_hdr()
402 outb(0, nic_base + NE_EN0_RCNTHI); in apne_get_8390_hdr()
404 outb(ring_page, nic_base + NE_EN0_RSARHI); in apne_get_8390_hdr()
446 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_block_input()
448 outb(count >> 8, nic_base + NE_EN0_RCNTHI); in apne_block_input()
496 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_block_output()
501 outb(0x00, nic_base + NE_EN0_RSARLO); in apne_block_output()
502 outb(start_page, nic_base + NE_EN0_RSARHI); in apne_block_output()
[all …]
A Dsmc-ultra.c227 outb(reg4, ioaddr + 4); in ultra_probe1()
249 outb(0x80 | reg4, ioaddr + 4); in ultra_probe1()
259 outb(reg4, ioaddr + 4); in ultra_probe1()
398 outb(0x80, ioaddr + 5); in ultra_open()
400 outb(inb(ioaddr + 4) | 0x80, ioaddr + 4); in ultra_open()
412 outb(0xff, dev->base_addr + EN0_ERWCNT); in ultra_open()
423 outb(ULTRA_RESET, cmd_port); in ultra_reset_8390()
428 outb(0x80, cmd_port + 5); in ultra_reset_8390()
509 outb(ring_page, ioaddr + IOPA); in ultra_pio_get_hdr()
521 outb(ring_offset >> 8, ioaddr + IOPA); in ultra_pio_input()
[all …]
/linux/drivers/scsi/pcmcia/
A Dsym53c500_cs.c126 #define REG1(x) outb(C7_IMG, (x) + CONFIG7); outb(C5_IMG, (x) + CONFIG5)
141 outb(count & 0xff, (x) + TC_LSB); \
211 outb(0x01, io_port + PIO_STATUS); in chip_init()
212 outb(0x00, io_port + PIO_FLAG); in chip_init()
215 outb(C3_IMG, io_port + CONFIG3); in chip_init()
216 outb(C2_IMG, io_port + CONFIG2); in chip_init()
217 outb(C1_IMG, io_port + CONFIG1); in chip_init()
229 outb(CHIP_RESET, io_port + CMD_REG); in SYM53C500_int_host_reset()
231 outb(SCSI_RESET, io_port + CMD_REG); in SYM53C500_int_host_reset()
332 outb(*request++, base + PIO_FIFO); in SYM53C500_pio_write()
[all …]
/linux/drivers/input/gameport/
A Dlightning.c66 outb(L4_SELECT_ANALOG, L4_PORT); in l4_cooked_read()
70 outb(l4->port & 3, L4_PORT); in l4_cooked_read()
99 outb(L4_SELECT_ANALOG, L4_PORT); in l4_open()
111 outb(L4_SELECT_ANALOG, L4_PORT); in l4_getcal()
116 outb(L4_CMD_GETCAL, L4_PORT); in l4_getcal()
125 outb(port & 3, L4_PORT); in l4_getcal()
147 outb(L4_SELECT_ANALOG, L4_PORT); in l4_setcal()
152 outb(L4_CMD_SETCAL, L4_PORT); in l4_setcal()
161 outb(port & 3, L4_PORT); in l4_setcal()
166 outb(cal[i], L4_PORT); in l4_setcal()
[all …]
/linux/drivers/irqchip/
A Dirq-i8259.c77 outb(cached_slave_mask, PIC_SLAVE_IMR); in disable_8259A_irq()
79 outb(cached_master_mask, PIC_MASTER_IMR); in disable_8259A_irq()
92 outb(cached_slave_mask, PIC_SLAVE_IMR); in enable_8259A_irq()
94 outb(cached_master_mask, PIC_MASTER_IMR); in enable_8259A_irq()
117 outb(0x0B, PIC_MASTER_CMD); /* ISR register */ in i8259A_irq_real()
122 outb(0x0B, PIC_SLAVE_CMD); /* ISR register */ in i8259A_irq_real()
163 outb(cached_slave_mask, PIC_SLAVE_IMR); in mask_and_ack_8259A()
168 outb(cached_master_mask, PIC_MASTER_IMR); in mask_and_ack_8259A()
219 outb(0xff, PIC_SLAVE_IMR); /* mask all of 8259A-2 */ in i8259A_shutdown()
236 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in init_8259A()
[all …]
/linux/drivers/i2c/busses/
A Dscx200_acb.c127 outb(0, ACBST); in scx200_acb_machine()
144 outb(iface->command, ACBSDA); in scx200_acb_machine()
162 outb(iface->address_byte, ACBSDA); in scx200_acb_machine()
166 outb(iface->address_byte, ACBSDA); in scx200_acb_machine()
198 outb(*iface->ptr++, ACBSDA); in scx200_acb_machine()
227 outb(0, ACBST); in scx200_acb_poll()
251 outb(0x70, ACBCTL2); in scx200_acb_reset()
253 outb(0, ACBCTL1); in scx200_acb_reset()
255 outb(0, ACBADDR); in scx200_acb_reset()
265 outb(inb(ACBCST) | ACBCST_BB, ACBCST); in scx200_acb_reset()
[all …]
A Di2c-isch.c81 outb(temp, SMBHSTSTS); in sch_transaction()
91 outb(inb(SMBHSTCNT) | 0x10, SMBHSTCNT); in sch_transaction()
113 outb(temp, SMBHSTSTS); in sch_transaction()
173 outb(command, SMBHSTCMD); in sch_access()
178 outb(command, SMBHSTCMD); in sch_access()
180 outb(data->byte, SMBHSTDAT0); in sch_access()
185 outb(command, SMBHSTCMD); in sch_access()
187 outb(data->word & 0xff, SMBHSTDAT0); in sch_access()
194 outb(command, SMBHSTCMD); in sch_access()
199 outb(len, SMBHSTDAT0); in sch_access()
[all …]
/linux/drivers/net/ethernet/fujitsu/
A Dfmvj18x_cs.c451 outb(BANK_0, ioaddr + CONFIG_1); in fmvj18x_config()
453 outb(BANK_0U, ioaddr + CONFIG_1); in fmvj18x_config()
895 outb(BANK_0, ioaddr + CONFIG_1); in fjn_reset()
897 outb(BANK_0U, ioaddr + CONFIG_1); in fjn_reset()
913 outb(BANK_2, ioaddr + CONFIG_1); in fjn_reset()
915 outb(BANK_2U, ioaddr + CONFIG_1); in fjn_reset()
924 outb(0x00, ioaddr + BMPR12); in fjn_reset()
925 outb(0x00, ioaddr + BMPR13); in fjn_reset()
928 outb(0x01, ioaddr + RX_SKIP); in fjn_reset()
953 outb(INTR_ON, ioaddr + LAN_CTRL); in fjn_reset()
[all …]
/linux/drivers/input/mouse/
A Dinport.c74 outb(INPORT_REG_MODE, INPORT_CONTROL_PORT); in inport_interrupt()
77 outb(INPORT_REG_X, INPORT_CONTROL_PORT); in inport_interrupt()
80 outb(INPORT_REG_Y, INPORT_CONTROL_PORT); in inport_interrupt()
83 outb(INPORT_REG_BTNS, INPORT_CONTROL_PORT); in inport_interrupt()
90 outb(INPORT_REG_MODE, INPORT_CONTROL_PORT); in inport_interrupt()
101 outb(INPORT_REG_MODE, INPORT_CONTROL_PORT); in inport_open()
109 outb(INPORT_REG_MODE, INPORT_CONTROL_PORT); in inport_close()
110 outb(INPORT_MODE_BASE, INPORT_DATA_PORT); in inport_close()
155 outb(INPORT_RESET, INPORT_CONTROL_PORT); in inport_init()
156 outb(INPORT_REG_MODE, INPORT_CONTROL_PORT); in inport_init()
[all …]

Completed in 44 milliseconds

12345678910>>...23