Searched refs:attn_data (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/input/rmi4/ |
D | rmi_f12.c | 208 if (drvdata->attn_data.data) { in rmi_f12_attention() 209 if (sensor->attn_size > drvdata->attn_data.size) in rmi_f12_attention() 210 valid_bytes = drvdata->attn_data.size; in rmi_f12_attention() 213 memcpy(sensor->data_pkt, drvdata->attn_data.data, in rmi_f12_attention() 215 drvdata->attn_data.data += valid_bytes; in rmi_f12_attention() 216 drvdata->attn_data.size -= valid_bytes; in rmi_f12_attention() 439 if (item && !drvdata->attn_data.data) in rmi_f12_probe() 453 if (item && !drvdata->attn_data.data) in rmi_f12_probe() 457 if (item && !drvdata->attn_data.data) in rmi_f12_probe() 461 if (item && !drvdata->attn_data.data) in rmi_f12_probe() [all …]
|
D | rmi_f3a.c | 64 if (drvdata->attn_data.data) { in rmi_f3a_attention() 65 if (drvdata->attn_data.size < f3a->register_count) { in rmi_f3a_attention() 70 memcpy(f3a->data_regs, drvdata->attn_data.data, in rmi_f3a_attention() 72 drvdata->attn_data.data += f3a->register_count; in rmi_f3a_attention() 73 drvdata->attn_data.size -= f3a->register_count; in rmi_f3a_attention()
|
D | rmi_driver.c | 138 if (!data->attn_data.data) { in rmi_process_interrupt_requests() 170 struct rmi4_attn_data attn_data; in rmi_set_attn_data() local 180 attn_data.irq_status = irq_status; in rmi_set_attn_data() 181 attn_data.size = size; in rmi_set_attn_data() 182 attn_data.data = fifo_data; in rmi_set_attn_data() 184 kfifo_put(&drvdata->attn_fifo, attn_data); in rmi_set_attn_data() 192 struct rmi4_attn_data attn_data = {0}; in rmi_irq_fn() local 195 count = kfifo_get(&drvdata->attn_fifo, &attn_data); in rmi_irq_fn() 197 *(drvdata->irq_status) = attn_data.irq_status; in rmi_irq_fn() 198 drvdata->attn_data = attn_data; in rmi_irq_fn() [all …]
|
D | rmi_f03.c | 259 if (drvdata->attn_data.data) { in rmi_f03_attention() 261 if (drvdata->attn_data.size < ob_len) { in rmi_f03_attention() 266 memcpy(obs, drvdata->attn_data.data, ob_len); in rmi_f03_attention() 268 drvdata->attn_data.data += ob_len; in rmi_f03_attention() 269 drvdata->attn_data.size -= ob_len; in rmi_f03_attention()
|
D | rmi_f30.c | 131 if (drvdata->attn_data.data) { in rmi_f30_attention() 132 if (drvdata->attn_data.size < f30->register_count) { in rmi_f30_attention() 137 memcpy(f30->data_regs, drvdata->attn_data.data, in rmi_f30_attention() 139 drvdata->attn_data.data += f30->register_count; in rmi_f30_attention() 140 drvdata->attn_data.size -= f30->register_count; in rmi_f30_attention()
|
D | rmi_f11.c | 1287 if (drvdata->attn_data.data) { in rmi_f11_attention() 1292 if (f11->sensor.attn_size > drvdata->attn_data.size) in rmi_f11_attention() 1293 valid_bytes = drvdata->attn_data.size; in rmi_f11_attention() 1296 memcpy(f11->sensor.data_pkt, drvdata->attn_data.data, in rmi_f11_attention() 1298 drvdata->attn_data.data += valid_bytes; in rmi_f11_attention() 1299 drvdata->attn_data.size -= valid_bytes; in rmi_f11_attention()
|
/Linux-v5.10/include/linux/ |
D | rmi.h | 365 struct rmi4_attn_data attn_data; member
|