Home
last modified time | relevance | path

Searched refs:sres (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_va.c38 struct vmw_simple_resource sres; member
51 return container_of(res, struct vmw_stream, sres.res); in vmw_stream()
/openbmc/qemu/tests/unit/
H A Dtest-string-input-visitor.c426 char *sres; in test_visitor_in_fuzz() local
457 sres = NULL; in test_visitor_in_fuzz()
458 visit_type_str(v, NULL, &sres, NULL); in test_visitor_in_fuzz()
459 g_free(sres); in test_visitor_in_fuzz()
/openbmc/linux/drivers/spi/
H A Dspi.c885 struct spi_res *sres; in spi_res_alloc() local
887 sres = kzalloc(sizeof(*sres) + size, gfp); in spi_res_alloc()
888 if (!sres) in spi_res_alloc()
891 INIT_LIST_HEAD(&sres->entry); in spi_res_alloc()
892 sres->release = release; in spi_res_alloc()
894 return sres->data; in spi_res_alloc()
903 struct spi_res *sres = container_of(res, struct spi_res, data); in spi_res_free() local
908 WARN_ON(!list_empty(&sres->entry)); in spi_res_free()
909 kfree(sres); in spi_res_free()
921 WARN_ON(!list_empty(&sres->entry)); in spi_res_add()
[all …]
/openbmc/linux/drivers/firmware/arm_scmi/
H A Dsensors.c655 unsigned int sres = le32_to_cpu(sdesc->resolution); in iter_sens_descr_process_response() local
657 s->resolution = SENSOR_RES(sres); in iter_sens_descr_process_response()
658 s->exponent = S32_EXT(SENSOR_RES_EXP(sres)); in iter_sens_descr_process_response()