Searched refs:buf_cpy (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/amd/pm/ |
D | amdgpu_pm.c | 750 char buf_cpy[128]; in amdgpu_set_pp_od_clk_voltage() local 781 memcpy(buf_cpy, buf, count+1); in amdgpu_set_pp_od_clk_voltage() 783 tmp_str = buf_cpy; in amdgpu_set_pp_od_clk_voltage() 1047 char buf_cpy[AMDGPU_MASK_BUF_MAX + 1]; in amdgpu_read_mask() local 1053 bytes = min(count, sizeof(buf_cpy) - 1); in amdgpu_read_mask() 1054 memcpy(buf_cpy, buf, bytes); in amdgpu_read_mask() 1055 buf_cpy[bytes] = '\0'; in amdgpu_read_mask() 1056 tmp = buf_cpy; in amdgpu_read_mask() 1411 char *sub_str, buf_cpy[128]; in amdgpu_set_pp_power_profile_mode() local 1434 memcpy(buf_cpy, buf, count-i); in amdgpu_set_pp_power_profile_mode() [all …]
|
/linux-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice_common.c | 1461 u8 *buf_cpy = NULL; in ice_sq_send_cmd_retry() local 1472 buf_cpy = kzalloc(buf_size, GFP_KERNEL); in ice_sq_send_cmd_retry() 1473 if (!buf_cpy) in ice_sq_send_cmd_retry() 1487 if (buf_cpy) in ice_sq_send_cmd_retry() 1488 memcpy(buf, buf_cpy, buf_size); in ice_sq_send_cmd_retry() 1496 kfree(buf_cpy); in ice_sq_send_cmd_retry()
|