Home
last modified time | relevance | path

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

12

/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 …]
/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 …]
/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 DMakefile25 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm.dtb
26 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm-hana.dtb
27 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"
H A Dmt8173-elm-hana.dtsi6 #include "mt8173-elm.dtsi"
/linux/drivers/iommu/iommufd/
H A Dio_pagetable.c250 struct iopt_pages_list *elm; in iopt_alloc_area_pages() local
254 list_for_each_entry(elm, pages_list, next) { in iopt_alloc_area_pages()
255 elm->area = iopt_area_alloc(); in iopt_alloc_area_pages()
256 if (!elm->area) in iopt_alloc_area_pages()
268 elm = list_first_entry(pages_list, struct iopt_pages_list, in iopt_alloc_area_pages()
272 (uintptr_t)elm->pages->uptr + elm->start_byte, length); in iopt_alloc_area_pages()
291 list_for_each_entry(elm, pages_list, next) { in iopt_alloc_area_pages()
292 rc = iopt_insert_area(iopt, elm->area, elm->pages, iova, in iopt_alloc_area_pages()
293 elm->start_byte, elm->length, iommu_prot); in iopt_alloc_area_pages()
296 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()
/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 …]
/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 …]
/linux/drivers/gpu/drm/ci/xfails/
H A Dmediatek-mt8173-flakes.txt1 # Board Name: mt8173-elm-hana
8 # Board Name: mt8173-elm-hana
15 # Board Name: mt8173-elm-hana
22 # Board Name: mt8173-elm-hana
29 # Board Name: mt8173-elm-hana
36 # Board Name: mt8173-elm-hana
/linux/tools/firewire/
H A Dlist.h56 #define list_next(elm, member) \ argument
57 list_entry((elm)->member.next, typeof(*elm), member)
/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>;
H A Dam335x-phycore-som.dtsi188 &elm {
228 ti,elm-id = <&elm>;
H A Dam335x-myirtech-myc.dtsi94 &elm {
133 ti,elm-id = <&elm>;
H A Dam437x-cm-t43.dts152 ti,elm-id = <&elm>;
389 &elm {
H A Dam335x-baltos.dtsi181 &elm {
226 ti,elm-id = <&elm>;
H A Ddm8168-evm.dts131 ti,elm-id = <&elm>;
H A Dam335x-cm-t335.dts356 ti,elm-id = <&elm>;
412 &elm {
H A Ddm816x.dtsi258 elm: elm@48080000 { label
259 compatible = "ti,am3352-elm";
260 ti,hwmods = "elm";
H A Ddm814x.dtsi195 elm: elm@80000 { label
196 compatible = "ti,814-elm";
197 ti,hwmods = "elm";
/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()
/linux/sound/soc/starfive/
H A Djh7110_tdm.c116 enum TDM_ELM elm; member
458 (tdm->elm << ELM_BIT) | in jh7110_tdm_set_dai_fmt()
533 tdm->elm = TDM_ELM_LATE; in jh7110_tdm_init_params()

12