/linux/arch/x86/kvm/ |
A D | ioapic.c | 119 e->fields.dest_id, in __rtc_irq_eoi_tracking_restore_one() 193 entry->fields.dest_id, in ioapic_lazy_update_eoi() 301 e->fields.dest_id, dm) || in kvm_ioapic_scan_entry() 303 __set_bit(e->fields.vector, in kvm_ioapic_scan_entry() 344 mask_before = e->fields.mask; in ioapic_write_indirect() 367 e->fields.remote_irr = 0; in ioapic_write_indirect() 369 mask_after = e->fields.mask; in ioapic_write_indirect() 400 !!e->fields.dest_mode); in ioapic_write_indirect() 419 if (entry->fields.mask || in ioapic_service() 421 entry->fields.remote_irr)) in ioapic_service() [all …]
|
/linux/kernel/trace/ |
A D | trace_events_synth.c | 109 u64 fields[]; member 134 if (event->fields[i]->is_string && !event->fields[i]->is_dynamic) { in synth_event_define_fields() 843 kfree(event->fields); in free_synth_event() 871 event->fields = kcalloc(n_fields, sizeof(*event->fields), GFP_KERNEL); in alloc_synth_event() 872 if (!event->fields) { in alloc_synth_event() 897 event->fields[i] = fields[i]; in alloc_synth_event() 1031 if (fields[i].type == NULL || fields[i].name == NULL) { in synth_event_add_fields() 1036 ret = synth_event_add_field(cmd, fields[i].type, fields[i].name); in synth_event_add_fields() 1167 if (fields[i].type == NULL || fields[i].name == NULL) in synth_event_gen_cmd_array_start() 1170 ret = synth_event_add_field(cmd, fields[i].type, fields[i].name); in synth_event_gen_cmd_array_start() [all …]
|
A D | tracing_map.c | 41 atomic64_add(n, &elt->fields[i].sum); in tracing_map_update_sum() 58 return (u64)atomic64_read(&elt->fields[i].sum); in tracing_map_read_sum() 209 map->fields[map->n_fields++].cmp_fn = cmp_fn; in tracing_map_add_field() 280 map->fields[idx].offset = offset; in tracing_map_add_key_field() 364 atomic64_set(&elt->fields[i].sum, 0); in tracing_map_elt_clear() 382 elt->fields[i].cmp_fn = elt->map->fields[i].cmp_fn; in tracing_map_elt_init_fields() 385 elt->fields[i].offset = elt->map->fields[i].offset; in tracing_map_elt_init_fields() 396 kfree(elt->fields); in tracing_map_elt_free() 420 elt->fields = kcalloc(map->n_fields, sizeof(*elt->fields), GFP_KERNEL); in tracing_map_elt_alloc() 421 if (!elt->fields) { in tracing_map_elt_alloc() [all …]
|
/linux/drivers/phy/ti/ |
A D | phy-am654-serdes.c | 235 struct regmap_field *fields[MAX_FIELDS]; member 421 ret |= regmap_field_write(phy->fields[CMU_PLL_CTRL], 0x2); in serdes_am654_pcie_init() 424 ret |= regmap_field_write(phy->fields[AHB_PMA_CM_SR], 0x45); in serdes_am654_pcie_init() 439 ret |= regmap_field_write(phy->fields[COMRXEQ_CTRL_3_4], 0xf); in serdes_am654_pcie_init() 445 ret |= regmap_field_write(phy->fields[CMU_MASTER_CDN], 0x1); in serdes_am654_pcie_init() 446 ret |= regmap_field_write(phy->fields[L1_MASTER_CDN], 0x2); in serdes_am654_pcie_init() 476 ret |= regmap_field_write(phy->fields[POR_EN], 0x1); in serdes_am654_reset() 480 ret |= regmap_field_write(phy->fields[POR_EN], 0x0); in serdes_am654_reset() 740 am654_phy->fields[i] = devm_regmap_field_alloc(dev, in serdes_am654_regfield_init() 743 if (IS_ERR(am654_phy->fields[i])) { in serdes_am654_regfield_init() [all …]
|
A 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() 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() 272 field = *fields++; in phy_gmii_init_phy() [all …]
|
/linux/Documentation/accounting/ |
A D | taskstats-struct.rst | 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 97 2) Delay accounting fields:: 99 /* Delay accounting fields start 103 * few fields are not delays [all …]
|
/linux/tools/lib/traceevent/Documentation/ |
A D | libtraceevent-fields.txt | 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); 59 if (fields != NULL) { 61 while (fields[i]) { 64 fields of the kvm_exit event [all …]
|
/linux/drivers/pci/ |
A D | pci-acpi.c | 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() 226 u32 revision = fields[1].integer.value; in decode_type1_hpx_record() 375 u32 revision = fields[1].integer.value; in decode_type2_hpx_record() 596 revision = fields[1].integer.value; in program_type3_hpx_record() 599 desc_count = fields[2].integer.value; in program_type3_hpx_record() 610 reg_fields = fields + 3 + i * 14; in program_type3_hpx_record() 653 fields = record->package.elements; in acpi_run_hpx() 660 type = fields[0].integer.value; in acpi_run_hpx() 704 union acpi_object *package, *fields; in acpi_run_hpp() local [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-ethtool.c | 363 *fields |= DPAA2_ETH_DIST_IPSRC; in dpaa2_eth_prep_uip_rule() 370 *fields |= DPAA2_ETH_DIST_IPDST; 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() 468 *fields |= DPAA2_ETH_DIST_VLAN; in dpaa2_eth_prep_ext_rule() 491 void *mask, u64 *fields) in dpaa2_eth_prep_cls_rule() argument 498 key, mask, fields); in dpaa2_eth_prep_cls_rule() 515 IPPROTO_SCTP, fields); in dpaa2_eth_prep_cls_rule() 532 mask, fields); in dpaa2_eth_prep_cls_rule() 549 u64 fields = 0; in dpaa2_eth_do_cls_rule() local [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
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 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 34 However because fields were captured one after the other, arguing 44 and spatial order of fields. The diagrams below should make this 102 order of the fields (whether the top or bottom field is older) 111 memory. Image sizes refer to the frame, not fields. 117 memory. Image sizes refer to the frame, not fields. 126 fields pair to build a frame. If fields are successive, without [all …]
|
/linux/drivers/usb/isp1760/ |
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()
|
A D | isp1760-core.c | 46 isp1760_field_set(hcd->fields, SW_RESET_RESET_ALL); in isp1760_init_core() 58 isp1760_field_set(hcd->fields, HW_DATA_BUS_WIDTH); in isp1760_init_core() 60 isp1760_field_set(hcd->fields, HW_ANA_DIGI_OC); in isp1760_init_core() 62 isp1760_field_set(hcd->fields, HW_DACK_POL_HIGH); in isp1760_init_core() 64 isp1760_field_set(hcd->fields, HW_DREQ_POL_HIGH); in isp1760_init_core() 66 isp1760_field_set(hcd->fields, HW_INTR_HIGH_ACT); in isp1760_init_core() 68 isp1760_field_set(hcd->fields, HW_INTR_EDGE_TRIG); in isp1760_init_core() 78 isp1760_field_set(hcd->fields, HW_COMN_IRQ); in isp1760_init_core() 115 isp1760_field_set(udc->fields, HW_DP_PULLUP); in isp1760_set_pullup() 545 hcd->fields[i] = f; in isp1760_register() [all …]
|
/linux/drivers/hid/ |
A D | hid-sensor-custom.c | 43 struct hid_sensor_custom_field *fields; member 480 void *fields; in hid_sensor_custom_add_field() local 482 fields = krealloc(sensor_inst->fields, in hid_sensor_custom_add_field() 485 if (!fields) { in hid_sensor_custom_add_field() 486 kfree(sensor_inst->fields); in hid_sensor_custom_add_field() 489 sensor_inst->fields = fields; in hid_sensor_custom_add_field() 591 sensor_inst->fields[i].group_name, in hid_sensor_custom_add_attributes() 605 sensor_inst->fields[i].attrs; in hid_sensor_custom_add_attributes() 609 &sensor_inst->fields[i]. in hid_sensor_custom_add_attributes() 633 &sensor_inst->fields[i]. in hid_sensor_custom_remove_attributes() [all …]
|
/linux/arch/arm64/kernel/ |
A 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/Documentation/trace/ |
A D | histogram-design.rst | 74 keeps an array of these fields named fields[]. The fields[] array is 307 val fields: 332 key fields: 752 val fields: 770 key fields: 809 val fields: 827 key fields: 1133 val fields: 1151 key fields: 1197 val fields: [all …]
|
/linux/drivers/mux/ |
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()
|
/linux/drivers/scsi/ |
A 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/arch/x86/kvm/vmx/ |
A 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/kernel/ |
A D | auditfilter.c | 91 if (erule->fields) in audit_free_rule() 94 kfree(erule->fields); in audit_free_rule() 115 fields = kcalloc(field_count, sizeof(*fields), GFP_KERNEL); in audit_init_entry() 120 entry->rule.fields = fields; in audit_init_entry() 716 if (a->fields[i].type != b->fields[i].type || in audit_compare_rule() 717 a->fields[i].op != b->fields[i].op) in audit_compare_rule() 731 if (strcmp(a->fields[i].lsm_str, b->fields[i].lsm_str)) in audit_compare_rule() 761 if (!uid_eq(a->fields[i].uid, b->fields[i].uid)) in audit_compare_rule() 769 if (!gid_eq(a->fields[i].gid, b->fields[i].gid)) in audit_compare_rule() 773 if (a->fields[i].val != b->fields[i].val) in audit_compare_rule() [all …]
|
/linux/arch/mips/mm/ |
A D | uasm-micromips.c | 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() 199 if (ip->fields & SET) in build_insn() [all …]
|
/linux/drivers/media/rc/ |
A D | mtk-cir.c | 108 const struct mtk_field_type *fields; member 270 .fields = mt7623_fields, 278 .fields = mt7622_fields, 385 val = (mtk_chk_period(ir) << ir->data->fields[MTK_CHK_PERIOD].offset) & in mtk_ir_probe() 386 ir->data->fields[MTK_CHK_PERIOD].mask; in mtk_ir_probe() 387 mtk_w32_mask(ir, val, ir->data->fields[MTK_CHK_PERIOD].mask, in mtk_ir_probe() 388 ir->data->fields[MTK_CHK_PERIOD].reg); in mtk_ir_probe() 394 val = (ir->data->hw_period << ir->data->fields[MTK_HW_PERIOD].offset) & in mtk_ir_probe() 395 ir->data->fields[MTK_HW_PERIOD].mask; in mtk_ir_probe() 396 mtk_w32_mask(ir, val, ir->data->fields[MTK_HW_PERIOD].mask, in mtk_ir_probe() [all …]
|
/linux/security/integrity/ima/ |
A 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/arch/x86/pci/ |
A 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/drivers/pnp/pnpbios/ |
A 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/tools/kvm/kvm_stat/ |
A D | kvm_stat | 575 for field in fields: 580 fields += extra 581 return fields 675 def fields(self): member in TracepointProvider 678 @fields.setter 679 def fields(self, fields): member in TracepointProvider 681 self._fields = fields 749 return fields 762 def fields(self): member in DebugfsProvider 765 @fields.setter [all …]
|