/openbmc/qemu/target/i386/whpx/ |
H A D | whpx-apic.c | 27 } fields[256]; member 36 kapic->fields[0x2].data = s->id << 24; in whpx_put_apic_state() 37 kapic->fields[0x3].data = s->version | ((APIC_LVT_NB - 1) << 16); in whpx_put_apic_state() 38 kapic->fields[0x8].data = s->tpr; in whpx_put_apic_state() 39 kapic->fields[0xd].data = s->log_dest << 24; in whpx_put_apic_state() 40 kapic->fields[0xe].data = s->dest_mode << 28 | 0x0fffffff; in whpx_put_apic_state() 41 kapic->fields[0xf].data = s->spurious_vec; in whpx_put_apic_state() 43 kapic->fields[0x10 + i].data = s->isr[i]; in whpx_put_apic_state() 44 kapic->fields[0x18 + i].data = s->tmr[i]; in whpx_put_apic_state() 45 kapic->fields[0x20 + i].data = s->irr[i]; in whpx_put_apic_state() [all …]
|
/openbmc/linux/arch/x86/kvm/ |
H A D | ioapic.c | 118 e->fields.dest_id, in __rtc_irq_eoi_tracking_restore_one() 119 kvm_lapic_irq_dest_mode(!!e->fields.dest_mode))) in __rtc_irq_eoi_tracking_restore_one() 122 new_val = kvm_apic_pending_eoi(vcpu, e->fields.vector); in __rtc_irq_eoi_tracking_restore_one() 130 dest_map->vectors[vcpu->vcpu_id] = e->fields.vector; in __rtc_irq_eoi_tracking_restore_one() 192 entry->fields.dest_id, in ioapic_lazy_update_eoi() 193 entry->fields.dest_mode) || in ioapic_lazy_update_eoi() 194 kvm_apic_pending_eoi(vcpu, entry->fields.vector)) in ioapic_lazy_update_eoi() 201 rtc_irq_eoi(ioapic, vcpu, entry->fields.vector); in ioapic_lazy_update_eoi() 215 edge = (entry.fields.trig_mode == IOAPIC_EDGE_TRIG); in ioapic_set_irq() 294 if (e->fields.trig_mode == IOAPIC_LEVEL_TRIG || in kvm_ioapic_scan_entry() [all …]
|
/openbmc/u-boot/common/eeprom/ |
H A D | eeprom_layout.c | 40 layout->fields = layout_unknown; in __eeprom_layout_assign() 53 struct eeprom_field *fields = layout->fields; in eeprom_layout_print() local 56 fields[i].print(&fields[i]); in eeprom_layout_print() 71 struct eeprom_field *fields = layout->fields; in eeprom_layout_update_field() local 80 if (fields[i].name == RESERVED_FIELDS || in eeprom_layout_update_field() 81 strcmp(fields[i].name, field_name)) in eeprom_layout_update_field() 84 err = fields[i].update(&fields[i], new_data); in eeprom_layout_update_field() 117 layout->fields[i].buf = buf; in eeprom_layout_setup() 118 buf += layout->fields[i].size; in eeprom_layout_setup()
|
/openbmc/linux/kernel/trace/ |
H A D | trace_events_synth.c | 130 union trace_synth_field fields[]; member 136 int offset = offsetof(typeof(trace), fields); in synth_event_define_fields() 144 size = event->fields[i]->size; in synth_event_define_fields() 145 is_signed = event->fields[i]->is_signed; in synth_event_define_fields() 146 type = event->fields[i]->type; in synth_event_define_fields() 147 name = event->fields[i]->name; in synth_event_define_fields() 153 event->fields[i]->offset = n_u64; in synth_event_define_fields() 155 if (event->fields[i]->is_string && !event->fields[i]->is_dynamic) { in synth_event_define_fields() 366 fmt = synth_field_fmt(se->fields[i]->type); in print_synth_event() 375 if (se->fields[i]->is_string) { in print_synth_event() [all …]
|
/openbmc/linux/rust/kernel/init/ |
H A D | macros.rs | 541 @body({ $($fields:tt)* }), 567 @fields_munch($($fields)* ,), 573 @fields(), 593 @fields($($fields:tt)*), 614 @fields($($fields)* $($accum)* $field: ::core::marker::PhantomPinned,), 631 @fields($($fields:tt)*), 647 @fields($($fields)* $($accum)* $field: $type,), 664 @fields($($fields:tt)*), 680 @fields($($fields)* $($accum)* $field: $type,), 697 @fields($($fields:tt)*), [all …]
|
/openbmc/qemu/util/ |
H A D | selfmap.c | 28 gchar **fields = g_strsplit(lines[i], " ", 6); in read_self_maps() local 29 guint nfields = g_strv_length(fields); in read_self_maps() 37 errors |= qemu_strtou64(fields[0], &p, 16, &start); in read_self_maps() 39 errors |= qemu_strtou64(fields[2], NULL, 16, &offset); in read_self_maps() 40 errors |= qemu_strtoui(fields[3], &p, 16, &dev_maj); in read_self_maps() 42 errors |= qemu_strtou64(fields[4], NULL, 10, &inode); in read_self_maps() 49 p = fields[5]; in read_self_maps() 65 e->is_read = fields[1][0] == 'r'; in read_self_maps() 66 e->is_write = fields[1][1] == 'w'; in read_self_maps() 67 e->is_exec = fields[1][2] == 'x'; in read_self_maps() [all …]
|
/openbmc/linux/drivers/phy/ti/ |
H A D | phy-am654-serdes.c | 235 struct regmap_field *fields[MAX_FIELDS]; member 251 ret = regmap_field_write(phy->fields[PLL_ENABLE], PLL_ENABLE_STATE); in serdes_am654_enable_pll() 255 return regmap_field_read_poll_timeout(phy->fields[PLL_OK], val, val, in serdes_am654_enable_pll() 264 ret = regmap_field_write(phy->fields[PLL_ENABLE], PLL_DISABLE_STATE); in serdes_am654_disable_pll() 274 ret |= regmap_field_write(phy->fields[TX0_ENABLE], TX0_ENABLE_STATE); in serdes_am654_enable_txrx() 277 ret |= regmap_field_write(phy->fields[RX0_ENABLE], RX0_ENABLE_STATE); in serdes_am654_enable_txrx() 290 ret |= regmap_field_write(phy->fields[TX0_ENABLE], TX0_DISABLE_STATE); in serdes_am654_disable_txrx() 293 ret |= regmap_field_write(phy->fields[RX0_ENABLE], RX0_DISABLE_STATE); in serdes_am654_disable_txrx() 320 return regmap_field_read_poll_timeout(phy->fields[CMU_OK_I_0], val, in serdes_am654_power_on() 421 ret |= regmap_field_write(phy->fields[CMU_PLL_CTRL], 0x2); in serdes_am654_pcie_init() [all …]
|
/openbmc/linux/Documentation/accounting/ |
H A D | taskstats-struct.rst | 5 This document contains an explanation of the struct taskstats fields. 7 There are three different groups of fields in the struct taskstats: 9 1) Common and basic accounting fields 11 the common fields and basic accounting fields are collected for 13 2) Delay accounting fields 14 These fields are placed between:: 16 /* Delay accounting fields start */ 20 /* Delay accounting fields end */ 23 3) Extended accounting fields 24 These fields are placed between:: [all …]
|
/openbmc/u-boot/tools/binman/ |
H A D | fmap_util.py | 55 def ConvertName(field_names, fields): argument 68 fields[name_index] = NameToFmap(fields[name_index]) 81 fields = list(struct.unpack(FMAP_HEADER_FORMAT, data[:FMAP_HEADER_LEN])) 82 ConvertName(FMAP_HEADER_NAMES, fields) 83 header = FmapHeader(*fields) 87 fields = list(struct.unpack(FMAP_AREA_FORMAT, data[:FMAP_AREA_LEN])) 88 ConvertName(FMAP_AREA_NAMES, fields) 89 areas.append(FmapArea(*fields))
|
/openbmc/qemu/docs/devel/migration/ |
H A D | virtio.rst | 15 - virtio core, for common fields like features, number of queues, ... 23 - most fields are saved via the stream interface; subsequently, subsections 44 device fields 46 fields 48 fields 51 virtqueue fields 54 fields 63 fields, if VERSION_1 81 device fields 83 fields [all …]
|
/openbmc/linux/drivers/usb/isp1760/ |
H A D | isp1760-core.h | 59 static inline u32 isp1760_field_read(struct regmap_field **fields, u32 field) in isp1760_field_read() argument 63 regmap_field_read(fields[field], &val); in isp1760_field_read() 68 static inline void isp1760_field_write(struct regmap_field **fields, u32 field, in isp1760_field_write() argument 71 regmap_field_write(fields[field], val); in isp1760_field_write() 74 static inline void isp1760_field_set(struct regmap_field **fields, u32 field) in isp1760_field_set() argument 76 isp1760_field_write(fields, field, 0xFFFFFFFF); in isp1760_field_set() 79 static inline void isp1760_field_clear(struct regmap_field **fields, u32 field) in isp1760_field_clear() argument 81 isp1760_field_write(fields, field, 0); in isp1760_field_clear()
|
/openbmc/linux/drivers/pci/ |
H A D | pci-acpi.c | 176 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record() local 177 u32 revision = fields[1].integer.value; in decode_type0_hpx_record() 184 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type0_hpx_record() 187 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record() 188 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record() 189 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record() 190 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record() 226 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record() local 227 u32 revision = fields[1].integer.value; in decode_type1_hpx_record() 234 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type1_hpx_record() [all …]
|
/openbmc/qemu/target/i386/ |
H A D | machine.c | 21 .fields = (const VMStateField[]) { 46 .fields = (const VMStateField[]) { 62 .fields = (const VMStateField[]) { 77 .fields = (const VMStateField[]) { 95 .fields = (const VMStateField[]) { 117 .fields = (const VMStateField[]) { 131 .fields = (const VMStateField[]) { 145 .fields = (const VMStateField[]) { 204 .fields = (const VMStateField[]) { 213 .fields = (const VMStateField[]) { [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | field-order.rst | 11 Interlaced video divides an image into two fields, containing only the 14 fields a cathode ray TV displays the lines interleaved, yielding the 17 fields reduces the flicker without the necessity of doubling the frame 21 at a time, merely transmitting the frames separated into fields. The 22 fields are in fact captured at two different instances in time. An 28 interleaved, it is also important applications understand how the fields 30 even) fields, the *spatial order*: The first line of the top field is 34 However because fields were captured one after the other, arguing 36 two successive top and bottom, or bottom and top fields yield a valid 38 transferring film to video, two fields may come from the same frame, [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/migrations/ |
H A D | 0001_initial.py | 15 fields=[ 25 fields=[ 38 fields=[ 53 fields=[ 62 fields=[ 72 fields=[ 88 fields=[ 103 fields=[ 112 fields=[ 122 fields=[ [all …]
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | idreg-override.c | 32 } fields[]; member 52 .fields = { 76 .fields = { 100 .fields = { 111 .fields = { 123 .fields = { 134 .fields = { 155 .fields = { 204 reg->name, reg->fields[f].name); in find_field() 222 for (f = 0; strlen(regs[i]->fields[f].name); f++) { in match_options() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-ethtool.c | 353 void *key, void *mask, u64 *fields) in dpaa2_eth_prep_eth_rule() argument 361 *fields |= DPAA2_ETH_DIST_ETHTYPE; in dpaa2_eth_prep_eth_rule() 368 *fields |= DPAA2_ETH_DIST_ETHSRC; in dpaa2_eth_prep_eth_rule() 375 *fields |= DPAA2_ETH_DIST_ETHDST; in dpaa2_eth_prep_eth_rule() 383 void *key, void *mask, u64 *fields) in dpaa2_eth_prep_uip_rule() argument 395 *fields |= DPAA2_ETH_DIST_IPSRC; in dpaa2_eth_prep_uip_rule() 402 *fields |= DPAA2_ETH_DIST_IPDST; in dpaa2_eth_prep_uip_rule() 409 *fields |= DPAA2_ETH_DIST_IPPROTO; in dpaa2_eth_prep_uip_rule() 419 *fields |= DPAA2_ETH_DIST_L4SRC; in dpaa2_eth_prep_uip_rule() 424 *fields |= DPAA2_ETH_DIST_L4DST; in dpaa2_eth_prep_uip_rule() [all …]
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | registries.cpp | 39 std::vector<std::string> fields; in getMessage() local 40 fields.reserve(4); in getMessage() 41 bmcweb::split(fields, messageID, '.'); in getMessage() 42 if (fields.size() != 4) in getMessage() 47 const std::string& registryName = fields[0]; in getMessage() 48 const std::string& messageKey = fields[3]; in getMessage()
|
/openbmc/linux/rust/kernel/ |
H A D | init.rs | 558 $($fields:tt)* 563 @fields($($fields)*), 568 @munch_fields($($fields)*), 615 $($fields:tt)* 620 @fields($($fields)*), 625 @munch_fields($($fields)*), 629 $($fields:tt)* 634 @fields($($fields)*), 639 @munch_fields($($fields)*), 664 $($fields:tt)* [all …]
|
/openbmc/bmcweb/http/ |
H A D | http_response.hpp | 41 using fields_type = http::header<false, http::fields>; 42 fields_type& fields() in fields() function 47 const fields_type& fields() const in fields() function 54 fields().insert(key, value); in addHeader() 59 fields().insert(key, value); in addHeader() 64 fields().erase(key); in clearHeader() 117 fields().result(v); in result() 122 fields().result(v); in result() 132 return fields().result(); in result() 137 return fields().result_int(); in resultInt() [all …]
|
/openbmc/u-boot/tools/buildman/ |
H A D | board.py | 127 fields = line.split() 128 if not fields: 130 for upto in range(len(fields)): 131 if fields[upto] == '-': 132 fields[upto] = '' 133 while len(fields) < 8: 134 fields.append('') 135 if len(fields) > 8: 136 fields = fields[:8] 138 board = Board(*fields)
|
/openbmc/u-boot/board/xilinx/zynq/ |
H A D | bootimg.c | 23 u32 fields[16]; member 34 if (head->fields[ZYNQ_PART_HDR_CHKSUM_WORD_COUNT] != 0xFFFFFFFF) in zynq_islastpartition() 38 if (head->fields[index] != 0x0) in zynq_islastpartition() 98 if (hap->fields[index]) in zynq_validate_hdr() 106 checksum += hap->fields[index]; in zynq_validate_hdr() 110 if (hap->fields[ZYNQ_PART_HDR_CHKSUM_WORD_COUNT] != checksum) { in zynq_validate_hdr() 112 checksum, hap->fields[ZYNQ_PART_HDR_CHKSUM_WORD_COUNT]); in zynq_validate_hdr()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-sensor-custom.c | 44 struct hid_sensor_custom_field *fields; member 303 attribute = &sensor_inst->fields[field_index].attribute; in show_value() 356 value = sensor_inst->fields[field_index].attribute.units; in show_value() 358 value = sensor_inst->fields[field_index].attribute.unit_expo; in show_value() 360 value = sensor_inst->fields[field_index].attribute.size; in show_value() 362 value = sensor_inst->fields[field_index].attribute. in show_value() 365 value = sensor_inst->fields[field_index].attribute. in show_value() 405 report_id = sensor_inst->fields[field_index].attribute. in store_value() 481 void *fields; in hid_sensor_custom_add_field() local 483 fields = krealloc(sensor_inst->fields, in hid_sensor_custom_add_field() [all …]
|
/openbmc/linux/drivers/mux/ |
H A D | mmio.c | 20 struct regmap_field **fields = mux_chip_priv(mux->chip); in mux_mmio_set() local 22 return regmap_field_write(fields[mux_control_get_index(mux)], state); in mux_mmio_set() 40 struct regmap_field **fields; in mux_mmio_probe() local 68 sizeof(*fields)); in mux_mmio_probe() 72 fields = mux_chip_priv(mux_chip); in mux_mmio_probe() 102 fields[i] = devm_regmap_field_alloc(dev, regmap, field); in mux_mmio_probe() 103 if (IS_ERR(fields[i])) { in mux_mmio_probe() 104 ret = PTR_ERR(fields[i]); in mux_mmio_probe()
|
/openbmc/openbmc-tools/sensor_yaml_config/ |
H A D | sensor_yaml_config.py | 140 fields = line.strip().split("|") 141 fields = list(map(str.strip, fields)) 143 fields[0], 144 int(fields[2], 16) if fields[2] else None, 145 int(fields[3], 16) if fields[3] else None, 146 int(fields[4], 16) if fields[4] else None, 147 int(fields[5], 16) if fields[5] else None, 148 int(fields[7], 16) if fields[7] else None, 149 fields[9],
|