Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c72 static int parse_write_buffer_into_params(char *wr_buf, uint32_t wr_buf_size, in parse_write_buffer_into_params() argument
89 if (copy_from_user(wr_buf_ptr, buf, wr_buf_size)) { in parse_write_buffer_into_params()
95 while ((*wr_buf_ptr != 0xa) && (wr_buf_count < wr_buf_size)) { in parse_write_buffer_into_params()
97 while (isspace(*wr_buf_ptr) && (wr_buf_count < wr_buf_size)) { in parse_write_buffer_into_params()
102 if (wr_buf_count == wr_buf_size) in parse_write_buffer_into_params()
106 while ((!isspace(*wr_buf_ptr)) && (wr_buf_count < wr_buf_size)) { in parse_write_buffer_into_params()
113 if (wr_buf_count == wr_buf_size) in parse_write_buffer_into_params()
123 while (isspace(*wr_buf_ptr) && (wr_buf_count < wr_buf_size)) { in parse_write_buffer_into_params()
261 const uint32_t wr_buf_size = 40; in dp_link_settings_write() local
271 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_link_settings_write()
[all …]
/Linux-v6.6/drivers/char/xillybus/
Dxillybus.h52 unsigned int wr_buf_size; /* In bytes */ member
Dxillybus_core.c559 channel->wr_buf_size = bytebufsize; in xilly_setupchannels()
661 channel->wr_buf_size, in xilly_obtain_idt()
775 channel->wr_buf_size, in xillybus_read()
790 channel->wr_buf_size, in xillybus_read()
853 int buf_elements = channel->wr_buf_size >> in xillybus_read()