/drivers/pci/ |
H A D | syscall.c | 20 u8 byte; local 36 cfg_ret = pci_user_read_config_byte(dev, off, &byte); 55 err = put_user(byte, (unsigned char __user *)buf); 90 u8 byte; local 104 err = get_user(byte, (u8 __user *)buf); 107 err = pci_user_write_config_byte(dev, off, byte);
|
/drivers/input/serio/ |
H A D | rpckbd.c | 65 unsigned int byte; local 69 byte = iomd_readb(IOMD_KARTRX); 71 serio_interrupt(port, byte, 0);
|
H A D | libps2.c | 31 * ps2_sendbyte() sends a byte to the device and waits for acknowledge. 38 int ps2_sendbyte(struct ps2dev *ps2dev, unsigned char byte, int timeout) argument 45 if (serio_write(ps2dev->serio, byte) == 0) 104 * ps2_is_keyboard_id() checks received ID byte against the list of 124 * ps2_adjust_timeout() is called after receiving 1st byte of command 134 * Device has sent the first response byte after 137 * The next byte will come soon (keyboard) or not 148 * a single byte. Fail the command so atkbd will 160 * won't be 2nd byte of ID response.
|
H A D | maceps2.c | 78 unsigned long byte; local 81 byte = port->rx; 82 serio_interrupt(dev, byte & 0xff, 0);
|
/drivers/mca/ |
H A D | mca-device.c | 78 * @byte: byte to write to the POS registers 89 unsigned char byte) 93 mca_bus->f.mca_write_pos(mca_dev, reg, byte); 88 mca_device_write_pos(struct mca_device *mca_dev, int reg, unsigned char byte) argument
|
H A D | mca-legacy.c | 232 * @byte: byte to write to the POS registers 252 void mca_write_pos(int slot, int reg, unsigned char byte) argument 259 mca_device_write_pos(mca_dev, reg, byte);
|
/drivers/media/video/ |
H A D | tea6415c.c | 54 u8 byte = 0; local 67 byte = 0x00; 70 byte = 0x20; 73 byte = 0x10; 76 byte = 0x08; 79 byte = 0x18; 82 byte = 0x28; 88 byte |= 0x00; 91 byte |= 0x04; 94 byte | [all...] |
H A D | tea6420.c | 56 u8 byte; local 66 byte = ((o - 1) << 5); 67 byte |= (i - 1); 72 byte |= (3 << 3); 75 byte |= (2 << 3); 78 byte |= (1 << 3); 84 ret = i2c_smbus_write_byte(client, byte);
|
H A D | tda9840.c | 71 int byte; local 78 byte = TDA9840_SET_STEREO; 81 byte = TDA9840_SET_BOTH; 84 byte = TDA9840_SET_LANG1; 87 byte = TDA9840_SET_LANG2; 90 byte = TDA9840_SET_MONO; 93 v4l2_dbg(1, debug, sd, "TDA9840_SWITCH: 0x%02x\n", byte); 94 tda9840_write(sd, SWITCH, byte); 101 u8 byte; local 104 if (1 != i2c_master_recv(client, &byte, [all...] |
/drivers/net/irda/ |
H A D | ma600-sir.c | 47 /* control byte for MA600 */ 119 __u8 byte; local 124 byte = MA600_115200; 127 byte = MA600_57600; 130 byte = MA600_38400; 133 byte = MA600_19200; 136 byte = MA600_9600; 139 byte = MA600_2400; 143 return byte; 177 u8 byte; local [all...] |
H A D | tekram-sir.c | 116 * [oops, why 100 msec? sending 1 byte (10 bits) takes 1.05 msec 130 u8 byte; local 144 byte = TEKRAM_PW|TEKRAM_9600; 147 byte = TEKRAM_PW|TEKRAM_19200; 150 byte = TEKRAM_PW|TEKRAM_38400; 153 byte = TEKRAM_PW|TEKRAM_57600; 156 byte = TEKRAM_115200; 166 /* Write control byte */ 167 sirdev_raw_write(dev, &byte, 1);
|
H A D | toim3232-sir.c | 40 * where a command byte is sent to select the baudrate of the RS232 73 * high-nibble of the command byte (when setting speed and pulse length). 242 u8 byte; local 250 /* Figure out what we are going to send as a control byte */ 253 byte = TOIM3232_PW|TOIM3232_2400; 260 byte = TOIM3232_PW|TOIM3232_9600; 263 byte = TOIM3232_PW|TOIM3232_19200; 266 byte = TOIM3232_PW|TOIM3232_38400; 269 byte = TOIM3232_PW|TOIM3232_57600; 272 byte [all...] |
/drivers/auxdisplay/ |
H A D | ks0108.c | 61 * get race conditions in any way. Locking for each byte here would be 75 void ks0108_writedata(unsigned char byte) argument 77 parport_write_data(ks0108_parport, byte); 80 void ks0108_writecontrol(unsigned char byte) argument 83 parport_write_control(ks0108_parport, byte ^ (bit(0) | bit(1) | bit(3)));
|
/drivers/gpu/drm/ |
H A D | drm_dp_i2c_helper.c | 93 * Write a single byte to the current I2C address, the 97 i2c_algo_dp_aux_put_byte(struct i2c_adapter *adapter, u8 byte) argument 105 ret = i2c_algo_dp_aux_transaction(adapter, MODE_I2C_WRITE, byte, NULL); 110 * Read a single byte from the current I2C address, the
|
/drivers/media/video/tm6000/ |
H A D | tm6000-i2c.c | 160 int addr, rc, i, byte; local 173 * immediately after a 1 or 2 byte write to select 183 /* 1 or 2 byte write followed by a read */ 185 for (byte = 0; byte < msgs[i].len; byte++) 186 printk(KERN_CONT " %02x", msgs[i].buf[byte]); 207 for (byte = 0; byte < msgs[i].len; byte [all...] |
/drivers/mtd/nand/ |
H A D | ams-delta.c | 62 static void ams_delta_write_byte(struct mtd_info *mtd, u_char byte) argument 68 writew(byte, this->IO_ADDR_W);
|
H A D | socrates_nand.c | 80 * socrates_nand_read_byte - read one byte from the chip 85 uint8_t byte; local 86 socrates_nand_read_buf(mtd, &byte, sizeof(byte)); 87 return byte;
|
/drivers/s390/cio/ |
H A D | airq.c | 29 unsigned char byte[NR_AIRQS]; member in union:indicator_t 85 return &indicators[isc].byte[ret]; 100 i = (int) ((addr_t) ind) - ((addr_t) &indicators[isc].byte[0]); 103 indicators[isc].byte[i] = 0; 139 airq->handler(&indicators[isc].byte[i], 145 indicators[isc].byte[i] = 0;
|
H A D | chp.h | 36 int byte = num >> 3; local 39 return (bitmap[byte] & mask) ? 1 : 0;
|
/drivers/video/mb862xx/ |
H A D | mb862xx-i2c.c | 49 static int mb862xx_i2c_write_byte(struct i2c_adapter *adap, u8 byte) argument 53 outreg(i2c, GC_I2C_DAR, byte); 60 static int mb862xx_i2c_read_byte(struct i2c_adapter *adap, u8 *byte, int last) argument 67 *byte = inreg(i2c, GC_I2C_DAR);
|
/drivers/mtd/maps/ |
H A D | amd76xrom.c | 62 MODULE_PARM_DESC(win_size_bits, "ROM window size bits override for 0x43 byte, normally set by BIOS."); 71 u8 byte; local 75 pci_read_config_byte(window->pdev, 0x40, &byte); 76 pci_write_config_byte(window->pdev, 0x40, byte & ~1); 107 u8 byte; local 122 pci_read_config_byte(pdev, 0x43, &byte); 123 pci_write_config_byte(pdev, 0x43, byte | win_size_bits ); 126 pci_read_config_byte(pdev, 0x43, &byte); 127 if ((byte & ((1<<7)|(1<<6))) == ((1<<7)|(1<<6))) { 130 else if ((byte [all...] |
H A D | ck804xrom.c | 67 * byte @0x88: bit 0..7 68 * byte @0x8c: bit 8..15 84 u8 byte; local 88 pci_read_config_byte(window->pdev, 0x6d, &byte); 89 pci_write_config_byte(window->pdev, 0x6d, byte & ~1); 119 u8 byte; local 137 pci_read_config_byte(pdev, 0x88, &byte); 138 pci_write_config_byte(pdev, 0x88, byte | win_size_bits ); 141 pci_read_config_byte(pdev, 0x88, &byte); 143 if ((byte [all...] |
H A D | ichxrom.c | 94 u8 byte; local 111 pci_read_config_byte(pdev, FWH_DEC_EN1, &byte); 112 if (byte == 0xff) { 114 pci_read_config_byte(pdev, FWH_DEC_EN2, &byte); 115 if ((byte & 0x0f) == 0x0f) { 118 else if ((byte & 0x0e) == 0x0e) { 121 else if ((byte & 0x0c) == 0x0c) { 124 else if ((byte & 0x08) == 0x08) { 128 else if ((byte & 0xfe) == 0xfe) { 131 else if ((byte [all...] |
H A D | octagon-5066.c | 48 static void __oct5066_page(struct map_info *map, __u8 byte) argument 50 outb(byte,PAGE_IO); 51 page_n_dev = byte; 56 __u8 byte = map->map_priv_1 | (ofs >> WINDOW_SHIFT); local 58 if (page_n_dev != byte) 59 __oct5066_page(map, byte);
|
/drivers/parport/ |
H A D | ieee1284_ops.c | 47 unsigned char byte; local 122 byte = *addr++; 123 parport_write_data (port, byte); 158 unsigned char byte = 0; 211 byte |= nibble << 4; 212 *buf++ = byte; 214 byte = nibble; 251 unsigned char byte; 279 byte = parport_read_data (port); 280 *buf++ = byte; [all...] |