Home
last modified time | relevance | path

Searched refs:gpreg (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/scsi/sym53c8xx_2/
Dsym_nvram.c243 static void S24C16_set_bit(struct sym_device *np, u_char write_bit, u_char *gpreg, in S24C16_set_bit() argument
249 *gpreg |= write_bit; in S24C16_set_bit()
252 *gpreg &= 0xfe; in S24C16_set_bit()
255 *gpreg |= 0x02; in S24C16_set_bit()
258 *gpreg &= 0xfd; in S24C16_set_bit()
262 OUTB(np, nc_gpreg, *gpreg); in S24C16_set_bit()
270 static void S24C16_start(struct sym_device *np, u_char *gpreg) in S24C16_start() argument
272 S24C16_set_bit(np, 1, gpreg, SET_BIT); in S24C16_start()
273 S24C16_set_bit(np, 0, gpreg, SET_CLK); in S24C16_start()
274 S24C16_set_bit(np, 0, gpreg, CLR_BIT); in S24C16_start()
[all …]
Dsym_fw1.h214 SCR_REG_REG (gpreg, SCR_AND, 0xfe),
839 SCR_REG_REG (gpreg, SCR_OR, 0x01),
885 SCR_REG_REG (gpreg, SCR_AND, 0xfe),
Dsym_fw2.h207 SCR_REG_REG (gpreg, SCR_AND, 0xfe),
802 SCR_REG_REG (gpreg, SCR_OR, 0x01),
847 SCR_REG_REG (gpreg, SCR_AND, 0xfe),
Dsym_defs.h619 (SCR_REG_SFBR (gpreg, SCR_LOAD, data))
/linux-5.19.10/drivers/scsi/
Dncr53c8xx.h1136 (SCR_REG_SFBR (gpreg, SCR_LOAD, data))
Dncr53c8xx.c8215 cpu_to_scr(SCR_REG_REG(gpreg, SCR_OR, 0x01));
8217 cpu_to_scr(SCR_REG_REG(gpreg, SCR_AND, 0xfe));
8219 cpu_to_scr(SCR_REG_REG(gpreg, SCR_AND, 0xfe));