Home
last modified time | relevance | path

Searched full:location (Results 1 – 25 of 3747) sorted by relevance

12345678910>>...150

/openbmc/linux/arch/riscv/kernel/
H A Dmodule.c30 static int apply_r_riscv_32_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_32_rela() argument
37 *location = v; in apply_r_riscv_32_rela()
41 static int apply_r_riscv_64_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_64_rela() argument
43 *(u64 *)location = v; in apply_r_riscv_64_rela()
47 static int apply_r_riscv_branch_rela(struct module *me, u32 *location, in apply_r_riscv_branch_rela() argument
50 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_branch_rela()
56 *location = (*location & 0x1fff07f) | imm12 | imm11 | imm10_5 | imm4_1; in apply_r_riscv_branch_rela()
60 static int apply_r_riscv_jal_rela(struct module *me, u32 *location, in apply_r_riscv_jal_rela() argument
63 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_jal_rela()
69 *location = (*location & 0xfff) | imm20 | imm19_12 | imm11 | imm10_1; in apply_r_riscv_jal_rela()
[all …]
/openbmc/libcper/include/libcper/generator/sections/
H A Dgen-section.h12 size_t generate_section_generic(void **location);
13 size_t generate_section_ia32x64(void **location);
14 size_t generate_section_arm(void **location);
15 size_t generate_section_memory(void **location);
16 size_t generate_section_memory2(void **location);
17 size_t generate_section_pcie(void **location);
18 size_t generate_section_pci_bus(void **location);
19 size_t generate_section_pci_dev(void **location);
20 size_t generate_section_firmware(void **location);
21 size_t generate_section_dmar_generic(void **location);
[all …]
/openbmc/linux/drivers/video/fbdev/via/
H A Dhw.h54 /* location: {CR6D,0,7},{CR71,3,3} */
56 /* location: {CR6E,0,7} */
58 /* location: {CR6F,0,7},{CR71,0,2} */
60 /* location: {CR70,0,7},{CR71,4,6} */
62 /* location: {CR72,0,7},{CR74,4,6} */
64 /* location: {CR73,0,7},{CR74,0,2} */
66 /* location: {CR75,0,7},{CR76,4,6} */
68 /* location: {CR76,0,3} */
73 /* location: {SR1C,0,7},{SR1D,0,1} */
82 /* location: {CR65,0,7},{CR67,2,3} */
[all …]
/openbmc/openpower-vpd-parser/examples/
H A Dsample_vpd_inventory_for_recollcetion.json41 "com.ibm.ipzvpd.Location": {
67 "com.ibm.ipzvpd.Location": {
77 "com.ibm.ipzvpd.Location": {
87 "com.ibm.ipzvpd.Location": {
97 "com.ibm.ipzvpd.Location": {
107 "com.ibm.ipzvpd.Location": {
117 "com.ibm.ipzvpd.Location": {
127 "com.ibm.ipzvpd.Location": {
137 "com.ibm.ipzvpd.Location": {
147 "com.ibm.ipzvpd.Location": {
[all …]
/openbmc/u-boot/common/
H A Dsplash_source.c63 static int splash_storage_read_raw(struct splash_location *location, in splash_storage_read_raw() argument
68 if (!location) in splash_storage_read_raw()
71 offset = location->offset; in splash_storage_read_raw()
72 switch (location->storage) { in splash_storage_read_raw()
78 printf("Unknown splash location\n"); in splash_storage_read_raw()
84 static int splash_load_raw(struct splash_location *location, u32 bmp_load_addr) in splash_load_raw() argument
93 res = splash_storage_read_raw(location, bmp_load_addr, bmp_header_size); in splash_load_raw()
103 return splash_storage_read_raw(location, bmp_load_addr, bmp_size); in splash_load_raw()
111 static int splash_select_fs_dev(struct splash_location *location) in splash_select_fs_dev() argument
115 switch (location->storage) { in splash_select_fs_dev()
[all …]
/openbmc/linux/arch/mips/kernel/
H A Dmodule.c44 static void apply_r_mips_32(u32 *location, u32 base, Elf_Addr v) in apply_r_mips_32() argument
46 *location = base + v; in apply_r_mips_32()
49 static int apply_r_mips_26(struct module *me, u32 *location, u32 base, in apply_r_mips_26() argument
58 if ((v & 0xf0000000) != (((unsigned long)location + 4) & 0xf0000000)) { in apply_r_mips_26()
64 *location = (*location & ~0x03ffffff) | in apply_r_mips_26()
70 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_hi16() argument
76 *location = (*location & 0xffff0000) | in apply_r_mips_hi16()
90 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16()
109 static int apply_r_mips_lo16(struct module *me, u32 *location, in apply_r_mips_lo16() argument
117 *location = (*location & 0xffff0000) | (v & 0xffff); in apply_r_mips_lo16()
[all …]
/openbmc/linux/arch/xtensa/kernel/
H A Dmodule.c26 decode_calln_opcode (unsigned char *location) in decode_calln_opcode() argument
29 return (location[0] & 0xf0) == 0x50; in decode_calln_opcode()
32 return (location[0] & 0xf) == 0x5; in decode_calln_opcode()
37 decode_l32r_opcode (unsigned char *location) in decode_l32r_opcode() argument
40 return (location[0] & 0xf0) == 0x10; in decode_l32r_opcode()
43 return (location[0] & 0xf) == 0x1; in decode_l32r_opcode()
56 unsigned char *location; in apply_relocate_add() local
63 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
79 *(uint32_t *)location += value; in apply_relocate_add()
83 if (decode_calln_opcode(location)) { in apply_relocate_add()
[all …]
/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c19 TSNEP_RX_ASSIGN_ETHER_TYPE_OFFSET * rule->location; in tsnep_enable_rule()
24 TSNEP_RX_ASSIGN_OFFSET * rule->location; in tsnep_enable_rule()
34 TSNEP_RX_ASSIGN_OFFSET * rule->location; in tsnep_disable_rule()
39 int location) in tsnep_get_rule() argument
44 if (rule->location == location) in tsnep_get_rule()
46 if (rule->location > location) in tsnep_get_rule()
62 if (cur->location >= rule->location) in tsnep_add_rule()
104 rule = tsnep_get_rule(adapter, fsp->location); in tsnep_rxnfc_get_rule()
142 rule_locs[count] = rule->location; in tsnep_rxnfc_get_all()
156 int location = 0; in tsnep_rxnfc_find_location() local
[all …]
/openbmc/openpower-vpd-parser/vpd-manager/
H A Dreader_impl.hpp34 /** @brief An API to expand a given unexpanded location code.
35 * @param[in] locationCode - unexpanded location code.
36 * @param[in] nodeNumber - node on which we are looking for location code.
37 * @param[in] frusLocationCode - mapping of inventory path and location
39 * @return Expanded location code.
46 /** @brief An API to get list of all the FRUs at the given location code
47 * @param[in] - location code in unexpanded format
49 * @param[in] - mapping of location code and Inventory path
50 * @return list of Inventory paths at the given location
57 /** @brief An API to get list of all the FRUs at the given location code
[all …]
/openbmc/linux/arch/sh/kernel/
H A Dmodule.c34 uint32_t *location; in apply_relocate_add() local
41 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
53 value = get_unaligned(location); in apply_relocate_add()
55 put_unaligned(value, location); in apply_relocate_add()
58 relocation = (relocation - (Elf32_Addr) location); in apply_relocate_add()
59 value = get_unaligned(location); in apply_relocate_add()
61 put_unaligned(value, location); in apply_relocate_add()
64 *location = (*location & ~0x3fffc00) | in apply_relocate_add()
68 *location = (*location & ~0x3fffc00) | in apply_relocate_add()
72 relocation -= (Elf32_Addr) location; in apply_relocate_add()
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Dmodule.c46 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none() argument
52 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, in apply_r_larch_error() argument
59 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32() argument
62 *location = v; in apply_r_larch_32()
66 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64() argument
69 *(Elf_Addr *)location = v; in apply_r_larch_64()
73 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel() argument
76 return rela_stack_push(v - (u64)location, rela_stack, rela_stack_top); in apply_r_larch_sop_push_pcrel()
79 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute() argument
85 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_dup() argument
[all …]
/openbmc/qemu/util/
H A Derror-report.c43 static Location std_loc = {
46 static Location *cur_loc = &std_loc;
49 * Push location saved in LOC onto the location stack, return it.
50 * The top of that stack is the current location.
53 Location *loc_push_restore(Location *loc) in loc_push_restore()
62 * Initialize *LOC to "nowhere", push it onto the location stack.
63 * The top of that stack is the current location.
67 Location *loc_push_none(Location *loc) in loc_push_none()
75 * Pop the location stack.
76 * LOC must be the current location, i.e. the top of the stack.
[all …]
/openbmc/linux/include/trace/events/
H A Dskb.h26 TP_PROTO(struct sk_buff *skb, void *location,
29 TP_ARGS(skb, location, reason),
33 __field(void *, location)
40 __entry->location = location;
45 TP_printk("skbaddr=%p protocol=%u location=%pS reason: %s",
46 __entry->skbaddr, __entry->protocol, __entry->location,
56 TP_PROTO(struct sk_buff *skb, void *location),
58 TP_ARGS(skb, location),
62 __field( void *, location)
67 __entry->location = location;
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-pykickstart/files/
H A D0004-load.py-retry-to-invoke-request-with-timeout.patch36 is_url = lambda location: '://' in location # RFC 3986
39 @@ -71,6 +75,29 @@ def load_to_file(location, destination):
40 _copy_file(location, destination)
43 +def _access_url(location):
51 + request = requests.get(location, verify=SSL_VERIFY, timeout=2)
53 + log.info("Try '%s' %d times, %s" % (location, i, str(e)))
66 def _get_auth(location, user=None, passwd=None):
69 @@ -92,6 +119,10 @@ def _get_auth(location, user=None, passwd=None):
71 def _load_url(location, user=None, passwd=None):
72 '''Load a location (URL or filename) and return contents as string'''
[all …]
H A D0001-support-authentication-for-kickstart.patch70 @@ -28,7 +30,7 @@ is_url = lambda location: '://' in location # RFC 3986
74 -def load_to_str(location):
75 +def load_to_str(location, user=None, passwd=None):
79 @@ -39,7 +41,7 @@ def load_to_str(location):
82 if is_url(location):
83 - return _load_url(location)
84 + return _load_url(location, user=user, passwd=passwd)
86 return _load_file(location)
88 @@ -69,11 +71,31 @@ def load_to_file(location, destination):
89 _copy_file(location, destination)
[all …]
/openbmc/u-boot/doc/
H A DREADME.mpc85xx48 Location : Label "_start_e500"
54 Location : Label "create_init_ram_area"
60 Location : Lable "create_init_ram_area"
66 Location : cpu_init_early_f
72 Location : cpu_init_early_f
76 Location : cpu_init_early_f --> init_tlbs()
81 Location : cpu_init_f --> disable_tlb()
85 Location : Board_init_r
94 Location : Label "_start_e500"
105 Location : Label "create_init_ram_area"
[all …]
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/nikto/files/
H A Dlocation.patch20 # If you want to specify the location of any of the files, specify them here
21 -# EXECDIR=/opt/nikto # Location of Nikto
22 -# PLUGINDIR=/opt/nikto/plugins # Location of plugin dir
23 -# DBDIR=/opt/nikto/databases # Location of database dir
24 -# TEMPLATEDIR=/opt/nikto/templates # Location of template dir
25 -# DOCDIR=/opt/nikto/docs # Location of docs dir
26 +EXECDIR=/usr/bin/nikto # Location of Nikto
27 +PLUGINDIR=/etc/nikto/plugins # Location of plugin dir
28 +DBDIR=/etc/nikto/databases # Location of database dir
29 +TEMPLATEDIR=/etc/nikto/templates # Location of template dir
[all …]
/openbmc/linux/arch/microblaze/kernel/
H A Dmodule.c25 unsigned long int *location; in apply_relocate_add() local
33 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + in apply_relocate_add()
44 * read the current contents of (*location), add any offset in apply_relocate_add()
49 *location = value; in apply_relocate_add()
53 location[0] = (location[0] & 0xFFFF0000) | in apply_relocate_add()
55 location[1] = (location[1] & 0xFFFF0000) | in apply_relocate_add()
60 value -= (unsigned long int)(location) + 4; in apply_relocate_add()
61 location[0] = (location[0] & 0xFFFF0000) | in apply_relocate_add()
63 location[1] = (location[1] & 0xFFFF0000) | in apply_relocate_add()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c76 if (rule->aq_fsp.location == fsp->location) in aq_rule_already_exists()
95 if (fsp->location < AQ_RX_FIRST_LOC_FL3L4 || in aq_check_approve_fl3l4()
96 fsp->location > last_location) { in aq_check_approve_fl3l4()
98 "ethtool: location must be in range [%d, %d]", in aq_check_approve_fl3l4()
113 fsp->location != AQ_RX_FIRST_LOC_FL3L4 + 4 && in aq_check_approve_fl3l4()
114 fsp->location != AQ_RX_FIRST_LOC_FL3L4) { in aq_check_approve_fl3l4()
116 "ethtool: The specified location for ipv6 must be %d or %d", in aq_check_approve_fl3l4()
132 if (fsp->location < AQ_RX_FIRST_LOC_FETHERT || in aq_check_approve_fl2()
133 fsp->location > last_location) { in aq_check_approve_fl2()
135 "ethtool: location must be in range [%d, %d]", in aq_check_approve_fl2()
[all …]
/openbmc/linux/arch/csky/kernel/
H A Dmodule.c28 static void jsri_2_lrw_jsr(uint32_t *location) in jsri_2_lrw_jsr() argument
30 uint16_t *location_tmp = (uint16_t *)location; in jsri_2_lrw_jsr()
37 CHANGE_JSRI_TO_LRW(location); in jsri_2_lrw_jsr()
39 SET_JSR32_R26(location + 1); in jsri_2_lrw_jsr()
43 static inline void jsri_2_lrw_jsr(uint32_t *location) in jsri_2_lrw_jsr() argument
55 uint32_t *location; in apply_relocate_add() local
60 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
67 /* We add the value into the location given */ in apply_relocate_add()
68 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add()
72 *location = rel[i].r_addend + sym->st_value in apply_relocate_add()
[all …]
/openbmc/qemu/include/qemu/
H A Derror-report.h16 typedef struct Location { struct
21 struct Location *prev; argument
22 } Location; typedef
24 Location *loc_push_restore(Location *loc);
25 Location *loc_push_none(Location *loc);
26 Location *loc_pop(Location *loc);
27 Location *loc_save(Location *loc);
28 void loc_restore(Location *loc);
/openbmc/linux/arch/sparc/kernel/
H A Dmodule.c92 u8 *location; in apply_relocate_add() local
99 location = (u8 *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
101 loc32 = (u32 *) location; in apply_relocate_add()
104 BUG_ON(((u64)location >> (u64)32) != (u64)0); in apply_relocate_add()
115 v -= (Elf_Addr) location; in apply_relocate_add()
120 location[0] = v >> 56; in apply_relocate_add()
121 location[1] = v >> 48; in apply_relocate_add()
122 location[2] = v >> 40; in apply_relocate_add()
123 location[3] = v >> 32; in apply_relocate_add()
124 location[4] = v >> 24; in apply_relocate_add()
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dmodule_32.c157 static uint32_t do_plt_call(void *location, in do_plt_call() argument
164 pr_debug("Doing plt for call to 0x%x at 0x%x\n", val, (unsigned int)location); in do_plt_call()
166 if (within_module_core((unsigned long)location, mod)) in do_plt_call()
205 uint32_t *location; in apply_relocate_add() local
212 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
224 *(uint32_t *)location = value; in apply_relocate_add()
229 if (patch_location_16(location, PPC_LO(value))) in apply_relocate_add()
235 if (patch_location_16(location, PPC_HI(value))) in apply_relocate_add()
240 if (patch_location_16(location, PPC_HA(value))) in apply_relocate_add()
245 if ((int)(value - (uint32_t)location) < -0x02000000 in apply_relocate_add()
[all …]
/openbmc/linux/arch/hexagon/kernel/
H A Dmodule.c73 uint32_t *location; in apply_relocate_add() local
90 location = loc_base + rela[i].r_offset; in apply_relocate_add()
96 i, value, location, ELF32_R_TYPE(rela[i].r_info), in apply_relocate_add()
102 int dist = (int)(value - (uint32_t)location); in apply_relocate_add()
109 dist, value, (uint32_t)location, in apply_relocate_add()
114 DEBUGP("B22_PCREL contents: %08X.\n", *location); in apply_relocate_add()
115 *location &= ~0x01ff3fff; in apply_relocate_add()
116 *location |= 0x00003fff & dist; in apply_relocate_add()
117 *location |= 0x01ff0000 & (dist<<2); in apply_relocate_add()
118 DEBUGP("Contents after reloc: %08x\n", *location); in apply_relocate_add()
[all …]
/openbmc/linux/include/linux/
H A Dhp_sdc.h197 #define HP_SDC_CMD_READ_D0 0xf0 /* Load from i8042 RAM location 0x70 */
198 #define HP_SDC_CMD_READ_D1 0xf1 /* Load from i8042 RAM location 0x71 */
199 #define HP_SDC_CMD_READ_D2 0xf2 /* Load from i8042 RAM location 0x72 */
200 #define HP_SDC_CMD_READ_D3 0xf3 /* Load from i8042 RAM location 0x73 */
201 #define HP_SDC_CMD_READ_VT1 0xf4 /* Load from i8042 RAM location 0x74 */
202 #define HP_SDC_CMD_READ_VT2 0xf5 /* Load from i8042 RAM location 0x75 */
203 #define HP_SDC_CMD_READ_VT3 0xf6 /* Load from i8042 RAM location 0x76 */
204 #define HP_SDC_CMD_READ_VT4 0xf7 /* Load from i8042 RAM location 0x77 */
205 #define HP_SDC_CMD_READ_KBN 0xf8 /* Load from i8042 RAM location 0x78 */
206 #define HP_SDC_CMD_READ_KBC 0xf9 /* Load from i8042 RAM location 0x79 */
[all …]

12345678910>>...150