Searched refs:reg_addr_width (Results 1 – 1 of 1) sorted by relevance
77 int reg_addr, int reg_addr_width, in icn8505_read_xfer() argument86 .len = reg_addr_width / 8, in icn8505_read_xfer()96 for (i = 0; i < (reg_addr_width / 8); i++) in icn8505_read_xfer()97 buf[i] = (reg_addr >> (reg_addr_width - (i + 1) * 8)) & 0xff; in icn8505_read_xfer()114 int reg_addr, int reg_addr_width, in icn8505_write_xfer() argument122 .len = reg_addr_width / 8 + len, in icn8505_write_xfer()128 for (i = 0; i < (reg_addr_width / 8); i++) in icn8505_write_xfer()129 buf[i] = (reg_addr >> (reg_addr_width - (i + 1) * 8)) & 0xff; in icn8505_write_xfer()131 memcpy(buf + reg_addr_width / 8, data, len); in icn8505_write_xfer()