Home
last modified time | relevance | path

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

123

/drivers/pci/
Dpci-acpi.c50 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record() local
51 u32 revision = fields[1].integer.value; in decode_type0_hpx_record()
58 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type0_hpx_record()
62 hpx->t0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record()
63 hpx->t0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record()
64 hpx->t0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record()
65 hpx->t0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record()
80 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record() local
81 u32 revision = fields[1].integer.value; in decode_type1_hpx_record()
88 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type1_hpx_record()
[all …]
Dpci-stub.c59 int fields; in pci_stub_init() local
64 fields = sscanf(id, "%x:%x:%x:%x:%x:%x", in pci_stub_init()
68 if (fields < 2) { in pci_stub_init()
Dpci-driver.c107 int fields = 0; in store_new_id() local
110 fields = sscanf(buf, "%x %x %x %x %x %x %lx", in store_new_id()
113 if (fields < 2) in store_new_id()
116 if (fields != 7) { in store_new_id()
174 int fields = 0; in store_remove_id() local
177 fields = sscanf(buf, "%x %x %x %x %x %x", in store_remove_id()
180 if (fields < 2) in store_remove_id()
/drivers/memory/
Datmel-ebi.c95 struct at91sam9_smc_generic_fields *fields = &ebid->ebi->sam9; in at91sam9_ebi_get_config() local
101 regmap_fields_read(fields->mode, conf->cs, &val); in at91sam9_ebi_get_config()
107 regmap_fields_read(fields->setup, conf->cs, &val); in at91sam9_ebi_get_config()
121 regmap_fields_read(fields->pulse, conf->cs, &val); in at91sam9_ebi_get_config()
135 regmap_fields_read(fields->cycle, conf->cs, &val); in at91sam9_ebi_get_config()
340 struct at91sam9_smc_generic_fields *fields = &ebid->ebi->sam9; in at91sam9_ebi_apply_config() local
356 regmap_fields_write(fields->setup, conf->cs, val); in at91sam9_ebi_apply_config()
370 regmap_fields_write(fields->pulse, conf->cs, val); in at91sam9_ebi_apply_config()
378 regmap_fields_write(fields->cycle, conf->cs, val); in at91sam9_ebi_apply_config()
383 regmap_fields_write(fields->mode, conf->cs, in at91sam9_ebi_apply_config()
[all …]
/drivers/hid/
Dhid-sensor-custom.c49 struct hid_sensor_custom_field *fields; member
310 attribute = &sensor_inst->fields[field_index].attribute; in show_value()
363 value = sensor_inst->fields[field_index].attribute.units; in show_value()
365 value = sensor_inst->fields[field_index].attribute.unit_expo; in show_value()
367 value = sensor_inst->fields[field_index].attribute.size; in show_value()
369 value = sensor_inst->fields[field_index].attribute. in show_value()
372 value = sensor_inst->fields[field_index].attribute. in show_value()
414 report_id = sensor_inst->fields[field_index].attribute. in store_value()
488 void *fields; in hid_sensor_custom_add_field() local
490 fields = krealloc(sensor_inst->fields, in hid_sensor_custom_add_field()
[all …]
/drivers/ata/
Dpata_at91.c68 } fields; variable
256 regmap_fields_write(fields.setup, info->cs, in set_smc_timing()
261 regmap_fields_write(fields.pulse, info->cs, in set_smc_timing()
266 regmap_fields_write(fields.cycle, info->cs, in set_smc_timing()
269 regmap_fields_write(fields.mode, info->cs, info->mode | in set_smc_timing()
298 regmap_fields_read(fields.mode, info->cs, &mode); in pata_at91_data_xfer_noirq()
301 regmap_fields_write(fields.mode, info->cs, (mode & ~AT91_SMC_DBW) | in pata_at91_data_xfer_noirq()
307 regmap_fields_write(fields.mode, info->cs, (mode & ~AT91_SMC_DBW) | in pata_at91_data_xfer_noirq()
334 fields.setup = devm_regmap_field_alloc(dev, smc, field); in at91sam9_smc_fields_init()
335 if (IS_ERR(fields.setup)) in at91sam9_smc_fields_init()
[all …]
/drivers/gpu/drm/amd/powerplay/inc/
Deventmanager.h71 static inline void pem_set_event_data_valid(unsigned long *fields, PEM_EventDataValid valid_field) in pem_set_event_data_valid() argument
73 fields[valid_field / PEM_MAX_NUM_EVENTDATAVALID_BITS_PER_FIELD] |= in pem_set_event_data_valid()
77 static inline void pem_unset_event_data_valid(unsigned long *fields, PEM_EventDataValid valid_field) in pem_unset_event_data_valid() argument
79 fields[valid_field / PEM_MAX_NUM_EVENTDATAVALID_BITS_PER_FIELD] &= in pem_unset_event_data_valid()
83 static inline unsigned long pem_is_event_data_valid(const unsigned long *fields, PEM_EventDataValid… in pem_is_event_data_valid() argument
85 return fields[valid_field / PEM_MAX_NUM_EVENTDATAVALID_BITS_PER_FIELD] & in pem_is_event_data_valid()
/drivers/scsi/
Daha152x.h271 } fields; member
275 #define cf_parity fields.parity
276 #define cf_dmachan fields.dmachan
277 #define cf_irq fields.irq
278 #define cf_id fields.id
279 #define cf_dma fields.dma
280 #define cf_boot fields.boot
281 #define cf_msgclasses fields.msgclasses
282 #define cf_syncneg fields.syncneg
283 #define cf_tardisc fields.tardisc
/drivers/pnp/pnpbios/
Dcore.c453 if (check->fields.signature != PNP_SIGNATURE) in pnpbios_probe_system()
458 length = check->fields.length; in pnpbios_probe_system()
471 if (check->fields.version < 0x10) { in pnpbios_probe_system()
474 check->fields.version >> 4, in pnpbios_probe_system()
475 check->fields.version & 15); in pnpbios_probe_system()
480 check->fields.version >> 4, check->fields.version & 15, in pnpbios_probe_system()
481 check->fields.pm16cseg, check->fields.pm16offset, in pnpbios_probe_system()
482 check->fields.pm16dseg); in pnpbios_probe_system()
Dbioscalls.c476 pnp_bios_callpoint.offset = header->fields.pm16offset; in pnpbios_calls_init()
486 (unsigned long)__va(header->fields.pm16cseg)); in pnpbios_calls_init()
488 (unsigned long)__va(header->fields.pm16dseg)); in pnpbios_calls_init()
/drivers/media/pci/tw68/
Dtw68-risc.c145 u32 instructions, fields; in tw68_risc_buffer() local
148 fields = 0; in tw68_risc_buffer()
150 fields++; in tw68_risc_buffer()
152 fields++; in tw68_risc_buffer()
159 instructions = fields * (1 + (((bpl + padding) * lines) / in tw68_risc_buffer()
/drivers/iio/health/
Dafe4404.c98 struct regmap_field *fields[F_MAX_FIELDS]; member
184 ret = regmap_field_read(afe->fields[afe440x_attr->field], &reg_val); in afe440x_show_register()
217 ret = regmap_field_write(afe->fields[afe440x_attr->field], val); in afe440x_store_register()
273 ret = regmap_field_read(afe->fields[offdac_field], val); in afe4404_read_raw()
282 ret = regmap_field_read(afe->fields[led_field], val); in afe4404_read_raw()
311 return regmap_field_write(afe->fields[offdac_field], val); in afe4404_write_raw()
317 return regmap_field_write(afe->fields[led_field], val); in afe4404_write_raw()
496 afe->fields[i] = devm_regmap_field_alloc(afe->dev, afe->regmap, in afe4404_probe()
498 if (IS_ERR(afe->fields[i])) { in afe4404_probe()
500 return PTR_ERR(afe->fields[i]); in afe4404_probe()
Dafe4403.c79 struct regmap_field *fields[F_MAX_FIELDS]; member
150 ret = regmap_field_read(afe->fields[afe440x_attr->field], &reg_val); in afe440x_show_register()
183 ret = regmap_field_write(afe->fields[afe440x_attr->field], val); in afe440x_store_register()
270 ret = regmap_field_read(afe->fields[field], val); in afe4403_read_raw()
298 return regmap_field_write(afe->fields[field], val); in afe4403_write_raw()
490 afe->fields[i] = devm_regmap_field_alloc(afe->dev, afe->regmap, in afe4403_probe()
492 if (IS_ERR(afe->fields[i])) { in afe4403_probe()
494 return PTR_ERR(afe->fields[i]); in afe4403_probe()
/drivers/misc/
Dioc4.c153 gpcr.fields.dir = IOC4_GPCR_DIR_0; in ioc4_clock_calibrate()
154 gpcr.fields.int_out_en = 1; in ioc4_clock_calibrate()
163 int_out.fields.count = IOC4_CALIBRATE_COUNT; in ioc4_clock_calibrate()
164 int_out.fields.mode = IOC4_INT_OUT_MODE_TOGGLE; in ioc4_clock_calibrate()
165 int_out.fields.diag = 0; in ioc4_clock_calibrate()
176 state = int_out.fields.int_out; in ioc4_clock_calibrate()
/drivers/xen/xen-pciback/
Dconf_space_capability.c20 const struct config_field *fields; member
56 cap->fields, in xen_pcibk_config_capability_add_fields()
194 .fields = caplist_pm,
198 .fields = caplist_vpd,
/drivers/video/fbdev/
Dstifb.c554 } fields; member
566 lutBltCtl.fields.length = length;
572 lutBltCtl.fields.lutType = NGLE_CMAP_OVERLAY_TYPE;
573 lutBltCtl.fields.lutOffset = 0;
575 lutBltCtl.fields.lutType = NGLE_CMAP_INDEXED0_TYPE;
576 lutBltCtl.fields.lutOffset = 0 * 256;
581 lutBltCtl.fields.lutType = NGLE_CMAP_INDEXED0_TYPE;
582 lutBltCtl.fields.lutOffset = 0 * 256;
586 lutBltCtl.fields.lutType = NGLE_CMAP_INDEXED0_TYPE;
587 lutBltCtl.fields.lutOffset = 0;
[all …]
/drivers/acpi/
Dsbshc.c63 } fields; member
219 if (status.fields.done && status.fields.status == SMBUS_OK) { in smbus_alarm()
223 if (!status.fields.alarm) in smbus_alarm()
227 status.fields.alarm = 0; in smbus_alarm()
/drivers/hwmon/
Dina3221.c97 struct regmap_field *fields[F_MAX_FIELDS]; member
249 ret = regmap_field_read(ina->fields[field], &regval); in ina3221_show_alert()
392 ina->fields[i] = devm_regmap_field_alloc(dev, in ina3221_probe()
395 if (IS_ERR(ina->fields[i])) { in ina3221_probe()
397 return PTR_ERR(ina->fields[i]); in ina3221_probe()
404 ret = regmap_field_write(ina->fields[F_RST], true); in ina3221_probe()
/drivers/net/ethernet/ibm/
Dibmveth.c264 desc.fields.flags_len = IBMVETH_BUF_VALID | pool->buff_size; in ibmveth_replenish_buffer_pool()
265 desc.fields.address = dma_addr; in ibmveth_replenish_buffer_pool()
438 desc.fields.flags_len = IBMVETH_BUF_VALID | in ibmveth_rxq_recycle_buffer()
440 desc.fields.address = adapter->rx_buff_pool[pool].dma_addr[index]; in ibmveth_rxq_recycle_buffer()
617 rxq_desc.fields.flags_len = IBMVETH_BUF_VALID | in ibmveth_open()
619 rxq_desc.fields.address = adapter->rx_queue.queue_dma; in ibmveth_open()
1088 descs[0].fields.flags_len = desc_flags | skb->len; in ibmveth_start_xmit()
1089 descs[0].fields.address = adapter->bounce_buffer_dma; in ibmveth_start_xmit()
1108 descs[0].fields.flags_len = desc_flags | skb_headlen(skb); in ibmveth_start_xmit()
1109 descs[0].fields.address = dma_addr; in ibmveth_start_xmit()
[all …]
/drivers/staging/greybus/Documentation/firmware/
Dfirmware-management143 the currently running Interface Firmware. All the fields of the 'struct
151 in this case. The 'major' and 'minor' fields are set by the kernel in
158 fields of the 'struct fw_mgmt_ioc_intf_load_and_validate'. The 'status',
159 'major' and 'minor' fields are set by the kernel in response.
284 the Interface. All the fields of the 'struct cap_ioc_get_endpoint_uid' are
293 case. The other fields will be set by the kernel in response. The first
301 fields of the 'struct cap_ioc_authenticate'. The other fields will be set by
/drivers/message/fusion/lsi/
Dmpi_history.txt115 * 08-11-00 01.00.05 Switched positions of MsgLength and Function fields in
152 * 08-19-04 01.05.01 Added four new fields to MSG_IOC_INIT.
153 * Added three new fields to MSG_IOC_FACTS_REPLY.
180 * Added additional Reason Codes and more event data fields
222 * fields to FC_DEVICE_0 page, updated the page version.
252 * New fields added to FC Port Page 0 and some flags
266 * Added VendorId and ProductRevLevel fields to
320 * fields to CONFIG_PAGE_FC_PORT_0.
321 * Added AltConnector and NumRequestedAliases fields to
341 * Added TargetConfig and IDConfig fields to
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Ddebugfs.c499 d = kzalloc(sizeof(*d) + nfile * sizeof(d->fields[0]), GFP_KERNEL); in add_res_tree()
514 d->fields[i].i = i; in add_res_tree()
515 d->fields[i].dent = debugfs_create_file(field[i], 0400, in add_res_tree()
516 d->root, &d->fields[i], in add_res_tree()
518 if (!d->fields[i].dent) { in add_res_tree()
/drivers/bcma/
DREADME5 AMBA standard fields like CID and PID.
18 16 devices identified by Broadcom specific fields: manufacturer, id, revision
/drivers/net/ethernet/amazon/ena/
Dena_com.c2092 u16 *fields) in ena_com_get_hash_ctrl() argument
2105 if (fields) in ena_com_get_hash_ctrl()
2106 *fields = rss->hash_ctrl->selected_fields[proto].fields; in ena_com_get_hash_ctrl()
2169 hash_ctrl->selected_fields[ENA_ADMIN_RSS_TCP4].fields = in ena_com_set_default_hash_ctrl()
2173 hash_ctrl->selected_fields[ENA_ADMIN_RSS_UDP4].fields = in ena_com_set_default_hash_ctrl()
2177 hash_ctrl->selected_fields[ENA_ADMIN_RSS_TCP6].fields = in ena_com_set_default_hash_ctrl()
2181 hash_ctrl->selected_fields[ENA_ADMIN_RSS_UDP6].fields = in ena_com_set_default_hash_ctrl()
2185 hash_ctrl->selected_fields[ENA_ADMIN_RSS_IP4].fields = in ena_com_set_default_hash_ctrl()
2188 hash_ctrl->selected_fields[ENA_ADMIN_RSS_IP6].fields = in ena_com_set_default_hash_ctrl()
2191 hash_ctrl->selected_fields[ENA_ADMIN_RSS_IP4_FRAG].fields = in ena_com_set_default_hash_ctrl()
[all …]
/drivers/usb/core/
Ddriver.c49 int fields = 0; in usb_store_new_id() local
52 fields = sscanf(buf, "%x %x %x %x %x", &idVendor, &idProduct, in usb_store_new_id()
54 if (fields < 2) in usb_store_new_id()
65 if (fields > 2 && bInterfaceClass) { in usb_store_new_id()
75 if (fields > 4) { in usb_store_new_id()
154 int fields; in remove_id_store() local
156 fields = sscanf(buf, "%x %x", &idVendor, &idProduct); in remove_id_store()
157 if (fields < 2) in remove_id_store()

123