Searched refs:TASDEVICE_PAGE_REG (Results 1 – 4 of 4) sorted by relevance
47 #define TASDEVICE_PAGE_REG(reg) ((reg % (256 * 128)) % 128) macro
267 dst[i++] = TASDEVICE_PAGE_REG(p->r0_reg); in tasdev_cali_data_get() 271 dst[i++] = TASDEVICE_PAGE_REG(p->r0_low_reg); in tasdev_cali_data_get() 275 dst[i++] = TASDEVICE_PAGE_REG(p->invr0_reg); in tasdev_cali_data_get() 279 dst[i++] = TASDEVICE_PAGE_REG(p->pow_reg); in tasdev_cali_data_get() 283 dst[i++] = TASDEVICE_PAGE_REG(p->tlimit_reg); in tasdev_cali_data_get()
1534 && (reg == TASDEVICE_PAGE_REG(TAS2781_SA_COEFF_SWAP_REG)) in tasdev_multibytes_chksum()1562 >= TASDEVICE_PAGE_REG(TAS2781_SA_COEFF_SWAP_REG)) in tasdev_multibytes_chksum()1564 <= (TASDEVICE_PAGE_REG(TAS2781_SA_COEFF_SWAP_REG) in tasdev_multibytes_chksum()1590 && (reg >= TASDEVICE_PAGE_REG(TAS2781_SA_COEFF_SWAP_REG)) in do_singlereg_checksum()1591 && (reg <= (TASDEVICE_PAGE_REG( in do_singlereg_checksum()
144 ret = tasdevice_dev_write(tas_priv, chn, TASDEVICE_PAGE_REG(reg), in tasdevice_spi_dev_update_bits()