Lines Matching refs:dev_desc

1089 	const struct iqs7222_dev_desc *dev_desc;  member
1444 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_dev_init() local
1445 int comms_offset = dev_desc->comms_offset; in iqs7222_dev_init()
1459 u16 reg = dev_desc->reg_grps[IQS7222_REG_GRP_FILT].base + 1; in iqs7222_dev_init()
1498 int num_row = dev_desc->reg_grps[i].num_row; in iqs7222_dev_init()
1499 int num_col = dev_desc->reg_grps[i].num_col; in iqs7222_dev_init()
1500 u16 reg = dev_desc->reg_grps[i].base; in iqs7222_dev_init()
1594 iqs7222->dev_desc = &iqs7222_devs[i]; in iqs7222_dev_info()
1612 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_gpio_select() local
1614 int num_gpio = dev_desc->reg_grps[IQS7222_REG_GRP_GPIO].num_row; in iqs7222_gpio_select()
1863 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_parse_chan() local
1865 int num_chan = dev_desc->reg_grps[IQS7222_REG_GRP_CHAN].num_row; in iqs7222_parse_chan()
1872 if (dev_desc->allow_offset && in iqs7222_parse_chan()
1874 sys_setup[dev_desc->allow_offset] &= ~BIT(chan_index); in iqs7222_parse_chan()
1882 if (dev_desc->reg_grps[IQS7222_REG_GRP_CHAN].num_col > 4 && in iqs7222_parse_chan()
1936 ref_setup[4] = dev_desc->touch_link; in iqs7222_parse_chan()
2007 u16 *setup = dev_desc->reg_grps in iqs7222_parse_chan()
2034 dev_desc->touch_link - (i ? 0 : 2), in iqs7222_parse_chan()
2041 if (!dev_desc->event_offset) in iqs7222_parse_chan()
2044 sys_setup[dev_desc->event_offset] |= event_enable; in iqs7222_parse_chan()
2059 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_parse_sldr() local
2061 int num_chan = dev_desc->reg_grps[IQS7222_REG_GRP_CHAN].num_row; in iqs7222_parse_sldr()
2064 u16 *event_mask = &iqs7222->sys_setup[dev_desc->event_offset]; in iqs7222_parse_sldr()
2098 reg_offset = dev_desc->sldr_res < U16_MAX ? 0 : 1; in iqs7222_parse_sldr()
2122 sldr_setup[4 + reg_offset] = dev_desc->touch_link; in iqs7222_parse_sldr()
2128 if (val > dev_desc->sldr_res) { in iqs7222_parse_sldr()
2195 if (dev_desc->wheel_enable) { in iqs7222_parse_sldr()
2196 sldr_setup[0] &= ~dev_desc->wheel_enable; in iqs7222_parse_sldr()
2198 sldr_setup[0] |= dev_desc->wheel_enable; in iqs7222_parse_sldr()
2225 else if (dev_desc->legacy_gesture && in iqs7222_parse_sldr()
2228 else if (dev_desc->legacy_gesture && in iqs7222_parse_sldr()
2254 if (!dev_desc->event_offset) in iqs7222_parse_sldr()
2264 else if (sldr_setup[4 + reg_offset] == dev_desc->touch_link) in iqs7222_parse_sldr()
2276 dev_desc->wheel_enable ? in iqs7222_parse_sldr()
2327 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_parse_all() local
2328 const struct iqs7222_reg_grp_desc *reg_grps = dev_desc->reg_grps; in iqs7222_parse_all()
2332 if (dev_desc->allow_offset) in iqs7222_parse_all()
2333 sys_setup[dev_desc->allow_offset] = U16_MAX; in iqs7222_parse_all()
2335 if (dev_desc->event_offset) in iqs7222_parse_all()
2336 sys_setup[dev_desc->event_offset] = IQS7222_EVENT_MASK_ATI; in iqs7222_parse_all()
2386 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_report() local
2388 int num_chan = dev_desc->reg_grps[IQS7222_REG_GRP_CHAN].num_row; in iqs7222_report()
2389 int num_stat = dev_desc->reg_grps[IQS7222_REG_GRP_STAT].num_col; in iqs7222_report()
2438 for (i = 0; i < dev_desc->reg_grps[IQS7222_REG_GRP_SLDR].num_row; i++) { in iqs7222_report()
2446 if (sldr_pos < dev_desc->sldr_res) in iqs7222_report()
2451 sldr_pos < dev_desc->sldr_res); in iqs7222_report()
2457 if (dev_desc->sldr_res == U16_MAX) in iqs7222_report()