Lines Matching refs:bufx
1420 u16 bufx; in drxdap_fasi_read_block() local
1450 bufx = 0; in drxdap_fasi_read_block()
1460 buf[bufx++] = (u8) (((addr << 1) & 0xFF) | 0x01); in drxdap_fasi_read_block()
1461 buf[bufx++] = (u8) ((addr >> 16) & 0xFF); in drxdap_fasi_read_block()
1462 buf[bufx++] = (u8) ((addr >> 24) & 0xFF); in drxdap_fasi_read_block()
1463 buf[bufx++] = (u8) ((addr >> 7) & 0xFF); in drxdap_fasi_read_block()
1469 buf[bufx++] = (u8) ((addr << 1) & 0xFF); in drxdap_fasi_read_block()
1470 buf[bufx++] = in drxdap_fasi_read_block()
1483 rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, in drxdap_fasi_read_block()
1489 rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, dev_addr, todo, in drxdap_fasi_read_block()
1626 u16 bufx = 0; in drxdap_fasi_write_block() local
1636 buf[bufx++] = (u8) (((addr << 1) & 0xFF) | 0x01); in drxdap_fasi_write_block()
1637 buf[bufx++] = (u8) ((addr >> 16) & 0xFF); in drxdap_fasi_write_block()
1638 buf[bufx++] = (u8) ((addr >> 24) & 0xFF); in drxdap_fasi_write_block()
1639 buf[bufx++] = (u8) ((addr >> 7) & 0xFF); in drxdap_fasi_write_block()
1645 buf[bufx++] = (u8) ((addr << 1) & 0xFF); in drxdap_fasi_write_block()
1646 buf[bufx++] = in drxdap_fasi_write_block()
1674 (u16) (bufx), in drxdap_fasi_write_block()
1683 bufx = 0; in drxdap_fasi_write_block()
1688 memcpy(&buf[bufx], data, todo); in drxdap_fasi_write_block()
1691 (u16) (bufx + todo), in drxdap_fasi_write_block()