| /linux/include/linux/ |
| H A D | packing.h | 41 #define CHECK_PACKED_FIELD_OVERLAP(fields, index1, index2) ({ \ argument 42 typeof(&(fields)[0]) __f = (fields); \ 46 __stringify(fields) " field " __stringify(index2) \ 49 __stringify(fields) " field " __stringify(index2) \ 53 __stringify(fields) " field " __stringify(index2) \ 57 #define CHECK_PACKED_FIELD(fields, index) ({ \ argument 58 typeof(&(fields)[0]) _f = (fields); \ 61 __stringify(fields) " field " __stringify(index) \ 65 __stringify(fields) " field " __stringify(index) \ 68 __stringify(fields) " field " __stringify(index) \ [all …]
|
| /linux/arch/x86/kvm/ |
| H A D | ioapic.c | 100 e->fields.dest_id, in __rtc_irq_eoi_tracking_restore_one() 101 kvm_lapic_irq_dest_mode(!!e->fields.dest_mode))) in __rtc_irq_eoi_tracking_restore_one() 104 new_val = kvm_apic_pending_eoi(vcpu, e->fields.vector); in __rtc_irq_eoi_tracking_restore_one() 112 status->vectors[vcpu->vcpu_id] = e->fields.vector; in __rtc_irq_eoi_tracking_restore_one() 173 entry->fields.dest_id, in ioapic_lazy_update_eoi() 174 entry->fields.dest_mode) || in ioapic_lazy_update_eoi() 175 kvm_apic_pending_eoi(vcpu, entry->fields.vector)) in ioapic_lazy_update_eoi() 182 rtc_irq_eoi(ioapic, vcpu, entry->fields.vector); in ioapic_lazy_update_eoi() 196 edge = (entry.fields.trig_mode == IOAPIC_EDGE_TRIG); in ioapic_set_irq() 275 if (e->fields.trig_mode == IOAPIC_LEVEL_TRIG || in kvm_ioapic_scan_entry() [all …]
|
| /linux/drivers/phy/ti/ |
| H A D | phy-am654-serdes.c | 234 struct regmap_field *fields[MAX_FIELDS]; member 250 ret = regmap_field_write(phy->fields[PLL_ENABLE], PLL_ENABLE_STATE); in serdes_am654_enable_pll() 254 return regmap_field_read_poll_timeout(phy->fields[PLL_OK], val, val, in serdes_am654_enable_pll() 263 ret = regmap_field_write(phy->fields[PLL_ENABLE], PLL_DISABLE_STATE); in serdes_am654_disable_pll() 273 ret |= regmap_field_write(phy->fields[TX0_ENABLE], TX0_ENABLE_STATE); in serdes_am654_enable_txrx() 276 ret |= regmap_field_write(phy->fields[RX0_ENABLE], RX0_ENABLE_STATE); in serdes_am654_enable_txrx() 289 ret |= regmap_field_write(phy->fields[TX0_ENABLE], TX0_DISABLE_STATE); in serdes_am654_disable_txrx() 292 ret |= regmap_field_write(phy->fields[RX0_ENABLE], RX0_DISABLE_STATE); in serdes_am654_disable_txrx() 319 return regmap_field_read_poll_timeout(phy->fields[CMU_OK_I_0], val, in serdes_am654_power_on() 420 ret |= regmap_field_write(phy->fields[CMU_PLL_CTRL], 0x2); in serdes_am654_pcie_init() [all …]
|
| H A D | phy-gmii-sel.c | 47 struct regmap_field *fields[PHY_GMII_SEL_LAST]; member 142 regfield = if_phy->fields[PHY_GMII_SEL_PORT_MODE]; in phy_gmii_sel_mode() 150 if_phy->fields[PHY_GMII_SEL_RGMII_ID_MODE]) { in phy_gmii_sel_mode() 151 regfield = if_phy->fields[PHY_GMII_SEL_RGMII_ID_MODE]; in phy_gmii_sel_mode() 158 if_phy->fields[PHY_GMII_SEL_RMII_IO_CLK_EN]) { in phy_gmii_sel_mode() 159 regfield = if_phy->fields[PHY_GMII_SEL_RMII_IO_CLK_EN]; in phy_gmii_sel_mode() 363 const struct reg_field *fields; in phy_gmii_init_phy() local 371 fields = soc_data->regfields[port - 1]; in phy_gmii_init_phy() 372 field = *fields++; in phy_gmii_init_phy() 380 if_phy->fields[PHY_GMII_SEL_PORT_MODE] = regfield; in phy_gmii_init_phy() [all …]
|
| /linux/rust/syn/ |
| H A D | derive.rs | 44 pub fields: Fields, 64 pub fields: FieldsNamed, 92 let (where_clause, fields, semi) = data_struct(input)?; in parse() 103 fields, in parse() 130 let (where_clause, fields) = data_union(input)?; in parse() 141 fields, in parse() 161 let fields = input.parse()?; localVariable 171 Ok((where_clause, Fields::Unnamed(fields), Some(semi))) 176 let fields = input.parse()?; localVariable 177 Ok((where_clause, Fields::Named(fields), None)) [all …]
|
| /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()
|
| /linux/rust/pin-init/src/ |
| H A D | macros.rs | |
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | field-order.rst | 12 Interlaced video divides an image into two fields, containing only the 15 fields a cathode ray TV displays the lines interleaved, yielding the 18 fields reduces the flicker without the necessity of doubling the frame 22 at a time, merely transmitting the frames separated into fields. The 23 fields are in fact captured at two different instances in time. An 29 interleaved, it is also important applications understand how the fields 31 even) fields, the *spatial order*: The first line of the top field is 35 However because fields were captured one after the other, arguing 37 two successive top and bottom, or bottom and top fields yield a valid 39 transferring film to video, two fields may come from the same frame, [all …]
|
| /linux/drivers/pci/ |
| H A D | pci-acpi.c | 202 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record() local 203 u32 revision = fields[1].integer.value; in decode_type0_hpx_record() 210 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type0_hpx_record() 213 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record() 214 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record() 215 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record() 216 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record() 252 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record() local 253 u32 revision = fields[1].integer.value; in decode_type1_hpx_record() 260 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type1_hpx_record() [all …]
|
| /linux/arch/arm64/kernel/pi/ |
| H A D | idreg-override.c | 36 } fields[]; member 44 .fields = { 65 .fields = { 103 .fields = { 127 .fields = { 153 .fields = { 166 .fields = { 178 .fields = { 189 .fields = { 210 .fields = { [all …]
|
| /linux/rust/kernel/ |
| H A D | init.rs | 112 //! // All fields of `RawFoo` have been initialized, since `_p` is a ZST. 193 /// - the fields are initialized in the order given in the initializer. 194 /// - no references to fields are allowed to be created inside of the initializer.
|
| /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() 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/drivers/scsi/ |
| H 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/drivers/media/v4l2-core/ |
| H A D | v4l2-h264.c | 78 u8 fields = V4L2_H264_FRAME_REF; in v4l2_h264_init_reflist_builder() local 81 b->unordered_reflist[b->num_valid].fields = fields; in v4l2_h264_init_reflist_builder() 86 if (dpb[i].fields & V4L2_H264_TOP_FIELD_REF) { in v4l2_h264_init_reflist_builder() 87 u8 fields = V4L2_H264_TOP_FIELD_REF; in v4l2_h264_init_reflist_builder() local 90 b->unordered_reflist[b->num_valid].fields = fields; in v4l2_h264_init_reflist_builder() 94 if (dpb[i].fields & V4L2_H264_BOTTOM_FIELD_REF) { in v4l2_h264_init_reflist_builder() 95 u8 fields = V4L2_H264_BOTTOM_FIELD_REF; in v4l2_h264_init_reflist_builder() local 98 b->unordered_reflist[b->num_valid].fields = fields; in v4l2_h264_init_reflist_builder() 111 switch (ref->fields) { in v4l2_h264_get_poc() 270 if (tmplist[i].fields == b->cur_pic_fields) { in reorder_field_reflist() [all …]
|
| /linux/drivers/mux/ |
| H A D | mmio.c | 19 struct regmap_field **fields; member 28 return regmap_field_read(mux_mmio->fields[index], state); in mux_mmio_get() 36 return regmap_field_write(mux_mmio->fields[index], state); in mux_mmio_set() 103 mux_mmio->fields = devm_kcalloc(dev, num_fields, sizeof(*mux_mmio->fields), in mux_mmio_probe() 105 if (!mux_mmio->fields) in mux_mmio_probe() 142 mux_mmio->fields[i] = devm_regmap_field_alloc(dev, regmap, field); in mux_mmio_probe() 143 if (IS_ERR(mux_mmio->fields[i])) { in mux_mmio_probe() 144 ret = PTR_ERR(mux_mmio->fields[i]); in mux_mmio_probe()
|
| /linux/arch/mips/mm/ |
| H A 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/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_hdmi_types.h | 82 } fields; member 93 } fields; member 113 } fields; member 122 } fields; member 130 } fields; member
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | nested.h | 112 static inline unsigned long nested_read_cr0(struct vmcs12 *fields) in nested_read_cr0() argument 114 return (fields->guest_cr0 & ~fields->cr0_guest_host_mask) | in nested_read_cr0() 115 (fields->cr0_read_shadow & fields->cr0_guest_host_mask); in nested_read_cr0() 117 static inline unsigned long nested_read_cr4(struct vmcs12 *fields) in nested_read_cr4() argument 119 return (fields->guest_cr4 & ~fields->cr4_guest_host_mask) | in nested_read_cr4() 120 (fields->cr4_read_shadow & fields->cr4_guest_host_mask); in nested_read_cr4()
|
| /linux/kernel/trace/ |
| H 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() 363 if (elt->fields[i].cmp_fn == tracing_map_cmp_atomic64) in tracing_map_elt_clear() 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() 384 if (elt->fields[i].cmp_fn != tracing_map_cmp_atomic64) in tracing_map_elt_init_fields() 385 elt->fields[i].offset = elt->map->fields[i].offset; in tracing_map_elt_init_fields() 394 kfree(elt->fields); in __tracing_map_elt_free() [all …]
|
| /linux/rust/pin-init/internal/src/ |
| H A D | init.rs | 21 fields: Punctuated<InitializerField, Token![,]>, field 77 fields, 148 let init_fields = init_fields(&fields, pinned, &data, &slot); 149 let field_check = make_field_check(&fields, init_kind, &path); 227 fields: &Punctuated<InitializerField, Token![,]>, 235 for InitializerField { attrs, kind } in fields { 356 fields: &Punctuated<InitializerField, Token![,]>, 360 let field_attrs: Vec<_> = fields 364 let field_name: Vec<_> = fields.iter().filter_map(|f| f.kind.ident()).collect(); 407 let mut fields = Punctuated::new(); localVariable [all …]
|
| /linux/tools/perf/tests/shell/ |
| H A D | test_brstack.sh | 58 perf script -i "$TMPDIR/perf.data" --fields brstacksym > "$TMPDIR/perf.script" 79 perf script -i "$TMPDIR/perf.data" --fields brstack | \ 116 perf script -i $TMPDIR/perf.data --fields brstacksym | \ 141 perf script -i $TMPDIR/perf.data --fields brstack | \ 176 perf script -i "$TMPDIR/perf.data" --fields brstack > "$TMPDIR/perf.script" 213 perf script -i $TMPDIR/perf.data --fields brstacksym | \
|
| /linux/security/integrity/ima/ |
| H A D | ima_template.c | 97 if (!strcmp(ima_template->fields[i]->field_id, "modsig") || in ima_template_has_modsig() 98 !strcmp(ima_template->fields[i]->field_id, "d-modsig")) in ima_template_has_modsig() 209 const struct ima_template_field ***fields, in template_desc_init_fields() argument 247 if (fields && num_fields) { in template_desc_init_fields() 248 *fields = kmalloc_objs(**fields, i); in template_desc_init_fields() 249 if (*fields == NULL) in template_desc_init_fields() 252 memcpy(*fields, found_fields, i * sizeof(**fields)); in template_desc_init_fields() 299 &(template->fields), in ima_init_template() 315 &(template->fields), in ima_init_template() 502 &(template_desc->fields), in ima_restore_measurement_list()
|
| /linux/drivers/pnp/pnpbios/ |
| H 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/arch/x86/pci/ |
| H A D | pcbios.c | 84 } fields; member 318 if (get_kernel_nofault(sig, &check->fields.signature)) in pci_find_bios() 321 if (check->fields.signature != BIOS32_SIGNATURE) in pci_find_bios() 323 length = check->fields.length * 16; in pci_find_bios() 331 if (check->fields.revision != 0) { in pci_find_bios() 333 check->fields.revision, check); in pci_find_bios() 337 if (check->fields.entry >= 0x100000) { in pci_find_bios() 342 unsigned long bios32_entry = check->fields.entry; in pci_find_bios()
|
| /linux/drivers/leds/rgb/ |
| H A D | leds-mt6370-rgb.c | 149 struct regmap_field *fields[F_MAX_FIELDS]; member 260 return regmap_field_write(priv->fields[sel_field], level); in mt6370_set_led_brightness() 270 return regmap_field_read(priv->fields[sel_field], level); in mt6370_get_led_brightness() 298 return regmap_field_write(priv->fields[sel_field], ratio); in mt6370_set_led_duty() 331 return regmap_field_write(priv->fields[sel_field], sel); in mt6370_set_led_freq() 417 return regmap_field_write(priv->fields[sel_field], mode); in mt6370_set_led_mode() 433 ret = regmap_field_read(priv->fields[F_RGB_EN], &enable); in mt6370_mc_brightness_set() 468 ret = regmap_field_write(priv->fields[F_RGB_EN], disable); in mt6370_mc_brightness_set() 472 ret = regmap_field_write(priv->fields[F_RGB_EN], enable); in mt6370_mc_brightness_set() 496 ret = regmap_field_read(priv->fields[F_RGB_EN], &enable); in mt6370_mc_blink_set() [all …]
|