Home
last modified time | relevance | path

Searched refs:be (Results 1 – 25 of 6670) sorted by relevance

12345678910>>...267

/openbmc/linux/drivers/media/i2c/
H A Dar0521.c85 #define be cpu_to_be16 macro
196 __be16 buf[2] = {be(reg), be(val)}; in ar0521_write_reg()
211 be(AR0521_REG_FRAME_LENGTH_LINES), in ar0521_set_geometry()
212 be(sensor->fmt.height + sensor->ctrls.vblank->val), in ar0521_set_geometry()
213 be(sensor->fmt.width + sensor->ctrls.hblank->val), in ar0521_set_geometry()
214 be(x), in ar0521_set_geometry()
215 be(y), in ar0521_set_geometry()
216 be(x + sensor->fmt.width - 1), in ar0521_set_geometry()
217 be(y + sensor->fmt.height - 1), in ar0521_set_geometry()
218 be(sensor->fmt.width), in ar0521_set_geometry()
[all …]
/openbmc/linux/fs/nfs/blocklayout/
H A Dextent_tree.c26 ext_tree_prev(struct pnfs_block_extent *be) in ext_tree_prev() argument
28 struct rb_node *node = rb_prev(&be->be_node); in ext_tree_prev()
33 ext_tree_next(struct pnfs_block_extent *be) in ext_tree_next() argument
35 struct rb_node *node = rb_next(&be->be_node); in ext_tree_next()
40 ext_f_end(struct pnfs_block_extent *be) in ext_f_end() argument
42 return be->be_f_offset + be->be_length; in ext_f_end()
49 struct pnfs_block_extent *be = NULL; in __ext_tree_search() local
52 be = ext_node(node); in __ext_tree_search()
53 if (start < be->be_f_offset) in __ext_tree_search()
55 else if (start >= ext_f_end(be)) in __ext_tree_search()
[all …]
/openbmc/linux/tools/perf/util/
H A Dgenelf_debug.c47 buffer_ext_dump(struct buffer_ext *be, const char *msg) in buffer_ext_dump() argument
51 for (i = 0 ; i < be->cur_pos; i++) in buffer_ext_dump()
52 warnx("%4zu 0x%02x", i, (((char *)be->data)[i]) & 0xff); in buffer_ext_dump()
56 buffer_ext_add(struct buffer_ext *be, void *addr, size_t sz) in buffer_ext_add() argument
59 size_t be_sz = be->max_sz; in buffer_ext_add()
62 if ((be->cur_pos + sz) < be_sz) { in buffer_ext_add()
63 memcpy(be->data + be->cur_pos, addr, sz); in buffer_ext_add()
64 be->cur_pos += sz; in buffer_ext_add()
73 tmp = realloc(be->data, be_sz); in buffer_ext_add()
77 be->data = tmp; in buffer_ext_add()
[all …]
/openbmc/qemu/backends/
H A Diommufd.c27 IOMMUFDBackend *be = IOMMUFD_BACKEND(obj); in iommufd_backend_init() local
29 be->fd = -1; in iommufd_backend_init()
30 be->users = 0; in iommufd_backend_init()
31 be->owned = true; in iommufd_backend_init()
36 IOMMUFDBackend *be = IOMMUFD_BACKEND(obj); in iommufd_backend_finalize() local
38 if (be->owned) { in iommufd_backend_finalize()
39 close(be->fd); in iommufd_backend_finalize()
40 be->fd = -1; in iommufd_backend_finalize()
47 IOMMUFDBackend *be = IOMMUFD_BACKEND(obj); in iommufd_backend_set_fd() local
55 be->fd = fd; in iommufd_backend_set_fd()
[all …]
/openbmc/linux/drivers/net/xen-netback/
H A Dxenbus.c13 static int connect_data_rings(struct backend_info *be,
15 static void connect(struct backend_info *be);
16 static int read_xenbus_vif_flags(struct backend_info *be);
17 static int backend_create_xenvif(struct backend_info *be);
18 static void unregister_hotplug_status_watch(struct backend_info *be);
20 static void set_backend_state(struct backend_info *be,
206 struct backend_info *be = dev_get_drvdata(&xdev->dev); in netback_uevent() local
208 if (!be) in netback_uevent()
211 if (add_uevent_var(env, "script=%s", be->hotplug_script)) in netback_uevent()
214 if (!be->vif) in netback_uevent()
[all …]
/openbmc/linux/arch/arm64/lib/
H A Dcrc32.S14 .macro byteorder, reg, be argument
15 .if \be
22 .macro byteorder16, reg, be argument
23 .if \be
30 .macro bitorder, reg, be argument
31 .if \be
36 .macro bitorder16, reg, be argument
37 .if \be
43 .macro bitorder8, reg, be argument
44 .if \be
[all …]
/openbmc/qemu/chardev/
H A Dchar-fe.c33 int qemu_chr_fe_write(CharBackend *be, const uint8_t *buf, int len) in qemu_chr_fe_write() argument
35 Chardev *s = be->chr; in qemu_chr_fe_write()
44 int qemu_chr_fe_write_all(CharBackend *be, const uint8_t *buf, int len) in qemu_chr_fe_write_all() argument
46 Chardev *s = be->chr; in qemu_chr_fe_write_all()
55 int qemu_chr_fe_read_all(CharBackend *be, uint8_t *buf, int len) in qemu_chr_fe_read_all() argument
57 Chardev *s = be->chr; in qemu_chr_fe_read_all()
98 int qemu_chr_fe_ioctl(CharBackend *be, int cmd, void *arg) in qemu_chr_fe_ioctl() argument
100 Chardev *s = be->chr; in qemu_chr_fe_ioctl()
112 int qemu_chr_fe_get_msgfd(CharBackend *be) in qemu_chr_fe_get_msgfd() argument
114 Chardev *s = be->chr; in qemu_chr_fe_get_msgfd()
[all …]
/openbmc/linux/fs/btrfs/
H A Dref-verify.c79 struct block_entry *be) in insert_block_entry() argument
88 if (entry->bytenr > be->bytenr) in insert_block_entry()
90 else if (entry->bytenr < be->bytenr) in insert_block_entry()
96 rb_link_node(&be->node, parent_node, p); in insert_block_entry()
97 rb_insert_color(&be->node, root); in insert_block_entry()
235 static void free_block_entry(struct block_entry *be) in free_block_entry() argument
242 while ((n = rb_first(&be->roots))) { in free_block_entry()
244 rb_erase(&re->node, &be->roots); in free_block_entry()
248 while((n = rb_first(&be->refs))) { in free_block_entry()
250 rb_erase(&ref->node, &be->refs); in free_block_entry()
[all …]
/openbmc/qemu/host/include/ppc/host/crypto/
H A Daes-round.h25 static inline AESStateVec aes_accel_ld(const AESState *p, bool be) in aes_accel_ld() argument
29 if (be) { in aes_accel_ld()
50 static void aes_accel_st(AESState *p, AESStateVec r, bool be) in aes_accel_st() argument
52 if (be) { in aes_accel_st()
97 aesenc_MC_accel(AESState *ret, const AESState *st, bool be) in aesenc_MC_accel() argument
101 t = aes_accel_ld(st, be); in aesenc_MC_accel()
104 aes_accel_st(ret, t, be); in aesenc_MC_accel()
109 const AESState *rk, bool be) in aesenc_SB_SR_AK_accel() argument
113 t = aes_accel_ld(st, be); in aesenc_SB_SR_AK_accel()
114 k = aes_accel_ld(rk, be); in aesenc_SB_SR_AK_accel()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/
H A Dendian-ness_handling.patch18 +int be;
19 +static uint16_t read16(uint16_t x, int be)
21 + if (be)
26 +static uint32_t read32(uint32_t x, int be)
28 + if (be)
33 +static uint64_t read64(uint64_t x, int be)
35 + if (be)
48 + be = (elf_header->e_ident[EI_DATA] == ELFDATA2MSB);
50 + if (read16(elf_header->e_type, be) != ET_DYN)
54 + read16(elf_header->e_type, be));
[all …]
H A Dldconfig-handle-.dynstr-located-in-separate-segment.patch41 switch (read32(segment->p_type, be))
45 - loadaddr = read32(segment->p_vaddr, be) - read32(segment->p_offset, be);
66 if (read32(dyn_entry->d_tag, be) == DT_STRTAB)
68 - dynamic_strings = (char *) (file_contents + read32(dyn_entry->d_un.d_val, be) - loadaddr);
77 + i < read16(elf_header->e_phnum, be); i++, segment++)
79 + if (read32(segment->p_type, be) == PT_LOAD
80 + && read32(dyn_entry->d_un.d_val, be) >= read32(segment->p_vaddr, be)
81 + && (read32(dyn_entry->d_un.d_val, be) - read32(segment->p_vaddr, be)
82 + < read32(segment->p_filesz, be)))
84 + loadoff = read32(segment->p_vaddr, be) - read32(segment->p_offset, be);
[all …]
H A Dendian-ness_handling_fix.patch28 dynamic_addr = read64(segment->p_offset, be);
29 - dynamic_size = read32(segment->p_filesz, be);
30 + dynamic_size = read64(segment->p_filesz, be);
38 - if (!*osversion && read32(segment->p_filesz, be) >= 32 && read32(segment->p_align, be) >= 4)
39 + if (!*osversion && read64(segment->p_filesz, be) >= 32 && read64(segment->p_align, be) >= 4)
42 + read64(segment->p_offset, be));
43 - Elf64_Addr size = read32(segment->p_filesz, be);
44 + Elf64_Xword size = read64(segment->p_filesz, be);
46 while (read32(abi_note [0], be) != 4 || read32(abi_note [1], be) != 16
47 || read32(abi_note [2], be) != 1
/openbmc/qemu/hw/xen/
H A Dxen_devconfig.c10 char *fe, char *be, int len) in xen_config_dev_dirs() argument
19 snprintf(be, len, "%s/backend/%s/%d/%d", dom, btype, xen_domid, vdev); in xen_config_dev_dirs()
23 xenstore_mkdir(be, XS_PERM_READ); in xen_config_dev_dirs()
27 static int xen_config_dev_all(char *fe, char *be) in xen_config_dev_all() argument
35 xenstore_write_str(fe, "backend", be); in xen_config_dev_all()
38 xenstore_write_str(be, "domain", qemu_name ? qemu_name : "no-name"); in xen_config_dev_all()
39 xenstore_write_int(be, "online", 1); in xen_config_dev_all()
40 xenstore_write_int(be, "state", XenbusStateInitialising); in xen_config_dev_all()
41 xenstore_write_int(be, "frontend-id", xen_domid); in xen_config_dev_all()
42 xenstore_write_str(be, "frontend", fe); in xen_config_dev_all()
[all …]
/openbmc/linux/sound/soc/meson/
H A Daxg-card.c45 struct axg_dai_link_tdm_data *be = in axg_card_tdm_be_hw_params() local
48 return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs); in axg_card_tdm_be_hw_params()
58 struct axg_dai_link_tdm_data *be = in axg_card_tdm_dai_init() local
65 be->codec_masks[i].tx, in axg_card_tdm_dai_init()
66 be->codec_masks[i].rx, in axg_card_tdm_dai_init()
67 be->slots, be->slot_width); in axg_card_tdm_dai_init()
75 ret = axg_tdm_set_tdm_slots(asoc_rtd_to_cpu(rtd, 0), be->tx_mask, be->rx_mask, in axg_card_tdm_dai_init()
76 be->slots, be->slot_width); in axg_card_tdm_dai_init()
88 struct axg_dai_link_tdm_data *be = in axg_card_tdm_dai_lb_init() local
93 ret = axg_tdm_set_tdm_slots(asoc_rtd_to_cpu(rtd, 0), NULL, be->tx_mask, in axg_card_tdm_dai_lb_init()
[all …]
/openbmc/linux/drivers/block/xen-blkback/
H A Dxenbus.c38 struct xenbus_device *xen_blkbk_xenbus(struct backend_info *be) in xen_blkbk_xenbus() argument
40 return be->dev; in xen_blkbk_xenbus()
58 struct xenbus_device *dev = blkif->be->dev; in blkback_name()
88 if (blkif->be->dev->state == XenbusStateConnected) in xen_update_blkif_status()
92 connect(blkif->be); in xen_update_blkif_status()
93 if (blkif->be->dev->state != XenbusStateConnected) in xen_update_blkif_status()
98 xenbus_dev_error(blkif->be->dev, err, "get blkback dev name"); in xen_update_blkif_status()
104 xenbus_dev_error(blkif->be->dev, err, "block flush"); in xen_update_blkif_status()
115 xenbus_dev_fatal(blkif->be->dev, err, in xen_update_blkif_status()
205 err = xenbus_map_ring_valloc(blkif->be->dev, gref, nr_grefs, in xen_blkif_map()
[all …]
/openbmc/linux/sound/soc/
H A Dsoc-pcm.c143 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state() local
144 params = &be->dpcm[stream].hw_params; in dpcm_show_state()
147 "- %s\n", be->dai_link->name); in dpcm_show_state()
151 dpcm_state_string(be->dpcm[stream].state)); in dpcm_show_state()
153 if ((be->dpcm[stream].state >= SND_SOC_DPCM_STATE_HW_PARAMS) && in dpcm_show_state()
154 (be->dpcm[stream].state <= SND_SOC_DPCM_STATE_STOP)) in dpcm_show_state()
223 name = kasprintf(GFP_KERNEL, "%s:%s", dpcm->be->dai_link->name, in dpcm_create_debugfs_state()
272 static void dpcm_set_be_update_state(struct snd_soc_pcm_runtime *be, in dpcm_set_be_update_state() argument
275 be->dpcm[stream].runtime_update = state; in dpcm_set_be_update_state()
354 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_dapm_stream_event() local
[all …]
/openbmc/linux/net/netfilter/
H A Dnft_set_bitmap.c94 struct nft_bitmap_elem *be; in nft_bitmap_elem_find() local
96 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_elem_find()
97 if (memcmp(nft_set_ext_key(&be->ext), in nft_bitmap_elem_find()
99 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_elem_find()
102 return be; in nft_bitmap_elem_find()
112 struct nft_bitmap_elem *be; in nft_bitmap_get() local
114 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_get()
115 if (memcmp(nft_set_ext_key(&be->ext), elem->key.val.data, set->klen) || in nft_bitmap_get()
116 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_get()
119 return be; in nft_bitmap_get()
[all …]
/openbmc/qemu/include/chardev/
H A Dchar-fe.h58 Chardev *qemu_chr_fe_get_driver(CharBackend *be);
65 bool qemu_chr_fe_backend_connected(CharBackend *be);
72 bool qemu_chr_fe_backend_open(CharBackend *be);
132 void qemu_chr_fe_accept_input(CharBackend *be);
140 void qemu_chr_fe_disconnect(CharBackend *be);
148 int qemu_chr_fe_wait_connected(CharBackend *be, Error **errp);
159 void qemu_chr_fe_set_echo(CharBackend *be, bool echo);
169 void qemu_chr_fe_set_open(CharBackend *be, bool is_open);
179 void qemu_chr_fe_printf(CharBackend *be, const char *fmt, ...)
218 guint qemu_chr_fe_add_watch(CharBackend *be, GIOCondition cond,
[all …]
/openbmc/qemu/include/crypto/
H A Daes-round.h30 static inline void aesenc_MC(AESState *r, const AESState *st, bool be) in aesenc_MC() argument
33 aesenc_MC_accel(r, st, be); in aesenc_MC()
34 } else if (HOST_BIG_ENDIAN == be) { in aesenc_MC()
51 const AESState *rk, bool be) in aesenc_SB_SR_AK() argument
54 aesenc_SB_SR_AK_accel(r, st, rk, be); in aesenc_SB_SR_AK()
55 } else if (HOST_BIG_ENDIAN == be) { in aesenc_SB_SR_AK()
72 const AESState *rk, bool be) in aesenc_SB_SR_MC_AK() argument
75 aesenc_SB_SR_MC_AK_accel(r, st, rk, be); in aesenc_SB_SR_MC_AK()
76 } else if (HOST_BIG_ENDIAN == be) { in aesenc_SB_SR_MC_AK()
90 static inline void aesdec_IMC(AESState *r, const AESState *st, bool be) in aesdec_IMC() argument
[all …]
/openbmc/linux/drivers/hwmon/pmbus/
H A DKconfig12 This driver can also be built as a module. If so, the module will
13 be called pmbus_core.
27 This driver can also be built as a module. If so, the module will
28 be called pmbus.
36 This driver can also be built as a module. If so, the module will
37 be called acbel-fsg032.
47 This driver can also be built as a module. If so, the module will
48 be called adm1266.
57 This driver can also be built as a module. If so, the module will
58 be called adm1275.
[all …]
/openbmc/linux/Documentation/arch/arm64/
H A Dbooting.rst20 hypervisor code, or it may just be a handful of instructions for
50 The device tree blob (dtb) must be placed on an 8-byte boundary and must
51 not exceed 2 megabytes in size. Since the dtb will be mapped cacheable
52 using blocks of up to 2 megabytes in size, it must not be placed within
53 any 2M region which must be mapped with any specific attributes.
55 NOTE: versions prior to v4.2 also require that the DTB be placed within
64 therefore requires decompression (gzip etc.) to be performed by the boot
103 little-endian and must be respected. Where image_size is zero,
104 text_offset can be assumed to be 0x80000.
120 2MB aligned base should be as close as possible
[all …]
/openbmc/linux/drivers/i2c/busses/
H A DKconfig23 If you say yes to this option, support will be included for the SMB
28 This driver can also be built as a module. If so, the module
29 will be called i2c-ali1535.
35 If you say yes to this option, support will be included for the SMB
40 This driver can also be built as a module. If so, the module
41 will be called i2c-ali1563.
47 If you say yes to this option, support will be included for the
50 This driver can also be built as a module. If so, the module
51 will be called i2c-ali15x3.
57 If you say yes to this option, support will be included for the AMD
[all …]
/openbmc/linux/drivers/hwmon/
H A DKconfig23 This support can also be built as a module. If so, the module
24 will be called hwmon.
48 chip can be found on Abit uGuru featuring motherboards (most modern
53 This driver can also be built as a module. If so, the module
54 will be called abituguru.
63 uGuru chip can be found on recent Abit motherboards (since end
67 This driver can also be built as a module. If so, the module
68 will be called abituguru3.
85 This driver can also be built as a module. If so, the module
86 will be called ad7314.
[all …]
/openbmc/linux/Documentation/watchdog/
H A Dwatchdog-parameters.rst7 be listed here unless the driver has its own driver-specific information
21 timeout. Setting this to a non-zero value can be useful to ensure that
33 Watchdog cannot be stopped once started
46 Watchdog cannot be stopped once started
55 Watchdog cannot be stopped once started
67 Watchdog cannot be stopped once started
94 Watchdog cannot be stopped once started
103 Watchdog cannot be stopped once started
112 Watchdog cannot be stopped once started
127 be verbose, default is 0 (no)
[all …]
/openbmc/linux/lib/
H A Dtest_uuid.c15 uuid_t be; member
22 .be = UUID_INIT(0xc33f4995, 0x3701, 0x450e, 0x9f, 0xbf, 0x20, 0x6a, 0x2e, 0x98, 0xe5, 0x76),
27 .be = UUID_INIT(0x64b4371c, 0x77c1, 0x48f9, 0x82, 0x21, 0x29, 0xf0, 0x54, 0xfc, 0x02, 0x3b),
32 .be = UUID_INIT(0x0cb4ddff, 0xa545, 0x4401, 0x9d, 0x06, 0x68, 0x8a, 0xf5, 0x3e, 0x7f, 0x84),
45 static void __init test_uuid_failed(const char *prefix, bool wrong, bool be, in test_uuid_failed() argument
52 be ? "BE" : "LE", in test_uuid_failed()
65 uuid_t be; in test_uuid_test() local
81 if (uuid_parse(data->uuid, &be)) in test_uuid_test()
85 if (!uuid_equal(&data->be, &be)) { in test_uuid_test()
86 sprintf(buf, "%pUb", &be); in test_uuid_test()
[all …]

12345678910>>...267