f03 43 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = dev_get_drvdata(&fn->dev); f03 52 drivers/input/rmi4/rmi_f03.c f03->overwrite_buttons |= bit; f03 54 drivers/input/rmi4/rmi_f03.c f03->overwrite_buttons &= ~bit; f03 61 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = dev_get_drvdata(&fn->dev); f03 62 drivers/input/rmi4/rmi_f03.c struct serio *serio = f03->serio; f03 68 drivers/input/rmi4/rmi_f03.c serio->drv->interrupt(serio, f03->overwrite_buttons, f03 76 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = id->port_data; f03 79 drivers/input/rmi4/rmi_f03.c rmi_dbg(RMI_DEBUG_FN, &f03->fn->dev, f03 83 drivers/input/rmi4/rmi_f03.c error = rmi_write(f03->fn->rmi_dev, f03->fn->fd.data_base_addr, val); f03 85 drivers/input/rmi4/rmi_f03.c dev_err(&f03->fn->dev, f03 94 drivers/input/rmi4/rmi_f03.c static int rmi_f03_initialize(struct f03_data *f03) f03 96 drivers/input/rmi4/rmi_f03.c struct rmi_function *fn = f03->fn; f03 110 drivers/input/rmi4/rmi_f03.c f03->device_count = query1 & RMI_F03_DEVICE_COUNT; f03 114 drivers/input/rmi4/rmi_f03.c query2_len = f03->device_count * bytes_per_device; f03 121 drivers/input/rmi4/rmi_f03.c f03->device_count = 1; f03 122 drivers/input/rmi4/rmi_f03.c f03->rx_queue_length = 7; f03 133 drivers/input/rmi4/rmi_f03.c f03->rx_queue_length = query2[0] & RMI_F03_QUEUE_LENGTH; f03 141 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = serio->port_data; f03 142 drivers/input/rmi4/rmi_f03.c struct rmi_function *fn = f03->fn; f03 143 drivers/input/rmi4/rmi_f03.c const u8 ob_len = f03->rx_queue_length * RMI_F03_OB_SIZE; f03 164 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = serio->port_data; f03 165 drivers/input/rmi4/rmi_f03.c struct rmi_function *fn = f03->fn; f03 170 drivers/input/rmi4/rmi_f03.c static int rmi_f03_register_pt(struct f03_data *f03) f03 182 drivers/input/rmi4/rmi_f03.c serio->port_data = f03; f03 186 drivers/input/rmi4/rmi_f03.c dev_name(&f03->fn->dev)); f03 187 drivers/input/rmi4/rmi_f03.c serio->dev.parent = &f03->fn->dev; f03 189 drivers/input/rmi4/rmi_f03.c f03->serio = serio; f03 192 drivers/input/rmi4/rmi_f03.c serio->name, dev_name(&f03->fn->dev)); f03 201 drivers/input/rmi4/rmi_f03.c struct f03_data *f03; f03 204 drivers/input/rmi4/rmi_f03.c f03 = devm_kzalloc(dev, sizeof(struct f03_data), GFP_KERNEL); f03 205 drivers/input/rmi4/rmi_f03.c if (!f03) f03 208 drivers/input/rmi4/rmi_f03.c f03->fn = fn; f03 210 drivers/input/rmi4/rmi_f03.c error = rmi_f03_initialize(f03); f03 214 drivers/input/rmi4/rmi_f03.c if (f03->device_count != 1) f03 216 drivers/input/rmi4/rmi_f03.c f03->device_count); f03 218 drivers/input/rmi4/rmi_f03.c dev_set_drvdata(dev, f03); f03 224 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = dev_get_drvdata(&fn->dev); f03 227 drivers/input/rmi4/rmi_f03.c if (!f03->serio_registered) { f03 228 drivers/input/rmi4/rmi_f03.c error = rmi_f03_register_pt(f03); f03 232 drivers/input/rmi4/rmi_f03.c f03->serio_registered = true; f03 249 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = dev_get_drvdata(&fn->dev); f03 251 drivers/input/rmi4/rmi_f03.c const u8 ob_len = f03->rx_queue_length * RMI_F03_OB_SIZE; f03 277 drivers/input/rmi4/rmi_f03.c serio_interrupt(f03->serio, 0, SERIO_TIMEOUT); f03 301 drivers/input/rmi4/rmi_f03.c serio_interrupt(f03->serio, ob_data, serio_flags); f03 309 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = dev_get_drvdata(&fn->dev); f03 311 drivers/input/rmi4/rmi_f03.c if (f03->serio_registered) f03 312 drivers/input/rmi4/rmi_f03.c serio_unregister_port(f03->serio); f03 80 drivers/input/rmi4/rmi_f30.c struct rmi_function *f03; f03 112 drivers/input/rmi4/rmi_f30.c rmi_f03_overwrite_button(f30->f03, key_code, key_down); f03 157 drivers/input/rmi4/rmi_f30.c rmi_f03_commit_buttons(f30->f03); f03 177 drivers/input/rmi4/rmi_f30.c f30->f03 = rmi_find_function(fn->rmi_dev, 0x03); f03 178 drivers/input/rmi4/rmi_f30.c f30->trackstick_buttons = f30->f03 != NULL;