/drivers/phy/ti/ |
D | phy-am654-serdes.c | 235 struct regmap_field *fields[MAX_FIELDS]; member 251 ret = regmap_field_write(phy->fields[PLL_ENABLE], PLL_ENABLE_STATE); in serdes_am654_enable_pll() 255 return regmap_field_read_poll_timeout(phy->fields[PLL_OK], val, val, in serdes_am654_enable_pll() 264 ret = regmap_field_write(phy->fields[PLL_ENABLE], PLL_DISABLE_STATE); in serdes_am654_disable_pll() 274 ret |= regmap_field_write(phy->fields[TX0_ENABLE], TX0_ENABLE_STATE); in serdes_am654_enable_txrx() 277 ret |= regmap_field_write(phy->fields[RX0_ENABLE], RX0_ENABLE_STATE); in serdes_am654_enable_txrx() 290 ret |= regmap_field_write(phy->fields[TX0_ENABLE], TX0_DISABLE_STATE); in serdes_am654_disable_txrx() 293 ret |= regmap_field_write(phy->fields[RX0_ENABLE], RX0_DISABLE_STATE); in serdes_am654_disable_txrx() 320 return regmap_field_read_poll_timeout(phy->fields[CMU_OK_I_0], val, in serdes_am654_power_on() 421 ret |= regmap_field_write(phy->fields[CMU_PLL_CTRL], 0x2); in serdes_am654_pcie_init() [all …]
|
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() 120 regfield = 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() [all …]
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ethtool.c | 321 void *key, void *mask, u64 *fields) in dpaa2_eth_prep_eth_rule() argument 329 *fields |= DPAA2_ETH_DIST_ETHTYPE; in dpaa2_eth_prep_eth_rule() 336 *fields |= DPAA2_ETH_DIST_ETHSRC; in dpaa2_eth_prep_eth_rule() 343 *fields |= DPAA2_ETH_DIST_ETHDST; in dpaa2_eth_prep_eth_rule() 351 void *key, void *mask, u64 *fields) in dpaa2_eth_prep_uip_rule() argument 363 *fields |= DPAA2_ETH_DIST_IPSRC; in dpaa2_eth_prep_uip_rule() 370 *fields |= DPAA2_ETH_DIST_IPDST; in dpaa2_eth_prep_uip_rule() 377 *fields |= DPAA2_ETH_DIST_IPPROTO; 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() [all …]
|
/drivers/pci/ |
D | pci-acpi.c | 175 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record() local 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() 186 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record() 187 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record() 188 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record() 189 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record() 225 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record() local 226 u32 revision = fields[1].integer.value; in decode_type1_hpx_record() 233 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type1_hpx_record() [all …]
|
D | pci-stub.c | 59 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()
|
/drivers/usb/isp1760/ |
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()
|
D | isp1760-core.c | 46 isp1760_field_set(hcd->fields, SW_RESET_RESET_ALL); in isp1760_init_core() 56 isp1760_field_clear(hcd->fields, HW_DATA_BUS_WIDTH); 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() [all …]
|
/drivers/hid/ |
D | hid-sensor-custom.c | 43 struct hid_sensor_custom_field *fields; member 302 attribute = &sensor_inst->fields[field_index].attribute; in show_value() 355 value = sensor_inst->fields[field_index].attribute.units; in show_value() 357 value = sensor_inst->fields[field_index].attribute.unit_expo; in show_value() 359 value = sensor_inst->fields[field_index].attribute.size; in show_value() 361 value = sensor_inst->fields[field_index].attribute. in show_value() 364 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 …]
|
/drivers/mux/ |
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()
|
/drivers/scsi/ |
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
|
/drivers/media/rc/ |
D | mtk-cir.c | 108 const struct mtk_field_type *fields; member 270 .fields = mt7623_fields, 278 .fields = mt7622_fields, 387 val = (mtk_chk_period(ir) << ir->data->fields[MTK_CHK_PERIOD].offset) & in mtk_ir_probe() 388 ir->data->fields[MTK_CHK_PERIOD].mask; in mtk_ir_probe() 389 mtk_w32_mask(ir, val, ir->data->fields[MTK_CHK_PERIOD].mask, in mtk_ir_probe() 390 ir->data->fields[MTK_CHK_PERIOD].reg); in mtk_ir_probe() 396 val = (ir->data->hw_period << ir->data->fields[MTK_HW_PERIOD].offset) & in mtk_ir_probe() 397 ir->data->fields[MTK_HW_PERIOD].mask; in mtk_ir_probe() 398 mtk_w32_mask(ir, val, ir->data->fields[MTK_HW_PERIOD].mask, in mtk_ir_probe() [all …]
|
/drivers/pnp/pnpbios/ |
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()
|
/drivers/hwtracing/coresight/ |
D | coresight-platform.c | 630 const union acpi_object *fields; in acpi_coresight_parse_link() local 638 fields = link->package.elements; in acpi_coresight_parse_link() 640 if (fields[0].type != ACPI_TYPE_INTEGER || in acpi_coresight_parse_link() 641 fields[1].type != ACPI_TYPE_INTEGER || in acpi_coresight_parse_link() 642 fields[2].type != ACPI_TYPE_LOCAL_REFERENCE || in acpi_coresight_parse_link() 643 fields[3].type != ACPI_TYPE_INTEGER) in acpi_coresight_parse_link() 646 rc = acpi_bus_get_device(fields[2].reference.handle, &r_adev); in acpi_coresight_parse_link() 650 dir = fields[3].integer.value; in acpi_coresight_parse_link() 652 conn->outport = fields[0].integer.value; in acpi_coresight_parse_link() 653 conn->child_port = fields[1].integer.value; in acpi_coresight_parse_link() [all …]
|
/drivers/xen/xen-pciback/ |
D | conf_space_capability.c | 21 const struct config_field *fields; member 57 cap->fields, in xen_pcibk_config_capability_add_fields() 282 .fields = caplist_pm, 286 .fields = caplist_vpd, 290 .fields = caplist_msi, 294 .fields = caplist_msix,
|
/drivers/media/pci/tw68/ |
D | tw68-risc.c | 137 u32 instructions, fields; in tw68_risc_buffer() local 140 fields = 0; in tw68_risc_buffer() 142 fields++; in tw68_risc_buffer() 144 fields++; in tw68_risc_buffer() 151 instructions = fields * (1 + (((bpl + padding) * lines) / in tw68_risc_buffer()
|
/drivers/iio/health/ |
D | afe4404.c | 91 struct regmap_field *fields[F_MAX_FIELDS]; member 178 ret = regmap_field_read(afe->fields[afe440x_attr->field], ®_val); in afe440x_show_register() 211 ret = regmap_field_write(afe->fields[afe440x_attr->field], val); in afe440x_store_register() 267 ret = regmap_field_read(afe->fields[offdac_field], val); in afe4404_read_raw() 277 ret = regmap_field_read(afe->fields[led_field], val); in afe4404_read_raw() 306 return regmap_field_write(afe->fields[offdac_field], val); in afe4404_write_raw() 313 return regmap_field_write(afe->fields[led_field], val); in afe4404_write_raw() 490 afe->fields[i] = devm_regmap_field_alloc(afe->dev, afe->regmap, in afe4404_probe() 492 if (IS_ERR(afe->fields[i])) { in afe4404_probe() 494 return PTR_ERR(afe->fields[i]); in afe4404_probe()
|
D | afe4403.c | 74 struct regmap_field *fields[F_MAX_FIELDS]; member 147 ret = regmap_field_read(afe->fields[afe440x_attr->field], ®_val); in afe440x_show_register() 180 ret = regmap_field_write(afe->fields[afe440x_attr->field], val); in afe440x_store_register() 266 ret = regmap_field_read(afe->fields[field], val); in afe4403_read_raw() 294 return regmap_field_write(afe->fields[field], val); in afe4403_write_raw() 482 afe->fields[i] = devm_regmap_field_alloc(afe->dev, afe->regmap, in afe4403_probe() 484 if (IS_ERR(afe->fields[i])) { in afe4403_probe() 486 return PTR_ERR(afe->fields[i]); in afe4403_probe()
|
/drivers/media/platform/ti-vpe/ |
D | cal-camerarx.c | 106 regmap_field_write(phy->fields[F_CAMMODE], 0); in cal_camerarx_enable() 108 regmap_field_write(phy->fields[F_LANEENABLE], (1 << num_lanes) - 1); in cal_camerarx_enable() 110 if (phy->fields[F_CSI_MODE]) in cal_camerarx_enable() 111 regmap_field_write(phy->fields[F_CSI_MODE], 1); in cal_camerarx_enable() 112 regmap_field_write(phy->fields[F_CTRLCLKEN], 1); in cal_camerarx_enable() 117 regmap_field_write(phy->fields[F_CTRLCLKEN], 0); in cal_camerarx_disable() 498 .lsb = phy_data->fields[i].lsb, in cal_camerarx_regmap_init() 499 .msb = phy_data->fields[i].msb, in cal_camerarx_regmap_init() 506 phy->fields[i] = devm_regmap_field_alloc(cal->dev, in cal_camerarx_regmap_init() 509 if (IS_ERR(phy->fields[i])) { in cal_camerarx_regmap_init() [all …]
|
/drivers/acpi/ |
D | sbshc.c | 60 } fields; member 217 if (status.fields.done && status.fields.status == SMBUS_OK) { in smbus_alarm() 221 if (!status.fields.alarm) in smbus_alarm() 225 status.fields.alarm = 0; in smbus_alarm()
|
/drivers/video/fbdev/ |
D | stifb.c | 554 } 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/net/ethernet/ibm/ |
D | ibmveth.c | 253 desc.fields.flags_len = IBMVETH_BUF_VALID | pool->buff_size; in ibmveth_replenish_buffer_pool() 254 desc.fields.address = dma_addr; in ibmveth_replenish_buffer_pool() 427 desc.fields.flags_len = IBMVETH_BUF_VALID | in ibmveth_rxq_recycle_buffer() 429 desc.fields.address = adapter->rx_buff_pool[pool].dma_addr[index]; in ibmveth_rxq_recycle_buffer() 558 rxq_desc.fields.flags_len = IBMVETH_BUF_VALID | in ibmveth_open() 560 rxq_desc.fields.address = adapter->rx_queue.queue_dma; in ibmveth_open() 1111 descs[0].fields.flags_len = desc_flags | skb->len; in ibmveth_start_xmit() 1112 descs[0].fields.address = adapter->bounce_buffer_dma; in ibmveth_start_xmit() 1131 descs[0].fields.flags_len = desc_flags | skb_headlen(skb); in ibmveth_start_xmit() 1132 descs[0].fields.address = dma_addr; in ibmveth_start_xmit() [all …]
|
/drivers/thermal/qcom/ |
D | tsens.c | 155 resolution = priv->fields[LAST_TEMP_0].msb - in tsens_hw_to_mC() 156 priv->fields[LAST_TEMP_0].lsb; in tsens_hw_to_mC() 806 priv->fields[i]); in init_common() 818 priv->fields[TSENS_EN]); in init_common() 837 priv->fields[SENSOR_EN]); in init_common() 843 priv->fields[INT_EN]); in init_common() 850 devm_regmap_field_alloc(dev, priv->srot_map, priv->fields[TSENS_SW_RST]); in init_common() 856 priv->rf[TRDY] = devm_regmap_field_alloc(dev, priv->tm_map, priv->fields[TRDY]); in init_common() 869 priv->fields[idx]); in init_common() 886 priv->fields[idx]); in init_common() [all …]
|
/drivers/vfio/pci/ |
D | vfio_pci.c | 212 int fields; in vfio_pci_fill_ids() local 217 fields = sscanf(id, "%x:%x:%x:%x:%x:%x", in vfio_pci_fill_ids() 221 if (fields < 2) { in vfio_pci_fill_ids()
|
/drivers/staging/greybus/Documentation/firmware/ |
D | firmware-management | 143 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/ |
D | mpi_history.txt | 115 * 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 …]
|