Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c152 const uint32_t wr_buf_size = 40; in dp_link_settings_write() local
165 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_link_settings_write()
170 r = copy_from_user(wr_buf_ptr, buf, wr_buf_size); in dp_link_settings_write()
173 if (r >= wr_buf_size) { in dp_link_settings_write()
179 bytes_from_user = wr_buf_size - r; in dp_link_settings_write()
328 uint32_t wr_buf_size = 40; in dp_phy_settings_write() local
341 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_phy_settings_write()
346 r = copy_from_user(wr_buf_ptr, buf, wr_buf_size); in dp_phy_settings_write()
349 if (r >= wr_buf_size) { in dp_phy_settings_write()
355 bytes_from_user = wr_buf_size - r; in dp_phy_settings_write()
[all …]
/Linux-v5.4/drivers/char/xillybus/
Dxillybus.h51 unsigned int wr_buf_size; /* In bytes */ member
Dxillybus_core.c534 channel->wr_buf_size = bytebufsize; in xilly_setupchannels()
637 channel->wr_buf_size, in xilly_obtain_idt()
752 channel->wr_buf_size, in xillybus_read()
768 channel->wr_buf_size, in xillybus_read()
831 int buf_elements = channel->wr_buf_size >> in xillybus_read()