Searched refs:BQ27XXX_DM_SZ (Results 1 – 1 of 1) sorted by relevance
958 #define BQ27XXX_DM_SZ 32 macro973 u8 data[BQ27XXX_DM_SZ];979 .block = (di)->dm_regs[i].offset / BQ27XXX_DM_SZ, \986 buf->block == reg->offset / BQ27XXX_DM_SZ) in bq27xxx_dm_reg_ptr()987 return (u16 *) (buf->data + reg->offset % BQ27XXX_DM_SZ); in bq27xxx_dm_reg_ptr()1159 for (i = 0; i < BQ27XXX_DM_SZ; i++) in bq27xxx_battery_checksum_dm_block()1183 ret = bq27xxx_read_block(di, BQ27XXX_DM_DATA, buf->data, BQ27XXX_DM_SZ); in bq27xxx_battery_read_dm_block()1330 ret = bq27xxx_write_block(di, BQ27XXX_DM_DATA, buf->data, BQ27XXX_DM_SZ);