Home
last modified time | relevance | path

Searched +full:int +full:- +full:enum (Results 1 – 25 of 936) sorted by relevance

12345678910>>...38

/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Dat.h6 * Copyright (c) 2015-2016 Intel Corporation
8 * SPDX-License-Identifier: Apache-2.0
11 enum at_result {
17 enum at_cme {
44 enum at_state {
57 enum at_cmd_state {
65 enum at_cmd_type {
76 typedef int (*at_resp_cb_t)(struct at_client *at, struct net_buf *buf);
83 typedef int (*at_finish_cb_t)(struct at_client *at, enum at_result result,
84 enum at_cme cme_err);
[all …]
Dat.c7 * Copyright (c) 2015-2016 Intel Corporation
9 * SPDX-License-Identifier: Apache-2.0
22 if (at->buf[at->pos] == ',') { in next_list()
23 at->pos++; in next_list()
27 int at_check_byte(struct net_buf *buf, char check_byte) in at_check_byte()
29 const unsigned char *str = buf->data; in at_check_byte()
32 return -EINVAL; in at_check_byte()
41 while (at->buf[at->pos] == ' ') { in skip_space()
42 at->pos++; in skip_space()
46 int at_get_number(struct at_client *at, uint32_t *val) in at_get_number()
[all …]
/Zephyr-Core-2.7.6/subsys/net/l2/ppp/
Dppp_internal.h10 * SPDX-License-Identifier: Apache-2.0
29 /** Max Terminate-Request transmissions */
32 /** Max Configure-Request transmissions */
43 enum net_verdict (*handler)(struct ppp_context *ctx,
65 int (*parse)(struct ppp_fsm *fsm, struct net_pkt *pkt,
67 int (*nack)(struct ppp_fsm *fsm, struct net_pkt *ret_pkt,
78 int ppp_config_info_req(struct ppp_fsm *fsm,
82 enum ppp_protocol_type protocol,
105 const char *ppp_phase_str(enum ppp_phase phase);
106 const char *ppp_state_str(enum ppp_state state);
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/vcnl4040/
Dvcnl4040.h4 * SPDX-License-Identifier: Apache-2.0
42 enum led_current {
53 enum led_duty_cycle {
60 enum ambient_integration_time {
67 enum proximity_integration_time {
78 enum proximity_type {
85 enum interrupt_type {
100 enum led_current led_i;
101 enum led_duty_cycle led_dc;
102 enum ambient_integration_time als_it;
[all …]
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/tests/test-bindings/
Denums.yaml2 # SPDX-License-Identifier: BSD-3-Clause
4 description: Property enum test
9 int-enum:
10 type: int
11 enum:
12 - 1
13 - 2
14 - 3
16 string-enum: # not tokenizable
18 enum:
[all …]
/Zephyr-Core-2.7.6/dts/bindings/rtc/
Dxlnx,xps-timer-1.00.a.yaml3 compatible: "xlnx,xps-timer-1.00.a"
8 # https://github.com/Xilinx/meta-xilinx
11 clock-frequency:
14 xlnx,count-width:
15 type: int
17 enum:
18 - 8
19 - 16
20 - 32
24 xlnx,gen0-assert:
[all …]
/Zephyr-Core-2.7.6/include/debug/
Dcoredump.h4 * SPDX-License-Identifier: Apache-2.0
11 enum coredump_query_id {
22 * -ENOTSUP if this query is not supported.
31 enum coredump_cmd_id {
44 * -ENOTSUP if this command is not supported.
53 * -ENOTSUP if this command is not supported.
75 enum coredump_tgt_code {
99 unsigned int reason;
102 /* Architecture-specific block header */
132 typedef int (*coredump_backend_query_t)(enum coredump_query_id query_id,
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/
Dsensor_handlers.c4 * SPDX-License-Identifier: Apache-2.0
10 static inline int z_vrfy_sensor_attr_set(const struct device *dev, in z_vrfy_sensor_attr_set()
11 enum sensor_channel chan, in z_vrfy_sensor_attr_set()
12 enum sensor_attribute attr, in z_vrfy_sensor_attr_set()
22 static inline int z_vrfy_sensor_attr_get(const struct device *dev, in z_vrfy_sensor_attr_get()
23 enum sensor_channel chan, in z_vrfy_sensor_attr_get()
24 enum sensor_attribute attr, in z_vrfy_sensor_attr_get()
34 static inline int z_vrfy_sensor_sample_fetch(const struct device *dev) in z_vrfy_sensor_sample_fetch()
41 static inline int z_vrfy_sensor_sample_fetch_chan(const struct device *dev, in z_vrfy_sensor_sample_fetch_chan()
42 enum sensor_channel type) in z_vrfy_sensor_sample_fetch_chan()
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/fxas21002/
Dfxas21002.h4 * SPDX-License-Identifier: Apache-2.0
40 enum fxas21002_power {
46 enum fxas21002_range {
53 enum fxas21002_channel {
68 enum fxas21002_range range;
93 int fxas21002_get_power(const struct device *dev, enum fxas21002_power *power);
94 int fxas21002_set_power(const struct device *dev, enum fxas21002_power power);
96 uint32_t fxas21002_get_transition_time(enum fxas21002_power start,
97 enum fxas21002_power end,
101 int fxas21002_trigger_init(const struct device *dev);
[all …]
/Zephyr-Core-2.7.6/drivers/wifi/eswifi/
Deswifi.h4 * SPDX-License-Identifier: Apache-2.0
28 unsigned int pin;
31 enum eswifi_security_type {
40 enum eswifi_request {
47 enum eswifi_role {
54 enum eswifi_security_type security;
71 enum eswifi_request req;
72 enum eswifi_role role;
77 unsigned int mutex_depth;
83 int (*init)(struct eswifi_dev *eswifi);
[all …]
/Zephyr-Core-2.7.6/dts/bindings/sensor/
Dvishay,vcnl4040.yaml2 # SPDX-License-Identifier: Apache-2.0
10 include: i2c-device.yaml
13 int-gpios:
14 type: phandle-array
17 The INT pin signals that a programmable interrupt function
19 triggered. The sensor generates an active-low level signal
22 led-current:
23 type: int
28 enum:
29 - 50
[all …]
Dinvensense,icm42605.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: ICM-42605 motion tracking device
6 # ICM-42605 is SPI.
9 include: spi-device.yaml
12 int-gpios:
13 type: phandle-array
16 The INT signal default configuration is active-high. The
20 accel-hz:
21 type: int
25 Default frequency of accelerometer. (Unit - Hz)
[all …]
Dst,ism330dhcx-common.yaml2 # SPDX-License-Identifier: Apache-2.0
5 drdy-gpios:
6 type: phandle-array
15 int-pin:
16 type: int
29 configuration at power-up.
30 enum:
31 - 1
32 - 2
34 accel-odr:
[all …]
Dti,fdc2x1x.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: i2c-device.yaml
11 sd-gpios:
12 type: phandle-array
19 intb-gpios:
20 type: phandle-array
30 Set to identify the sensor as FDC2114 or FDC2214 (4-channel version)
35 Set the Auto-Scan Mode.
38 "active-channel" (single channel mode).
40 true = Auto-Scan conversions as selected by "rr-sequence"
[all …]
/Zephyr-Core-2.7.6/dts/bindings/clock/
Dst,stm32h7-rcc.yaml2 # SPDX-License-Identifier: Apache-2.0
14 "clock-frequency" property.
20 clock-frequency = <DT_FREQ_M(480)>; /* SYSCLK runs at 480MHz */
42 compatible: "st,stm32h7-rcc"
44 include: [clock-controller.yaml, base.yaml]
50 "#clock-cells":
53 clock-frequency:
55 type: int
60 type: int
62 enum:
[all …]
/Zephyr-Core-2.7.6/subsys/mgmt/updatehub/
Dupdatehub_timer.h4 * SPDX-License-Identifier: Apache-2.0
10 enum updatehub_blk_vars {
18 int updatehub_blk_get(enum updatehub_blk_vars var);
19 void updatehub_blk_inc(enum updatehub_blk_vars var);
20 void updatehub_blk_set(enum updatehub_blk_vars var, int val);
/Zephyr-Core-2.7.6/include/net/
Dhttp_parser.h1 /* SPDX-License-Identifier: MIT */
58 * environment (e.g. -DHTTP_MAX_HEADER_SIZE=<value>). To remove
60 * to a very large number (e.g. -DHTTP_MAX_HEADER_SIZE=0x7fffffff)
70 /* Callbacks should return non-zero to indicate an error. The parser will
76 * HEAD request which may contain 'Content-Length' or 'Transfer-Encoding:
88 typedef int (*http_data_cb)(struct http_parser *, const char *at,
90 typedef int (*http_cb)(struct http_parser *);
92 enum http_method {
128 enum http_parser_type { HTTP_REQUEST, HTTP_RESPONSE, HTTP_BOTH };
131 enum flags {
[all …]
/Zephyr-Core-2.7.6/drivers/led/
Dlp5562.c4 * SPDX-License-Identifier: Apache-2.0
13 * The LP5562 is a 4-channel LED driver that communicates over I2C. The four
23 * - Set the brightness.
24 * - Fade the brightness over time.
25 * - Loop parts of the program or the whole program.
26 * - Add delays.
27 * - Synchronize between the engines.
114 enum lp5562_led_channels {
129 enum lp5562_led_sources {
139 enum lp5562_engine_op_modes {
[all …]
/Zephyr-Core-2.7.6/include/drivers/pcie/endpoint/
Dpcie_ep.h8 * SPDX-License-Identifier: Apache-2.0
21 enum pcie_ob_mem_type {
23 PCIE_OB_LOWMEM, /**< PCIe OB window within 32-bit address range */
24 PCIE_OB_HIGHMEM, /**< PCIe OB window above 32-bit address range */
27 enum pci_ep_irq_type {
33 enum xfer_direction {
38 enum pcie_reset {
50 * interrupt-safe APIS. Registration of callbacks is done via
60 int (*conf_read)(const struct device *dev, uint32_t offset,
64 int (*map_addr)(const struct device *dev, uint64_t pcie_addr,
[all …]
/Zephyr-Core-2.7.6/dts/bindings/test/
Dvnd,enum-int-required-false-holder.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Test enum property container
6 compatible: "vnd,enum-int-required-false-holder"
12 type: int
14 enum:
15 - 5
16 - 6
17 - 7
18 - 8
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dfriend.h4 * SPDX-License-Identifier: Apache-2.0
7 enum bt_mesh_friend_pdu_type {
22 enum bt_mesh_friend_pdu_type type,
26 enum bt_mesh_friend_pdu_type type,
37 int bt_mesh_friend_poll(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf);
38 int bt_mesh_friend_req(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf);
39 int bt_mesh_friend_clear(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf);
40 int bt_mesh_friend_clear_cfm(struct bt_mesh_net_rx *rx,
42 int bt_mesh_friend_sub_add(struct bt_mesh_net_rx *rx,
44 int bt_mesh_friend_sub_rem(struct bt_mesh_net_rx *rx,
[all …]
/Zephyr-Core-2.7.6/dts/bindings/i2c/
Datmel,sam-i2c-twim.yaml2 # SPDX-License-Identifier: Apache-2.0
7 The Atmel Two-wire Master Interface (TWIM) interconnects components on a
8 unique two-wire bus, made up of one clock line and one data line with speeds
9 of up to 3.4 Mbit/s, based on a byte-oriented transfer format. The TWIM is
20 std-clk-slew-lim = <0>;
21 std-clk-strength-low = "0.5";
22 std-data-slew-lim = <0>;
23 std-data-strength-low = "0.5";
25 hs-clk-slew-lim = <0>;
26 hs-clk-strength-high = "0.5";
[all …]
/Zephyr-Core-2.7.6/include/drivers/
Dvideo.h10 * SPDX-License-Identifier: Apache-2.0
28 #include <drivers/video-controls.h>
114 * @brief video_endpoint_id enum
117 enum video_endpoint_id {
125 * @brief video_event enum
128 enum video_signal_result {
139 typedef int (*video_api_set_format_t)(const struct device *dev,
140 enum video_endpoint_id ep,
148 typedef int (*video_api_get_format_t)(const struct device *dev,
149 enum video_endpoint_id ep,
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/sgp40/
Dsgp40.c4 * SPDX-License-Identifier: Apache-2.0
31 static int sgp40_write_command(const struct device *dev, uint16_t cmd) in sgp40_write_command()
34 const struct sgp40_config *cfg = dev->config; in sgp40_write_command()
39 return i2c_write_dt(&cfg->bus, tx_buf, sizeof(tx_buf)); in sgp40_write_command()
42 static int sgp40_start_measurement(const struct device *dev) in sgp40_start_measurement()
44 const struct sgp40_config *cfg = dev->config; in sgp40_start_measurement()
45 struct sgp40_data *data = dev->data; in sgp40_start_measurement()
49 sys_put_be24(sys_get_be24(data->rh_param), &tx_buf[2]); in sgp40_start_measurement()
50 sys_put_be24(sys_get_be24(data->t_param), &tx_buf[5]); in sgp40_start_measurement()
52 return i2c_write_dt(&cfg->bus, tx_buf, sizeof(tx_buf)); in sgp40_start_measurement()
[all …]
/Zephyr-Core-2.7.6/dts/bindings/pwm/
Datmel,sam0-tcc-pwm.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "atmel,sam0-tcc-pwm"
8 include: [pwm-controller.yaml, base.yaml]
20 clock-names:
27 type: int
30 enum:
31 - 2
32 - 3
33 - 4
34 - 6
[all …]

12345678910>>...38