Home
last modified time | relevance | path

Searched refs:OUTB (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/drivers/net/irda/
Ddonauboe.c171 #define OUTB(val,port) outb_p(val,port) macro
174 #define PROMPT OUTB(OBOE_PROMPT_BIT,OBOE_PROMPT);
305 OUTB (0x0, OBOE_IER); in toshoboe_stopchip()
307 OUTB (CONFIG0H_DMA_OFF, OBOE_CONFIG0H); in toshoboe_stopchip()
309 OUTB (0x00, OBOE_ENABLEH); in toshoboe_stopchip()
311 OUTB (0x3f, OBOE_RING_BASE2); in toshoboe_stopchip()
312 OUTB (0xff, OBOE_RING_BASE1); in toshoboe_stopchip()
313 OUTB (0xff, OBOE_RING_BASE0); in toshoboe_stopchip()
315 OUTB (RX_LEN >> 8, OBOE_MAXLENH); in toshoboe_stopchip()
316 OUTB (RX_LEN & 0xff, OBOE_MAXLENL); in toshoboe_stopchip()
[all …]
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_nvram.c275 OUTB(np, nc_gpreg, *gpreg); in S24C16_set_bit()
322 OUTB(np, nc_gpcntl, *gpcntl & 0xfe); in S24C16_write_ack()
324 OUTB(np, nc_gpcntl, *gpcntl); in S24C16_write_ack()
334 OUTB(np, nc_gpcntl, *gpcntl | 0x01); in S24C16_read_ack()
336 OUTB(np, nc_gpcntl, *gpcntl); in S24C16_read_ack()
391 OUTB(np, nc_gpreg, old_gpreg); in sym_write_S24C16_nvram()
392 OUTB(np, nc_gpcntl, gpcntl); in sym_write_S24C16_nvram()
421 OUTB(np, nc_gpcntl, old_gpcntl); in sym_write_S24C16_nvram()
422 OUTB(np, nc_gpreg, old_gpreg); in sym_write_S24C16_nvram()
445 OUTB(np, nc_gpreg, old_gpreg); in sym_read_S24C16_nvram()
[all …]
Dsym_hipd.c135 OUTB(np, nc_istat, SRST); in sym_chip_reset()
138 OUTB(np, nc_istat, 0); in sym_chip_reset()
160 OUTB(np, nc_istat, CABRT); in sym_soft_reset()
172 OUTB(np, nc_istat, 0); in sym_soft_reset()
202 OUTB(np, nc_stest3, TE); in sym_reset_scsi_bus()
203 OUTB(np, nc_dcntl, (np->rv_dcntl & IRQM)); in sym_reset_scsi_bus()
204 OUTB(np, nc_scntl1, CRST); in sym_reset_scsi_bus()
238 OUTB(np, nc_scntl1, 0); in sym_reset_scsi_bus()
251 OUTB(np, nc_scntl3, scntl3); in sym_selectclock()
258 OUTB(np, nc_stest1, DBLEN); /* Enable clock multiplier */ in sym_selectclock()
[all …]
Dsym_hipd.h209 #define OUTB(np, r, v) OUTB_OFF(np, offsetof(struct sym_reg, r), (v)) macro
213 #define OUTONB(np, r, m) OUTB(np, r, INB(np, r) | (m))
214 #define OUTOFFB(np, r, m) OUTB(np, r, INB(np, r) & ~(m))
Dsym_glue.c972 OUTB(np, nc_istat, SIGP|SEM); in sym_exec_user_command()
980 OUTB(np, nc_istat, SIGP|SEM); in sym_exec_user_command()
1638 OUTB(np, nc_istat, SRST); in sym_detach()
1641 OUTB(np, nc_istat, 0); in sym_detach()
/linux-4.4.14/drivers/scsi/
Dncr53c8xx.c4476 OUTB (nc_istat, SIGP); in ncr_put_start_queue()
4500 OUTB (nc_stest3, TE); in ncr_reset_scsi_bus()
4501 OUTB (nc_scntl1, CRST); in ncr_reset_scsi_bus()
4535 OUTB (nc_scntl1, 0); in ncr_reset_scsi_bus()
4698 OUTB (nc_istat, SIGP);
4741 OUTB (nc_dien , 0); in ncr_detach()
4751 OUTB(nc_dmode, np->sv_dmode); in ncr_detach()
4752 OUTB(nc_dcntl, np->sv_dcntl); in ncr_detach()
4753 OUTB(nc_ctest0, np->sv_ctest0); in ncr_detach()
4754 OUTB(nc_ctest3, np->sv_ctest3); in ncr_detach()
[all …]
Dncr53c8xx.h434 #define OUTB(r, val) OUTB_OFF (offsetof(struct ncr_reg,r), (val)) macro
442 #define OUTONB(r, m) OUTB(r, INB(r) | (m))
443 #define OUTOFFB(r, m) OUTB(r, INB(r) & ~(m))
/linux-4.4.14/drivers/video/fbdev/
Datafb.c2224 #define OUTB(port,val) \ macro
2248 OUTB(0x3c8, regno); in ext_setcolreg()
2250 OUTB(0x3c9, red & colmask); in ext_setcolreg()
2252 OUTB(0x3c9, green & colmask); in ext_setcolreg()
2254 OUTB(0x3c9, blue & colmask); in ext_setcolreg()
2259 OUTB((MV300_reg[regno] << 2) + 1, red); in ext_setcolreg()
2260 OUTB((MV300_reg[regno] << 2) + 1, green); in ext_setcolreg()
2261 OUTB((MV300_reg[regno] << 2) + 1, blue); in ext_setcolreg()
/linux-4.4.14/firmware/keyspan_pda/
Dkeyspan_pda.S149 #define OUTB #0x7f97 macro
251 mov dptr,OUTB
Dxircom_pgs.S149 #define OUTB #0x7f97 macro
272 mov dptr,OUTB