Home
last modified time | relevance | path

Searched refs:INB (Results 1 – 8 of 8) sorted by relevance

/drivers/net/irda/
Ddonauboe.c170 #define INB(port) inb_p(port) macro
250 ringbase = INB (OBOE_RING_BASE0) << 10; in toshoboe_dumpregs()
251 ringbase |= INB (OBOE_RING_BASE1) << 18; in toshoboe_dumpregs()
252 ringbase |= INB (OBOE_RING_BASE2) << 26; in toshoboe_dumpregs()
259 INB (OBOE_RXSLOT), INB (OBOE_TXSLOT), ringbase); in toshoboe_dumpregs()
261 INB (OBOE_RING_SIZE), INB (OBOE_IER), INB (OBOE_ISR)); in toshoboe_dumpregs()
263 INB (OBOE_CONFIG1), INB (OBOE_STATUS)); in toshoboe_dumpregs()
265 INB (OBOE_CONFIG0H), INB (OBOE_CONFIG0L), in toshoboe_dumpregs()
266 INB (OBOE_ENABLEH), INB (OBOE_ENABLEL)); in toshoboe_dumpregs()
268 INB (OBOE_NEW_PCONFIGH), INB (OBOE_NEW_PCONFIGL), in toshoboe_dumpregs()
[all …]
/drivers/scsi/sym53c8xx_2/
Dsym_nvram.c276 INB(np, nc_mbox1); in S24C16_set_bit()
310 *read_bit = INB(np, nc_gpreg); in S24C16_do_bit()
386 old_gpreg = INB(np, nc_gpreg); in sym_write_S24C16_nvram()
387 old_gpcntl = INB(np, nc_gpcntl); in sym_write_S24C16_nvram()
440 old_gpreg = INB(np, nc_gpreg); in sym_read_S24C16_nvram()
441 old_gpcntl = INB(np, nc_gpcntl); in sym_read_S24C16_nvram()
554 INB(np, nc_mbox1); in T93C46_Clk()
566 *read_bit = INB(np, nc_gpreg); in T93C46_Read_Bit()
582 INB(np, nc_mbox1); in T93C46_Write_Bit()
595 INB(np, nc_mbox1); in T93C46_Stop()
[all …]
Dsym_hipd.c136 INB(np, nc_mbox1); in sym_chip_reset()
139 INB(np, nc_mbox1); in sym_chip_reset()
157 if (!(np->features & FE_ISTAT1) || !(INB(np, nc_istat1) & SCRUN)) in sym_soft_reset()
162 istat = INB(np, nc_istat); in sym_soft_reset()
167 if (INB(np, nc_dstat) & ABRT) in sym_soft_reset()
205 INB(np, nc_mbox1); in sym_reset_scsi_bus()
216 term = INB(np, nc_sstat0); in sym_reset_scsi_bus()
218 term |= ((INB(np, nc_sstat2) & 0x01) << 26) | /* sdp1 */ in sym_reset_scsi_bus()
221 INB(np, nc_sbcl); /* req ack bsy sel atn msg cd io */ in sym_reset_scsi_bus()
265 while (!(INB(np, nc_stest4) & LCKFRQ) && --i > 0) in sym_selectclock()
[all …]
Dsym_hipd.h205 #define INB(np, r) INB_OFF(np, offsetof(struct sym_reg, r)) 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.c1718 INB(np, nc_mbox1); in sym_detach()
/drivers/scsi/
Dncr53c8xx.c3754 np->sv_scntl0 = INB(nc_scntl0) & 0x0a; in ncr_prepare_setting()
3755 np->sv_scntl3 = INB(nc_scntl3) & 0x07; in ncr_prepare_setting()
3756 np->sv_dmode = INB(nc_dmode) & 0xce; in ncr_prepare_setting()
3757 np->sv_dcntl = INB(nc_dcntl) & 0xa8; in ncr_prepare_setting()
3758 np->sv_ctest0 = INB(nc_ctest0) & 0x84; in ncr_prepare_setting()
3759 np->sv_ctest3 = INB(nc_ctest3) & 0x01; in ncr_prepare_setting()
3760 np->sv_ctest4 = INB(nc_ctest4) & 0x80; in ncr_prepare_setting()
3761 np->sv_ctest5 = INB(nc_ctest5) & 0x24; in ncr_prepare_setting()
3762 np->sv_gpcntl = INB(nc_gpcntl); in ncr_prepare_setting()
3763 np->sv_stest2 = INB(nc_stest2) & 0x20; in ncr_prepare_setting()
[all …]
Dncr53c8xx.h434 #define INB(r) INB_OFF (offsetof(struct ncr_reg,r)) macro
446 #define OUTONB(r, m) OUTB(r, INB(r) | (m))
447 #define OUTOFFB(r, m) OUTB(r, INB(r) & ~(m))
/drivers/video/
Datafb.c2225 #define INB(port) \ macro
2229 unsigned char tmp = INB(0x3da); \
2230 tmp = INB(0x3da); \