/Zephyr-latest/modules/lvgl/input/ |
D | lvgl_pointer_input.c | 37 struct display_capabilities *cap = &disp_data->cap; in lvgl_pointer_process_event() local 71 if (cap->current_orientation == DISPLAY_ORIENTATION_NORMAL || in lvgl_pointer_process_event() 72 cap->current_orientation == DISPLAY_ORIENTATION_ROTATED_180) { in lvgl_pointer_process_event() 73 tmp_point.x = cap->x_resolution - tmp_point.x; in lvgl_pointer_process_event() 75 tmp_point.x = cap->y_resolution - tmp_point.x; in lvgl_pointer_process_event() 80 if (cap->current_orientation == DISPLAY_ORIENTATION_NORMAL || in lvgl_pointer_process_event() 81 cap->current_orientation == DISPLAY_ORIENTATION_ROTATED_180) { in lvgl_pointer_process_event() 82 tmp_point.y = cap->y_resolution - tmp_point.y; in lvgl_pointer_process_event() 84 tmp_point.y = cap->x_resolution - tmp_point.y; in lvgl_pointer_process_event() 89 switch (cap->current_orientation) { in lvgl_pointer_process_event() [all …]
|
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
D | cap_acceptor.h | 10 #include <zephyr/bluetooth/audio/cap.h> 17 /** Struct to contain information for a specific peer (CAP) device */ 34 * @brief Initialize the unicast part of the CAP Acceptor 36 * @param peer Pointer to the specific peer to initialize the CAP Acceptor for 44 * @brief Initialize the unicast part of the CAP Acceptor 52 * @brief Request to allocate a CAP stream 56 * @retval Pointer to the allocated CAP stream 57 * @retval NULL if no more CAP streams for the @p dir could be allocated
|
D | main.c | 15 #include <zephyr/bluetooth/audio/cap.h> 219 struct bt_pacs_cap *cap) in register_pac() argument 223 err = bt_pacs_cap_register(dir, cap); in register_pac() 324 LOG_INF("CAP Acceptor initialized"); in main() 334 /* Start advertising as a CAP Acceptor, which includes setting the required in main() 336 * always advertised, as CAP Initiators and CAP Commanders will use this to identify in main() 337 * our device as a CAP Acceptor. in main() 344 /* After advertising we expect CAP Initiators to connect to us and setup streams, in main() 345 * and eventually disconnect again. As a CAP Acceptor we just need to react to their in main()
|
/Zephyr-latest/drivers/pcie/host/ |
D | ptm.c | 27 union ptm_cap_reg cap; in pcie_ptm_root_setup() local 30 cap.raw = pcie_conf_read(config->pcie->bdf, base + PTM_CAP_REG_OFFSET); in pcie_ptm_root_setup() 31 if ((cap.root == 0) || ((cap.root == 1) && (cap.responder == 0))) { in pcie_ptm_root_setup() 75 union ptm_cap_reg cap; in DT_INST_FOREACH_STATUS_OKAY() local 84 cap.raw = pcie_conf_read(bdf, base + PTM_CAP_REG_OFFSET); in DT_INST_FOREACH_STATUS_OKAY() 85 if (cap.requester == 0) { in DT_INST_FOREACH_STATUS_OKAY()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | Kconfig.cap | 1 # Bluetooth Audio - Common Audio Profile (CAP) options 16 Enabling this will enable the CAP Acceptor role. This instantiates the 25 Enabling this will allow a CAP acceptor to be a set member. 38 Enabling this will enable the CAP Initiator role. 50 Enabling this will enable the CAP Initiator role.
|
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/cap/ |
D | compile.sh | 13 app=tests/bsim/bluetooth/audio_samples/cap/initiator \ 19 app=tests/bsim/bluetooth/audio_samples/cap/acceptor \ 25 app=tests/bsim/bluetooth/audio_samples/cap/initiator \ 30 app=tests/bsim/bluetooth/audio_samples/cap/acceptor \ 36 app=tests/bsim/bluetooth/audio_samples/cap/initiator \ 42 app=tests/bsim/bluetooth/audio_samples/cap/acceptor \ 48 app=tests/bsim/bluetooth/audio_samples/cap/initiator \ 53 app=tests/bsim/bluetooth/audio_samples/cap/acceptor \
|
/Zephyr-latest/drivers/regulator/ |
D | Kconfig.cp9314 | 5 bool "CP9314 Switched Cap Converter regulator driver" 9 Enable the Cirrus Logic CP9314 Switched Cap Converter 17 Init priority for the Cirrus Logic CP9314 Switched Cap
|
/Zephyr-latest/samples/bluetooth/cap_initiator/src/ |
D | cap_initiator.h | 9 #include <zephyr/bluetooth/audio/cap.h> 18 * @brief Run the application as a CAP Initiator for unicast 20 * This will start scanning for and connecting to a CAP acceptor, and then attempt to setup 28 * @brief Run the application as a CAP Initiator for broadcast 30 * This will start advertising broadcast audio that CAP acceptors can synchronize to.
|
D | main.c | 38 LOG_ERR("Failed to run CAP Initiator as broadcaster: %d", err); in main() 43 * function that runs the application as a CAP Initiator for unicast. This will attempt to in main() 44 * scan for and connect to a CAP acceptor to set up a stream in main() 53 LOG_ERR("Failed to run CAP Initiator as unicast: %d", err); in main()
|
/Zephyr-latest/include/zephyr/bluetooth/classic/ |
D | a2dp_codec_sbc.h | 54 #define BT_A2DP_SBC_SAMP_FREQ(cap) ((cap->config[0] >> 4) & 0x0f) argument 55 #define BT_A2DP_SBC_CHAN_MODE(cap) ((cap->config[0]) & 0x0f) argument 56 #define BT_A2DP_SBC_BLK_LEN(cap) ((cap->config[1] >> 4) & 0x0f) argument 57 #define BT_A2DP_SBC_SUB_BAND(cap) ((cap->config[1] >> 2) & 0x03) argument 58 #define BT_A2DP_SBC_ALLOC_MTHD(cap) ((cap->config[1]) & 0x03) argument
|
/Zephyr-latest/samples/bluetooth/cap_acceptor/ |
D | README.rst | 2 :name: Common Audio Profile (CAP) Acceptor 5 Advertise audio availability to CAP Initiators using the CAP Acceptor role. 10 Application demonstrating the CAP Acceptor functionality. 11 Starts by advertising for a CAP Initiator to connect and set up available streams.
|
D | prj.conf | 7 CONFIG_BT_DEVICE_NAME="CAP Acceptor" 12 # CAP
|
D | Kconfig | 7 bool "Whether or not to search for CAP acceptors for unicast audio" 23 bool "Whether or not to search for CAP acceptors for unicast audio"
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_pd.c | 197 struct osdp_pd_cap *cap = NULL; in pd_cmd_cap_ok() local 202 cap = &pd->cap[OSDP_PD_CAP_CONTACT_STATUS_MONITORING]; in pd_cmd_cap_ok() 203 if (cap->num_items == 0 || cap->compliance_level == 0) { in pd_cmd_cap_ok() 208 cap = &pd->cap[OSDP_PD_CAP_OUTPUT_CONTROL]; in pd_cmd_cap_ok() 209 if (cap->num_items == 0 || cap->compliance_level == 0) { in pd_cmd_cap_ok() 214 cap = &pd->cap[OSDP_PD_CAP_OUTPUT_CONTROL]; in pd_cmd_cap_ok() 215 if (!cmd || cap->compliance_level == 0 || in pd_cmd_cap_ok() 216 cmd->output.output_no + 1 > cap->num_items) { in pd_cmd_cap_ok() 221 cap = &pd->cap[OSDP_PD_CAP_READER_LED_CONTROL]; in pd_cmd_cap_ok() 222 if (!cmd || cap->compliance_level == 0 || in pd_cmd_cap_ok() [all …]
|
/Zephyr-latest/tests/bluetooth/audio/mocks/src/ |
D | pacs.c | 29 static const struct bt_pacs_cap cap[] = { in pacs_cap_foreach_custom_fake() local 35 for (size_t i = 0; i < ARRAY_SIZE(cap); i++) { in pacs_cap_foreach_custom_fake() 36 if (func(&cap[i], user_data) == false) { in pacs_cap_foreach_custom_fake()
|
/Zephyr-latest/samples/bluetooth/cap_initiator/ |
D | prj.conf | 8 CONFIG_BT_DEVICE_NAME="CAP Initiator" 10 # CAP support
|
D | README.rst | 2 :name: Common Audio Profile (CAP) Initiator 5 Connect to CAP Acceptors and setup unicast audio streaming or broadcast audio streams. 10 Application demonstrating the CAP Initiator functionality. 11 Starts by either scanning for a CAP Acceptor and then connects to and sets up available unicast
|
D | Kconfig | 7 bool "Whether or not to search for CAP acceptors for unicast audio" 24 bool "Whether or not to search for CAP acceptors for broadcast audio"
|
/Zephyr-latest/samples/bluetooth/tmap_bms/src/ |
D | tmap_bms.h | 9 * @brief Initialize the CAP Initiator role 16 * @brief Setup streams for CAP Initiator
|
D | main.c | 49 /* Initialize CAP Initiator */ in main() 54 printk("CAP initialized\n"); in main()
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | cap.rst | 6 CAP Acceptor 11 a pair with one or more other CAP Acceptors. 13 Using the CAP Acceptor 24 cap_acceptor - Bluetooth CAP acceptor shell commands 63 CAP Initiator 67 discover CAP Acceptors's CAS and optional CSIS services. The CSIS service can be read to provide 68 information about other CAP Acceptors in the same Coordinated Set. The Initiator can execute 72 Using the CAP Initiator 77 The CAP initiator also supports broadcast audio as a source. 82 cap_initiator - Bluetooth CAP initiator shell commands [all …]
|
/Zephyr-latest/modules/lvgl/ |
D | lvgl_display_mono.c | 79 const bool is_epd = data->cap.screen_info & SCREEN_INFO_EPD; in lvgl_flush_cb_mono() 82 lvgl_transform_buffer(&px_map, w, h, &data->cap); in lvgl_flush_cb_mono() 104 if (data->cap.screen_info & SCREEN_INFO_DOUBLE_BUFFER) { in lvgl_flush_cb_mono() 126 if (data->cap.screen_info & SCREEN_INFO_X_ALIGNMENT_WIDTH) { in lvgl_rounder_cb_mono() 128 area->x2 = data->cap.x_resolution - 1; in lvgl_rounder_cb_mono() 132 if (data->cap.screen_info & SCREEN_INFO_MONO_VTILED) { in lvgl_rounder_cb_mono()
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | pacs.h | 52 * @param cap Capability found. 58 typedef bool (*bt_pacs_cap_foreach_func_t)(const struct bt_pacs_cap *cap, 80 * @param cap Capability structure. 84 int bt_pacs_cap_register(enum bt_audio_dir dir, struct bt_pacs_cap *cap); 92 * @param cap Capability structure. 96 int bt_pacs_cap_unregister(enum bt_audio_dir dir, struct bt_pacs_cap *cap);
|
/Zephyr-latest/tests/subsys/canbus/isotp/conformance/src/ |
D | mode_check.c | 70 can_mode_t cap; in isotp_conformance_mode_check_setup() local 75 err = can_get_capabilities(can_dev, &cap); in isotp_conformance_mode_check_setup() 78 canfd_capable = (cap & CAN_MODE_FD) != 0; in isotp_conformance_mode_check_setup()
|
/Zephyr-latest/soc/ti/simplelink/cc13x2x7_cc26x2x7/ |
D | Kconfig | 65 hex "Cap array tuning delta" 69 Enable a specific cap array tunning delta.
|