Home
last modified time | relevance | path

Searched refs:const (Results 76 – 100 of 163) sorted by relevance

1234567

/Zephyr-latest/doc/hardware/arch/
Dsemihost.rst30 const char *path = "./data.bin";
/Zephyr-latest/doc/services/zbus/
Dindex.rst342 const struct zbus_channel *chan;
463 void listener_callback_example(const struct zbus_channel *chan)
465 const struct acc_msg *acc;
481 const struct zbus_channel *chan;
501 const struct zbus_channel *chan;
543 bool control_validator(const void* msg, size_t msg_size) {
544 const struct control_msg* cm = msg;
653 static bool print_channel_data_iterator(const struct zbus_channel *chan, void *user_data)
681 static bool print_observer_data_iterator(const struct zbus_observer *obs, void *user_data)
742 a constant pointer to the channel. The const pointer return type tells developers not to modify the
[all …]
/Zephyr-latest/doc/services/pm/
Dpower_domain.rst94 static int mydomain_pm_action(const struct device *dev,
150 static int mydev_pm_action(const struct device *dev,
/Zephyr-latest/doc/connectivity/networking/api/
D8021Qav.rst26 static enum ethernet_hw_caps eth_get_capabilities(const struct device *dev)
Dhttp_server.rst117 static const sec_tag_t sec_tag_list[] = {
160 static const uint8_t index_html_gz[] = {
234 const struct http_request_ctx *request_ctx,
394 const struct http_header *headers = client->header_capture_ctx.headers;
Dcoap_client.rst69 void response_cb(int16_t code, size_t offset, const uint8_t *payload, size_t len,
Dlwm2m.rst432 static const char client_identity[] = "Client_identity";
445 static const char certificate[] = "-----BEGIN CERTIFICATE-----\nMIIB6jCCAY+gAw...";
446 static const char key[] = "-----BEGIN EC PRIVATE KEY-----\nMHcCAQ...";
447 static const char root_ca[] = "-----BEGIN CERTIFICATE-----\nMIIBaz...";
/Zephyr-latest/doc/develop/api/
Ddesign_guidelines.rst19 would be ``const struct device *dev``. For library functions it may be a
56 void handle_alarm(const struct device *dev,
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dblob_cli.rst20 static const struct bt_mesh_blob_cli_cb blob_cb = {
28 static const struct bt_mesh_model models[] = {
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_senml_cbor.patch66 const uint8_t *payload, size_t payload_len,
140 const struct lwm2m_senml *input,
/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/
Dfir_q15.pat1 static const q15_t in_val[46] = {
10 static const q15_t in_coeff[532] = {
80 static const uint16_t in_config[126] = {
99 static const q15_t ref_val[1080] = {
Dfir_f16.pat1 static const uint16_t in_val[46] = {
10 static const uint16_t in_coeff[497] = {
76 static const uint16_t in_config[126] = {
95 static const uint16_t ref_val[1080] = {
Dfir_q7.pat1 static const q7_t in_val[46] = {
10 static const q7_t in_coeff[504] = {
76 static const uint16_t in_config[140] = {
97 static const q7_t ref_val[1840] = {
Ddecim_q31.pat1 static const q31_t in_val_decim[1980] = {
499 static const q31_t in_coeff_decim[564] = {
643 static const uint32_t in_config_decim[288] = {
718 static const q31_t in_val_interp[264] = {
787 static const q31_t in_coeff_interp[1044] = {
1051 static const uint32_t in_config_interp[144] = {
1090 static const q31_t ref_decim[528] = {
1225 static const q31_t ref_interp[1276] = {
Ddecim_f32.pat1 static const uint32_t in_val_decim[1980] = {
499 static const uint32_t in_coeff_decim[564] = {
643 static const uint32_t in_config_decim[288] = {
718 static const uint32_t in_val_interp[264] = {
787 static const uint32_t in_coeff_interp[1044] = {
1051 static const uint32_t in_config_interp[144] = {
1090 static const uint32_t ref_decim[528] = {
1225 static const uint32_t ref_interp[1276] = {
/Zephyr-latest/doc/connectivity/usb/device/
Dusb_device.rst146 const struct device *const dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_console));
242 static const struct device *hdev;
244 static void int_in_ready_cb(const struct device *dev)
255 static void status_cb(enum usb_dc_status_code status, const uint8_t *param)
267 static const uint8_t hid_report_desc[] = {
281 static const struct hid_ops my_ops = {
/Zephyr-latest/scripts/release/
Dlist_devicetree_bindings_changes.py309 lambda prop: binding_start.prop2specs[prop].const,
310 lambda prop: binding_end.prop2specs[prop].const,
/Zephyr-latest/doc/services/retention/
Dindex.rst117 const struct device *retention1 = DEVICE_DT_GET(DT_NODELABEL(retention1));
118 const struct device *retention2 = DEVICE_DT_GET(DT_NODELABEL(retention2));
/Zephyr-latest/doc/releases/
Dmigration-guide-3.6.rst468 and ``BT_UUID_DECLARE_128`` as the return value has been changed to ``const``.
469 Any pointer to a UUID must be prefixed with ``const``, otherwise there will be a compilation
471 ``const struct bt_uuid *uuid = BT_UUID_DECLARE_16(xx)``. (:github:`66136`)
489 * The Bluetooth Mesh ``model`` declaration has been changed to add prefix ``const``.
493 * The Bluetooth Mesh ``element`` declaration has been changed to add prefix ``const``.
544 ``request`` argument for :c:func:`coap_well_known_core_get` is made ``const``.
563 ``const struct igmp_param *param``. This allows IGMPv3 to exclude/include certain groups of
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py589 def const(self) -> Union[None, int, List[int], str, List[str]]: member in PropertySpec
1466 const = prop_spec.const
1467 if const is not None and val != const:
2664 const = options.get("const")
2692 if const and prop_type not in const_types:
/Zephyr-latest/tests/lib/cmsis_dsp/quaternionmath/src/
Df32.pat1 static const uint32_t in_com1[512] = {
132 static const uint32_t in_com2[512] = {
263 static const uint32_t in_rot[1152] = {
554 static const uint32_t ref_norm[128] = {
589 static const uint32_t ref_inv[512] = {
720 static const uint32_t ref_conj[512] = {
851 static const uint32_t ref_normalize[512] = {
982 static const uint32_t ref_mult[512] = {
1113 static const uint32_t ref_quat2rot[1152] = {
1404 static const uint32_t ref_rot2quat[512] = {
/Zephyr-latest/doc/hardware/pinctrl/
Dindex.rst454 const struct pinctrl_dev_config *pcfg;
460 static int mydev_init(const struct device *dev)
462 const struct mydev_config *config = dev->config;
477 static const struct mydev_config mydev_config_##i = { \
/Zephyr-latest/doc/services/storage/flash_map/
Dflash_map.rst98 const struct flash_area *my_area;
/Zephyr-latest/doc/services/shell/
Dindex.rst298 static int gain_cmd_handler(const struct shell *sh,
467 static int cmd_handler(const struct shell *sh, size_t argc,
514 static int cmd_handler(const struct shell *sh, size_t argc,
796 static int cmd_demo_ping(const struct shell *sh, size_t argc,
806 static int cmd_demo_params(const struct shell *sh, size_t argc,
/Zephyr-latest/scripts/
Dcheckpatch.pl838 (?:(?:\s|\*|\[\])+\s*const|(?:\s|\*\s*(?:const\s*)?|\[\])+|(?:\s*\[\s*\])+){0,4}
843 (?:(?:\s|\*|\[\])+\s*const|(?:\s|\*\s*(?:const\s*)?|\[\])+|(?:\s*\[\s*\])+){0,4}
4101 …if ($line =~ /^\+\s*const\s+(char|unsigned\s+char|_*u8|(?:[us]_)?int8_t)\s+\w+\s*\[\s*(?:\w+\s*)?\…
5002 my $const = $2;
5020 $fixed[$fixlinenr] =~ s/\(\s*\Q$const\E\s*$Compare\s*\Q$to\E\s*\)/($to $newcomp $const)/;
6118 my $const = $2;
6123 my $newconst = $const;
6131 $fixed[$fixlinenr] =~ s/\Q$cast\E$const\b/$newconst$suffix/;

1234567