Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/net/can/
H A Dcan327.c119 static inline void can327_uart_side_failure(struct can327 *elm);
121 static void can327_send(struct can327 *elm, const void *buf, size_t len) in can327_send() argument
125 lockdep_assert_held(&elm->lock); in can327_send()
127 if (elm->uart_side_failure) in can327_send()
130 memcpy(elm->txbuf, buf, len); in can327_send()
140 set_bit(TTY_DO_WRITE_WAKEUP, &elm->tty->flags); in can327_send()
141 written = elm->tty->ops->write(elm->tty, elm->txbuf, len); in can327_send()
143 netdev_err(elm->dev, "Failed to write to tty %s.\n", in can327_send()
144 elm->tty->name); in can327_send()
145 can327_uart_side_failure(elm); in can327_send()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/musl/bsd-headers/
H A Dsys-queue.h125 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) argument
145 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ argument
146 (elm)->field.sle_next = (slistelm)->field.sle_next; \
147 (slistelm)->field.sle_next = (elm); \
150 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
151 (elm)->field.sle_next = (head)->slh_first; \
152 (head)->slh_first = (elm); \
164 #define SLIST_REMOVE(head, elm, type, field) do { \ argument
165 if ((head)->slh_first == (elm)) { \
170 while(curelm->field.sle_next != (elm)) \
[all …]
H A Dsys-tree.h76 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left argument
77 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right argument
123 name##_SPLAY_FIND(struct name *head, struct type *elm) \
127 name##_SPLAY(head, elm); \
128 if ((cmp)(elm, (head)->sph_root) == 0) \
134 name##_SPLAY_NEXT(struct name *head, struct type *elm) \
136 name##_SPLAY(head, elm); \
137 if (SPLAY_RIGHT(elm, field) != NULL) { \
138 elm = SPLAY_RIGHT(elm, field); \
139 while (SPLAY_LEFT(elm, field) != NULL) { \
[all …]
/openbmc/linux/drivers/scsi/aic7xxx/
H A 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 …]
/openbmc/qemu/include/qemu/
H A Dqueue.h118 #define QLIST_INSERT_AFTER(listelm, elm, field) do { \ argument
119 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
121 &(elm)->field.le_next; \
122 (listelm)->field.le_next = (elm); \
123 (elm)->field.le_prev = &(listelm)->field.le_next; \
126 #define QLIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
127 (elm)->field.le_prev = (listelm)->field.le_prev; \
128 (elm)->field.le_next = (listelm); \
129 *(listelm)->field.le_prev = (elm); \
130 (listelm)->field.le_prev = &(elm)->field.le_next; \
[all …]
H A Drcu_queue.h36 #define QLIST_NEXT_RCU(elm, field) (qatomic_rcu_read(&(elm)->field.le_next)) argument
61 #define QLIST_INSERT_AFTER_RCU(listelm, elm, field) do { \ argument
62 (elm)->field.le_next = (listelm)->field.le_next; \
63 (elm)->field.le_prev = &(listelm)->field.le_next; \
64 qatomic_rcu_set(&(listelm)->field.le_next, (elm)); \
65 if ((elm)->field.le_next != NULL) { \
66 (elm)->field.le_next->field.le_prev = \
67 &(elm)->field.le_next; \
77 #define QLIST_INSERT_BEFORE_RCU(listelm, elm, field) do { \ argument
78 (elm)->field.le_prev = (listelm)->field.le_prev; \
[all …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8173-elm.dts7 #include "mt8173-elm.dtsi"
12 compatible = "google,elm-rev8", "google,elm-rev7", "google,elm-rev6",
13 "google,elm-rev5", "google,elm-rev4", "google,elm-rev3",
14 "google,elm", "mediatek,mt8173";
H A DMakefile19 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm.dtb
20 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm-hana.dtb
21 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm-hana-rev7.dtb
H A Dmt8173-elm-hana.dts7 #include "mt8173-elm-hana.dtsi"
H A Dmt8173-elm-hana-rev7.dts7 #include "mt8173-elm-hana.dtsi"
/openbmc/linux/drivers/iommu/iommufd/
H A Dio_pagetable.c249 struct iopt_pages_list *elm; in iopt_alloc_area_pages() local
253 list_for_each_entry(elm, pages_list, next) { in iopt_alloc_area_pages()
254 elm->area = iopt_area_alloc(); in iopt_alloc_area_pages()
255 if (!elm->area) in iopt_alloc_area_pages()
267 elm = list_first_entry(pages_list, struct iopt_pages_list, in iopt_alloc_area_pages()
271 (uintptr_t)elm->pages->uptr + elm->start_byte, length); in iopt_alloc_area_pages()
290 list_for_each_entry(elm, pages_list, next) { in iopt_alloc_area_pages()
291 rc = iopt_insert_area(iopt, elm->area, elm->pages, iova, in iopt_alloc_area_pages()
292 elm->start_byte, elm->length, iommu_prot); in iopt_alloc_area_pages()
295 iova += elm->length; in iopt_alloc_area_pages()
[all …]
H A Dioas.c88 struct iommu_iova_range elm = { in iommufd_ioas_iova_ranges() local
93 if (copy_to_user(&ranges[cmd->num_iovas], &elm, in iommufd_ioas_iova_ranges()
94 sizeof(elm))) { in iommufd_ioas_iova_ranges()
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
H A Dia_css_s3a.host.c334 int out_width, out_height, chunk, rest, kmax, y, x, k, elm_start, elm, ofs; in ia_css_s3a_vmem_decode() local
359 elm = elm_start + x * sizeof(*output) / sizeof(int32_t); in ia_css_s3a_vmem_decode()
360 for (k = 0; k < kmax; k++, elm++) { in ia_css_s3a_vmem_decode()
362 hi[elm + chunk * 0], lo[elm + chunk * 0]); in ia_css_s3a_vmem_decode()
364 hi[elm + chunk * 1], lo[elm + chunk * 1]); in ia_css_s3a_vmem_decode()
366 hi[elm + chunk * 2], lo[elm + chunk * 2]); in ia_css_s3a_vmem_decode()
368 hi[elm + chunk * 3], lo[elm + chunk * 3]); in ia_css_s3a_vmem_decode()
370 hi[elm + chunk * 4], lo[elm + chunk * 4]); in ia_css_s3a_vmem_decode()
372 hi[elm + chunk * 5], lo[elm + chunk * 5]); in ia_css_s3a_vmem_decode()
374 hi[elm + chunk * 6], lo[elm + chunk * 6]); in ia_css_s3a_vmem_decode()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A 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 …]
/openbmc/qemu/migration/
H A Dvmstate-types.c611 void *elm; in get_qtailq() local
627 elm = g_malloc(size); in get_qtailq()
628 ret = vmstate_load_state(f, vmsd, elm, version_id); in get_qtailq()
632 QTAILQ_RAW_INSERT_TAIL(pv, elm, entry_offset); in get_qtailq()
646 void *elm; in put_qtailq() local
651 QTAILQ_RAW_FOREACH(elm, pv, entry_offset) { in put_qtailq()
653 ret = vmstate_save_state(f, vmsd, elm, vmdesc); in put_qtailq()
828 void *elm; in put_qlist() local
832 QLIST_RAW_FOREACH(elm, pv, entry_offset) { in put_qlist()
834 ret = vmstate_save_state(f, vmsd, elm, vmdesc); in put_qlist()
[all …]
/openbmc/linux/tools/firewire/
H A Dlist.h56 #define list_next(elm, member) \ argument
57 list_entry((elm)->member.next, typeof(*elm), member)
/openbmc/qemu/target/mips/tcg/
H A Dmsa.decode37 @elm ...... .......... ws:5 wd:5 ...... &msa_elm
170 CTCMSA 011110 0000111110 ..... ..... 011001 @elm
174 CFCMSA 011110 0001111110 ..... ..... 011001 @elm
178 MOVE_V 011110 0010111110 ..... ..... 011001 @elm
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam335x-chilisom.dtsi135 &elm {
152 ti,elm-id = <&elm>;
H A Dam335x-igep0033.dtsi123 &elm {
166 ti,elm-id = <&elm>;
/openbmc/u-boot/arch/arm/dts/
H A Dam335x-chilisom.dtsi138 &elm {
155 ti,elm-id = <&elm>;
H A Dam335x-igep0033.dtsi121 &elm {
164 ti,elm-id = <&elm>;
H A Dam335x-brppt1-nand.dts233 &elm {
302 ti,elm-id = <&elm>;
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Domap_elm.c24 struct elm *elm_cfg;
191 elm_cfg = (struct elm *)ELM_BASE; in elm_init()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A 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()
/openbmc/phosphor-webui/app/common/directives/
H A Dform-input-error.js5 link: function(scope, elm, attrs, ngModel) {

1234