/Zephyr-Core-3.5.0/tests/drivers/sdhc/src/ |
D | main.c | 13 static struct sdhc_host_props props; variable 35 props.f_max = 0xFF; in ZTEST() 36 props.f_min = 0xFF; in ZTEST() 37 props.power_delay = 0xFF; in ZTEST() 38 props.max_current_330 = 0xFF; in ZTEST() 39 props.max_current_300 = 0xFF; in ZTEST() 40 props.max_current_180 = 0xFF; in ZTEST() 41 ret = sdhc_get_host_props(sdhc_dev, &props); in ZTEST() 44 zassert_not_equal(props.f_max, 0xFF, "props structure not initialized"); in ZTEST() 45 zassert_not_equal(props.f_min, 0xFF, "props structure not initialized"); in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/tests/drivers/fuel_gauge/bq27z746/src/ |
D | test_bq27z746.c | 36 fuel_gauge_prop_t props[] = { in ZTEST_USER_F() local 44 union fuel_gauge_prop_val vals[ARRAY_SIZE(props)]; in ZTEST_USER_F() 46 int ret = fuel_gauge_get_props(fixture->dev, props, vals, ARRAY_SIZE(props)); in ZTEST_USER_F() 103 fuel_gauge_prop_t props[] = { in ZTEST_USER_F() local 122 union fuel_gauge_prop_val vals[ARRAY_SIZE(props)]; in ZTEST_USER_F() 124 zassert_ok(fuel_gauge_get_props(fixture->dev, props, vals, ARRAY_SIZE(props))); in ZTEST_USER_F() 148 zassert_between_inclusive(props[0].avg_current, -32768 * 1000, 32767 * 1000); in ZTEST_USER_F() 149 zassert_between_inclusive(props[1].cycle_count, 0, 6553500); in ZTEST_USER_F() 150 zassert_between_inclusive(props[2].current, -32768 * 1000, 32767 * 1000); in ZTEST_USER_F() 151 zassert_between_inclusive(props[3].full_charge_capacity, 0, 32767 * 1000); in ZTEST_USER_F() [all …]
|
/Zephyr-Core-3.5.0/tests/drivers/fuel_gauge/max17048/src/ |
D | test_max17048.c | 45 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() local 47 int ret = fuel_gauge_get_props(fixture->dev, prop_types, props, ARRAY_SIZE(props)); in ZTEST_USER_F() 63 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() local 65 zassert_ok(fuel_gauge_get_props(fixture->dev, prop_types, props, ARRAY_SIZE(props))); in ZTEST_USER_F() 76 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() local 82 int ret = fuel_gauge_get_props(fixture->dev, prop_types, props, ARRAY_SIZE(props)); in ZTEST_USER_F() 84 zassert_equal(props[0].runtime_to_empty, 0, "Runtime to empty is %d but it should be 0.", in ZTEST_USER_F() 85 props[0].runtime_to_full); in ZTEST_USER_F() 86 zassert_equal(props[1].runtime_to_full, 0, "Runtime to full is %d but it should be 0.", in ZTEST_USER_F() 87 props[1].runtime_to_full); in ZTEST_USER_F()
|
/Zephyr-Core-3.5.0/subsys/sd/ |
D | sd_ops.h | 39 static inline int sdmmc_host_uhs(struct sdhc_host_props *props) in sdmmc_host_uhs() argument 41 return (props->host_caps.sdr50_support | in sdmmc_host_uhs() 42 props->host_caps.uhs_2_support | in sdmmc_host_uhs() 43 props->host_caps.sdr104_support | in sdmmc_host_uhs() 44 props->host_caps.ddr50_support) in sdmmc_host_uhs() 45 & (props->host_caps.vol_180_support); in sdmmc_host_uhs()
|
/Zephyr-Core-3.5.0/tests/drivers/fuel_gauge/sbs_gauge/src/ |
D | test_sbs_gauge.c | 45 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() local 47 int ret = fuel_gauge_get_props(fixture->dev, prop_types, props, ARRAY_SIZE(props)); in ZTEST_USER_F() 58 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() local 60 int ret = fuel_gauge_set_props(fixture->dev, prop_types, props, ARRAY_SIZE(props)); in ZTEST_USER_F() 78 union fuel_gauge_prop_val props[] = { in ZTEST_USER_F() local 88 int ret = fuel_gauge_set_props(fixture->dev, prop_types, props, ARRAY_SIZE(props)); in ZTEST_USER_F() 169 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() local 171 zassert_ok(fuel_gauge_get_props(fixture->dev, prop_types, props, ARRAY_SIZE(props))); in ZTEST_USER_F() 186 union fuel_gauge_prop_val props[ARRAY_SIZE(prop_types)]; in ZTEST_USER_F() local 188 zassert_ok(fuel_gauge_set_props(fixture->dev, prop_types, props, ARRAY_SIZE(props))); in ZTEST_USER_F()
|
/Zephyr-Core-3.5.0/samples/fuel_gauge/max17048/src/ |
D | main.c | 42 fuel_gauge_prop_t props[] = { in main() local 49 union fuel_gauge_prop_val vals[ARRAY_SIZE(props)]; in main() 51 ret = fuel_gauge_get_props(dev, props, vals, ARRAY_SIZE(props)); in main()
|
/Zephyr-Core-3.5.0/scripts/west_commands/runners/ |
D | nsim.py | 29 props=DEFAULT_PROPS_FILE): argument 37 self.props = props 55 props=args.props) 60 self.props)
|
/Zephyr-Core-3.5.0/scripts/dts/python-devicetree/tests/ |
D | test_dtlib.py | 819 phandle = dtlib.to_num(dt.root.props[prop].value[offset:offset + 4]) 1531 actual = dt.root.props[prop].type 1637 actual = dt.root.props[prop].to_num(signed) 1643 dt.root.props[prop].to_num() 1675 actual = dt.root.props[prop].to_nums(signed) 1681 dt.root.props[prop].to_nums() 1705 actual = dt.root.props[prop].to_bytes() 1710 dt.root.props[prop].to_bytes() 1728 actual = dt.root.props[prop].to_string() 1733 dt.root.props[prop].to_string() [all …]
|
/Zephyr-Core-3.5.0/scripts/dts/ |
D | gen_dts_cmake.py | 106 for item in node.props: 108 if "phandle" not in node.props[item].type: 109 if "array" in node.props[item].type: 112 for val in node.props[item].val: 115 cmake_value = node.props[item].val 124 for comp in node.props[item].val:
|
/Zephyr-Core-3.5.0/scripts/kconfig/ |
D | kconfigfunctions.py | 68 if "label" not in node.props: 71 return node.props["label"].val 214 if prop not in node.props: 217 if node.props[prop].type != "int": 220 return node.props[prop].val >> _dt_units_to_scale(unit) 240 if prop not in node.props: 242 if node.props[prop].type != "array": 244 if int(index) >= len(node.props[prop].val): 246 return node.props[prop].val[int(index)] >> _dt_units_to_scale(unit) 415 if prop not in node.props: [all …]
|
/Zephyr-Core-3.5.0/tests/boards/intel_adsp/ssp/src/ |
D | main.c | 104 static int config_output_dma(const struct dai_properties *props, uint32_t *chan_id) in config_output_dma() argument 106 dma_cfg.dma_slot = props->dma_hs_id; in config_output_dma() 131 dma_block_cfgs[i].dest_address = props->fifo_address; in config_output_dma() 144 static int config_input_dma(const struct dai_properties *props, uint32_t *chan_id_rx) in config_input_dma() argument 146 dma_cfg_rx.dma_slot = props->dma_hs_id; in config_input_dma() 171 dma_block_cfgs_rx[i].source_address = props->fifo_address; in config_input_dma() 260 const struct dai_properties *props; in ZTEST() local 264 props = dai_get_properties(dev_dai_ssp, DAI_DIR_TX, 0); in ZTEST() 265 if (!props) { in ZTEST() 270 if (config_output_dma(props, &chan_id)) { in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/drivers/sdhc/ |
D | imx_usdhc.c | 78 struct sdhc_host_props props; member 168 struct sdhc_host_props *props = &data->props; in imx_usdhc_init_host_props() local 170 memset(props, 0, sizeof(struct sdhc_host_props)); in imx_usdhc_init_host_props() 171 props->f_max = cfg->max_bus_freq; in imx_usdhc_init_host_props() 172 props->f_min = cfg->min_bus_freq; in imx_usdhc_init_host_props() 173 props->max_current_330 = cfg->max_current_330; in imx_usdhc_init_host_props() 174 props->max_current_180 = cfg->max_current_180; in imx_usdhc_init_host_props() 175 props->power_delay = cfg->power_delay_ms; in imx_usdhc_init_host_props() 179 props->host_caps.vol_180_support = false; in imx_usdhc_init_host_props() 181 props->host_caps.vol_180_support = (bool)(caps.flags & kUSDHC_SupportV180Flag); in imx_usdhc_init_host_props() [all …]
|
D | mcux_sdif.c | 112 struct sdhc_host_props *props) in mcux_sdif_get_host_props() argument 114 memset(props, 0, sizeof(*props)); in mcux_sdif_get_host_props() 115 props->f_max = MCUX_SDIF_F_MAX; in mcux_sdif_get_host_props() 116 props->f_min = MCUX_SDIF_F_MIN; in mcux_sdif_get_host_props() 117 props->power_delay = 500; in mcux_sdif_get_host_props() 118 props->host_caps.high_spd_support = true; in mcux_sdif_get_host_props() 119 props->host_caps.suspend_res_support = true; in mcux_sdif_get_host_props() 120 props->host_caps.vol_330_support = true; in mcux_sdif_get_host_props() 121 props->host_caps.bus_8_bit_support = true; in mcux_sdif_get_host_props() 122 props->max_current_330 = 1024; in mcux_sdif_get_host_props()
|
D | intel_emmc_host.c | 54 struct sdhc_host_props props; member 1018 if (ios->clock && (ios->clock > emmc->props.f_max || ios->clock < emmc->props.f_min)) { in emmc_set_io() 1020 emmc->props.f_max, emmc->props.f_min); in emmc_set_io() 1144 static int emmc_get_host_props(const struct device *dev, struct sdhc_host_props *props) in emmc_get_host_props() argument 1153 memset(props, 0, sizeof(struct sdhc_host_props)); in emmc_get_host_props() 1154 props->f_max = config->max_bus_freq; in emmc_get_host_props() 1155 props->f_min = config->min_bus_freq; in emmc_get_host_props() 1156 props->power_delay = config->power_delay_ms; in emmc_get_host_props() 1158 props->host_caps.vol_180_support = (bool)(cap & BIT(26u)); in emmc_get_host_props() 1159 props->host_caps.vol_300_support = (bool)(cap & BIT(25u)); in emmc_get_host_props() [all …]
|
D | sam_hsmci.c | 100 static int sam_hsmci_get_host_props(const struct device *dev, struct sdhc_host_props *props) in sam_hsmci_get_host_props() argument 102 memset(props, 0, sizeof(*props)); in sam_hsmci_get_host_props() 104 props->f_max = _HSMCI_MAX_FREQ; in sam_hsmci_get_host_props() 105 props->f_min = _HSMCI_MIN_FREQ; in sam_hsmci_get_host_props() 107 props->host_caps.high_spd_support = false; in sam_hsmci_get_host_props() 108 props->power_delay = 500; in sam_hsmci_get_host_props() 109 props->is_spi = false; in sam_hsmci_get_host_props() 110 props->max_current_330 = 4; in sam_hsmci_get_host_props()
|
/Zephyr-Core-3.5.0/scripts/dts/python-devicetree/src/devicetree/ |
D | edtlib.py | 1007 self.props: Dict[str, Property] = {} 1053 if "label" in self._node.props: 1054 return self._node.props["label"].to_string() 1105 status = self._node.props.get("status") 1120 return "read-only" in self._node.props 1168 and "cs-gpios" in self.bus_node.props): 1175 parent_cs_lst = self.bus_node.props["cs-gpios"].val 1198 if "gpio-hog" not in self.props: 1201 if not self.parent or not "gpio-controller" in self.parent.props: 1204 if not "#gpio-cells" in self.parent._node.props: [all …]
|
D | _private.py | 22 raw = node.props[prop_name].value
|
/Zephyr-Core-3.5.0/samples/bluetooth/peripheral_ots/src/ |
D | main.c | 43 uint32_t props; member 94 created_desc->props = object_being_created->props; in ots_obj_created() 101 BT_OTS_OBJ_SET_PROP_READ(created_desc->props); in ots_obj_created() 102 BT_OTS_OBJ_SET_PROP_WRITE(created_desc->props); in ots_obj_created() 103 BT_OTS_OBJ_SET_PROP_PATCH(created_desc->props); in ots_obj_created() 104 BT_OTS_OBJ_SET_PROP_DELETE(created_desc->props); in ots_obj_created() 271 BT_OTS_OBJ_SET_PROP_READ(obj_data.props); in ots_init() 272 BT_OTS_OBJ_SET_PROP_WRITE(obj_data.props); in ots_init() 273 BT_OTS_OBJ_SET_PROP_PATCH(obj_data.props); in ots_init() 301 BT_OTS_OBJ_SET_PROP_READ(obj_data.props); in ots_init()
|
/Zephyr-Core-3.5.0/drivers/fuel_gauge/ |
D | fuel_gauge_syscall_handlers.c | 29 static inline int z_vrfy_fuel_gauge_get_props(const struct device *dev, fuel_gauge_prop_t *props, in z_vrfy_fuel_gauge_get_props() argument 38 Z_OOPS(z_user_from_copy(k_props, props, len * sizeof(fuel_gauge_prop_t))); in z_vrfy_fuel_gauge_get_props() 61 static inline int z_vrfy_fuel_gauge_set_props(const struct device *dev, fuel_gauge_prop_t *props, in z_vrfy_fuel_gauge_set_props() argument 70 Z_OOPS(z_user_from_copy(k_props, props, len * sizeof(fuel_gauge_prop_t))); in z_vrfy_fuel_gauge_set_props()
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | fuel_gauge.h | 289 __syscall int fuel_gauge_get_props(const struct device *dev, fuel_gauge_prop_t *props, 292 fuel_gauge_prop_t *props, in z_impl_fuel_gauge_get_props() argument 298 int ret = api->get_property(dev, props[i], vals + i); in z_impl_fuel_gauge_get_props() 343 __syscall int fuel_gauge_set_props(const struct device *dev, fuel_gauge_prop_t *props, 347 fuel_gauge_prop_t *props, in z_impl_fuel_gauge_set_props() argument 351 int ret = fuel_gauge_set_prop(dev, props[i], vals[i]); in z_impl_fuel_gauge_set_props()
|
D | sdhc.h | 244 struct sdhc_host_props *props); 418 struct sdhc_host_props *props); 421 struct sdhc_host_props *props) in z_impl_sdhc_get_host_props() argument 430 return api->get_host_props(dev, props); in z_impl_sdhc_get_host_props()
|
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/btp/ |
D | btp_has.h | 39 uint8_t props; member 48 uint8_t props; member
|
/Zephyr-Core-3.5.0/boards/arc/nsim/ |
D | board.cmake | 8 set(NSIM_PROPS "${BOARD}.props") 9 board_runner_args(arc-nsim "--props=${NSIM_PROPS}")
|
/Zephyr-Core-3.5.0/doc/_extensions/zephyr/kconfig/static/ |
D | kconfig.mjs | 256 const props = document.createElement('dl'); 257 props.className = 'field-list simple'; 258 details.appendChild(props); 260 renderKconfigPropLiteral(props, 'Type', entry.type); 262 renderKconfigPropList(props, 'Dependencies', [entry.dependencies]); 264 renderKconfigDefaults(props, entry.defaults, entry.alt_defaults); 265 renderKconfigPropList(props, 'Selects', entry.selects, false); 266 renderKconfigPropList(props, 'Selected by', entry.selected_by, true); 267 renderKconfigPropList(props, 'Implies', entry.implies, false); 268 renderKconfigPropList(props, 'Implied by', entry.implied_by, true); [all …]
|
/Zephyr-Core-3.5.0/scripts/generate_usb_vif/ |
D | generate_vif.py | 221 not node.props[dt_constants.PD_DISABLE].val))) 223 if not node.props[dt_constants.PD_DISABLE].val: 224 power_role = node.props[dt_constants.POWER_ROLE].val 237 if dt_constants.SINK_PDOS in node.props: 239 node.props[dt_constants.SINK_PDOS].val)
|