Searched refs:attn_data (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/input/rmi4/ |
D | rmi_f12.c | 210 if (drvdata->attn_data.data) { in rmi_f12_attention() 211 if (sensor->attn_size > drvdata->attn_data.size) in rmi_f12_attention() 212 valid_bytes = drvdata->attn_data.size; in rmi_f12_attention() 215 memcpy(sensor->data_pkt, drvdata->attn_data.data, in rmi_f12_attention() 217 drvdata->attn_data.data += sensor->attn_size; in rmi_f12_attention() 218 drvdata->attn_data.size -= sensor->attn_size; in rmi_f12_attention() 420 if (item && !drvdata->attn_data.data) in rmi_f12_probe() 434 if (item && !drvdata->attn_data.data) in rmi_f12_probe() 438 if (item && !drvdata->attn_data.data) in rmi_f12_probe() 442 if (item && !drvdata->attn_data.data) in rmi_f12_probe() [all …]
|
D | rmi_driver.c | 141 if (!data->attn_data.data) { in rmi_process_interrupt_requests() 173 struct rmi4_attn_data attn_data; in rmi_set_attn_data() local 183 attn_data.irq_status = irq_status; in rmi_set_attn_data() 184 attn_data.size = size; in rmi_set_attn_data() 185 attn_data.data = fifo_data; in rmi_set_attn_data() 187 kfifo_put(&drvdata->attn_fifo, attn_data); in rmi_set_attn_data() 195 struct rmi4_attn_data attn_data = {0}; in rmi_irq_fn() local 198 count = kfifo_get(&drvdata->attn_fifo, &attn_data); in rmi_irq_fn() 200 *(drvdata->irq_status) = attn_data.irq_status; in rmi_irq_fn() 201 drvdata->attn_data = attn_data; in rmi_irq_fn() [all …]
|
D | rmi_f03.c | 262 if (drvdata->attn_data.data) { in rmi_f03_attention() 264 if (drvdata->attn_data.size < ob_len) { in rmi_f03_attention() 269 memcpy(obs, drvdata->attn_data.data, ob_len); in rmi_f03_attention() 271 drvdata->attn_data.data += ob_len; in rmi_f03_attention() 272 drvdata->attn_data.size -= ob_len; in rmi_f03_attention()
|
D | rmi_f30.c | 134 if (drvdata->attn_data.data) { in rmi_f30_attention() 135 if (drvdata->attn_data.size < f30->register_count) { in rmi_f30_attention() 140 memcpy(f30->data_regs, drvdata->attn_data.data, in rmi_f30_attention() 142 drvdata->attn_data.data += f30->register_count; in rmi_f30_attention() 143 drvdata->attn_data.size -= f30->register_count; in rmi_f30_attention()
|
D | rmi_f11.c | 1279 if (drvdata->attn_data.data) { in rmi_f11_attention() 1284 if (f11->sensor.attn_size > drvdata->attn_data.size) in rmi_f11_attention() 1285 valid_bytes = drvdata->attn_data.size; in rmi_f11_attention() 1288 memcpy(f11->sensor.data_pkt, drvdata->attn_data.data, in rmi_f11_attention() 1290 drvdata->attn_data.data += f11->sensor.attn_size; in rmi_f11_attention() 1291 drvdata->attn_data.size -= f11->sensor.attn_size; in rmi_f11_attention()
|
/Linux-v4.19/include/linux/ |
D | rmi.h | 367 struct rmi4_attn_data attn_data; member
|