Searched refs:TASDEVICE_PAGE_REG (Results 1 – 4 of 4) sorted by relevance
47 #define TASDEVICE_PAGE_REG(reg) ((reg % (256 * 128)) % 128) macro
269 dst[i++] = TASDEVICE_PAGE_REG(p->r0_reg); in tasdev_cali_data_get()273 dst[i++] = TASDEVICE_PAGE_REG(p->r0_low_reg); in tasdev_cali_data_get()277 dst[i++] = TASDEVICE_PAGE_REG(p->invr0_reg); in tasdev_cali_data_get()281 dst[i++] = TASDEVICE_PAGE_REG(p->pow_reg); in tasdev_cali_data_get()285 dst[i++] = TASDEVICE_PAGE_REG(p->tlimit_reg); in tasdev_cali_data_get()
1580 && (reg == TASDEVICE_PAGE_REG(TAS2781_SA_COEFF_SWAP_REG)) in tasdev_multibytes_chksum()1608 >= TASDEVICE_PAGE_REG(TAS2781_SA_COEFF_SWAP_REG)) in tasdev_multibytes_chksum()1610 <= (TASDEVICE_PAGE_REG(TAS2781_SA_COEFF_SWAP_REG) in tasdev_multibytes_chksum()1636 && (reg >= TASDEVICE_PAGE_REG(TAS2781_SA_COEFF_SWAP_REG)) in do_singlereg_checksum()1637 && (reg <= (TASDEVICE_PAGE_REG( in do_singlereg_checksum()
151 ret = tasdevice_dev_write(tas_priv, chn, TASDEVICE_PAGE_REG(reg), in tasdevice_spi_dev_update_bits()