Home
last modified time | relevance | path

Searched refs:params (Results 126 – 150 of 295) sorted by relevance

12345678910>>...12

/Zephyr-latest/drivers/flash/
Dflash_util.c75 __maybe_unused const struct flash_parameters *params = api->get_parameters(dev); in z_impl_flash_flatten() local
78 if ((flash_params_get_erase_cap(params) & FLASH_ERASE_C_EXPLICIT) && in z_impl_flash_flatten()
85 return flash_fill(dev, params->erase_value, offset, size); in z_impl_flash_flatten()
171 const struct flash_parameters *params = api->get_parameters(dst_dev); in z_impl_flash_copy() local
173 memset(buf, params->erase_value, write_size); in z_impl_flash_copy()
/Zephyr-latest/samples/bluetooth/periodic_sync_conn/src/
Dmain.c27 struct bt_le_per_adv_sync_subevent_params params; in sync_cb() local
35 params.properties = 0; in sync_cb()
36 params.num_subevents = 1; in sync_cb()
37 params.subevents = subevents; in sync_cb()
39 err = bt_le_per_adv_sync_subevent(sync, &params); in sync_cb()
/Zephyr-latest/samples/bluetooth/channel_sounding/src/
Dconnected_cs_initiator.c93 struct bt_gatt_exchange_params *params) in mtu_exchange_cb() argument
141 static void remote_capabilities_cb(struct bt_conn *conn, struct bt_conn_le_cs_capabilities *params) in remote_capabilities_cb() argument
143 ARG_UNUSED(params); in remote_capabilities_cb()
161 struct bt_conn_le_cs_procedure_enable_complete *params) in procedure_enabled_cb() argument
163 if (params->state == 1) { in procedure_enabled_cb()
346 struct bt_le_cs_procedure_enable_param params = { in main() local
351 err = bt_le_cs_procedure_enable(connection, &params); in main()
/Zephyr-latest/include/zephyr/net/
Dwifi_mgmt.h1317 struct wifi_scan_params *params,
1327 struct wifi_connect_req_params *params);
1343 struct wifi_connect_req_params *params);
1391 int (*cfg_11k)(const struct device *dev, struct wifi_11k_params *params);
1399 int (*send_11k_neighbor_request)(const struct device *dev, struct wifi_11k_params *params);
1407 int (*set_power_save)(const struct device *dev, struct wifi_ps_params *params);
1415 int (*set_twt)(const struct device *dev, struct wifi_twt_params *params);
1423 int (*set_btwt)(const struct device *dev, struct wifi_twt_params *params);
1503 int (*get_version)(const struct device *dev, struct wifi_version *params);
1511 int (*get_conn_params)(const struct device *dev, struct wifi_connect_req_params *params);
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dcs.h597 const struct bt_le_cs_set_default_settings_param *params);
645 int bt_le_cs_start_test(const struct bt_le_cs_test_param *params);
661 int bt_le_cs_create_config(struct bt_conn *conn, struct bt_le_cs_create_config_params *params,
742 const struct bt_le_cs_procedure_enable_param *params);
815 const struct bt_le_cs_set_procedure_parameters_param *params);
865 struct bt_conn *conn, const struct bt_conn_le_cs_capabilities *params);
/Zephyr-latest/tests/bsim/bluetooth/samples/battery_service/src/
Dcentral_test.c66 struct bt_gatt_read_params *params, const void *data, in battery_critical_status_read_cb() argument
95 struct bt_gatt_read_params *params, const void *data, in battery_level_read_cb() argument
134 struct bt_gatt_subscribe_params *params, const void *data, in battery_level_notify_cb() argument
353 struct bt_gatt_subscribe_params *params, in battery_critical_status_indicate_cb() argument
372 struct bt_gatt_subscribe_params *params, in battery_level_status_indicate_cb() argument
400 struct bt_gatt_subscribe_params *params, in battery_level_status_notify_cb() argument
507 struct bt_gatt_discover_params *params) in discover_func() argument
513 memset(params, 0, sizeof(*params)); in discover_func()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_mgmt.c29 struct wifi_ps_params *params) in nrf_wifi_set_power_save() argument
37 if (!dev || !params) { in nrf_wifi_set_power_save()
62 switch (params->type) { in nrf_wifi_set_power_save()
64 if ((params->listen_interval < in nrf_wifi_set_power_save()
66 (params->listen_interval > in nrf_wifi_set_power_save()
68 params->fail_reason = in nrf_wifi_set_power_save()
75 params->listen_interval); in nrf_wifi_set_power_save()
88 params->fail_reason = in nrf_wifi_set_power_save()
96 params->timeout_ms); in nrf_wifi_set_power_save()
99 if (params->mode == WIFI_PS_MODE_WMM) { in nrf_wifi_set_power_save()
[all …]
/Zephyr-latest/drivers/wifi/winc1500/
Dwifi_winc1500.c984 struct wifi_scan_params *params, in winc1500_mgmt_scan() argument
987 ARG_UNUSED(params); in winc1500_mgmt_scan()
1005 struct wifi_connect_req_params *params) in winc1500_mgmt_connect() argument
1013 memcpy(ssid, params->ssid, params->ssid_length); in winc1500_mgmt_connect()
1014 ssid[params->ssid_length] = '\0'; in winc1500_mgmt_connect()
1016 if (params->security == WIFI_SECURITY_TYPE_PSK) { in winc1500_mgmt_connect()
1017 memcpy(psk.au8PSK, params->psk, params->psk_length); in winc1500_mgmt_connect()
1018 psk.au8PSK[params->psk_length] = '\0'; in winc1500_mgmt_connect()
1027 if (params->channel == WIFI_CHANNEL_ANY) { in winc1500_mgmt_connect()
1030 channel = params->channel; in winc1500_mgmt_connect()
[all …]
/Zephyr-latest/tests/modules/uoscore/src/oscore_testvector_tests/
Doscore_tests.c23 struct oscore_init_params params = { in ZTEST() local
39 r = oscore_context_init(&params, &c_client); in ZTEST()
82 struct oscore_init_params params = { in ZTEST() local
98 r = oscore_context_init(&params, &c_client); in ZTEST()
130 struct oscore_init_params params = { in ZTEST() local
146 r = oscore_context_init(&params, &c_client); in ZTEST()
309 struct oscore_init_params params = { in ZTEST() local
325 r = oscore_context_init(&params, &c); in ZTEST()
/Zephyr-latest/samples/bluetooth/central_hr/src/
Dmain.c33 struct bt_gatt_subscribe_params *params, in notify_func() argument
38 params->value_handle = 0U; in notify_func()
51 struct bt_gatt_discover_params *params) in discover_func() argument
57 (void)memset(params, 0, sizeof(*params)); in discover_func()
/Zephyr-latest/samples/bluetooth/central_ht/src/
Dmain.c49 struct bt_gatt_subscribe_params *params, in notify_func() argument
58 params->value_handle = 0U; in notify_func()
74 struct bt_gatt_discover_params *params) in discover_func() argument
80 (void)memset(params, 0, sizeof(*params)); in discover_func()
/Zephyr-latest/subsys/bluetooth/audio/
Dmicp_mic_ctlr.c100 static uint8_t mute_notify_handler(struct bt_conn *conn, struct bt_gatt_subscribe_params *params, in mute_notify_handler() argument
126 struct bt_gatt_read_params *params, in micp_mic_ctlr_read_mute_cb() argument
153 struct bt_gatt_write_params *params) in micp_mic_ctlr_write_mics_mute_cb() argument
324 struct bt_gatt_discover_params *params) in micp_discover_include_func() argument
330 (void)memset(params, 0, sizeof(*params)); in micp_discover_include_func()
339 if (params->type == BT_GATT_DISCOVER_INCLUDE) { in micp_discover_include_func()
381 struct bt_gatt_discover_params *params) in micp_discover_func() argument
389 (void)memset(params, 0, sizeof(*params)); in micp_discover_func()
412 if (params->type == BT_GATT_DISCOVER_CHARACTERISTIC) { in micp_discover_func()
452 struct bt_gatt_discover_params *params) in primary_discover_func() argument
[all …]
Dcsip_set_coordinator.c104 struct bt_gatt_read_params *params,
384 struct bt_gatt_subscribe_params *params, in sirk_notify_func() argument
387 uint16_t handle = params->value_handle; in sirk_notify_func()
391 LOG_DBG("[UNSUBSCRIBED] %u", params->value_handle); in sirk_notify_func()
392 params->value_handle = 0U; in sirk_notify_func()
454 struct bt_gatt_subscribe_params *params, in size_notify_func() argument
458 uint16_t handle = params->value_handle; in size_notify_func()
462 LOG_DBG("[UNSUBSCRIBED] %u", params->value_handle); in size_notify_func()
463 params->value_handle = 0U; in size_notify_func()
500 struct bt_gatt_subscribe_params *params, in lock_notify_func() argument
[all …]
Dtmap.c48 struct bt_gatt_read_params *params, in tmap_char_read() argument
88 struct bt_gatt_discover_params *params) in discover_func() argument
94 (void)memset(params, 0, sizeof(*params)); in discover_func()
/Zephyr-latest/samples/net/capture/src/
Dmain.c229 struct virtual_interface_req_params params = { 0 }; in init_app() local
252 params.family = AF_UNSPEC; in init_app()
253 memcpy(&params.link_types, &link_types, in init_app()
257 net_if_get_by_index(ifindex), &params, in init_app()
/Zephyr-latest/subsys/net/lib/capture/
Dcapture.c281 struct virtual_interface_req_params params = { 0 }; in net_capture_setup() local
317 params.family = AF_INET6; in net_capture_setup()
318 net_ipaddr_copy(&params.peer6addr, in net_capture_setup()
326 params.family = AF_INET; in net_capture_setup()
327 net_ipaddr_copy(&params.peer4addr, in net_capture_setup()
347 ret = net_context_get(params.family, SOCK_DGRAM, IPPROTO_UDP, in net_capture_setup()
365 ipip_iface, &params, sizeof(params)); in net_capture_setup()
372 params.mtu = orig_mtu; in net_capture_setup()
375 ipip_iface, &params, sizeof(params)); in net_capture_setup()
378 net_if_get_by_iface(ipip_iface), params.mtu, ret); in net_capture_setup()
/Zephyr-latest/drivers/mm/
Dmm_drv_ti_rat.c60 static void address_trans_init(struct address_trans_params *params) in address_trans_init() argument
64 if (params != NULL) { in address_trans_init()
65 translate_config = *params; in address_trans_init()
/Zephyr-latest/modules/hostap/src/
Dsupp_main.c766 struct wpa_init_params params; in hostapd_driver_init() local
783 os_memset(&params, 0, sizeof(params)); in hostapd_driver_init()
798 params.global_priv = hglobal.drv_priv[i]; in hostapd_driver_init()
801 params.bssid = b; in hostapd_driver_init()
802 params.ifname = hapd->conf->iface; in hostapd_driver_init()
803 params.driver_params = hapd->iconf->driver_params; in hostapd_driver_init()
804 params.use_pae_group_addr = hapd->conf->use_pae_group_addr; in hostapd_driver_init()
805 params.num_bridge = hapd->iface->num_bss; in hostapd_driver_init()
806 params.bridge = os_calloc(hapd->iface->num_bss, sizeof(char *)); in hostapd_driver_init()
807 if (params.bridge == NULL) { in hostapd_driver_init()
[all …]
/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4_server.c57 struct dhcpv4_parameter_request_list params; member
269 struct dhcpv4_parameter_request_list *params) in dhcpv4_find_parameter_request_list_option() argument
280 if (optlen > sizeof(params->list)) { in dhcpv4_find_parameter_request_list_option()
282 optlen = sizeof(params->list); in dhcpv4_find_parameter_request_list_option()
285 memcpy(params->list, opt, optlen); in dhcpv4_find_parameter_request_list_option()
286 params->count = optlen; in dhcpv4_find_parameter_request_list_option()
506 struct dhcpv4_parameter_request_list *params) in dhcpv4_encode_requested_params() argument
508 for (uint8_t i = 0; i < params->count; i++) { in dhcpv4_encode_requested_params()
509 switch (params->list[i]) { in dhcpv4_encode_requested_params()
610 struct dhcpv4_parameter_request_list *params, in dhcpv4_send_offer() argument
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_hap.c42 struct bt_has_features_param params; in ha_init() local
65 params.type = cp->type; in ha_init()
66 params.preset_sync_support = presets_sync; in ha_init()
67 params.independent_presets = presets_independent; in ha_init()
80 err = bt_has_register(&params); in ha_init()
/Zephyr-latest/subsys/bluetooth/mesh/
Dgatt_cli.c57 struct bt_gatt_subscribe_params *params, in notify_func() argument
64 params->value_handle = 0U; in notify_func()
79 struct bt_gatt_subscribe_params *params) in notify_enabled() argument
95 struct bt_gatt_discover_params *params) in discover_func() argument
102 (void)memset(params, 0, sizeof(*params)); in discover_func()
/Zephyr-latest/subsys/net/lib/shell/
Dping.c251 struct net_icmp_ping_params params; in ping_work() local
268 params.identifier = sys_rand32_get(); in ping_work()
269 params.sequence = ctx->sequence; in ping_work()
270 params.tc_tos = ctx->tos; in ping_work()
271 params.priority = ctx->priority; in ping_work()
272 params.data = NULL; in ping_work()
273 params.data_size = ctx->payload_size; in ping_work()
278 &params, in ping_work()
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dleshan.py59 params = {'timeout': self.timeout}
61 params['format'] = self.format
62 resp = self._s.get(f'{self.api_url}{path}', params=params, timeout=self.timeout)
65 … path: str, data: str | dict | None = None, headers: dict | None = None, params: dict | None = Non…
67 …resp = self._s.put(f'{self.api_url}{path}', data=data, headers=headers, params=params, timeout=sel…
116 return self.put_raw(f'/clients/{endpoint}/{path}/attributes', params=attributes)
323 …resp = self._s.get(f'{self.api_url}/clients/{endpoint}/composite', params=parameters, timeout=self…
362 …resp = self._s.put(f'{self.api_url}/clients/{endpoint}/composite', params=parameters, json=data, t…
403 …resp = self._s.post(f'{self.api_url}/clients/{endpoint}/composite/observe', params=parameters, tim…
/Zephyr-latest/tests/bluetooth/df/connection_cte_req/src/
Dtest_cte_set_rx_params.h27 const struct ut_bt_df_conn_cte_rx_params *params, bool enable);
/Zephyr-latest/soc/nuvoton/npcx/common/
Dsoc_miwu.h123 struct miwu_io_params params; member
129 struct miwu_dev_params params; member

12345678910>>...12