Home
last modified time | relevance | path

Searched refs:buf_cpy (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c756 char buf_cpy[128]; in amdgpu_set_pp_od_clk_voltage() local
782 memcpy(buf_cpy, buf, count); in amdgpu_set_pp_od_clk_voltage()
783 buf_cpy[count] = 0; in amdgpu_set_pp_od_clk_voltage()
785 tmp_str = buf_cpy; in amdgpu_set_pp_od_clk_voltage()
1016 char buf_cpy[AMDGPU_MASK_BUF_MAX + 1]; in amdgpu_read_mask() local
1022 bytes = min(count, sizeof(buf_cpy) - 1); in amdgpu_read_mask()
1023 memcpy(buf_cpy, buf, bytes); in amdgpu_read_mask()
1024 buf_cpy[bytes] = '\0'; in amdgpu_read_mask()
1025 tmp = buf_cpy; in amdgpu_read_mask()
1366 char *sub_str, buf_cpy[128]; in amdgpu_set_pp_power_profile_mode() local
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_e610.c216 u8 idx = 0, *buf_cpy = NULL; in ixgbe_aci_send_cmd() local
224 buf_cpy = kmalloc(buf_size, GFP_KERNEL); in ixgbe_aci_send_cmd()
225 if (!buf_cpy) in ixgbe_aci_send_cmd()
227 *buf_cpy = *(u8 *)buf; in ixgbe_aci_send_cmd()
244 memcpy(buf, buf_cpy, buf_size); in ixgbe_aci_send_cmd()
251 kfree(buf_cpy); in ixgbe_aci_send_cmd()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c1845 u8 *buf_cpy = NULL; in ice_sq_send_cmd_retry() local
1856 buf_cpy = kmemdup(buf, buf_size, GFP_KERNEL); in ice_sq_send_cmd_retry()
1857 if (!buf_cpy) in ice_sq_send_cmd_retry()
1871 if (buf_cpy) in ice_sq_send_cmd_retry()
1872 memcpy(buf, buf_cpy, buf_size); in ice_sq_send_cmd_retry()
1878 kfree(buf_cpy); in ice_sq_send_cmd_retry()