Home
last modified time | relevance | path

Searched refs:INW (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
Dsym_hipd.h193 #define INW(np, r) INW_OFF(np, offsetof(struct sym_reg, r)) macro
202 #define OUTONW(np, r, m) OUTW(np, r, INW(np, r) | (m))
203 #define OUTOFFW(np, r, m) OUTW(np, r, INW(np, r) & ~(m))
Dsym_hipd.c151 INW(np, nc_sist); in sym_soft_reset()
206 ((INW(np, nc_sbdl) & 0xff) << 9) | /* d7-0 */ in sym_reset_scsi_bus()
207 ((INW(np, nc_sbdl) & 0xff00) << 10) | /* d15-8 */ in sym_reset_scsi_bus()
310 INW(np, nc_sist); /* clear pending scsi interrupt */ in getfreq()
312 INW(np, nc_sist); /* another one, just to be sure :) */ in getfreq()
325 while (!(INW(np, nc_sist) & GEN) && ms++ < 100000) in getfreq()
1181 sist = INW(np, nc_sist);
1865 INW(np, nc_sist);
2426 delta = INW(np, nc_dfbc);
2850 sist |= INW(np, nc_sist);
/kernel/linux/linux-5.10/drivers/scsi/
Dncr53c8xx.h419 #define INW(r) INW_OFF (offsetof(struct ncr_reg,r)) macro
432 #define OUTONW(r, m) OUTW(r, INW(r) | (m))
433 #define OUTOFFW(r, m) OUTW(r, INW(r) & ~(m))
Dncr53c8xx.c4507 ((INW(nc_sbdl) & 0xff) << 9) | /* d7-0 */ in ncr_reset_scsi_bus()
4508 ((INW(nc_sbdl) & 0xff00) << 10) | /* d15-8 */ in ncr_reset_scsi_bus()
5926 sist = (istat & SIP) ? INW (nc_sist) : 0; in ncr_exception()
7863 (void) INW (nc_sist); /* clear pending scsi interrupt */
7865 (void) INW (nc_sist); /* another one, just to be sure :) */
7869 while (!(INW(nc_sist) & GEN) && ms++ < 100000) {