/openbmc/linux/kernel/sched/ |
H A D | cpudeadline.c | 29 int orig_cpu = cp->elements[idx].cpu; in cpudl_heapify_down() 30 u64 orig_dl = cp->elements[idx].dl; in cpudl_heapify_down() 45 cp->elements[l].dl)) { in cpudl_heapify_down() 47 largest_dl = cp->elements[l].dl; in cpudl_heapify_down() 50 cp->elements[r].dl)) in cpudl_heapify_down() 57 cp->elements[idx].cpu = cp->elements[largest].cpu; in cpudl_heapify_down() 58 cp->elements[idx].dl = cp->elements[largest].dl; in cpudl_heapify_down() 59 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_down() 63 cp->elements[idx].cpu = orig_cpu; in cpudl_heapify_down() 64 cp->elements[idx].dl = orig_dl; in cpudl_heapify_down() [all …]
|
/openbmc/linux/drivers/staging/octeon/ |
H A D | ethernet-mem.c | 20 * @elements: Number of buffers to allocate 24 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff() argument 26 int freed = elements; in cvm_oct_fill_hw_skbuff() 38 return elements - freed; in cvm_oct_fill_hw_skbuff() 45 * @elements: Number of buffers to allocate 47 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff() argument 56 elements--; in cvm_oct_free_hw_skbuff() 61 if (elements < 0) in cvm_oct_free_hw_skbuff() 63 pool, elements); in cvm_oct_free_hw_skbuff() 64 else if (elements > 0) in cvm_oct_free_hw_skbuff() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | nsprepkg.c | 22 union acpi_operand_object **elements, u32 count); 26 union acpi_operand_object **elements, 33 union acpi_operand_object **elements, u32 count); 56 union acpi_operand_object **elements; in acpi_ns_check_package() local 75 * and trailing NULL package elements in acpi_ns_check_package() 80 /* Extract package count and elements array */ in acpi_ns_check_package() 82 elements = return_object->package.elements; in acpi_ns_check_package() 96 "Return Package has no elements (empty)")); in acpi_ns_check_package() 110 status = acpi_ns_custom_package(info, elements, count); in acpi_ns_check_package() 132 /* Validate all elements of the returned package */ in acpi_ns_check_package() [all …]
|
H A D | dspkginit.c | 31 * element_count - Number of elements in the package - this is 40 * NOTE: The number of elements in the package will be always be the num_elements 41 * count, regardless of the number of elements in the package list. If 42 * num_elements is smaller, only that many package list elements are used. 111 if (!obj_desc->package.elements) { in acpi_ds_build_internal_package_obj() 112 obj_desc->package.elements = ACPI_ALLOCATE_ZEROED(((acpi_size) in acpi_ds_build_internal_package_obj() 119 if (!obj_desc->package.elements) { in acpi_ds_build_internal_package_obj() 134 * full resolution of the package elements in order to support in acpi_ds_build_internal_package_obj() 135 * forward references from the elements. This provides in acpi_ds_build_internal_package_obj() 143 "%s: Deferring resolution of Package elements\n", in acpi_ds_build_internal_package_obj() [all …]
|
H A D | nsrepair2.c | 88 acpi_ns_sort_list(union acpi_operand_object **elements, 334 * If a Package, ensure same for all string elements. 366 element_ptr = return_object->package.elements; in acpi_ns_repair_CID() 428 outer_elements = &return_object->package.elements[i + 1]; in acpi_ns_repair_CST() 441 obj_desc = (*outer_elements)->package.elements[1]; /* Index1 = Type */ in acpi_ns_repair_CST() 462 obj_desc = return_object->package.elements[0]; in acpi_ns_repair_CST() 590 top_object_list = package_object->package.elements; in acpi_ns_repair_PRT() 597 sub_object_list = sub_package->package.elements; in acpi_ns_repair_PRT() 652 union acpi_operand_object **elements; in acpi_ns_repair_PSS() local 676 outer_elements = return_object->package.elements; in acpi_ns_repair_PSS() [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | pfr_update.c | 134 out_obj->package.elements[CAP_STATUS_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 135 out_obj->package.elements[CAP_UPDATE_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 136 out_obj->package.elements[CAP_CODE_TYPE_IDX].type != ACPI_TYPE_BUFFER || in query_capability() 137 out_obj->package.elements[CAP_FW_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 138 out_obj->package.elements[CAP_CODE_RT_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 139 out_obj->package.elements[CAP_DRV_TYPE_IDX].type != ACPI_TYPE_BUFFER || in query_capability() 140 out_obj->package.elements[CAP_DRV_RT_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 141 out_obj->package.elements[CAP_DRV_SVN_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 142 out_obj->package.elements[CAP_PLAT_ID_IDX].type != ACPI_TYPE_BUFFER || in query_capability() 143 out_obj->package.elements[CAP_OEM_ID_IDX].type != ACPI_TYPE_BUFFER || in query_capability() [all …]
|
H A D | pfr_telemetry.c | 91 in_obj.package.elements = &in_buf; in get_pfrt_log_data_info() 102 out_obj->package.elements[LOG_STATUS_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 103 out_obj->package.elements[LOG_EXT_STATUS_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 104 out_obj->package.elements[LOG_MAX_SZ_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 105 out_obj->package.elements[LOG_CHUNK1_LO_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 106 out_obj->package.elements[LOG_CHUNK1_HI_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 107 out_obj->package.elements[LOG_CHUNK1_SZ_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 108 out_obj->package.elements[LOG_CHUNK2_LO_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 109 out_obj->package.elements[LOG_CHUNK2_HI_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() 110 out_obj->package.elements[LOG_CHUNK2_SZ_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/can/ |
H A D | bosch,m_can.yaml | 65 the following elements start from. This is usually set to 67 are used to specify how many elements are used for each FIFO/Buffer. 69 M_CAN includes the following elements according to user manual: 70 11-bit Filter 0-128 elements / 0-128 words 71 29-bit Filter 0-64 elements / 0-128 words 72 Rx FIFO 0 0-64 elements / 0-1152 words 73 Rx FIFO 1 0-64 elements / 0-1152 words 74 Rx Buffers 0-64 elements / 0-1152 words 75 Tx Event FIFO 0-32 elements / 0-64 words 76 Tx Buffers 0-32 elements / 0-576 words [all …]
|
/openbmc/pyphosphor/obmc/utils/ |
H A D | pathtree.py | 99 def _try_delete_parent(self, elements): argument 100 if len(elements) == 1: 104 elements.pop() 106 for k in elements[:-1]: 109 if 'data' not in d[elements[-1]] and not d[elements[-1]][kids]: 110 del d[elements[-1]] 111 self._try_delete_parent(elements) 115 elements = ['/'] + list(filter(bool, key.split('/'))) 117 for k in elements[:-1]: 123 return d[elements[-1]] [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Aggregate.v1_0_3.json | 49 … the aggregate, with the result that the resources are included in the `Elements` array of the agg… 51 "Elements": { object 52 "description": "An array of resource links to add to the `Elements` array.", 56 … contain an array of links to the specified resources to add to the aggregate's `Elements` array.", 135 "Elements": { object 136 "description": "The elements of this aggregate.", 140 …longDescription": "This property shall contain an array of links to the elements of this aggregate… 144 "Elements@odata.count": { 148 "description": "The number of entries in the `Elements` array.", 149 … "longDescription": "This property shall contain the number of entries in the `Elements` array.", [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | qmi_encdec.c | 72 * This function is used while encoding optional elements. If the flag 114 /* Optional elements do not count in minimum length */ in qmi_calc_min_msg_len() 141 * Type & Length info. not prepended for elements in the in qmi_calc_min_msg_len() 152 * qmi_encode_basic_elem() - Encodes elements of basic/primary data type 154 * @buf_src: Buffer containing the elements to be encoded. 155 * @elem_len: Number of elements, in the buf_src, to be encoded. 158 * This function encodes the "elem_len" number of data elements, each of 160 * encoded information in the destination buffer "buf_dst". The elements are 180 * qmi_encode_struct_elem() - Encodes elements of struct data type 183 * @buf_src: Buffer containing the elements to be encoded. [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Aggregate_v1.xml | 69 …<Annotation Term="OData.Description" String="The delay of the batches of elements being reset in s… 70 …ption" String="This parameter shall contain the delay of the batches of elements being reset in se… 75 … <Annotation Term="OData.Description" String="The number of elements in each batch being reset."/> 76 …ata.LongDescription" String="This parameter shall contain the number of elements in each batch sim… 93 … the aggregate, with the result that the resources are included in the `Elements` array of the agg… 95 <Parameter Name="Elements" Type="Collection(Resource.Resource)" Nullable="false"> 96 …tion Term="OData.Description" String="An array of resource links to add to the `Elements` array."/> 97 …contain an array of links to the specified resources to add to the aggregate's `Elements` array."/> 103 …the aggregate, with the result that the resources are removed from the `Elements` array of the agg… 105 <Parameter Name="Elements" Type="Collection(Resource.Resource)" Nullable="false"> [all …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | scatter_gather.c | 24 * _16 16-bit elements and 16-bit offsets 25 * _32 32-bit elements and 32-bit offsets 26 * _16_32 16-bit elements and 32-bit offsets 124 /* create byte offsets to be a diagonal of the matrix with 16 bit elements */ 156 /* create byte offsets to be a diagonal of the matrix with 32 bit elements */ 189 * create byte offsets to be a diagonal of the matrix with 16 bit elements 223 /* scatter the 16 bit elements using HVX */ 237 /* scatter-accumulate the 16 bit elements using HVX */ 251 /* masked scatter the 16 bit elements using HVX */ 268 /* scatter the 32 bit elements using HVX */ [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | chio.h | 27 * accessing elements works by specifing type and unit of the element. 28 * for example, storage elements are addressed with type = CHET_ST and 34 int cp_npickers; /* number of transport elements (CHET_MT) */ 35 int cp_nslots; /* number of storage elements (CHET_ST) */ 36 int cp_nportals; /* number of import/export elements (CHET_IE) */ 37 int cp_ndrives; /* number of data transfer elements (CHET_DT) */ 99 * get element status for all elements of a specific type 124 int cge_id; /* scsi id (for data transfer elements) */ 125 int cge_lun; /* scsi lun (for data transfer elements) */
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_bitmap_ip.c | 43 u32 elements; /* number of max elements in the set */ member 218 u32 elements, u32 hosts, u8 netmask) in init_map_ip() argument 220 map->members = bitmap_zalloc(elements, GFP_KERNEL | __GFP_NOWARN); in init_map_ip() 225 map->elements = elements; in init_map_ip() 255 u64 elements; in bitmap_ip_create() local 296 elements = (u64)last_ip - first_ip + 1; in bitmap_ip_create() 309 elements = 2UL << (netmask - mask_bits - 1); in bitmap_ip_create() 311 if (elements > IPSET_BITMAP_MAX_RANGE + 1) in bitmap_ip_create() 314 pr_debug("hosts %u, elements %llu\n", in bitmap_ip_create() 315 hosts, (unsigned long long)elements); in bitmap_ip_create() [all …]
|
H A D | ip_set_bitmap_gen.h | 51 for (id = 0; id < map->elements; id++) in mtype_ext_cleanup() 76 bitmap_zero(map->members, map->elements); in mtype_flush() 77 set->elements = 0; in mtype_flush() 86 map->elements * dsize; in mtype_memsize() 102 nla_put_net32(skb, IPSET_ATTR_ELEMENTS, htonl(set->elements))) in mtype_head() 139 set->elements--; in mtype_add() 149 set->elements--; in mtype_add() 167 set->elements++; in mtype_add() 184 set->elements--; in mtype_del() 215 for (; cb->args[IPSET_CB_ARG0] < map->elements; in mtype_list() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/base/circbuf/interface/ |
H A D | ia_css_circbuf.h | 38 ia_css_circbuf_elem_t *elems; /* an array of elements */ 45 * @param elems An array of elements. 171 * along the direction in which the new elements come in. 196 * @brief Get the maximum number of elements. 200 * @return the maximum number of elements. 214 * @brief Get the number of available elements. 218 * @return the number of available elements. 318 * @brief Get the number of free elements. 322 * @return: The number of free elements. 339 * @return the elements value. [all …]
|
/openbmc/linux/drivers/platform/x86/intel/int1092/ |
H A D | intel_sar.c | 83 num = &item->package.elements[0]; in parse_package() 102 num = &item->package.elements[itr + 1]; in parse_package() 105 if (get_int_value(&num->package.elements[0], &temp.device_mode)) in parse_package() 107 if (get_int_value(&num->package.elements[1], &temp.bandtable_index)) in parse_package() 109 if (get_int_value(&num->package.elements[2], &temp.antennatable_index)) in parse_package() 111 if (get_int_value(&num->package.elements[3], &temp.sartable_index)) in parse_package() 228 out->package.elements[0].type == ACPI_TYPE_INTEGER && in sar_get_data() 229 out->package.elements[1].type == ACPI_TYPE_INTEGER && in sar_get_data() 230 out->package.elements[2].type == ACPI_TYPE_PACKAGE && in sar_get_data() 231 out->package.elements[2].package.count > 0) { in sar_get_data() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | acpi.c | 270 data->package.elements[0].type != ACPI_TYPE_INTEGER) { in iwl_acpi_get_wifi_pkg_range() 275 *tbl_rev = data->package.elements[0].integer.value; in iwl_acpi_get_wifi_pkg_range() 281 wifi_pkg = &data->package.elements[i]; in iwl_acpi_get_wifi_pkg_range() 289 domain = &wifi_pkg->package.elements[0]; in iwl_acpi_get_wifi_pkg_range() 330 if (tbl_rev == 1 && wifi_pkg->package.elements[1].type == in iwl_acpi_get_tas() 333 (u32)wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_tas() 352 wifi_pkg->package.elements[1].type == ACPI_TYPE_INTEGER) { in iwl_acpi_get_tas() 353 enabled = !!wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_tas() 366 if (wifi_pkg->package.elements[2].type != ACPI_TYPE_INTEGER || in iwl_acpi_get_tas() 367 wifi_pkg->package.elements[2].integer.value > in iwl_acpi_get_tas() [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_mru_cache.c | 13 * function pointer to call when deleting elements. A data structure for 17 * the elements are grouped in time. When reaping occurs, all the elements in 26 * All the elements added in the first two seconds are appended to the first 27 * list. Elements added in the third second go into the second list, and so on. 33 * if it were called at t=11s, there could be elements in the first list that 36 * elements that remain in the first list. It's therefore possible for elements 42 * every (t/g) seconds. If it is called less frequently, unused elements will 49 * expired elements in groups of some appreciable size. This automatically 54 * The elements could have been stored in just one list, but an array of 65 * this happens, all the elements on the LRU list need to be migrated to the end [all …]
|
/openbmc/qemu/fsdev/ |
H A D | p9array.h | 36 * elements. 84 * @scalar_type: type of the individual array elements 101 * @scalar_type: type of the individual array elements 103 * allocated by individual array elements before 135 * @scalar_type: type of the individual array elements 147 * @scalar_type: type of the individual array elements 149 * @len: amount of array elements to be allocated immediately 152 * elements and assigns the created array to the reference variable
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/ |
H A D | pipeline.json | 141 … event counts the number of times where 2 elements of the gather instructions became 2 flows becau… 144 … event counts the number of times where 2 elements of the gather instructions became 2 flows becau… 147 … event counts the number of times where 2 elements of the gather instructions became 1 flow becaus… 150 … event counts the number of times where 2 elements of the gather instructions became 1 flow becaus… 153 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc… 156 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct…
|
/openbmc/phosphor-power/ |
H A D | format_utils.hpp | 32 * Returns a string containing the elements in the specified container span. 34 * The string starts with "[", ends with "]", and the elements are separated by 35 * ", ". The individual elements are formatted using std::format. 40 * @param span span of elements to format within a container 41 * @return formatted string containing the specified elements
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | license.py | 55 """Get elements based on OpenEmbedded license strings""" 58 elements = list([x for x in license_operator.split(licensestr) if x.strip()]) 59 for pos, element in enumerate(elements): 61 if pos > 0 and license_pattern.match(elements[pos-1]): 70 """Syntax tree visitor which can accept elements previously generated with 72 def visit_elements(self, elements): argument 73 self.visit(ast.parse(' '.join(elements))) 223 elements = manifest.get_elements(licensestr) 226 elements = ['[' if e == '(' else e for e in elements] 227 elements = [']' if e == ')' else e for e in elements] [all …]
|
/openbmc/linux/include/linux/ |
H A D | kfifo.h | 108 * @type: type of the fifo elements 115 * @type: type of the fifo elements 116 * @size: the number of elements in the fifo, this must be a power of 2 138 * @type: type of the fifo elements 139 * @size: the number of elements in the fifo, this must be a power of 2 196 * kfifo_size - returns the size of the fifo in elements 230 * kfifo_len - returns the number of used elements in the fifo 291 * kfifo_avail - returns the number of unused elements in the fifo 341 * @size: the number of elements in the fifo, this must be a power of 2 346 * The number of elements will be rounded-up to a power of 2. [all …]
|