| /Linux-v5.15/arch/x86/kvm/ |
| D | ioapic.c | 119 e->fields.dest_id, in __rtc_irq_eoi_tracking_restore_one() 120 kvm_lapic_irq_dest_mode(!!e->fields.dest_mode))) in __rtc_irq_eoi_tracking_restore_one() 123 new_val = kvm_apic_pending_eoi(vcpu, e->fields.vector); in __rtc_irq_eoi_tracking_restore_one() 131 dest_map->vectors[vcpu->vcpu_id] = e->fields.vector; in __rtc_irq_eoi_tracking_restore_one() 193 entry->fields.dest_id, in ioapic_lazy_update_eoi() 194 entry->fields.dest_mode) || in ioapic_lazy_update_eoi() 195 kvm_apic_pending_eoi(vcpu, entry->fields.vector)) in ioapic_lazy_update_eoi() 202 rtc_irq_eoi(ioapic, vcpu, entry->fields.vector); in ioapic_lazy_update_eoi() 216 edge = (entry.fields.trig_mode == IOAPIC_EDGE_TRIG); in ioapic_set_irq() 295 if (e->fields.trig_mode == IOAPIC_LEVEL_TRIG || in kvm_ioapic_scan_entry() [all …]
|
| /Linux-v5.15/kernel/trace/ |
| D | trace_events_synth.c | 109 u64 fields[]; member 115 int offset = offsetof(typeof(trace), fields); in synth_event_define_fields() 123 size = event->fields[i]->size; in synth_event_define_fields() 124 is_signed = event->fields[i]->is_signed; in synth_event_define_fields() 125 type = event->fields[i]->type; in synth_event_define_fields() 126 name = event->fields[i]->name; in synth_event_define_fields() 132 event->fields[i]->offset = n_u64; in synth_event_define_fields() 134 if (event->fields[i]->is_string && !event->fields[i]->is_dynamic) { in synth_event_define_fields() 333 fmt = synth_field_fmt(se->fields[i]->type); in print_synth_event() 342 if (se->fields[i]->is_string) { in print_synth_event() [all …]
|
| D | tracing_map.c | 40 atomic64_add(n, &elt->fields[i].sum); in tracing_map_update_sum() 57 return (u64)atomic64_read(&elt->fields[i].sum); in tracing_map_read_sum() 208 map->fields[map->n_fields++].cmp_fn = cmp_fn; in tracing_map_add_field() 279 map->fields[idx].offset = offset; in tracing_map_add_key_field() 360 if (elt->fields[i].cmp_fn == tracing_map_cmp_atomic64) in tracing_map_elt_clear() 361 atomic64_set(&elt->fields[i].sum, 0); in tracing_map_elt_clear() 379 elt->fields[i].cmp_fn = elt->map->fields[i].cmp_fn; in tracing_map_elt_init_fields() 381 if (elt->fields[i].cmp_fn != tracing_map_cmp_atomic64) in tracing_map_elt_init_fields() 382 elt->fields[i].offset = elt->map->fields[i].offset; in tracing_map_elt_init_fields() 393 kfree(elt->fields); in tracing_map_elt_free() [all …]
|
| /Linux-v5.15/drivers/phy/ti/ |
| 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 …]
|
| D | phy-gmii-sel.c | 38 struct regmap_field *fields[PHY_GMII_SEL_LAST]; member 103 regfield = if_phy->fields[PHY_GMII_SEL_PORT_MODE]; in phy_gmii_sel_mode() 111 if_phy->fields[PHY_GMII_SEL_RGMII_ID_MODE]) { in phy_gmii_sel_mode() 112 regfield = if_phy->fields[PHY_GMII_SEL_RGMII_ID_MODE]; in phy_gmii_sel_mode() 119 if_phy->fields[PHY_GMII_SEL_RMII_IO_CLK_EN]) { in phy_gmii_sel_mode() 120 regfield = if_phy->fields[PHY_GMII_SEL_RMII_IO_CLK_EN]; in phy_gmii_sel_mode() 253 const struct reg_field *fields; in phy_gmii_init_phy() local 261 fields = soc_data->regfields[port - 1]; in phy_gmii_init_phy() 262 field = *fields++; in phy_gmii_init_phy() 270 if_phy->fields[PHY_GMII_SEL_PORT_MODE] = regfield; in phy_gmii_init_phy() [all …]
|
| /Linux-v5.15/tools/lib/traceevent/Documentation/ |
| D | libtraceevent-fields.txt | 6 tep_event_common_fields, tep_event_fields - Get a list of fields for an event. 21 fields for the _event_. The array is allocated in the function and must be freed 25 fields for the _event_. The array is allocated in the function and must be freed 43 struct tep_format_field **fields; 46 fields = tep_event_common_fields(event); 47 if (fields != NULL) { 49 while (fields[i]) { 51 walk through the list of the common fields 56 free(fields); 58 fields = tep_event_fields(event); [all …]
|
| /Linux-v5.15/Documentation/accounting/ |
| 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 …]
|
| /Linux-v5.15/drivers/usb/isp1760/ |
| 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()
|
| /Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/ |
| D | dpaa2-ethtool.c | 321 void *key, void *mask, u64 *fields) in dpaa2_eth_prep_eth_rule() argument 329 *fields |= DPAA2_ETH_DIST_ETHTYPE; in dpaa2_eth_prep_eth_rule() 336 *fields |= DPAA2_ETH_DIST_ETHSRC; in dpaa2_eth_prep_eth_rule() 343 *fields |= DPAA2_ETH_DIST_ETHDST; in dpaa2_eth_prep_eth_rule() 351 void *key, void *mask, u64 *fields) in dpaa2_eth_prep_uip_rule() argument 363 *fields |= DPAA2_ETH_DIST_IPSRC; in dpaa2_eth_prep_uip_rule() 370 *fields |= DPAA2_ETH_DIST_IPDST; in dpaa2_eth_prep_uip_rule() 377 *fields |= DPAA2_ETH_DIST_IPPROTO; in dpaa2_eth_prep_uip_rule() 387 *fields |= DPAA2_ETH_DIST_L4SRC; in dpaa2_eth_prep_uip_rule() 392 *fields |= DPAA2_ETH_DIST_L4DST; in dpaa2_eth_prep_uip_rule() [all …]
|
| /Linux-v5.15/drivers/pci/ |
| D | pci-acpi.c | 175 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record() local 176 u32 revision = fields[1].integer.value; in decode_type0_hpx_record() 183 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type0_hpx_record() 186 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record() 187 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record() 188 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record() 189 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record() 225 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record() local 226 u32 revision = fields[1].integer.value; in decode_type1_hpx_record() 233 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type1_hpx_record() [all …]
|
| /Linux-v5.15/Documentation/userspace-api/media/v4l/ |
| 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 …]
|
| /Linux-v5.15/drivers/hid/ |
| D | hid-sensor-custom.c | 43 struct hid_sensor_custom_field *fields; member 302 attribute = &sensor_inst->fields[field_index].attribute; in show_value() 355 value = sensor_inst->fields[field_index].attribute.units; in show_value() 357 value = sensor_inst->fields[field_index].attribute.unit_expo; in show_value() 359 value = sensor_inst->fields[field_index].attribute.size; in show_value() 361 value = sensor_inst->fields[field_index].attribute. in show_value() 364 value = sensor_inst->fields[field_index].attribute. in show_value() 404 report_id = sensor_inst->fields[field_index].attribute. in store_value() 480 void *fields; in hid_sensor_custom_add_field() local 482 fields = krealloc(sensor_inst->fields, in hid_sensor_custom_add_field() [all …]
|
| /Linux-v5.15/arch/arm64/kernel/ |
| D | idreg-override.c | 29 } fields[]; member 46 .fields = { 55 .fields = { 65 .fields = { 81 .fields = { 115 reg->name, reg->fields[f].name); in find_field() 133 for (f = 0; strlen(regs[i]->fields[f].name); f++) { in match_options() 134 u64 shift = regs[i]->fields[f].shift; in match_options() 146 if (regs[i]->fields[f].filter && in match_options() 147 !regs[i]->fields[f].filter(v)) { in match_options()
|
| /Linux-v5.15/drivers/mux/ |
| 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()
|
| /Linux-v5.15/drivers/scsi/ |
| D | aha152x.h | 272 } fields; member 276 #define cf_parity fields.parity 277 #define cf_dmachan fields.dmachan 278 #define cf_irq fields.irq 279 #define cf_id fields.id 280 #define cf_dma fields.dma 281 #define cf_boot fields.boot 282 #define cf_msgclasses fields.msgclasses 283 #define cf_syncneg fields.syncneg 284 #define cf_tardisc fields.tardisc
|
| /Linux-v5.15/Documentation/trace/ |
| D | histogram-design.rst | 74 keeps an array of these fields named fields[]. The fields[] array is 93 fields[] array is the tracing_map instance created for the histogram, 103 associated key and value fields for the histogram described above. As 104 you can see, there are two fields in the fields array, one val field 109 relationships between the hist_data fields and the tracing_map 115 | .fields[] |---->| val = hitcount |----------------------------+ 145 The hist_data n_vals and n_fields delineate the extent of the fields[] | | 149 histogram, with pointers from various parts of the fields[] array | | 162 for each key or value in the map_elt.fields[] array. There is an | | 163 entry in the map_elt.fields[] array corresponding to each hist_field | | [all …]
|
| /Linux-v5.15/arch/x86/kvm/vmx/ |
| D | nested.h | 87 static inline unsigned long nested_read_cr0(struct vmcs12 *fields) in nested_read_cr0() argument 89 return (fields->guest_cr0 & ~fields->cr0_guest_host_mask) | in nested_read_cr0() 90 (fields->cr0_read_shadow & fields->cr0_guest_host_mask); in nested_read_cr0() 92 static inline unsigned long nested_read_cr4(struct vmcs12 *fields) in nested_read_cr4() argument 94 return (fields->guest_cr4 & ~fields->cr4_guest_host_mask) | in nested_read_cr4() 95 (fields->cr4_read_shadow & fields->cr4_guest_host_mask); in nested_read_cr4()
|
| /Linux-v5.15/arch/mips/mm/ |
| D | uasm-micromips.c | 164 (insn_table_MM[opc].match == 0 && insn_table_MM[opc].fields == 0)) in build_insn() 171 if (ip->fields & RS) { in build_insn() 178 if (ip->fields & RT) { in build_insn() 185 if (ip->fields & RD) in build_insn() 187 if (ip->fields & RE) in build_insn() 189 if (ip->fields & SIMM) in build_insn() 191 if (ip->fields & UIMM) in build_insn() 193 if (ip->fields & BIMM) in build_insn() 195 if (ip->fields & JIMM) in build_insn() 197 if (ip->fields & FUNC) in build_insn() [all …]
|
| /Linux-v5.15/kernel/ |
| D | auditfilter.c | 89 if (erule->fields) in audit_free_rule() 91 audit_free_lsm_field(&erule->fields[i]); in audit_free_rule() 92 kfree(erule->fields); in audit_free_rule() 107 struct audit_field *fields; in audit_init_entry() local 113 fields = kcalloc(field_count, sizeof(*fields), GFP_KERNEL); in audit_init_entry() 114 if (unlikely(!fields)) { in audit_init_entry() 118 entry->rule.fields = fields; in audit_init_entry() 458 struct audit_field *f = &entry->rule.fields[i]; in audit_data_to_entry() 467 f->type = data->fields[i]; in audit_data_to_entry() 642 struct audit_field *f = &krule->fields[i]; in audit_krule_to_data() [all …]
|
| /Linux-v5.15/drivers/media/rc/ |
| D | mtk-cir.c | 108 const struct mtk_field_type *fields; member 270 .fields = mt7623_fields, 278 .fields = mt7622_fields, 387 val = (mtk_chk_period(ir) << ir->data->fields[MTK_CHK_PERIOD].offset) & in mtk_ir_probe() 388 ir->data->fields[MTK_CHK_PERIOD].mask; in mtk_ir_probe() 389 mtk_w32_mask(ir, val, ir->data->fields[MTK_CHK_PERIOD].mask, in mtk_ir_probe() 390 ir->data->fields[MTK_CHK_PERIOD].reg); in mtk_ir_probe() 396 val = (ir->data->hw_period << ir->data->fields[MTK_HW_PERIOD].offset) & in mtk_ir_probe() 397 ir->data->fields[MTK_HW_PERIOD].mask; in mtk_ir_probe() 398 mtk_w32_mask(ir, val, ir->data->fields[MTK_HW_PERIOD].mask, in mtk_ir_probe() [all …]
|
| /Linux-v5.15/arch/x86/pci/ |
| D | pcbios.c | 71 } fields; member 305 if (get_kernel_nofault(sig, &check->fields.signature)) in pci_find_bios() 308 if (check->fields.signature != BIOS32_SIGNATURE) in pci_find_bios() 310 length = check->fields.length * 16; in pci_find_bios() 318 if (check->fields.revision != 0) { in pci_find_bios() 320 check->fields.revision, check); in pci_find_bios() 324 if (check->fields.entry >= 0x100000) { in pci_find_bios() 329 unsigned long bios32_entry = check->fields.entry; in pci_find_bios()
|
| /Linux-v5.15/security/integrity/ima/ |
| D | ima_template.c | 92 if (!strcmp(ima_template->fields[i]->field_id, "modsig") || in ima_template_has_modsig() 93 !strcmp(ima_template->fields[i]->field_id, "d-modsig")) in ima_template_has_modsig() 201 const struct ima_template_field ***fields, in template_desc_init_fields() argument 239 if (fields && num_fields) { in template_desc_init_fields() 240 *fields = kmalloc_array(i, sizeof(*fields), GFP_KERNEL); in template_desc_init_fields() 241 if (*fields == NULL) in template_desc_init_fields() 244 memcpy(*fields, found_fields, i * sizeof(*fields)); in template_desc_init_fields() 291 &(template->fields), in ima_init_template() 307 &(template->fields), in ima_init_template() 490 &(template_desc->fields), in ima_restore_measurement_list()
|
| /Linux-v5.15/drivers/pnp/pnpbios/ |
| D | core.c | 439 if (check->fields.signature != PNP_SIGNATURE) in pnpbios_probe_system() 444 length = check->fields.length; in pnpbios_probe_system() 457 if (check->fields.version < 0x10) { in pnpbios_probe_system() 460 check->fields.version >> 4, in pnpbios_probe_system() 461 check->fields.version & 15); in pnpbios_probe_system() 466 check->fields.version >> 4, check->fields.version & 15, in pnpbios_probe_system() 467 check->fields.pm16cseg, check->fields.pm16offset, in pnpbios_probe_system() 468 check->fields.pm16dseg); in pnpbios_probe_system()
|
| /Linux-v5.15/arch/mips/boot/tools/ |
| D | relocs_64.c | 20 } fields; member 25 #define ELF_R_SYM(val) (((Elf64_Mips_Rela *)(&val))->fields.r_sym) 26 #define ELF_R_TYPE(val) (((Elf64_Mips_Rela *)(&val))->fields.r_type)
|
| /Linux-v5.15/tools/kvm/kvm_stat/ |
| D | kvm_stat | 573 fields = self.walkdir(path)[1] 575 for field in fields: 580 fields += extra 581 return fields 585 self.fields = [field for field in self._get_available_fields() 591 self.fields.append(parent) 619 fields = self._get_available_fields() 630 newlim = len(groupids) * len(fields) + 50 646 for name in fields: 675 def fields(self): member in TracepointProvider [all …]
|