Home
last modified time | relevance | path

Searched refs:chip_features (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/iio/dac/
H A Dmcp47feb02.c337 const struct mcp47feb02_features *chip_features; member
705 tmp = (u64)vref_uV * MILLI >> data->chip_features->resolution; in mcp47feb02_init_scale()
944 const struct mcp47feb02_features *chip_features) in mcp47feb02_parse_fw() argument
954 if (num_channels > chip_features->phys_channels) in mcp47feb02_parse_fw()
972 if (reg >= chip_features->phys_channels) in mcp47feb02_parse_fw()
992 data->phys_channels = chip_features->phys_channels; in mcp47feb02_parse_fw()
996 if (chip_features->have_ext_vref1) in mcp47feb02_parse_fw()
1095 const struct mcp47feb02_features *chip_features; in mcp47feb02_probe() local
1106 chip_features = i2c_get_match_data(client); in mcp47feb02_probe()
1107 if (!chip_features) in mcp47feb02_probe()
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils.c72 &self->chip_features); in hw_atl_utils_initfw()
834 u32 chip_features = 0U; in hw_atl_utils_hw_chip_features_init() local
836 chip_features |= ATL_HW_CHIP_ATLANTIC; in hw_atl_utils_hw_chip_features_init()
839 chip_features |= ATL_HW_CHIP_REVISION_A0 | in hw_atl_utils_hw_chip_features_init()
843 chip_features |= ATL_HW_CHIP_REVISION_B0 | in hw_atl_utils_hw_chip_features_init()
849 chip_features |= ATL_HW_CHIP_REVISION_B1 | in hw_atl_utils_hw_chip_features_init()
856 *p = chip_features; in hw_atl_utils_hw_chip_features_init()