Searched refs:BQ27XXX_DM_SZ (Results 1 – 1 of 1) sorted by relevance
1023 #define BQ27XXX_DM_SZ 32 macro1038 u8 data[BQ27XXX_DM_SZ];1044 .block = (di)->dm_regs[i].offset / BQ27XXX_DM_SZ, \1051 buf->block == reg->offset / BQ27XXX_DM_SZ) in bq27xxx_dm_reg_ptr()1052 return (__be16 *) (buf->data + reg->offset % BQ27XXX_DM_SZ); in bq27xxx_dm_reg_ptr()1224 for (i = 0; i < BQ27XXX_DM_SZ; i++) in bq27xxx_battery_checksum_dm_block()1248 ret = bq27xxx_read_block(di, BQ27XXX_DM_DATA, buf->data, BQ27XXX_DM_SZ); in bq27xxx_battery_read_dm_block()1395 ret = bq27xxx_write_block(di, BQ27XXX_DM_DATA, buf->data, BQ27XXX_DM_SZ);