Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 853) sorted by relevance

12345678910>>...35

/openbmc/u-boot/drivers/video/
H A Dmxc_ipuv3_fb.c38 static void fb_videomode_to_var(struct fb_var_screeninfo *var, in fb_videomode_to_var() argument
41 var->xres = mode->xres; in fb_videomode_to_var()
42 var->yres = mode->yres; in fb_videomode_to_var()
43 var->xres_virtual = mode->xres; in fb_videomode_to_var()
44 var->yres_virtual = mode->yres; in fb_videomode_to_var()
45 var->xoffset = 0; in fb_videomode_to_var()
46 var->yoffset = 0; in fb_videomode_to_var()
47 var->pixclock = mode->pixclock; in fb_videomode_to_var()
48 var->left_margin = mode->left_margin; in fb_videomode_to_var()
49 var->right_margin = mode->right_margin; in fb_videomode_to_var()
[all …]
H A Dfsl_diu_fb.c288 info.var.xres = fsl_diu_mode_db->xres; in fsl_diu_init()
289 info.var.yres = fsl_diu_mode_db->yres; in fsl_diu_init()
290 info.var.bits_per_pixel = 32; in fsl_diu_init()
291 info.var.pixclock = fsl_diu_mode_db->pixclock; in fsl_diu_init()
292 info.var.left_margin = fsl_diu_mode_db->left_margin; in fsl_diu_init()
293 info.var.right_margin = fsl_diu_mode_db->right_margin; in fsl_diu_init()
294 info.var.upper_margin = fsl_diu_mode_db->upper_margin; in fsl_diu_init()
295 info.var.lower_margin = fsl_diu_mode_db->lower_margin; in fsl_diu_init()
296 info.var.hsync_len = fsl_diu_mode_db->hsync_len; in fsl_diu_init()
297 info.var.vsync_len = fsl_diu_mode_db->vsync_len; in fsl_diu_init()
[all …]
/openbmc/qemu/hw/acpi/
H A Daml-build.c449 Aml *var = g_new0(typeof(*var), 1); in aml_alloc() local
451 g_ptr_array_add(alloc_list, var); in aml_alloc()
452 var->block_flags = AML_NO_OPCODE; in aml_alloc()
453 var->buf = build_alloc_array(); in aml_alloc()
454 return var; in aml_alloc()
459 Aml *var = aml_alloc(); in aml_opcode() local
461 var->op = op; in aml_opcode()
462 var->block_flags = AML_OPCODE; in aml_opcode()
463 return var; in aml_opcode()
468 Aml *var = aml_alloc(); in aml_bundle() local
[all …]
/openbmc/qemu/include/qemu/
H A Dcoroutine-tls.h92 #define QEMU_DECLARE_CO_TLS(type, var) \ argument
93 __attribute__((noinline)) type get_##var(void); \
94 __attribute__((noinline)) void set_##var(type v); \
95 __attribute__((noinline)) type *get_ptr_##var(void);
118 #define QEMU_DEFINE_CO_TLS(type, var) \ argument
119 static __thread type co_tls_##var; \
120 type get_##var(void) { asm volatile(""); return co_tls_##var; } \
121 void set_##var(type v) { asm volatile(""); co_tls_##var = v; } \
122 type *get_ptr_##var(void) \
123 { type *ptr = &co_tls_##var; asm volatile("" : "+rm" (ptr)); return ptr; }
[all …]
H A Drcu_queue.h114 #define QLIST_FOREACH_RCU(var, head, field) \ argument
115 for ((var) = qatomic_rcu_read(&(head)->lh_first); \
116 (var); \
117 (var) = qatomic_rcu_read(&(var)->field.le_next))
120 #define QLIST_FOREACH_SAFE_RCU(var, head, field, next_var) \ argument
121 for ((var) = (qatomic_rcu_read(&(head)->lh_first)); \
122 (var) && \
123 ((next_var) = qatomic_rcu_read(&(var)->field.le_next), 1); \
124 (var) = (next_var))
182 #define QSIMPLEQ_FOREACH_RCU(var, head, field) \ argument
[all …]
/openbmc/qemu/hw/uefi/
H A Dvar-service-auth.c86 uefi_variable *var; in setup_mode_is_active() local
89 var = uefi_vars_find_variable(uv, EfiGlobalVariable, in setup_mode_is_active()
91 if (var) { in setup_mode_is_active()
92 value = var->data; in setup_mode_is_active()
102 uefi_variable *var; in custom_mode_is_active() local
105 var = uefi_vars_find_variable(uv, EfiCustomModeEnable, in custom_mode_is_active()
107 if (var) { in custom_mode_is_active()
108 value = var->data; in custom_mode_is_active()
116 bool uefi_vars_is_sb_pk(uefi_variable *var) in uefi_vars_is_sb_pk() argument
118 if (qemu_uuid_is_equal(&var->guid, &EfiGlobalVariable) && in uefi_vars_is_sb_pk()
[all …]
H A Dvar-service-json.c54 uefi_variable *var; in uefi_vars_to_qapi() local
60 QTAILQ_FOREACH(var, &uv->variables, next) { in uefi_vars_to_qapi()
61 if (!(var->attributes & EFI_VARIABLE_NON_VOLATILE)) { in uefi_vars_to_qapi()
66 be = qemu_uuid_bswap(var->guid); in uefi_vars_to_qapi()
68 v->name = uefi_ucs2_to_ascii(var->name, var->name_size); in uefi_vars_to_qapi()
69 v->attr = var->attributes; in uefi_vars_to_qapi()
71 v->data = generate_hexstr(var->data, var->data_size); in uefi_vars_to_qapi()
73 if (var->attributes & in uefi_vars_to_qapi()
75 v->time = generate_hexstr(&var->time, sizeof(var->time)); in uefi_vars_to_qapi()
76 if (var->digest && var->digest_size) { in uefi_vars_to_qapi()
[all …]
H A Dmeson.build5 uefi_vars_ss.add(files('var-service-core.c',
6 'var-service-json.c',
7 'var-service-vars.c',
8 'var-service-auth.c',
9 'var-service-guid.c',
10 'var-service-utils.c',
11 'var-service-policy.c',
12 'var-service-sysbus.c'))
14 if_true: files('var-service-pkcs7.c'),
15 if_false: files('var-service-pkcs7-stub.c'))
[all …]
H A Dvar-service-vars.c57 uefi_variable *var; in uefi_vars_find_variable() local
59 QTAILQ_FOREACH(var, &uv->variables, next) { in uefi_vars_find_variable()
60 if (!uefi_str_equal(var->name, var->name_size, in uefi_vars_find_variable()
64 if (!qemu_uuid_is_equal(&var->guid, &guid)) { in uefi_vars_find_variable()
67 if (!var->data_size) { in uefi_vars_find_variable()
71 return var; in uefi_vars_find_variable()
80 uefi_variable *var; in add_variable() local
82 var = g_new0(uefi_variable, 1); in add_variable()
83 var->guid = guid; in add_variable()
84 var->name = g_malloc(name_size); in add_variable()
[all …]
/openbmc/openbmc/meta-security/recipes-ids/samhain/files/
H A D0002-Make-samhainrc-OE-friendly.patch39 -# On Ubuntu, these are in /var/lib rather than /etc
63 @@ -167,50 +153,21 @@ dir = 99/var
66 dir = -1/var/cache
67 -dir = -1/var/backups
68 -dir = -1/var/games
69 -dir = -1/var/gdm
70 dir = -1/var/lock
71 dir = -1/var/mail
72 dir = -1/var/run
73 dir = -1/var/spool
[all …]
H A D0003-fix-real-path-for-some-files-dirs.patch25 @@ -153,11 +152,11 @@ dir = 99/var
28 dir = -1/var/cache
29 -dir = -1/var/lock
30 -dir = -1/var/mail
31 -dir = -1/var/run
33 +dir = -1/var/spool/mail
35 dir = -1/var/spool
36 -dir = -1/var/tmp
37 +dir = -1/var/volatile/tmp
41 @@ -167,7 +166,7 @@ dir = -1/var/tmp
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_env.py52 (var, value) = l.strip().split('=', 1)
53 self.env[var] = value
65 for var in self.env:
66 return var
80 var = 'test_env_' + str(n)
81 if var not in self.env:
82 return var
95 def unset_var(state_test_env, var): argument
109 state_test_env.u_boot_console.run_command('setenv %s' % var)
110 if var in state_test_env.env:
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dxenon_sdhci.c136 u32 var; in xenon_mmc_phy_init() local
139 var = sdhci_readl(host, EMMC_PHY_TIMING_ADJUST); in xenon_mmc_phy_init()
140 var |= SAMPL_INV_QSP_PHASE_SELECT; in xenon_mmc_phy_init()
146 var |= EMMC_PHY_SLOW_MODE; in xenon_mmc_phy_init()
147 sdhci_writel(host, var, EMMC_PHY_TIMING_ADJUST); in xenon_mmc_phy_init()
153 var = sdhci_readl(host, SDHCI_CLOCK_CONTROL); in xenon_mmc_phy_init()
154 if (var & SDHCI_CLOCK_INT_STABLE) in xenon_mmc_phy_init()
166 var = sdhci_readl(host, EMMC_PHY_TIMING_ADJUST); in xenon_mmc_phy_init()
167 var |= PHY_INITIALIZAION; in xenon_mmc_phy_init()
168 sdhci_writel(host, var, EMMC_PHY_TIMING_ADJUST); in xenon_mmc_phy_init()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Ddata_smart.py113 var = self.d.getVarFlag(key, "_content")
115 if var is not None:
116 return var
277 var = loginfo['variable']
278 if var not in self.variables:
279 self.variables[var] = []
280 if not isinstance(self.variables[var], list):
282 if 'nodups' in loginfo and loginfo in self.variables[var]:
284 self.variables[var].append(loginfo.copy())
296 def variable(self, var): argument
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/preinit-mounts/preinit-mounts/
H A Dinit4 …t overlay /etc -t overlay -o defaults,lowerdir=/etc,upperdir=/var/persist/etc,workdir=/var/persist…
5 mount overlay /etc -t overlay -o defaults,lowerdir=/etc:/var/persist/etc
16 rm -rf /var/persist/etc-save
17 mv /var/persist/etc /var/persist/etc-save
18 mkdir -p /var/persist/etc
20 cp -rp /var/persist/etc-save/* /etc/
21 rm -rf /var/persist/etc-save
24 if ! mount ubi0:rwfs /var -t ubifs -o defaults; then
25 if ! mount ubi0:rwfs /var -t ubifs -o defaults,ro; then
26 mount tmpfs /var -t tmpfs -o defaults
[all …]
/openbmc/qemu/tests/tcg/ppc64/
H A Dbyte_reverse.c5 unsigned long var; in main() local
7 var = 0xFEDCBA9876543210; in main()
8 asm("brh %0, %0" : "+r"(var)); in main()
9 assert(var == 0xDCFE98BA54761032); in main()
11 var = 0xFEDCBA9876543210; in main()
12 asm("brw %0, %0" : "+r"(var)); in main()
13 assert(var == 0x98BADCFE10325476); in main()
15 var = 0xFEDCBA9876543210; in main()
16 asm("brd %0, %0" : "+r"(var)); in main()
17 assert(var == 0x1032547698BADCFE); in main()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rsyslog/rsyslog/
H A Drsyslog.conf23 auth,authpriv.* /var/log/auth.log
24 *.*;auth,authpriv.none -/var/log/syslog
25 cron.* /var/log/cron.log
26 daemon.* -/var/log/daemon.log
27 kern.* -/var/log/kern.log
28 lpr.* -/var/log/lpr.log
29 mail.* -/var/log/mail.log
30 user.* -/var/log/user.log
36 mail.info -/var/log/mail.info
37 mail.warn -/var/log/mail.warn
[all …]
H A Drsyslog.logrotate3 /var/log/syslog
16 /var/log/mail.info
17 /var/log/mail.warn
18 /var/log/mail.err
19 /var/log/mail.log
20 /var/log/daemon.log
21 /var/log/kern.log
22 /var/log/auth.log
23 /var/log/user.log
24 /var/log/lpr.log
[all …]
/openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/
H A Dread-only-rootfs-hook.sh34 if [ `is_on_read_only_partition /var/lib` = "yes" ]; then
35 grep -q "tmpfs /var/volatile" /proc/mounts || mount /var/volatile
36 mkdir -p /var/volatile/lib
37 mkdir -p /var/volatile/.lib-work
40 … overlay SED_VARLIBMOUNTARGS -olowerdir=/var/lib,upperdir=/var/volatile/lib,workdir=/var/volatile/…
41 cp -a /var/lib/* /var/volatile/lib
42 mount SED_VARLIBMOUNTARGS --bind /var/volatile/lib /var/lib
H A Dvolatiles14 # l root root 0777 /var/test /tmp/testfile
15 # f root root 0644 /var/test none
24 # a link will be created at /var/test pointing to /tmp/testfile and due to this
25 # link the file defined as /var/test will actually be created as /tmp/testfile.
27 d root root 0755 /var/volatile/log none
28 d root root 1777 /var/volatile/tmp none
29 l root root 1777 /var/lock /run/lock
30 l root root 0755 /var/run /run
31 l root root 1777 /var/tmp /var/volatile/tmp
32 l root root 1777 /tmp /var/tmp
[all …]
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-phosphor/console/obmc-console/
H A Dserver.ttyS5.conf7 logfile = /var/log/obmc-console-compute_blade_1.log
11 logfile = /var/log/obmc-console-compute_blade_2.log
15 logfile = /var/log/obmc-console-compute_blade_3.log
19 logfile = /var/log/obmc-console-compute_blade_4.log
23 logfile = /var/log/obmc-console-compute_blade_5.log
27 logfile = /var/log/obmc-console-compute_blade_6.log
31 logfile = /var/log/obmc-console-compute_blade_7.log
35 logfile = /var/log/obmc-console-compute_blade_8.log
39 logfile = /var/log/obmc-console-compute_blade_9.log
43 logfile = /var/log/obmc-console-compute_blade_10.log
[all …]
/openbmc/u-boot/include/linux/byteorder/
H A Dgeneric.h144 static inline void le16_add_cpu(__le16 *var, u16 val) in le16_add_cpu() argument
146 *var = cpu_to_le16(le16_to_cpu(*var) + val); in le16_add_cpu()
149 static inline void le32_add_cpu(__le32 *var, u32 val) in le32_add_cpu() argument
151 *var = cpu_to_le32(le32_to_cpu(*var) + val); in le32_add_cpu()
154 static inline void le64_add_cpu(__le64 *var, u64 val) in le64_add_cpu() argument
156 *var = cpu_to_le64(le64_to_cpu(*var) + val); in le64_add_cpu()
176 static inline void be16_add_cpu(__be16 *var, u16 val) in be16_add_cpu() argument
178 *var = cpu_to_be16(be16_to_cpu(*var) + val); in be16_add_cpu()
181 static inline void be32_add_cpu(__be32 *var, u32 val) in be32_add_cpu() argument
183 *var = cpu_to_be32(be32_to_cpu(*var) + val); in be32_add_cpu()
[all …]
/openbmc/qemu/pc-bios/optionrom/
H A Doptionrom.h121 #define read_fw_blob_dma(var) \ argument
122 read_fw var ## _SIZE; \
124 read_fw var ## _ADDR; \
126 read_fw_dma var ## _DATA, %ecx, %edi
128 #define read_fw_blob_dma(var) read_fw_blob(var)
131 #define read_fw_blob_pre(var) \ argument
132 read_fw var ## _SIZE; \
134 mov $var ## _DATA, %ax; \
146 #define read_fw_blob(var) \ argument
147 read_fw var ## _ADDR; \
[all …]
/openbmc/u-boot/Documentation/
H A DMakefile68 @+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),,$(var)))
71 @$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,linkcheck,$(var),,$(var)))
74 @+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,latex,$(var),latex,$(var)))
85 …$(foreach var,$(SPHINXDIRS), $(MAKE) PDFLATEX=$(PDFLATEX) LATEXOPTS="$(LATEXOPTS)" -C $(BUILDDIR)/…
90 @+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,epub,$(var),epub,$(var)))
93 @+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,xml,$(var),xml,$(var)))
/openbmc/openbmc/poky/documentation/sphinx-static/
H A Dswitchers.js.in12 var all_releases =
16 var switcher_versions = {
20 var all_doctypes = {
38 var a_components = a.split(".");
39 var b_components = b.split(".");
41 var len = Math.min(a_components.length, b_components.length);
44 for (var i = 0; i < len; i++) {
70 var buf = ['<select>'];
73 var series = version.substr(0, 3);
89 var buf = ['<select>'];
[all …]

12345678910>>...35