Home
last modified time | relevance | path

Searched refs:elm (Results 1 – 6 of 6) sorted by relevance

/drivers/scsi/aic7xxx/
Dqueue.h136 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ argument
137 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \
138 SLIST_NEXT((slistelm), field) = (elm); \
141 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
142 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
143 SLIST_FIRST((head)) = (elm); \
146 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) argument
148 #define SLIST_REMOVE(head, elm, type, field) do { \ argument
149 if (SLIST_FIRST((head)) == (elm)) { \
154 while (SLIST_NEXT(curelm, field) != (elm)) \
[all …]
/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
Dia_css_s3a.host.c339 int out_width, out_height, chunk, rest, kmax, y, x, k, elm_start, elm, ofs; in ia_css_s3a_vmem_decode() local
364 elm = elm_start + x * sizeof(*output) / sizeof(int32_t); in ia_css_s3a_vmem_decode()
365 for (k = 0; k < kmax; k++, elm++) { in ia_css_s3a_vmem_decode()
367 hi[elm + chunk * 0], lo[elm + chunk * 0]); in ia_css_s3a_vmem_decode()
369 hi[elm + chunk * 1], lo[elm + chunk * 1]); in ia_css_s3a_vmem_decode()
371 hi[elm + chunk * 2], lo[elm + chunk * 2]); in ia_css_s3a_vmem_decode()
373 hi[elm + chunk * 3], lo[elm + chunk * 3]); in ia_css_s3a_vmem_decode()
375 hi[elm + chunk * 4], lo[elm + chunk * 4]); in ia_css_s3a_vmem_decode()
377 hi[elm + chunk * 5], lo[elm + chunk * 5]); in ia_css_s3a_vmem_decode()
379 hi[elm + chunk * 6], lo[elm + chunk * 6]); in ia_css_s3a_vmem_decode()
[all …]
/drivers/infiniband/core/
Duverbs_uapi.c18 void *elm; in uapi_add_elm() local
24 elm = kzalloc(alloc_size, GFP_KERNEL); in uapi_add_elm()
25 if (!elm) in uapi_add_elm()
27 rc = radix_tree_insert(&uapi->radix, key, elm); in uapi_add_elm()
29 kfree(elm); in uapi_add_elm()
33 return elm; in uapi_add_elm()
39 void *elm; in uapi_add_get_elm() local
41 elm = uapi_add_elm(uapi, key, alloc_size); in uapi_add_get_elm()
42 if (!IS_ERR(elm)) { in uapi_add_get_elm()
44 return elm; in uapi_add_get_elm()
[all …]
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_opp_csc_v.c680 const struct out_csc_color_matrix *elm; in dce110_opp_v_set_csc_default() local
693 elm = &global_color_matrix[i]; in dce110_opp_v_set_csc_default()
694 if (elm->color_space != default_adjust->out_color_space) in dce110_opp_v_set_csc_default()
699 program_color_matrix_v(xfm_dce, elm, option); in dce110_opp_v_set_csc_default()
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c1373 const struct out_csc_color_matrix *elm; in dce110_opp_set_csc_default() local
1387 elm = &global_color_matrix[i]; in dce110_opp_set_csc_default()
1388 if (elm->color_space != default_adjust->out_color_space) in dce110_opp_set_csc_default()
1392 program_color_matrix(xfm_dce, elm, option); in dce110_opp_set_csc_default()
/drivers/soc/ti/
Dk3-ringacc.c115 int (*push_tail)(struct k3_ring *ring, void *elm);
116 int (*push_head)(struct k3_ring *ring, void *elm);
117 int (*pop_tail)(struct k3_ring *ring, void *elm);
118 int (*pop_head)(struct k3_ring *ring, void *elm);