Home
last modified time | relevance | path

Searched refs:val_buf (Results 1 – 25 of 32) sorted by relevance

12

/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c130 struct ttm_validate_buffer val_buf; in vmw_resource_release() local
132 val_buf.bo = bo; in vmw_resource_release()
133 val_buf.num_shared = 0; in vmw_resource_release()
134 res->func->unbind(res, false, &val_buf); in vmw_resource_release()
392 struct ttm_validate_buffer *val_buf, in vmw_resource_do_validate() argument
406 val_buf->bo != NULL) || in vmw_resource_do_validate()
407 (!func->needs_backup && val_buf->bo != NULL))) { in vmw_resource_do_validate()
408 ret = func->bind(res, val_buf); in vmw_resource_do_validate()
539 struct ttm_validate_buffer *val_buf) in vmw_resource_check_buffer() argument
554 val_buf->bo = &res->backup->base; in vmw_resource_check_buffer()
[all …]
Dvmwgfx_streamoutput.c57 struct ttm_validate_buffer *val_buf);
59 struct ttm_validate_buffer *val_buf);
137 struct ttm_validate_buffer *val_buf) in vmw_dx_streamoutput_bind() argument
140 struct ttm_buffer_object *bo = val_buf->bo; in vmw_dx_streamoutput_bind()
192 struct ttm_validate_buffer *val_buf) in vmw_dx_streamoutput_unbind() argument
209 vmw_bo_fence_single(val_buf->bo, fence); in vmw_dx_streamoutput_unbind()
Dvmwgfx_context.c50 struct ttm_validate_buffer *val_buf);
53 struct ttm_validate_buffer *val_buf);
57 struct ttm_validate_buffer *val_buf);
60 struct ttm_validate_buffer *val_buf);
338 struct ttm_validate_buffer *val_buf) in vmw_gb_context_bind() argument
345 struct ttm_buffer_object *bo = val_buf->bo; in vmw_gb_context_bind()
366 struct ttm_validate_buffer *val_buf) in vmw_gb_context_unbind() argument
369 struct ttm_buffer_object *bo = val_buf->bo; in vmw_gb_context_unbind()
505 struct ttm_validate_buffer *val_buf) in vmw_dx_context_bind() argument
512 struct ttm_buffer_object *bo = val_buf->bo; in vmw_dx_context_bind()
[all …]
Dvmwgfx_shader.c62 struct ttm_validate_buffer *val_buf);
65 struct ttm_validate_buffer *val_buf);
70 struct ttm_validate_buffer *val_buf);
73 struct ttm_validate_buffer *val_buf);
243 struct ttm_validate_buffer *val_buf) in vmw_gb_shader_bind() argument
250 struct ttm_buffer_object *bo = val_buf->bo; in vmw_gb_shader_bind()
271 struct ttm_validate_buffer *val_buf) in vmw_gb_shader_unbind() argument
300 vmw_bo_fence_single(val_buf->bo, fence); in vmw_gb_shader_unbind()
443 struct ttm_validate_buffer *val_buf) in vmw_dx_shader_bind() argument
446 struct ttm_buffer_object *bo = val_buf->bo; in vmw_dx_shader_bind()
[all …]
Dvmwgfx_cotable.c111 struct ttm_validate_buffer *val_buf);
114 struct ttm_validate_buffer *val_buf);
209 struct ttm_validate_buffer *val_buf) in vmw_cotable_bind() argument
218 val_buf->bo = &res->backup->base; in vmw_cotable_bind()
308 struct ttm_validate_buffer *val_buf) in vmw_cotable_unbind() argument
312 struct ttm_buffer_object *bo = val_buf->bo; in vmw_cotable_unbind()
Dvmwgfx_resource_priv.h94 struct ttm_validate_buffer *val_buf);
97 struct ttm_validate_buffer *val_buf);
Dvmwgfx_validation.c271 struct ttm_validate_buffer *val_buf; in vmw_validation_add_bo() local
287 val_buf = &bo_node->base; in vmw_validation_add_bo()
288 val_buf->bo = ttm_bo_get_unless_zero(&vbo->base); in vmw_validation_add_bo()
289 if (!val_buf->bo) in vmw_validation_add_bo()
291 val_buf->num_shared = 0; in vmw_validation_add_bo()
292 list_add_tail(&val_buf->head, &ctx->bo_list); in vmw_validation_add_bo()
Dvmwgfx_surface.c86 struct ttm_validate_buffer *val_buf);
89 struct ttm_validate_buffer *val_buf);
94 struct ttm_validate_buffer *val_buf);
97 struct ttm_validate_buffer *val_buf);
476 struct ttm_validate_buffer *val_buf, in vmw_legacy_srf_dma() argument
486 BUG_ON(!val_buf->bo); in vmw_legacy_srf_dma()
492 vmw_bo_get_guest_ptr(val_buf->bo, &ptr); in vmw_legacy_srf_dma()
504 vmw_bo_fence_single(val_buf->bo, fence); in vmw_legacy_srf_dma()
525 struct ttm_validate_buffer *val_buf) in vmw_legacy_srf_bind() argument
530 return vmw_legacy_srf_dma(res, val_buf, true); in vmw_legacy_srf_bind()
[all …]
/linux-5.19.10/drivers/iio/temperature/
Diqs620at-temp.c28 __le16 val_buf; in iqs620_temp_read_raw() local
33 &val_buf, sizeof(val_buf)); in iqs620_temp_read_raw()
37 *val = le16_to_cpu(val_buf); in iqs620_temp_read_raw()
/linux-5.19.10/drivers/iio/accel/
Dadxl367_spi.c53 void *val_buf, size_t val_size) in adxl367_read() argument
59 st->reg_read_xfer[1].rx_buf = val_buf; in adxl367_read()
65 static int adxl367_write(void *context, const void *val_buf, size_t val_size) in adxl367_write() argument
69 st->reg_write_xfer[1].tx_buf = val_buf; in adxl367_write()
/linux-5.19.10/drivers/net/can/m_can/
Dtcan4x5x-regmap.c48 void *val_buf, size_t val_len) in tcan4x5x_regmap_read() argument
72 xfer[1].rx_buf = val_buf; in tcan4x5x_regmap_read()
88 memcpy(val_buf, buf_rx->data, val_len); in tcan4x5x_regmap_read()
/linux-5.19.10/drivers/iio/position/
Diqs624-pos.c115 __le16 val_buf; in iqs624_pos_angle_get() local
121 ret = regmap_raw_read(iqs62x->regmap, IQS624_POS_DEG_OUT, &val_buf, in iqs624_pos_angle_get()
122 sizeof(val_buf)); in iqs624_pos_angle_get()
126 *val = le16_to_cpu(val_buf); in iqs624_pos_angle_get()
/linux-5.19.10/drivers/iio/chemical/
Dsunrise_co2.c50 size_t reg_size, void *val_buf, size_t val_size) in sunrise_regmap_read() argument
82 memcpy(val_buf, &data.block[1], data.block[0]); in sunrise_regmap_read()
87 static int sunrise_regmap_write(void *context, const void *val_buf, size_t count) in sunrise_regmap_write() argument
100 memcpy(&data.block[1], (u8 *)val_buf + 1, count); in sunrise_regmap_write()
109 I2C_SMBUS_WRITE, ((u8 *)val_buf)[0], in sunrise_regmap_write()
/linux-5.19.10/include/linux/
Dseq_file.h262 char val_buf[length + 1]; \
263 strncpy(val_buf, value, length); \
264 val_buf[length] = '\0'; \
265 seq_show_option(m, name, val_buf); \
/linux-5.19.10/drivers/mfd/
Dacer-ec-a500.c37 void *val_buf, size_t val_sizel) in a500_ec_read() argument
41 u16 *ret_val = val_buf; in a500_ec_read()
/linux-5.19.10/drivers/input/touchscreen/
Diqs5xx.c177 __be16 val_buf; in iqs5xx_read_word() local
180 error = iqs5xx_read_burst(client, reg, &val_buf, sizeof(val_buf)); in iqs5xx_read_word()
184 *val = be16_to_cpu(val_buf); in iqs5xx_read_word()
226 __be16 val_buf = cpu_to_be16(val); in iqs5xx_write_word() local
228 return iqs5xx_write_burst(client, reg, &val_buf, sizeof(val_buf)); in iqs5xx_write_word()
/linux-5.19.10/drivers/base/regmap/
Dregmap-spi-avmm.c586 const void *val_buf, size_t val_len) in regmap_spi_avmm_gather_write() argument
594 return do_reg_access(context, false, *(u32 *)reg_buf, (u32 *)val_buf, in regmap_spi_avmm_gather_write()
610 void *val_buf, size_t val_len) in regmap_spi_avmm_read() argument
618 return do_reg_access(context, true, *(u32 *)reg_buf, val_buf, in regmap_spi_avmm_read()
Dinternal.h115 void *val_buf, size_t val_size);
/linux-5.19.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-regmap.c151 void *val_buf, size_t val_len) in mcp251xfd_regmap_nocrc_read() argument
175 xfer[1].rx_buf = val_buf; in mcp251xfd_regmap_nocrc_read()
193 memcpy(val_buf, buf_rx->data, val_len); in mcp251xfd_regmap_nocrc_read()
284 void *val_buf, size_t val_len) in mcp251xfd_regmap_crc_read() argument
401 memcpy(val_buf, buf_rx->data, val_len); in mcp251xfd_regmap_crc_read()
/linux-5.19.10/drivers/input/misc/
Diqs7222.c1187 __le16 val_buf; in iqs7222_read_word() local
1190 error = iqs7222_read_burst(iqs7222, reg, &val_buf, 1); in iqs7222_read_word()
1194 *val = le16_to_cpu(val_buf); in iqs7222_read_word()
1260 __le16 val_buf = cpu_to_le16(val); in iqs7222_write_word() local
1262 return iqs7222_write_burst(iqs7222, reg, &val_buf, 1); in iqs7222_write_word()
1400 __le16 *val_buf; in iqs7222_dev_init() local
1410 val_buf = kcalloc(num_col, sizeof(__le16), GFP_KERNEL); in iqs7222_dev_init()
1411 if (!val_buf) in iqs7222_dev_init()
1418 val_buf, num_col); in iqs7222_dev_init()
1420 val[k] = le16_to_cpu(val_buf[k]); in iqs7222_dev_init()
[all …]
/linux-5.19.10/drivers/net/dsa/microchip/
Dksz8863_smi.c23 void *val_buf, size_t val_len) in ksz8863_mdio_read() argument
28 u8 *val = val_buf; in ksz8863_mdio_read()
/linux-5.19.10/drivers/iio/light/
Diqs621-als.c212 __le16 val_buf; in iqs621_als_read_raw() local
225 ret = regmap_raw_read(iqs62x->regmap, chan->address, &val_buf, in iqs621_als_read_raw()
226 sizeof(val_buf)); in iqs621_als_read_raw()
230 *val = le16_to_cpu(val_buf); in iqs621_als_read_raw()
/linux-5.19.10/drivers/crypto/qat/qat_common/
Dadf_transport.c358 char val_buf[ADF_CFG_MAX_VAL_LEN_IN_BYTES]; in adf_get_cfg_int() local
362 if (adf_cfg_get_param_value(accel_dev, section, key_buf, val_buf)) in adf_get_cfg_int()
365 if (kstrtouint(val_buf, 10, value)) in adf_get_cfg_int()
/linux-5.19.10/drivers/net/dsa/qca/
Dar9331.c836 void *val_buf, size_t val_len) in ar9331_mdio_read() argument
848 *(u32 *)val_buf = GENMASK(9, 0); in ar9331_mdio_read()
856 *(u32 *)val_buf = ret; in ar9331_mdio_read()
861 *(u32 *)val_buf |= ret << 16; in ar9331_mdio_read()
/linux-5.19.10/sound/soc/codecs/
Dzl38060.c478 void *val_buf, size_t val_size) in zl38_bus_read() argument
502 return spi_write_then_read(spi, txbuf, len, val_buf, val_size); in zl38_bus_read()

12