Lines Matching refs:f55
43 struct f55_data *f55; in rmi_f55_detect() local
46 f55 = dev_get_drvdata(&fn->dev); in rmi_f55_detect()
49 &f55->qry, sizeof(f55->qry)); in rmi_f55_detect()
56 f55->num_rx_electrodes = f55->qry[F55_NUM_RX_OFFSET]; in rmi_f55_detect()
57 f55->num_tx_electrodes = f55->qry[F55_NUM_TX_OFFSET]; in rmi_f55_detect()
59 f55->cfg_num_rx_electrodes = f55->num_rx_electrodes; in rmi_f55_detect()
60 f55->cfg_num_tx_electrodes = f55->num_rx_electrodes; in rmi_f55_detect()
62 drv_data->num_rx_electrodes = f55->cfg_num_rx_electrodes; in rmi_f55_detect()
63 drv_data->num_tx_electrodes = f55->cfg_num_rx_electrodes; in rmi_f55_detect()
65 if (f55->qry[F55_PHYS_CHAR_OFFSET] & F55_CAP_SENSOR_ASSIGN) { in rmi_f55_detect()
78 buf, f55->num_rx_electrodes); in rmi_f55_detect()
81 for (i = 0; i < f55->num_rx_electrodes; i++) { in rmi_f55_detect()
85 f55->cfg_num_rx_electrodes = total; in rmi_f55_detect()
91 buf, f55->num_tx_electrodes); in rmi_f55_detect()
94 for (i = 0; i < f55->num_tx_electrodes; i++) { in rmi_f55_detect()
98 f55->cfg_num_tx_electrodes = total; in rmi_f55_detect()
104 f55->cfg_num_rx_electrodes, f55->num_rx_electrodes); in rmi_f55_detect()
106 f55->cfg_num_tx_electrodes, f55->num_tx_electrodes); in rmi_f55_detect()
113 struct f55_data *f55; in rmi_f55_probe() local
115 f55 = devm_kzalloc(&fn->dev, sizeof(struct f55_data), GFP_KERNEL); in rmi_f55_probe()
116 if (!f55) in rmi_f55_probe()
119 f55->fn = fn; in rmi_f55_probe()
120 dev_set_drvdata(&fn->dev, f55); in rmi_f55_probe()