/kernel/linux/linux-5.10/fs/coda/ |
D | upcall.c | 66 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 …]
|
/kernel/linux/linux-5.10/drivers/platform/chrome/ |
D | cros_ec_trace.h | 28 __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,
|
D | cros_ec_proto.c | 64 BUG_ON(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 BUG_ON(msg->outsize > EC_PROTO2_MAX_PARAM_SIZE); in cros_ec_prepare_tx() 184 out[2] = msg->outsize; in cros_ec_prepare_tx() 186 for (i = 0; i < msg->outsize; i++) in cros_ec_prepare_tx() 188 out[EC_MSG_TX_HEADER_BYTES + msg->outsize] = csum; in cros_ec_prepare_tx() [all …]
|
D | cros_usbpd_notify.c | 71 int outsize, in cros_ec_pd_command() argument 78 msg = kzalloc(sizeof(*msg) + max(insize, outsize), GFP_KERNEL); in cros_ec_pd_command() 83 msg->outsize = outsize; in cros_ec_pd_command() 86 if (outsize) in cros_ec_pd_command() 87 memcpy(msg->data, outdata, outsize); in cros_ec_pd_command()
|
D | cros_ec_i2c.c | 80 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()
|
D | cros_ec_chardev.c | 283 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()
|
D | cros_ec_sysfs.c | 100 msg->outsize = sizeof(*param); in reboot_store() 130 msg->outsize = 0; in version_show() 222 msg->outsize = 0; in flashinfo_show() 258 msg->outsize = sizeof(*param); in kb_wake_angle_show() 295 msg->outsize = sizeof(*param); in kb_wake_angle_store()
|
D | cros_ec_vbc.c | 40 msg->outsize = para_sz; in vboot_context_read() 83 msg->outsize = para_sz; in vboot_context_write()
|
D | cros_ec_typec.c | 305 unsigned int outsize, in cros_typec_ec_command() argument 312 msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL); in cros_typec_ec_command() 318 msg->outsize = outsize; in cros_typec_ec_command() 321 if (outsize) in cros_typec_ec_command() 322 memcpy(msg->data, outdata, outsize); in cros_typec_ec_command()
|
D | cros_ec_lpc.c | 211 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()
|
D | cros_ec.c | 109 buf.msg.outsize = sizeof(buf.u.req1); in cros_ec_sleep_event() 118 buf.msg.outsize = sizeof(buf.u.req0); in cros_ec_sleep_event()
|
D | cros_ec_debugfs.c | 221 msg->outsize = sizeof(*params); in cros_ec_pdinfo_read() 330 msg->outsize = sizeof(*params); in ec_read_version_supported() 373 debug_info->read_msg->outsize = read_params_size; in cros_ec_create_console_log()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | cros-ec-regulator.c | 26 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
D | sun8i_ui_scaler.c | 152 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()
|
D | sun8i_ui_layer.c | 82 u32 outsize, insize; in sun8i_ui_layer_update_coord() local 100 outsize = SUN8I_MIXER_SIZE(dst_w, dst_h); in sun8i_ui_layer_update_coord() 110 outsize); in sun8i_ui_layer_update_coord() 112 SUN8I_MIXER_BLEND_OUTSIZE(bld_base), outsize); in sun8i_ui_layer_update_coord() 143 if (insize != outsize || hphase || vphase) { in sun8i_ui_layer_update_coord() 168 outsize); in sun8i_ui_layer_update_coord()
|
D | sun8i_vi_scaler.c | 932 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()
|
D | sun8i_vi_layer.c | 77 u32 outsize, insize; in sun8i_vi_layer_update_coord() local 117 outsize = SUN8I_MIXER_SIZE(dst_w, dst_h); in sun8i_vi_layer_update_coord() 137 if (insize != outsize || subsampled || hphase || vphase) { in sun8i_vi_layer_update_coord() 209 outsize); in sun8i_vi_layer_update_coord()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | hp-wmi.c | 179 static inline int encode_outsize_for_pvsz(int outsize) in encode_outsize_for_pvsz() argument 181 if (outsize > 4096) in encode_outsize_for_pvsz() 183 if (outsize > 1024) in encode_outsize_for_pvsz() 185 if (outsize > 128) in encode_outsize_for_pvsz() 187 if (outsize > 4) in encode_outsize_for_pvsz() 189 if (outsize > 0) in encode_outsize_for_pvsz() 215 void *buffer, int insize, int outsize) in hp_wmi_perform_query() argument 232 mid = encode_outsize_for_pvsz(outsize); in hp_wmi_perform_query() 263 if (!outsize) in hp_wmi_perform_query() 266 actual_outsize = min(outsize, (int)(obj->buffer.length - sizeof(*bios_return))); in hp_wmi_perform_query() [all …]
|
/kernel/linux/linux-5.10/drivers/extcon/ |
D | extcon-usbc-cros-ec.c | 64 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_lm.c | 67 u32 outsize; in dpu_hw_lm_setup_out() local 72 outsize = mixer->out_height << 16 | mixer->out_width; in dpu_hw_lm_setup_out() 73 DPU_REG_WRITE(c, LM_OUT_SIZE, outsize); in dpu_hw_lm_setup_out()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
D | cros_usbpd-charger.c | 99 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()
|
/kernel/linux/linux-5.10/drivers/media/cec/platform/cros-ec/ |
D | cros-ec-cec.c | 105 msg.msg.outsize = sizeof(msg.data); in cros_ec_cec_set_log_addr() 131 msg.msg.outsize = cec_msg->len; in cros_ec_cec_transmit() 155 msg.msg.outsize = sizeof(msg.data); in cros_ec_cec_adap_enable()
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
D | garmin_gps.c | 122 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()
|
/kernel/linux/linux-5.10/drivers/pwm/ |
D | pwm-cros-ec.c | 75 msg->outsize = sizeof(*params); in cros_ec_pwm_set_duty() 103 msg->outsize = sizeof(*params); in cros_ec_pwm_get_duty()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | cros_ec_codec.c | 75 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()
|