Home
last modified time | relevance | path

Searched full:elm (Results 1 – 25 of 124) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/net/can/
Dcan327.c53 /* Bits in elm->cmds_todo */
119 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()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt8173-elm.dts7 #include "mt8173-elm.dtsi"
10 model = "Google Elm";
11 compatible = "google,elm-rev8", "google,elm-rev7", "google,elm-rev6",
12 "google,elm-rev5", "google,elm-rev4", "google,elm-rev3",
13 "google,elm", "mediatek,mt8173";
DMakefile9 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm.dtb
10 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm-hana.dtb
11 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm-hana-rev7.dtb
/kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/
Dmt8173-elm.dts7 #include "mt8173-elm.dtsi"
10 model = "Google Elm";
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";
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
Domap_elm.c8 #define DRIVER_NAME "omap-elm"
17 #include <linux/platform_data/elm.h>
34 /* ELM Interrupt Status Register */
37 /* ELM Interrupt Enable Register */
40 /* ELM Location Configuration Register */
43 /* ELM syndrome */
96 * elm_config - Configure ELM module
97 * @dev: ELM device
110 dev_err(dev, "Unable to configure elm - device not probed?\n"); in elm_config()
113 /* ELM cannot detect ECC errors for chunks > 1KB */ in elm_config()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Domap_elm.c8 #define DRIVER_NAME "omap-elm"
17 #include <linux/platform_data/elm.h>
34 /* ELM Interrupt Status Register */
37 /* ELM Interrupt Enable Register */
40 /* ELM Location Configuration Register */
43 /* ELM syndrome */
96 * elm_config - Configure ELM module
97 * @dev: ELM device
107 dev_err(dev, "Unable to configure elm - device not probed?\n"); in elm_config()
110 /* ELM cannot detect ECC errors for chunks > 1KB */ in elm_config()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mtd/
Dti,elm.yaml4 $id: http://devicetree.org/schemas/mtd/ti,elm.yaml#
7 title: Texas Instruments Error Location Module (ELM).
13 ELM module is used together with GPMC and NAND Flash to detect
20 - ti,am3352-elm
21 - ti,am64-elm
42 Name of the HWMOD associated with ELM. This is for legacy
57 const: ti,am64-elm
68 elm: ecc@0 {
69 compatible = "ti,am3352-elm";
Dti,gpmc-nand.yaml47 ti,elm-id:
49 phandle to the ELM (Error Location Module).
109 ti,elm-id = <&elm>;
/kernel/linux/linux-6.6/drivers/iommu/iommufd/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/
Delm.txt4 - compatible: Must be "ti,am3352-elm"
6 - interrupts: Interrupt number for the elm.
9 - ti,hwmods: Name of the hwmod associated to the elm
12 elm: elm@0 {
13 compatible = "ti,am3352-elm";
Dgpmc-nand.txt44 - elm_id: <deprecated> use "ti,elm-id" instead
45 - ti,elm-id: Specifies phandle of the ELM devicetree node.
46 ELM is an on-chip hardware engine on TI SoC which is used for
48 ELM hardware engines should specify this device node in .dtsi
49 Using ELM for ECC error correction frees some CPU cycles.
69 elm_id = <&elm>;
112 Some legacy OMAP SoC do not have ELM harware engine, so those SoC cannot
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/
Dmediatek.yaml87 - description: Google Elm (Acer Chromebook R13)
89 - const: google,elm-rev8
90 - const: google,elm-rev7
91 - const: google,elm-rev6
92 - const: google,elm-rev5
93 - const: google,elm-rev4
94 - const: google,elm-rev3
95 - const: google,elm
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/arm/
Dmediatek.yaml106 - description: Google Elm (Acer Chromebook R13)
108 - const: google,elm-rev8
109 - const: google,elm-rev7
110 - const: google,elm-rev6
111 - const: google,elm-rev5
112 - const: google,elm-rev4
113 - const: google,elm-rev3
114 - const: google,elm
/kernel/linux/linux-5.10/include/linux/platform_data/
Dmtd-nand-omap2.h34 /* 4-bit ECC calculation by GPMC, Error detection by ELM */
38 /* 8-bit ECC calculation by GPMC, Error detection by ELM */
40 /* 16-bit ECC calculation by GPMC, Error detection by ELM */
/kernel/linux/linux-6.6/tools/firewire/
Dlist.h56 #define list_next(elm, member) \ argument
57 list_entry((elm)->member.next, typeof(*elm), member)
/kernel/linux/linux-5.10/tools/firewire/
Dlist.h56 #define list_next(elm, member) \ argument
57 list_entry((elm)->member.next, typeof(*elm), member)
/kernel/linux/linux-6.6/include/linux/platform_data/
Dmtd-nand-omap2.h35 /* 4-bit ECC calculation by GPMC, Error detection by ELM */
39 /* 8-bit ECC calculation by GPMC, Error detection by ELM */
41 /* 16-bit ECC calculation by GPMC, Error detection by ELM */
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/h/
Dsupern_2.h19 added defines for the Motorola ELM (MOT_ELM)
742 * Special Quad-Elm Registers.
743 * A Quad-ELM consists of for ELMs and these additional registers.
745 #define QELM_XBAR_W 0x80 /* Crossbar Control ELM W */
746 #define QELM_XBAR_X 0x81 /* Crossbar Control ELM X */
747 #define QELM_XBAR_Y 0x82 /* Crossbar Control ELM Y */
748 #define QELM_XBAR_Z 0x83 /* Crossbar Control ELM Z */
759 #define QELM_ELMB 0x00 /* Elm base */
760 #define QELM_ELM_SIZE 0x20 /* ELM size */
866 #define PLC_INT_MASK 0xc000 /* ELM integration bits in status A */
[all …]
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/
Dsupern_2.h19 added defines for the Motorola ELM (MOT_ELM)
742 * Special Quad-Elm Registers.
743 * A Quad-ELM consists of for ELMs and these additional registers.
745 #define QELM_XBAR_W 0x80 /* Crossbar Control ELM W */
746 #define QELM_XBAR_X 0x81 /* Crossbar Control ELM X */
747 #define QELM_XBAR_Y 0x82 /* Crossbar Control ELM Y */
748 #define QELM_XBAR_Z 0x83 /* Crossbar Control ELM Z */
759 #define QELM_ELMB 0x00 /* Elm base */
760 #define QELM_ELM_SIZE 0x20 /* ELM size */
866 #define PLC_INT_MASK 0xc000 /* ELM integration bits in status A */
[all …]

12345