Lines Matching refs:fsp_reg_read
71 static int fsp_reg_read(struct psmouse *psmouse, int reg_addr, int *reg_val) in fsp_reg_read() function
185 if (fsp_reg_read(psmouse, FSP_REG_SYSCTL1, &v) == -1) in fsp_reg_write_enable()
279 if (fsp_reg_read(psmouse, FSP_REG_VERSION, version)) in fsp_get_version()
287 if (fsp_reg_read(psmouse, FSP_REG_REVISION, rev)) in fsp_get_revision()
301 if (fsp_reg_read(psmouse, FSP_REG_SN0, &v0)) in fsp_get_sn()
303 if (fsp_reg_read(psmouse, FSP_REG_SN1, &v1)) in fsp_get_sn()
305 if (fsp_reg_read(psmouse, FSP_REG_SN2, &v2)) in fsp_get_sn()
324 if (fsp_reg_read(psmouse, FSP_REG_TMOD_STATUS, &val) == -1) in fsp_get_buttons()
337 if (fsp_reg_read(psmouse, FSP_REG_OPC_QDOWN, &v) == -1) { in fsp_opc_tag_enable()
367 if (fsp_reg_read(psmouse, FSP_REG_ONPAD_CTL, &val)) in fsp_onpad_vscr()
388 if (fsp_reg_read(psmouse, FSP_REG_ONPAD_CTL, &val)) in fsp_onpad_hscr()
391 if (fsp_reg_read(psmouse, FSP_REG_SYSCTL5, &v2)) in fsp_onpad_hscr()
476 if (fsp_reg_read(psmouse, reg, &val)) in fsp_attr_set_getreg()
865 if (fsp_reg_read(psmouse, FSP_REG_SYSCTL5, &val)) { in fsp_activate_protocol()
966 if (fsp_reg_read(psmouse, FSP_REG_DEVICE_ID, &id)) in fsp_detect()