Home
last modified time | relevance | path

Searched refs:outsize (Results 1 – 25 of 37) sorted by relevance

12

/linux/fs/coda/
A Dupcall.c66 outsize = insize; \
79 int insize, outsize, error; in venus_rootfid() local
97 int insize, outsize, error; in venus_getattr() local
116 int insize, outsize, error; in venus_setattr() local
136 int insize, outsize, error; in venus_lookup() local
165 int insize, outsize, error; in venus_close() local
444 int insize, outsize, error; in venus_fsync() local
460 int insize, outsize, error; in venus_access() local
480 int insize, outsize, error; in venus_pioctl() local
518 &outsize, inp); in venus_pioctl()
[all …]
/linux/drivers/platform/chrome/
A Dcros_ec_proto.c126 status_msg->outsize = 0; in send_command()
184 out[2] = msg->outsize; in cros_ec_prepare_tx()
244 msg->outsize = 0; in cros_ec_get_host_event_wake_mask()
388 msg->outsize = sizeof(*pver); in cros_ec_get_host_command_version_mask()
600 msg->outsize, in cros_ec_cmd_xfer_status()
609 msg->outsize, in cros_ec_cmd_xfer_status()
640 msg->outsize = 0; in get_next_event_xfer()
684 msg->outsize = 0; in get_keyboard_state_event()
918 int outsize, in cros_ec_command() argument
931 msg->outsize = outsize; in cros_ec_command()
[all …]
A Dcros_ec_trace.h29 __field(uint32_t, outsize)
36 __entry->outsize = cmd->outsize;
42 __entry->outsize, __entry->insize)
52 __field(uint32_t, outsize)
61 __entry->outsize = cmd->outsize;
69 __entry->outsize, __entry->insize,
A Dcros_ec_i2c.c80 packet_len = msg->outsize + request_header_size; in cros_ec_pkt_xfer_i2c()
213 packet_len = msg->outsize + 4; in cros_ec_cmd_xfer_i2c()
222 out_buf[2] = msg->outsize; in cros_ec_cmd_xfer_i2c()
226 for (i = 0; i < msg->outsize; i++) { in cros_ec_cmd_xfer_i2c()
230 out_buf[3 + msg->outsize] = sum; in cros_ec_cmd_xfer_i2c()
A Dcros_ec_chardev.c283 if (u_cmd.outsize > EC_MAX_MSG_BYTES || in cros_ec_chardev_ioctl_xcmd()
287 s_cmd = kmalloc(sizeof(*s_cmd) + max(u_cmd.outsize, u_cmd.insize), in cros_ec_chardev_ioctl_xcmd()
292 if (copy_from_user(s_cmd, arg, sizeof(*s_cmd) + u_cmd.outsize)) { in cros_ec_chardev_ioctl_xcmd()
297 if (u_cmd.outsize != s_cmd->outsize || in cros_ec_chardev_ioctl_xcmd()
A Dcros_ec_sysfs.c101 msg->outsize = sizeof(*param); in reboot_store()
131 msg->outsize = 0; in version_show()
223 msg->outsize = 0; in flashinfo_show()
259 msg->outsize = sizeof(*param); in kb_wake_angle_show()
296 msg->outsize = sizeof(*param); in kb_wake_angle_store()
A Dcros_ec_lpc.c211 if (msg->outsize > EC_PROTO2_MAX_PARAM_SIZE || in cros_ec_cmd_xfer_lpc()
215 msg->outsize, msg->insize); in cros_ec_cmd_xfer_lpc()
222 args.data_size = msg->outsize; in cros_ec_cmd_xfer_lpc()
228 sum += cros_ec_lpc_ops.write(EC_LPC_ADDR_HOST_PARAM, msg->outsize, in cros_ec_cmd_xfer_lpc()
A Dcros_ec_vbc.c40 msg->outsize = para_sz; in vboot_context_read()
83 msg->outsize = para_sz; in vboot_context_write()
A Dcros_ec_debugfs.c220 msg->outsize = sizeof(*params); in cros_ec_pdinfo_read()
329 msg->outsize = sizeof(*params); in ec_read_version_supported()
372 debug_info->read_msg->outsize = read_params_size; in cros_ec_create_console_log()
A Dcros_ec_lightbar.c99 msg->outsize = sizeof(struct ec_params_lightbar); in alloc_lightbar_cmd_msg()
119 msg->outsize = sizeof(param->cmd); in get_lightbar_version()
468 msg->outsize = count + extra_bytes; in program_store()
/linux/drivers/regulator/
A Dcros-ec-regulator.c26 void *outdata, u32 outsize, void *indata, u32 insize) in cros_ec_cmd() argument
31 msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in cros_ec_cmd()
37 msg->outsize = outsize; in cros_ec_cmd()
40 if (outdata && outsize > 0) in cros_ec_cmd()
41 memcpy(msg->data, outdata, outsize); in cros_ec_cmd()
/linux/drivers/power/supply/
A Dcros_peripheral_charger.c57 unsigned int outsize, in cros_pchg_ec_command() argument
65 msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in cros_pchg_ec_command()
71 msg->outsize = outsize; in cros_pchg_ec_command()
74 if (outsize) in cros_pchg_ec_command()
75 memcpy(msg->data, outdata, outsize); in cros_pchg_ec_command()
A Dcros_usbpd-charger.c99 unsigned int outsize, in cros_usbpd_charger_ec_command() argument
107 msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in cros_usbpd_charger_ec_command()
113 msg->outsize = outsize; in cros_usbpd_charger_ec_command()
116 if (outsize) in cros_usbpd_charger_ec_command()
117 memcpy(msg->data, outdata, outsize); in cros_usbpd_charger_ec_command()
/linux/drivers/gpu/drm/sun4i/
A Dsun8i_ui_scaler.c152 u32 insize, outsize; in sun8i_ui_scaler_setup() local
167 outsize = SUN8I_UI_SCALER_SIZE(dst_w, dst_h); in sun8i_ui_scaler_setup()
170 SUN8I_SCALER_GSU_OUTSIZE(base), outsize); in sun8i_ui_scaler_setup()
A Dsun8i_ui_layer.c103 u32 outsize, insize; in sun8i_ui_layer_update_coord() local
121 outsize = SUN8I_MIXER_SIZE(dst_w, dst_h); in sun8i_ui_layer_update_coord()
131 outsize); in sun8i_ui_layer_update_coord()
133 SUN8I_MIXER_BLEND_OUTSIZE(bld_base), outsize); in sun8i_ui_layer_update_coord()
164 if (insize != outsize || hphase || vphase) { in sun8i_ui_layer_update_coord()
189 outsize); in sun8i_ui_layer_update_coord()
A Dsun8i_vi_scaler.c932 u32 insize, outsize; in sun8i_vi_scaler_setup() local
943 outsize = SUN8I_VI_SCALER_SIZE(dst_w, dst_h); in sun8i_vi_scaler_setup()
972 SUN8I_SCALER_VSU_OUTSIZE(base), outsize); in sun8i_vi_scaler_setup()
A Dsun8i_vi_layer.c107 u32 outsize, insize; in sun8i_vi_layer_update_coord() local
147 outsize = SUN8I_MIXER_SIZE(dst_w, dst_h); in sun8i_vi_layer_update_coord()
167 if (insize != outsize || subsampled || hphase || vphase) { in sun8i_vi_layer_update_coord()
239 outsize); in sun8i_vi_layer_update_coord()
/linux/drivers/extcon/
A Dextcon-usbc-cros-ec.c64 unsigned int outsize, in cros_ec_pd_command() argument
71 msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in cros_ec_pd_command()
77 msg->outsize = outsize; in cros_ec_pd_command()
80 if (outsize) in cros_ec_pd_command()
81 memcpy(msg->data, outdata, outsize); in cros_ec_pd_command()
/linux/drivers/platform/x86/
A Dhp-wmi.c221 static inline int encode_outsize_for_pvsz(int outsize) in encode_outsize_for_pvsz() argument
223 if (outsize > 4096) in encode_outsize_for_pvsz()
225 if (outsize > 1024) in encode_outsize_for_pvsz()
227 if (outsize > 128) in encode_outsize_for_pvsz()
229 if (outsize > 4) in encode_outsize_for_pvsz()
231 if (outsize > 0) in encode_outsize_for_pvsz()
257 void *buffer, int insize, int outsize) in hp_wmi_perform_query() argument
274 mid = encode_outsize_for_pvsz(outsize); in hp_wmi_perform_query()
305 if (!outsize) in hp_wmi_perform_query()
308 actual_outsize = min(outsize, (int)(obj->buffer.length - sizeof(*bios_return))); in hp_wmi_perform_query()
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_hw_lm.c77 u32 outsize; in dpu_hw_lm_setup_out() local
82 outsize = mixer->out_height << 16 | mixer->out_width; in dpu_hw_lm_setup_out()
83 DPU_REG_WRITE(c, LM_OUT_SIZE, outsize); in dpu_hw_lm_setup_out()
/linux/include/linux/platform_data/
A Dcros_ec_proto.h69 uint32_t outsize; member
235 int outsize, void *indata, int insize);
/linux/drivers/media/cec/platform/cros-ec/
A Dcros-ec-cec.c103 msg.msg.outsize = sizeof(msg.data); in cros_ec_cec_set_log_addr()
129 msg.msg.outsize = cec_msg->len; in cros_ec_cec_transmit()
153 msg.msg.outsize = sizeof(msg.data); in cros_ec_cec_adap_enable()
/linux/drivers/usb/serial/
A Dgarmin_gps.c122 int outsize; member
600 k = garmin_data_p->outsize; in gsp_send()
603 garmin_data_p->outsize = 0; in gsp_send()
609 garmin_data_p->outsize = k; in gsp_send()
628 garmin_data_p->outsize = 0; in gsp_send()
860 garmin_data_p->outsize = 0; in garmin_clear()
1123 return GPS_OUT_BUFSIZ-garmin_data_p->outsize; in garmin_write_room()
/linux/sound/soc/codecs/
A Dcros_ec_codec.c75 uint8_t *out, size_t outsize, in send_ec_host_command() argument
81 msg = kmalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in send_ec_host_command()
87 msg->outsize = outsize; in send_ec_host_command()
90 if (outsize) in send_ec_host_command()
91 memcpy(msg->data, out, outsize); in send_ec_host_command()
/linux/drivers/pwm/
A Dpwm-cros-ec.c75 msg->outsize = sizeof(*params); in cros_ec_pwm_set_duty()
103 msg->outsize = sizeof(*params); in cros_ec_pwm_get_duty()

Completed in 39 milliseconds

12