| /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/drivers/clk/stm32/ |
| H A D | stm32mp13_rcc.h | 213 /* RCC_SECCFGR register fields */ 237 /* RCC_MP_SREQSETR register fields */ 240 /* RCC_MP_SREQCLRR register fields */ 243 /* RCC_MP_APRSTCR register fields */ 248 /* RCC_MP_APRSTSR register fields */ 252 /* RCC_PWRLPDLYCR register fields */ 256 /* RCC_MP_GRSTCSETR register fields */ 260 /* RCC_BR_RSTSCLRR register fields */ 272 /* RCC_MP_RSTSSETR register fields */ 288 /* RCC_MP_RSTSCLRR register fields */ [all …]
|
| /linux/drivers/net/ethernet/aquantia/atlantic/macsec/ |
| H A D | macsec_api.h | 49 * Filter table, and unpack it into the fields of rec. 50 * rec - [OUT] The raw table row data will be unpacked into the fields of rec. 57 /*! Pack the fields of rec, and write the packed data into the 67 * Packet Classifier table, and unpack it into the fields of rec. 68 * rec - [OUT] The raw table row data will be unpacked into the fields of rec. 75 /*! Pack the fields of rec, and write the packed data into the 85 * Lookup table, and unpack it into the fields of rec. 86 * rec - [OUT] The raw table row data will be unpacked into the fields of rec. 93 /*! Pack the fields of rec, and write the packed data into the 103 * Lookup table, and unpack it into the fields of rec. [all …]
|
| /linux/rust/syn/ |
| H A D | data.rs | 21 pub fields: Fields, 37 pub enum Fields { 38 /// Named fields of a struct or struct variant such as `Point { x: f64, 42 /// Unnamed fields of a tuple struct or tuple variant such as `Some(T)`. 51 /// Named fields of a struct or struct variant such as `Point { x: f64, 61 /// Unnamed fields of a tuple struct or tuple variant such as `Some(T)`. 69 impl Fields { impl 72 /// variant's fields uniformly. 75 Fields::Unit => crate::punctuated::empty_punctuated_iter(), in iter() 76 Fields::Named(f) => f.named.iter(), in iter() [all …]
|
| H A D | derive.rs | 4 use crate::data::{Fields, FieldsNamed, Variant}; 44 pub fields: Fields, 64 pub fields: FieldsNamed, 71 use crate::data::{Fields, FieldsNamed, Variant}; 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() 152 ) -> Result<(Option<WhereClause>, Fields, Option<Token![;]>)> { in data_struct() argument 161 let fields = input.parse()?; localVariable [all …]
|
| /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 …]
|
| H A D | pixfmt-v4l2.rst | 29 * - :cspan:`2` Applications set these fields to request an image 38 inside the stream, when fed to a stateful mem2mem decoder, the fields 43 encoder, the fields must be zero, since the coded size is expected to 58 capture or output only the top or bottom field, or both fields 61 For more details on fields see :ref:`field-order`. 123 - This field indicates whether the remaining fields of the 125 extended fields, are valid. When set to 126 ``V4L2_PIX_FMT_PRIV_MAGIC``, it indicates that the extended fields 128 indicates that the extended fields contain undefined values. 130 Applications that wish to use the pixel format extended fields [all …]
|
| H A D | dev-encoder.rst | 149 * **Required fields:** 164 other fields 167 * **Returned fields:** 185 * **Required fields:** 190 other fields 193 * **Returned fields:** 199 other fields 205 * **Required fields:** 216 other fields 219 * **Returned fields:** [all …]
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpkg.h | 61 /* Protocol fields */ 63 /* Ethernet fields */ 72 /* VLAN fields */ 84 /* IP (generic) fields */ 95 /* IPV4 fields */ 113 /* IPV6 fields */ 124 /* ICMP fields */ 132 /* IGMP fields */ 139 /* TCP fields */ 153 /* UDP fields */ [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_events_synth.c | 31 C(TOO_MANY_FIELDS, "Too many fields"), \ 123 union trace_synth_field fields[]; member 129 int offset = offsetof(typeof(trace), fields); in synth_event_define_fields() 139 size = event->fields[i]->size; in synth_event_define_fields() 140 is_signed = event->fields[i]->is_signed; in synth_event_define_fields() 141 type = event->fields[i]->type; in synth_event_define_fields() 142 name = event->fields[i]->name; in synth_event_define_fields() 143 is_stack = event->fields[i]->is_stack; in synth_event_define_fields() 152 event->fields[i]->offset = n_u64; in synth_event_define_fields() 154 if (event->fields[i]->is_string && !event->fields[i]->is_dynamic) { in synth_event_define_fields() [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/sound/soc/tegra/ |
| H A D | tegra210_mbdrc.h | 50 /* Fields for TEGRA210_MBDRC_CFG */ 72 /* Fields for TEGRA210_MBDRC_CHANNEL_MASK */ 76 /* Fields for TEGRA210_MBDRC_MASTER_VOL */ 81 /* Fields for TEGRA210_MBDRC_FAST_FACTOR */ 88 /* Fields for TEGRA210_MBDRC_IIR_CFG */ 92 /* Fields for TEGRA210_MBDRC_IN_ATTACK */ 96 /* Fields for TEGRA210_MBDRC_IN_RELEASE */ 100 /* Fields for TEGRA210_MBDRC_FAST_ATTACK */ 104 /* Fields for TEGRA210_MBDRC_IN_THRESHOLD / TEGRA210_MBDRC_OUT_THRESHOLD */ 117 /* Fields for TEGRA210_MBDRC_RATIO_1ST */ [all …]
|
| H A D | tegra20_spdif.h | 40 /* Fields in TEGRA20_SPDIF_CTRL */ 116 /* Fields in TEGRA20_SPDIF_STATUS */ 206 /* Fields in TEGRA20_SPDIF_STROBE_CTRL */ 232 /* Fields in SPDIF_DATA_FIFO_CSR */ 324 /* Fields in TEGRA20_SPDIF_DATA_OUT */ 364 /* Fields in TEGRA20_SPDIF_DATA_IN */ 409 /* Fields in TEGRA20_SPDIF_CH_STA_RX_A */ 410 /* Fields in TEGRA20_SPDIF_CH_STA_RX_B */ 411 /* Fields in TEGRA20_SPDIF_CH_STA_RX_C */ 412 /* Fields in TEGRA20_SPDIF_CH_STA_RX_D */ [all …]
|
| H A D | tegra30_i2s.h | 38 /* Fields in TEGRA30_I2S_CTRL */ 98 /* Fields in TEGRA30_I2S_TIMING */ 105 /* Fields in TEGRA30_I2S_OFFSET */ 114 /* Fields in TEGRA30_I2S_CH_CTRL */ 160 /* Fields in TEGRA30_I2S_SLOT_CTRL */ 174 /* Fields in TEGRA30_I2S_CIF_RX_CTRL */ 177 /* Fields in TEGRA30_I2S_CIF_TX_CTRL */ 180 /* Fields in TEGRA30_I2S_FLOWCTL */ 190 /* Fields in TEGRA30_I2S_TX_STEP */ 196 /* Fields in TEGRA30_I2S_FLOW_STATUS */ [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | stm32-adc-core.h | 57 /* STM32F4_ADC_SR - bit fields */ 62 /* STM32F4_ADC_CR1 - bit fields */ 69 /* STM32F4_ADC_CR2 - bit fields */ 80 /* STM32F4_ADC_CSR - bit fields */ 88 /* STM32F4_ADC_CCR - bit fields */ 128 /* STM32H7_ADC_ISR - bit fields */ 134 /* STM32H7_ADC_IER - bit fields */ 138 /* STM32H7_ADC_CR - bit fields */ 157 /* STM32H7_ADC_CFGR bit fields */ 167 /* STM32H7_ADC_CFGR2 bit fields */ [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 …]
|
| /linux/include/linux/mfd/ |
| H A D | twl4030-audio.h | 87 /* TWL4030_CODEC_MODE (0x01) Fields */ 105 /* TWL4030_OPTION (0x02) Fields */ 115 /* TWL4030_REG_MICBIAS_CTL (0x04) Fields */ 122 /* ANAMICL (0x05) Fields */ 135 /* ANAMICR (0x06) Fields */ 140 /* AVADC_CTL (0x07) Fields */ 145 /* TWL4030_REG_ADCMICSEL (0x08) Fields */ 151 /* AUDIO_IF (0x0E) Fields */ 166 /* VOICE_IF (0x0F) Fields */ 179 /* HS_GAIN_SET (0x23) Fields */ [all …]
|
| H A D | twl6040.h | 59 /* INTID (0x03) fields */ 69 /* INTMR (0x04) fields */ 79 /* NCPCTL (0x05) fields */ 84 /* LDOCTL (0x06) fields */ 91 /* HPPLLCTL (0x07) fields */ 103 /* LPPLLCTL (0x08) fields */ 111 /* HSLCTL/R (0x10/0x11) fields */ 118 /* HFLCTL/R (0x14/0x16) fields */ 125 /* VIBCTLL/R (0x18/0x1A) fields */ 133 /* VIBDATL/R (0x19/0x1B) fields */ [all …]
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | am65-cpsw-qos.h | 64 /* AM65_CPSW_REG_CTL register fields */ 67 /* AM65_CPSW_PN_REG_CTL register fields */ 70 /* AM65_CPSW_PN_REG_EST_CTL register fields */ 78 /* AM65_CPSW_PN_REG_FIFO_STATUS register fields */ 148 /* AM65_CPSW_REG_CTL register fields */ 152 /* AM65_CPSW_PN_REG_CTL register fields */ 156 /* AM65_CPSW_PN_REG_EST_CTL register fields */ 164 /* AM65_CPSW_PN_REG_IET_CTRL register fields */ 182 /* AM65_CPSW_PN_REG_IET_STATUS register fields */ 189 /* AM65_CPSW_PN_REG_IET_VERIFY register fields */ [all …]
|
| /linux/rust/pin-init/internal/src/ |
| H A D | init.rs | 21 fields: Punctuated<InitializerField, Token![,]>, field 77 fields, 125 // The user specified `..Zeroable::zeroed()` at the end of the list of fields. 127 // This allows us to also remove the check that all fields are present (since we 142 // expressions creating the individual fields. 148 let init_fields = init_fields(&fields, pinned, &data, &slot); 149 let field_check = make_field_check(&fields, init_kind, &path); 151 // Get the data about fields from the supplied type. 219 /// Generate the code that initializes the fields of the struct using the initializers in `field`. 221 fields: &Punctuated<InitializerField, Token![,]>, [all …]
|
| /linux/rust/pin-init/src/ |
| H A D | macros.rs | |
| /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/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/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() 423 /* If any error occurs in a sample, rest of the fields are ignored */ in hid_sensor_capture_sample() 480 void *fields; in hid_sensor_custom_add_field() local [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 …]
|