Lines Matching refs:ibuf
285 u8 ibuf[MAX_XFER_SIZE], obuf[3]; in dw2102_earda_i2c_transfer() local
294 if (2 + msg[1].len > sizeof(ibuf)) { in dw2102_earda_i2c_transfer()
308 ibuf, msg[1].len + 2, DW210X_READ_MSG); in dw2102_earda_i2c_transfer()
309 memcpy(msg[1].buf, ibuf + 2, msg[1].len); in dw2102_earda_i2c_transfer()
352 u8 ibuf[2]; in dw2102_earda_i2c_transfer() local
354 ibuf, 2, DW210X_READ_MSG); in dw2102_earda_i2c_transfer()
355 memcpy(msg[0].buf, ibuf , 2); in dw2102_earda_i2c_transfer()
390 u8 ibuf[2]; in dw2104_i2c_transfer() local
392 ibuf, 2, DW210X_READ_MSG); in dw2104_i2c_transfer()
393 memcpy(msg[j].buf, ibuf , 2); in dw2104_i2c_transfer()
411 u8 ibuf[MAX_XFER_SIZE]; in dw2104_i2c_transfer() local
413 if (2 + msg[j].len > sizeof(ibuf)) { in dw2104_i2c_transfer()
422 ibuf, msg[j].len + 2, in dw2104_i2c_transfer()
424 memcpy(msg[j].buf, ibuf + 2, msg[j].len); in dw2104_i2c_transfer()
492 u8 ibuf[MAX_XFER_SIZE], obuf[3]; in dw3101_i2c_transfer() local
500 if (2 + msg[1].len > sizeof(ibuf)) { in dw3101_i2c_transfer()
513 ibuf, msg[1].len + 2, DW210X_READ_MSG); in dw3101_i2c_transfer()
514 memcpy(msg[1].buf, ibuf + 2, msg[1].len); in dw3101_i2c_transfer()
539 u8 ibuf[2]; in dw3101_i2c_transfer() local
541 ibuf, 2, DW210X_READ_MSG); in dw3101_i2c_transfer()
542 memcpy(msg[0].buf, ibuf , 2); in dw3101_i2c_transfer()
578 u8 ibuf[5]; in s6x0_i2c_transfer() local
580 ibuf, 5, DW210X_READ_MSG); in s6x0_i2c_transfer()
581 memcpy(msg[j].buf, ibuf + 3, 2); in s6x0_i2c_transfer()
614 u8 ibuf[MAX_XFER_SIZE]; in s6x0_i2c_transfer() local
616 if (msg[j].len > sizeof(ibuf)) { in s6x0_i2c_transfer()
624 ibuf, msg[j].len, in s6x0_i2c_transfer()
626 memcpy(msg[j].buf, ibuf, msg[j].len); in s6x0_i2c_transfer()
833 u8 ibuf[] = {0, 0}; in dw210x_read_mac_address() local
837 if (dw210x_op_rw(d->udev, 0xb6, 0xa0 , i, ibuf, 2, DW210X_READ_MSG) < 0) { in dw210x_read_mac_address()
841 eepromline[i%16] = ibuf[0]; in dw210x_read_mac_address()
842 eeprom[i] = ibuf[0]; in dw210x_read_mac_address()
857 u8 ibuf[] = { 0 }, obuf[] = { 0 }; in s6x0_read_mac_address() local
868 .buf = ibuf, in s6x0_read_mac_address()
880 eepromline[i % 16] = ibuf[0]; in s6x0_read_mac_address()
881 eeprom[i] = ibuf[0]; in s6x0_read_mac_address()
936 u8 ibuf[] = { 0 }; in su3000_read_mac_address() local
946 .buf = ibuf, in su3000_read_mac_address()
957 mac[i] = ibuf[0]; in su3000_read_mac_address()