Home
last modified time | relevance | path

Searched refs:elem_size (Results 1 – 19 of 19) sorted by relevance

/linux-4.19.296/include/linux/qed/
Dqed_chain.h141 u16 elem_size; member
175 #define ELEMS_PER_PAGE(elem_size) (QED_CHAIN_PAGE_SIZE / (elem_size)) argument
177 #define UNUSABLE_ELEMS_PER_PAGE(elem_size, mode) \ argument
180 (elem_size))) : 0)
182 #define USABLE_ELEMS_PER_PAGE(elem_size, mode) \ argument
183 ((u32)(ELEMS_PER_PAGE(elem_size) - \
184 UNUSABLE_ELEMS_PER_PAGE(elem_size, mode)))
186 #define QED_CHAIN_PAGE_CNT(elem_cnt, elem_size, mode) \ argument
187 DIV_ROUND_UP(elem_cnt, USABLE_ELEMS_PER_PAGE(elem_size, mode))
384 p_chain->elem_size); in qed_chain_produce()
[all …]
Dqed_if.h943 size_t elem_size,
/linux-4.19.296/fs/nfs_common/
Dnfsacl.c97 .elem_size = 12, in nfsacl_encode()
132 err = 8 + nfsacl_desc.desc.elem_size * in nfsacl_encode()
269 .elem_size = 12, in nfsacl_decode()
293 return 8 + nfsacl_desc.desc.elem_size * in nfsacl_decode()
/linux-4.19.296/drivers/of/
Dproperty.c44 const char *propname, int elem_size) in of_property_count_elems_of_size() argument
53 if (prop->length % elem_size != 0) { in of_property_count_elems_of_size()
55 propname, np, elem_size); in of_property_count_elems_of_size()
59 return prop->length / elem_size; in of_property_count_elems_of_size()
840 unsigned int elem_size, void *val, in of_fwnode_property_read_int_array() argument
847 elem_size); in of_fwnode_property_read_int_array()
849 switch (elem_size) { in of_fwnode_property_read_int_array()
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-ctrls.c1426 idx *= ctrl->elem_size; in std_equal()
1440 idx *= ctrl->elem_size; in std_equal()
1441 return !memcmp(ptr1.p + idx, ptr2.p + idx, ctrl->elem_size); in std_equal()
1450 idx *= ctrl->elem_size; in std_init()
1474 idx *= ctrl->elem_size; in std_init()
1475 memset(ptr.p + idx, 0, ctrl->elem_size); in std_init()
1608 idx *= ctrl->elem_size; in std_validate()
1643 c->size = ctrl->elem_size; in ptr_to_user()
1698 for (idx = c->size / ctrl->elem_size; idx < ctrl->elems; idx++) in user_to_ptr()
1744 memcpy(to.p, from.p, ctrl->elems * ctrl->elem_size); in ptr_to_ptr()
[all …]
Dv4l2-ioctl.c572 p->elem_size, p->elems, p->nr_of_dims, in v4l_print_query_ext_ctrl()
/linux-4.19.296/drivers/slimbus/
Dqcom-ngd-ctrl.c216 .elem_size = sizeof(uint32_t),
226 .elem_size = sizeof(uint8_t),
236 .elem_size = sizeof(enum slimbus_mode_enum_type_v01),
246 .elem_size = 0,
258 .elem_size = sizeof(struct qmi_response_type_v01),
268 .elem_size = 0,
280 .elem_size = sizeof(enum slimbus_pm_enum_type_v01),
290 .elem_size = sizeof(uint8_t),
299 .elem_size = sizeof(enum slimbus_resp_enum_type_v01),
308 .elem_size = 0,
[all …]
/linux-4.19.296/drivers/base/
Dproperty.c266 unsigned int elem_size, void *val, in pset_fwnode_read_int_array() argument
272 return pset_prop_count_elems_of_size(node, propname, elem_size); in pset_fwnode_read_int_array()
274 switch (elem_size) { in pset_fwnode_read_int_array()
506 unsigned int elem_size, void *val, in fwnode_property_read_int_array() argument
512 elem_size, val, nval); in fwnode_property_read_int_array()
517 elem_size, val, nval); in fwnode_property_read_int_array()
/linux-4.19.296/include/sound/
Dhdaudio.h40 unsigned int elem_size; member
618 array->elem_size = size; in snd_array_init()
624 return array->list + idx * array->elem_size; in snd_array_elem()
629 return (unsigned long)(ptr - array->list) / array->elem_size; in snd_array_index()
/linux-4.19.296/include/linux/
Dfwnode.h82 unsigned int elem_size, void *val,
Ddevice-mapper.h521 void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
Dof.h316 const char *propname, int elem_size);
706 const char *propname, int elem_size) in of_property_count_elems_of_size() argument
Dbpf.h306 u32 elem_size; member
/linux-4.19.296/include/media/
Dv4l2-ctrls.h220 u32 elem_size; member
338 u32 elem_size; member
/linux-4.19.296/include/linux/soc/qcom/
Dqmi.h74 u32 elem_size; member
/linux-4.19.296/include/linux/sunrpc/
Dxdr.h190 unsigned int elem_size; member
/linux-4.19.296/include/uapi/linux/
Dvideodev2.h1668 __u32 elem_size; member
/linux-4.19.296/drivers/media/radio/si4713/
Dsi4713.c1432 .elem_size = sizeof(u32),
/linux-4.19.296/fs/btrfs/
Dsend.c896 unsigned long elem_size; in iterate_inode_ref() local
915 elem_size = sizeof(*iref); in iterate_inode_ref()
919 elem_size = sizeof(*extref); in iterate_inode_ref()
971 cur += elem_size + name_len; in iterate_inode_ref()