Home
last modified time | relevance | path

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

12

/linux-5.19.10/fs/coda/
Dupcall.c66 outsize = insize; \
79 int insize, outsize, error; in venus_rootfid() local
84 error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); in venus_rootfid()
97 int insize, outsize, error; in venus_getattr() local
103 error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); in venus_getattr()
116 int insize, outsize, error; in venus_setattr() local
124 error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); in venus_setattr()
136 int insize, outsize, error; in venus_lookup() local
150 error = coda_upcall(coda_vcp(sb), insize, &outsize, inp); in venus_lookup()
165 int insize, outsize, error; in venus_close() local
[all …]
/linux-5.19.10/drivers/platform/chrome/
Dcros_ec_trace.h28 __field(uint32_t, outsize)
35 __entry->outsize = cmd->outsize;
41 __entry->outsize, __entry->insize)
51 __field(uint32_t, outsize)
60 __entry->outsize = cmd->outsize;
68 __entry->outsize, __entry->insize,
Dcros_ec_proto.c63 if (msg->outsize + sizeof(*request) > ec_dev->dout_size) in prepare_packet()
73 request->data_len = msg->outsize; in prepare_packet()
79 memcpy(out + sizeof(*request), msg->data, msg->outsize); in prepare_packet()
80 for (i = 0; i < msg->outsize; i++) in prepare_packet()
85 return sizeof(*request) + msg->outsize; in prepare_packet()
126 status_msg->outsize = 0; in send_command()
180 if (msg->outsize > EC_PROTO2_MAX_PARAM_SIZE) in cros_ec_prepare_tx()
186 out[2] = msg->outsize; in cros_ec_prepare_tx()
188 for (i = 0; i < msg->outsize; i++) in cros_ec_prepare_tx()
190 out[EC_MSG_TX_HEADER_BYTES + msg->outsize] = csum; in cros_ec_prepare_tx()
[all …]
Dcros_ec_i2c.c83 packet_len = msg->outsize + request_header_size; in cros_ec_pkt_xfer_i2c()
221 packet_len = msg->outsize + 4; in cros_ec_cmd_xfer_i2c()
230 out_buf[2] = msg->outsize; in cros_ec_cmd_xfer_i2c()
234 for (i = 0; i < msg->outsize; i++) { in cros_ec_cmd_xfer_i2c()
238 out_buf[3 + msg->outsize] = sum; in cros_ec_cmd_xfer_i2c()
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()
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()
Dcros_ec_vbc.c40 msg->outsize = para_sz; in vboot_context_read()
83 msg->outsize = para_sz; in vboot_context_write()
Dcros_ec_lpc.c213 if (msg->outsize > EC_PROTO2_MAX_PARAM_SIZE || in cros_ec_cmd_xfer_lpc()
217 msg->outsize, msg->insize); in cros_ec_cmd_xfer_lpc()
224 args.data_size = msg->outsize; in cros_ec_cmd_xfer_lpc()
230 sum += cros_ec_lpc_ops.write(EC_LPC_ADDR_HOST_PARAM, msg->outsize, in cros_ec_cmd_xfer_lpc()
Dcros_ec.c123 buf.msg.outsize = sizeof(buf.u.req1); in cros_ec_sleep_event()
132 buf.msg.outsize = sizeof(buf.u.req0); in cros_ec_sleep_event()
/linux-5.19.10/drivers/regulator/
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-5.19.10/drivers/power/supply/
Dcros_peripheral_charger.c58 unsigned int outsize, in cros_pchg_ec_command() argument
66 msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in cros_pchg_ec_command()
72 msg->outsize = outsize; in cros_pchg_ec_command()
75 if (outsize) in cros_pchg_ec_command()
76 memcpy(msg->data, outdata, outsize); in cros_pchg_ec_command()
Dcros_usbpd-charger.c99 unsigned int outsize, in cros_usbpd_charger_ec_command() argument
107 msg = kzalloc(struct_size(msg, data, 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-5.19.10/drivers/gpu/drm/sun4i/
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()
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()
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()
134 if (insize != outsize || hphase || vphase) { in sun8i_ui_layer_update_coord()
159 outsize); in sun8i_ui_layer_update_coord()
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-5.19.10/drivers/extcon/
Dextcon-usbc-cros-ec.c64 unsigned int outsize, in cros_ec_pd_command() argument
71 msg = kzalloc(struct_size(msg, data, 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-5.19.10/drivers/platform/x86/
Dhp-wmi.c254 static inline int encode_outsize_for_pvsz(int outsize) in encode_outsize_for_pvsz() argument
256 if (outsize > 4096) in encode_outsize_for_pvsz()
258 if (outsize > 1024) in encode_outsize_for_pvsz()
260 if (outsize > 128) in encode_outsize_for_pvsz()
262 if (outsize > 4) in encode_outsize_for_pvsz()
264 if (outsize > 0) in encode_outsize_for_pvsz()
290 void *buffer, int insize, int outsize) in hp_wmi_perform_query() argument
300 mid = encode_outsize_for_pvsz(outsize); in hp_wmi_perform_query()
346 if (!outsize) in hp_wmi_perform_query()
349 actual_outsize = min(outsize, (int)(obj->buffer.length - sizeof(*bios_return))); in hp_wmi_perform_query()
[all …]
/linux-5.19.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_wb.c89 u32 dst_format, pattern, ystride0, ystride1, outsize, chroma_samp; in dpu_hw_wb_setup_format() local
126 outsize = (drm_rect_height(&data->roi) << 16) | drm_rect_width(&data->roi); in dpu_hw_wb_setup_format()
128 outsize = (data->dest.height << 16) | data->dest.width; in dpu_hw_wb_setup_format()
136 DPU_REG_WRITE(c, WB_OUT_SIZE, outsize); in dpu_hw_wb_setup_format()
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-5.19.10/include/linux/platform_data/
Dcros_ec_proto.h69 uint32_t outsize; member
235 int outsize, void *indata, int insize);
/linux-5.19.10/drivers/media/cec/platform/cros-ec/
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-5.19.10/drivers/usb/serial/
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-5.19.10/sound/soc/codecs/
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-5.19.10/drivers/pwm/
Dpwm-cros-ec.c96 msg->outsize = sizeof(*params); in cros_ec_pwm_set_duty()
135 msg->outsize = sizeof(*params); in cros_ec_pwm_get_duty()

12