Lines Matching refs:write
67 * @write: Copy length bytes from buffer msg into EC address offset. Returns
72 u8 (*write)(unsigned int offset, unsigned int length, const u8 *msg);
97 * A generic instance of the write function of struct lpc_driver_ops, used for
135 * An instance of the write function of struct lpc_driver_ops, used for the
182 cros_ec_lpc_ops.write(EC_LPC_ADDR_HOST_PACKET, ret, ec->dout);
186 cros_ec_lpc_ops.write(EC_LPC_ADDR_HOST_CMD, 1, &sum);
258 sum += cros_ec_lpc_ops.write(EC_LPC_ADDR_HOST_PARAM, msg->outsize,
261 /* Finalize checksum and write args */
263 cros_ec_lpc_ops.write(EC_LPC_ADDR_HOST_ARGS, sizeof(args),
268 cros_ec_lpc_ops.write(EC_LPC_ADDR_HOST_CMD, 1, &sum);
427 cros_ec_lpc_ops.write = cros_ec_lpc_mec_write_bytes;
436 /* Re-assign read/write operations for the non MEC variant */
438 cros_ec_lpc_ops.write = cros_ec_lpc_write_bytes;