Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 761) sorted by relevance

12345678910>>...31

/linux/include/linux/
H A Dpacking.h41 #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 Dioapic.c105 e->fields.dest_id, in __rtc_irq_eoi_tracking_restore_one()
106 kvm_lapic_irq_dest_mode(!!e->fields.dest_mode))) in __rtc_irq_eoi_tracking_restore_one()
109 new_val = kvm_apic_pending_eoi(vcpu, e->fields.vector); in __rtc_irq_eoi_tracking_restore_one()
117 dest_map->vectors[vcpu->vcpu_id] = e->fields.vector; in __rtc_irq_eoi_tracking_restore_one()
179 entry->fields.dest_id, in ioapic_lazy_update_eoi()
180 entry->fields.dest_mode) || in ioapic_lazy_update_eoi()
181 kvm_apic_pending_eoi(vcpu, entry->fields.vector)) in ioapic_lazy_update_eoi()
188 rtc_irq_eoi(ioapic, vcpu, entry->fields.vector); in ioapic_lazy_update_eoi()
202 edge = (entry.fields.trig_mode == IOAPIC_EDGE_TRIG); in ioapic_set_irq()
281 if (e->fields.trig_mode == IOAPIC_LEVEL_TRIG || in kvm_ioapic_scan_entry()
[all …]
/linux/kernel/trace/
H A Dtrace_events_synth.c123 union trace_synth_field fields[]; member
129 int offset = offsetof(typeof(trace), fields); in synth_event_define_fields()
137 size = event->fields[i]->size; in synth_event_define_fields()
138 is_signed = event->fields[i]->is_signed; in synth_event_define_fields()
139 type = event->fields[i]->type; in synth_event_define_fields()
140 name = event->fields[i]->name; in synth_event_define_fields()
146 event->fields[i]->offset = n_u64; in synth_event_define_fields()
148 if (event->fields[i]->is_string && !event->fields[i]->is_dynamic) { in synth_event_define_fields()
359 fmt = synth_field_fmt(se->fields[i]->type); in print_synth_event()
368 if (se->fields[i]->is_string) { in print_synth_event()
[all …]
/linux/drivers/phy/ti/
H A Dphy-am654-serdes.c234 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 …]
/linux/Documentation/accounting/
H A Dtaskstats-struct.rst5 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/drivers/usb/isp1760/
H A Disp1760-core.h59 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/tools/mm/
H A Dshow_page_info.py85 fields = {
99 fields["Memcg Name"] = memcg_name
100 fields["Memcg Path"] = memcg_path
101 fields["Page Mapping"] = hex(page.mapping.value_())
102 fields["Page Anon/File"] = "Anon" if page.mapping.value_() & 0x1 else "File"
106 fields["Page VMA"] = hex(vma.value_())
107 fields["VMA Start"] = hex(vma.vm_start.value_())
108 fields["VMA End"] = hex(vma.vm_end.value_())
110 fields["Page VMA"] = "Unavailable"
111 fields["VMA Start"] = "Unavailable"
[all …]
/linux/rust/pin-init/src/
H A Dmacros.rs548 @body({ $($fields:tt)* }),
577 @fields_munch($($fields)* ,),
583 @fields(),
604 @fields($($fields:tt)*),
626 @fields($($fields)* $($accum)* $field: ::core::marker::PhantomPinned,),
644 @fields($($fields:tt)*),
661 @fields($($fields)* $($accum)* $field: $type,),
679 @fields($($fields:tt)*),
696 @fields($($fields)* $($accum)* $field: $type,),
714 @fields($($fields:tt)*),
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dfield-order.rst11 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/drivers/pci/
H A Dpci-acpi.c201 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record() local
202 u32 revision = fields[1].integer.value; in decode_type0_hpx_record()
209 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type0_hpx_record()
212 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record()
213 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record()
214 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record()
215 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record()
251 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record() local
252 u32 revision = fields[1].integer.value; in decode_type1_hpx_record()
259 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type1_hpx_record()
[all …]
/linux/arch/arm64/kernel/pi/
H A Didreg-override.c36 } fields[]; member
44 .fields = {
65 .fields = {
103 .fields = {
127 .fields = {
153 .fields = {
166 .fields = {
178 .fields = {
189 .fields = {
210 .fields = {
[all …]
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c348 void *key, void *mask, u64 *fields) in dpaa2_eth_prep_eth_rule() argument
356 *fields |= DPAA2_ETH_DIST_ETHTYPE; in dpaa2_eth_prep_eth_rule()
363 *fields |= DPAA2_ETH_DIST_ETHSRC; in dpaa2_eth_prep_eth_rule()
370 *fields |= DPAA2_ETH_DIST_ETHDST; in dpaa2_eth_prep_eth_rule()
378 void *key, void *mask, u64 *fields) in dpaa2_eth_prep_uip_rule() argument
390 *fields |= DPAA2_ETH_DIST_IPSRC; in dpaa2_eth_prep_uip_rule()
397 *fields |= DPAA2_ETH_DIST_IPDST; in dpaa2_eth_prep_uip_rule()
404 *fields |= DPAA2_ETH_DIST_IPPROTO; in dpaa2_eth_prep_uip_rule()
414 *fields |= DPAA2_ETH_DIST_L4SRC; in dpaa2_eth_prep_uip_rule()
419 *fields |= DPAA2_ETH_DIST_L4DST; in dpaa2_eth_prep_uip_rule()
[all …]
/linux/rust/kernel/
H A Dinit.rs224 $($fields:tt)*
227 $($fields)*
231 $($fields:tt)*
234 $($fields)*
284 $($fields:tt)*
287 $($fields)*
291 $($fields:tt)*
294 $($fields)*
/linux/lib/
H A Dpacking.c13 #define __pack_fields(pbuf, pbuflen, ustruct, fields, num_fields, quirks) \ argument
16 typeof(&(fields)[0]) field = &(fields)[i]; \
26 #define __unpack_fields(pbuf, pbuflen, ustruct, fields, num_fields, quirks) \ argument
29 typeof(&(fields)[0]) field = &fields[i]; \
402 const struct packed_field_u8 *fields, size_t num_fields, in pack_fields_u8() argument
405 __pack_fields(pbuf, pbuflen, ustruct, fields, num_fields, quirks); in pack_fields_u8()
425 const struct packed_field_u16 *fields, size_t num_fields, in pack_fields_u16() argument
428 __pack_fields(pbuf, pbuflen, ustruct, fields, num_fields, quirks); in pack_fields_u16()
448 const struct packed_field_u8 *fields, size_t num_fields, in unpack_fields_u8() argument
451 __unpack_fields(pbuf, pbuflen, ustruct, fields, num_fields, quirks); in unpack_fields_u8()
[all …]
/linux/drivers/hid/
H A Dhid-sensor-custom.c44 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/i2c/busses/
H A Di2c-rtl9300.c69 struct regmap_field *fields[F_NUM_FIELDS]; member
113 ret = regmap_field_write(i2c->fields[F_MEM_ADDR_WIDTH], len); in rtl9300_i2c_reg_addr_set()
117 return regmap_field_write(i2c->fields[F_MEM_ADDR], reg); in rtl9300_i2c_reg_addr_set()
122 return regmap_field_write(i2c->fields[F_SCL_SEL], 1); in rtl9300_i2c_select_scl()
127 return regmap_field_update_bits(i2c->fields[F_SCL_SEL], BIT(scl), BIT(scl)); in rtl9310_i2c_select_scl()
138 ret = regmap_field_write(i2c->fields[F_SCL_FREQ], chan->bus_freq); in rtl9300_i2c_config_chan()
147 ret = regmap_field_update_bits(i2c->fields[F_SDA_SEL], BIT(chan->sda_num), in rtl9300_i2c_config_chan()
152 ret = regmap_field_write(i2c->fields[F_SDA_OUT_SEL], chan->sda_num); in rtl9300_i2c_config_chan()
210 ret = regmap_field_write(i2c->fields[F_DEV_ADDR], xfer->dev_addr); in rtl9300_i2c_prepare_xfer()
218 ret = regmap_field_write(i2c->fields[F_RWOP], xfer->write); in rtl9300_i2c_prepare_xfer()
[all …]
/linux/drivers/scsi/
H A Daha152x.h272 } 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/mux/
H A Dmmio.c20 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()
46 struct regmap_field **fields; in mux_mmio_probe() local
84 sizeof(*fields)); in mux_mmio_probe()
88 fields = mux_chip_priv(mux_chip); in mux_mmio_probe()
118 fields[i] = devm_regmap_field_alloc(dev, regmap, field); in mux_mmio_probe()
119 if (IS_ERR(fields[i])) { in mux_mmio_probe()
120 ret = PTR_ERR(fields[i]); in mux_mmio_probe()
/linux/drivers/media/v4l2-core/
H A Dv4l2-h264.c78 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/Documentation/trace/
H A Dhistogram-design.rst75 keeps an array of these fields named fields[]. The fields[] array is
94 fields[] array is the tracing_map instance created for the histogram,
104 associated key and value fields for the histogram described above. As
105 you can see, there are two fields in the fields array, one val field
110 relationships between the hist_data fields and the tracing_map
116 | .fields[] |---->| val = hitcount |----------------------------+
146 The hist_data n_vals and n_fields delineate the extent of the fields[]
150 histogram, with pointers from various parts of the fields[] array
163 for each key or value in the map_elt.fields[] array. There is an
164 entry in the map_elt.fields[] array corresponding to each hist_field
[all …]
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_hdmi_types.h82 } fields; member
93 } fields; member
113 } fields; member
122 } fields; member
130 } fields; member
/linux/kernel/
H A Dauditfilter.c91 if (erule->fields) in audit_free_rule()
93 audit_free_lsm_field(&erule->fields[i]); in audit_free_rule()
94 kfree(erule->fields); in audit_free_rule()
109 struct audit_field *fields; in audit_init_entry() local
115 fields = kcalloc(field_count, sizeof(*fields), GFP_KERNEL); in audit_init_entry()
116 if (unlikely(!fields)) { in audit_init_entry()
120 entry->rule.fields = fields; in audit_init_entry()
466 struct audit_field *f = &entry->rule.fields[i]; in audit_data_to_entry()
475 f->type = data->fields[i]; in audit_data_to_entry()
651 struct audit_field *f = &krule->fields[i]; in audit_krule_to_data()
[all …]
/linux/arch/mips/mm/
H A Duasm-micromips.c164 (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/nova-core/regs/
H A Dmacros.rs286 ($name:ident @ $offset:literal $(, $comment:literal)? { $($fields:tt)* } ) => {
287 register!(@core $name $(, $comment)? { $($fields)* } );
292 ($name:ident => $alias:ident $(, $comment:literal)? { $($fields:tt)* } ) => {
293 register!(@core $name $(, $comment)? { $($fields)* } );
298 ($name:ident @ $base:ty [ $offset:literal ] $(, $comment:literal)? { $($fields:tt)* } ) => {
299 register!(@core $name $(, $comment)? { $($fields)* } );
304 ($name:ident => $base:ty [ $alias:ident ] $(, $comment:literal)? { $($fields:tt)* }) => {
305 register!(@core $name $(, $comment)? { $($fields)* } );
312 $($fields:tt)*
316 register!(@core $name $(, $comment)? { $($fields)* } );
[all …]
/linux/arch/x86/kvm/vmx/
H A Dnested.h112 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()

12345678910>>...31