Lines Matching refs:regaddr
67 u16 regaddr = (addr << 12) | (count / 2) | SET_READ; in wfx_spi_copy_from_io() local
70 .tx_buf = ®addr, in wfx_spi_copy_from_io()
71 .len = sizeof(regaddr), in wfx_spi_copy_from_io()
82 cpu_to_le16s(®addr); in wfx_spi_copy_from_io()
84 swab16s(®addr); in wfx_spi_copy_from_io()
100 u16 regaddr = (addr << 12) | (count / 2); in wfx_spi_copy_to_io() local
106 .tx_buf = ®addr, in wfx_spi_copy_to_io()
107 .len = sizeof(regaddr), in wfx_spi_copy_to_io()
115 WARN(regaddr & SET_READ, "bad addr or size overflow"); in wfx_spi_copy_to_io()
117 cpu_to_le16s(®addr); in wfx_spi_copy_to_io()
123 swab16s(®addr); in wfx_spi_copy_to_io()