/linux-6.1.9/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 …]
|
/linux-6.1.9/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 | 63 if (msg->outsize + sizeof(*request) > ec_dev->dout_size) in prepare_tx() 73 request->data_len = msg->outsize; in prepare_tx() 79 memcpy(out + sizeof(*request), msg->data, msg->outsize); in prepare_tx() 80 for (i = 0; i < msg->outsize; i++) in prepare_tx() 85 return sizeof(*request) + msg->outsize; in prepare_tx() 95 if (msg->outsize > EC_PROTO2_MAX_PARAM_SIZE) in prepare_tx_legacy() 101 out[2] = msg->outsize; in prepare_tx_legacy() 103 for (i = 0; i < msg->outsize; i++) in prepare_tx_legacy() 105 out[EC_MSG_TX_HEADER_BYTES + msg->outsize] = csum; in prepare_tx_legacy() 107 return EC_MSG_TX_PROTO_BYTES + msg->outsize; in prepare_tx_legacy() [all …]
|
D | cros_ec_proto_test.c | 36 msg->outsize = EC_PROTO2_MAX_PARAM_SIZE; in cros_ec_proto_test_prepare_tx_legacy_normal() 77 msg->outsize = EC_PROTO2_MAX_PARAM_SIZE + 1; in cros_ec_proto_test_prepare_tx_legacy_bad_msg_outsize() 93 msg->outsize = 0x88; in cros_ec_proto_test_prepare_tx_normal() 131 msg->outsize = ec_dev->dout_size - sizeof(struct ec_host_request) + 1; in cros_ec_proto_test_prepare_tx_bad_msg_outsize() 269 KUNIT_EXPECT_EQ(test, mock->msg.outsize, 0); in cros_ec_proto_test_query_all_normal() 289 KUNIT_EXPECT_EQ(test, mock->msg.outsize, 0); in cros_ec_proto_test_query_all_normal() 305 KUNIT_EXPECT_EQ(test, mock->msg.outsize, sizeof(*data)); in cros_ec_proto_test_query_all_normal() 324 KUNIT_EXPECT_EQ(test, mock->msg.outsize, sizeof(*data)); in cros_ec_proto_test_query_all_normal() 340 KUNIT_EXPECT_EQ(test, mock->msg.outsize, 0); in cros_ec_proto_test_query_all_normal() 391 KUNIT_EXPECT_EQ(test, mock->msg.outsize, 0); in cros_ec_proto_test_query_all_no_pd_return_error() [all …]
|
D | cros_kunit_util.c | 37 if (msg->outsize) { in cros_kunit_ec_xfer_mock() 38 mock->i_data = kunit_kzalloc(mock->test, msg->outsize, GFP_KERNEL); in cros_kunit_ec_xfer_mock() 40 memcpy(mock->i_data, msg->data, msg->outsize); in cros_kunit_ec_xfer_mock()
|
D | cros_ec_i2c.c | 83 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()
|
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 | 101 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()
|
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_lpc.c | 213 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()
|
D | cros_ec.c | 120 buf.msg.outsize = sizeof(buf.u.req1); in cros_ec_sleep_event() 129 buf.msg.outsize = sizeof(buf.u.req0); in cros_ec_sleep_event()
|
/linux-6.1.9/drivers/power/supply/ |
D | cros_peripheral_charger.c | 58 unsigned int outsize, in cros_pchg_ec_command() argument 66 msg = kzalloc(struct_size(msg, data, 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()
|
D | cros_usbpd-charger.c | 99 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-6.1.9/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_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_ui_layer.c | 104 u32 outsize, insize; in sun8i_ui_layer_update_coord() local 122 outsize = SUN8I_MIXER_SIZE(dst_w, dst_h); in sun8i_ui_layer_update_coord() 135 if (insize != outsize || hphase || vphase) { in sun8i_ui_layer_update_coord() 160 outsize); in sun8i_ui_layer_update_coord()
|
D | sun8i_vi_layer.c | 108 u32 outsize, insize; in sun8i_vi_layer_update_coord() local 148 outsize = SUN8I_MIXER_SIZE(dst_w, dst_h); in sun8i_vi_layer_update_coord() 168 if (insize != outsize || subsampled || hphase || vphase) { in sun8i_vi_layer_update_coord() 240 outsize); in sun8i_vi_layer_update_coord()
|
/linux-6.1.9/drivers/extcon/ |
D | extcon-usbc-cros-ec.c | 64 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-6.1.9/drivers/platform/x86/ |
D | hp-wmi.c | 258 static inline int encode_outsize_for_pvsz(int outsize) in encode_outsize_for_pvsz() argument 260 if (outsize > 4096) in encode_outsize_for_pvsz() 262 if (outsize > 1024) in encode_outsize_for_pvsz() 264 if (outsize > 128) in encode_outsize_for_pvsz() 266 if (outsize > 4) in encode_outsize_for_pvsz() 268 if (outsize > 0) in encode_outsize_for_pvsz() 294 void *buffer, int insize, int outsize) in hp_wmi_perform_query() argument 304 mid = encode_outsize_for_pvsz(outsize); in hp_wmi_perform_query() 350 if (!outsize) in hp_wmi_perform_query() 353 actual_outsize = min(outsize, (int)(obj->buffer.length - sizeof(*bios_return))); in hp_wmi_perform_query() [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_wb.c | 86 u32 dst_format, pattern, ystride0, ystride1, outsize, chroma_samp; in dpu_hw_wb_setup_format() local 123 outsize = (drm_rect_height(&data->roi) << 16) | drm_rect_width(&data->roi); in dpu_hw_wb_setup_format() 125 outsize = (data->dest.height << 16) | data->dest.width; in dpu_hw_wb_setup_format() 133 DPU_REG_WRITE(c, WB_OUT_SIZE, outsize); in dpu_hw_wb_setup_format()
|
D | dpu_hw_lm.c | 70 u32 outsize; in dpu_hw_lm_setup_out() local 75 outsize = mixer->out_height << 16 | mixer->out_width; in dpu_hw_lm_setup_out() 76 DPU_REG_WRITE(c, LM_OUT_SIZE, outsize); in dpu_hw_lm_setup_out()
|
/linux-6.1.9/include/linux/platform_data/ |
D | cros_ec_proto.h | 73 uint32_t outsize; member 240 size_t outsize, void *indata, size_t insize);
|
/linux-6.1.9/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()
|
/linux-6.1.9/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() 1121 return GPS_OUT_BUFSIZ-garmin_data_p->outsize; in garmin_write_room()
|
/linux-6.1.9/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()
|