Lines Matching defs:vcom
73 u8 vcom;
113 static inline void sharp_memory_set_tx_buffer_mode(u8 *buffer, u8 mode, u8 vcom)
115 *buffer = mode | (vcom << 1);
155 u8 vcom = smd->vcom;
163 SHARP_MEMORY_DISPLAY_UPDATE_MODE, vcom);
177 u8 vcom = smd->vcom;
182 sharp_memory_set_tx_buffer_mode(&tx_buffer[0], SHARP_MEMORY_DISPLAY_MAINTAIN_MODE, vcom);
194 u8 vcom = smd->vcom;
199 sharp_memory_set_tx_buffer_mode(&tx_buffer[0], SHARP_MEMORY_DISPLAY_CLEAR_MODE, vcom);
310 smd->vcom ^= 1; /* Toggle vcom */
581 * toggling the vcom bit on and off with each message
590 if (device_property_read_string(dev, "sharp,vcom-mode", &vcom_mode_str))
592 "Unable to find sharp,vcom-mode node in device tree\n");
608 return dev_err_probe(dev, -EINVAL, "Invalid value set for vcom-mode\n");