Home
last modified time | relevance | path

Searched refs:pwr_sub (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/input/joystick/
H A Ddb9.c131 static void db9_saturn_write_sub(struct parport *port, int type, unsigned char data, int powered, int pwr_sub) in db9_saturn_write_sub() argument
137 c = 0x80 | 0x30 | (powered ? 0x08 : 0) | (pwr_sub ? 0x04 : 0) | data; in db9_saturn_write_sub()
141 c = 0x40 | data << 4 | (powered ? 0x08 : 0) | (pwr_sub ? 0x04 : 0) | 0x03; in db9_saturn_write_sub()
/kernel/linux/linux-6.6/drivers/input/joystick/
H A Ddb9.c128 static void db9_saturn_write_sub(struct parport *port, int type, unsigned char data, int powered, int pwr_sub) in db9_saturn_write_sub() argument
134 c = 0x80 | 0x30 | (powered ? 0x08 : 0) | (pwr_sub ? 0x04 : 0) | data; in db9_saturn_write_sub()
138 c = 0x40 | data << 4 | (powered ? 0x08 : 0) | (pwr_sub ? 0x04 : 0) | 0x03; in db9_saturn_write_sub()

Completed in 2 milliseconds