max_min
#define table_hash(mode, bpc, max_min) ((mode << 16) | (bpc << 8) | max_min)
enum max_min max_min, float bpp)
int sel = table_hash(mode, bpc, max_min);
static SENSOR_DEVICE_ATTR_RW(temp1_max, max_min, 0);
static SENSOR_DEVICE_ATTR_RW(temp1_min, max_min, 1);