/u-boot/drivers/misc/ |
A D | cros_ec_sandbox.c | 134 if (!ec->flash_data) in cros_ec_read_state() 214 ec->matrix = calloc(ec->matrix_count, sizeof(*ec->matrix)); in keyscan_read_fdt_matrix() 215 if (!ec->matrix) { in keyscan_read_fdt_matrix() 267 for (i = 0, matrix = ec->matrix; i < ec->matrix_count; i++, matrix++) { in cros_ec_keyscan() 626 memcpy(ec, &s_state, sizeof(*ec)); in cros_ec_probe() 650 if (ec->flash_data && in cros_ec_probe() 651 ec->flash_data_len != ec->ec_config.flash.length) { in cros_ec_probe() 653 ec->flash_data_len, ec->ec_config.flash.length); in cros_ec_probe() 660 ec->flash_data_len = ec->ec_config.flash.length; in cros_ec_probe() 661 ec->flash_data = malloc(ec->flash_data_len); in cros_ec_probe() [all …]
|
/u-boot/drivers/net/ldpaa_eth/ |
A D | lx2160a.c | 88 u32 ec; in fsl_rgmii_init() local 91 ec = gur_in32(&gur->rcwsr[FSL_CHASSIS3_EC1_REGSR - 1]) in fsl_rgmii_init() 93 ec >>= FSL_CHASSIS3_EC1_REGSR_PRTCL_SHIFT; in fsl_rgmii_init() 95 if (!ec) in fsl_rgmii_init() 100 ec = gur_in32(&gur->rcwsr[FSL_CHASSIS3_EC2_REGSR - 1]) in fsl_rgmii_init() 102 ec >>= FSL_CHASSIS3_EC2_REGSR_PRTCL_SHIFT; in fsl_rgmii_init() 104 if (!ec) in fsl_rgmii_init()
|
A D | ls1088a.c | 94 u32 ec; in fsl_rgmii_init() local 97 ec = gur_in32(&gur->rcwsr[FSL_CHASSIS3_EC1_REGSR]) in fsl_rgmii_init() 99 ec >>= FSL_CHASSIS3_RCWSR25_EC1_PRTCL_SHIFT; in fsl_rgmii_init() 101 if (!ec) in fsl_rgmii_init() 106 ec = gur_in32(&gur->rcwsr[FSL_CHASSIS3_EC2_REGSR]) in fsl_rgmii_init() 108 ec >>= FSL_CHASSIS3_RCWSR25_EC2_PRTCL_SHIFT; in fsl_rgmii_init() 110 if (!ec) in fsl_rgmii_init()
|
/u-boot/drivers/mtd/ubi/ |
A D | attach.c | 140 aeb->ec = ec; in add_to_list() 171 aeb->ec = ec; in add_corrupted() 541 aeb->ec = ec; in ubi_add_to_av() 577 aeb->ec = ec; in ubi_add_to_av() 673 pnum, ec); in early_erase_peb() 681 ec_hdr->ec = cpu_to_be64(ec); in early_erase_peb() 735 aeb->ec += 1; in ubi_early_get_peb() 860 ec = UBI_UNKNOWN; in scan_peb() 879 ec = be64_to_cpu(ech->ec); in scan_peb() 1045 ai->ec_sum += ec; in scan_peb() [all …]
|
A D | wl.c | 157 if (e->ec < e1->ec) in wl_tree_add() 159 else if (e->ec > e1->ec) in wl_tree_add() 258 if (e->ec < e1->ec) in in_wl_tree() 260 else if (e->ec > e1->ec) in in_wl_tree() 437 unsigned long long ec = e->ec; in sync_erase() local 467 ec_hdr->ec = cpu_to_be64(ec); in sync_erase() 473 e->ec = ec; in sync_erase() 745 e1->ec, e2->ec); 1564 e->ec = aeb->ec; 1582 e->ec = aeb->ec; [all …]
|
A D | fastmap.c | 157 aeb->ec = ec; in add_aeb() 320 victim->ec = aeb->ec; in update_vol() 331 aeb->ec = new_aeb->ec; in update_vol() 546 new_aeb->ec = be64_to_cpu(ech->ec); in scan_pool() 1198 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap() 1211 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap() 1223 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap() 1236 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap() 1254 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap() 1387 ec = be64_to_cpu(ec_hdr->ec); in erase_block() [all …]
|
A D | ubi-media.h | 154 __be64 ec; /* Warning: the current limit is 31-bit anyway! */ member 473 __be32 ec; member
|
A D | fastmap-wl.c | 40 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) { in find_anchor_wl_entry() 42 max_ec = e->ec; in find_anchor_wl_entry() 345 ubi_assert(e->ec >= 0); in ubi_wl_put_fm_peb()
|
/u-boot/doc/device-tree-bindings/misc/ |
A D | cros-ec.txt | 8 - compatible = "google,cros-ec" 15 - ec-interrupt : Selects the EC interrupt, defined as a GPIO according 30 cros-ec@0 { 32 compatible = "google,cros-ec"; 34 ec-interrupt = <&gpio 174 1>;
|
/u-boot/arch/arm/dts/ |
A D | rk3288-veyron-chromebook.dtsi | 99 cros_ec: ec@0 { 100 compatible = "google,cros-ec-spi"; 104 ec-interrupt = <&gpio7 7 GPIO_ACTIVE_LOW>; 108 google,cros-ec-spi-pre-delay = <30>; 111 compatible = "google,cros-ec-i2c-tunnel"; 166 cros-ec { 167 ec_int: ec-int { 205 #include "cros-ec-keyboard.dtsi"
|
A D | tegra124-nyan-big-u-boot.dtsi | 21 cros_ec: cros-ec@0 { 22 ec-interrupt = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>;
|
A D | exynos5800-peach-pi.dts | 198 cros_ec: cros-ec@0 { 199 compatible = "google,cros-ec-spi"; 205 ec-interrupt = <&gpx1 5 GPIO_ACTIVE_LOW>; 223 compatible = "google,cros-ec-i2c-tunnel"; 289 #include "cros-ec-keyboard.dtsi"
|
A D | exynos5420-peach-pit.dts | 335 cros_ec: cros-ec@0 { 336 compatible = "google,cros-ec-spi"; 342 ec-interrupt = <&gpx1 5 GPIO_ACTIVE_LOW>; 360 compatible = "google,cros-ec-i2c-tunnel"; 426 #include "cros-ec-keyboard.dtsi"
|
A D | cros-ec-keyboard.dtsi | 3 * Keyboard dts fragment for devices that use cros-ec-keyboard 12 compatible = "google,cros-ec-keyb";
|
A D | exynos5250-snow.dts | 123 compatible = "google,cros-ec-i2c"; 130 ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>; 267 compatible = "google,cros-ec-i2c"; 270 ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>; 553 #include "cros-ec-keyboard.dtsi"
|
/u-boot/arch/sandbox/dts/ |
A D | sandbox.dts | 42 cros_ec: cros-ec { 45 compatible = "google,cros-ec-sandbox"; 96 #include "cros-ec-keyboard.dtsi"
|
A D | sandbox64.dts | 43 cros_ec: cros-ec { 46 compatible = "google,cros-ec-sandbox"; 92 #include "cros-ec-keyboard.dtsi"
|
A D | cros-ec-keyboard.dtsi | 3 * Keyboard dts fragment for devices that use cros-ec-keyboard 8 * arch/arm/boot/dts/cros-ec-keyboard.dtsi. 17 compatible = "google,cros-ec-keyb";
|
/u-boot/doc/device-tree-bindings/i2c/ |
A D | i2c.txt | 30 cros-ec@1e { 32 compatible = "google,cros-ec"; 36 ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>;
|
/u-boot/tools/binman/test/ |
A D | 068_blob_named_by_arg.dts | 9 cros-ec-rw {
|
A D | 188_image_entryarg.dts | 13 cros-ec-rw {
|
A D | 168_fit_missing_blob.dts | 35 cros-ec-rw {
|
A D | 071_gbb.dts | 21 disable-ec-software-sync;
|
/u-boot/doc/device-tree-bindings/input/ |
A D | cros-ec-keyb.txt | 11 - compatible: "google,cros-ec-keyb" 21 cros-ec-keyb { 22 compatible = "google,cros-ec-keyb";
|
/u-boot/tools/ |
A D | asn1_compiler.c | 1441 struct element *ec, *x; in render_element() local 1549 for (ec = e->children; ec; ec = ec->next) in render_element() 1550 render_element(out, ec, NULL); in render_element() 1597 for (ec = e->children; ec; ec = ec->next) in render_element() 1598 render_element(out, ec, ec); in render_element()
|