Lines Matching refs:f55
40 struct f55_data *f55; in rmi_f55_detect() local
43 f55 = dev_get_drvdata(&fn->dev); in rmi_f55_detect()
46 &f55->qry, sizeof(f55->qry)); in rmi_f55_detect()
53 f55->num_rx_electrodes = f55->qry[F55_NUM_RX_OFFSET]; in rmi_f55_detect()
54 f55->num_tx_electrodes = f55->qry[F55_NUM_TX_OFFSET]; in rmi_f55_detect()
56 f55->cfg_num_rx_electrodes = f55->num_rx_electrodes; in rmi_f55_detect()
57 f55->cfg_num_tx_electrodes = f55->num_rx_electrodes; in rmi_f55_detect()
59 drv_data->num_rx_electrodes = f55->cfg_num_rx_electrodes; in rmi_f55_detect()
60 drv_data->num_tx_electrodes = f55->cfg_num_rx_electrodes; in rmi_f55_detect()
62 if (f55->qry[F55_PHYS_CHAR_OFFSET] & F55_CAP_SENSOR_ASSIGN) { in rmi_f55_detect()
75 buf, f55->num_rx_electrodes); in rmi_f55_detect()
78 for (i = 0; i < f55->num_rx_electrodes; i++) { in rmi_f55_detect()
82 f55->cfg_num_rx_electrodes = total; in rmi_f55_detect()
88 buf, f55->num_tx_electrodes); in rmi_f55_detect()
91 for (i = 0; i < f55->num_tx_electrodes; i++) { in rmi_f55_detect()
95 f55->cfg_num_tx_electrodes = total; in rmi_f55_detect()
101 f55->cfg_num_rx_electrodes, f55->num_rx_electrodes); in rmi_f55_detect()
103 f55->cfg_num_tx_electrodes, f55->num_tx_electrodes); in rmi_f55_detect()
110 struct f55_data *f55; in rmi_f55_probe() local
112 f55 = devm_kzalloc(&fn->dev, sizeof(struct f55_data), GFP_KERNEL); in rmi_f55_probe()
113 if (!f55) in rmi_f55_probe()
116 f55->fn = fn; in rmi_f55_probe()
117 dev_set_drvdata(&fn->dev, f55); in rmi_f55_probe()