Home
last modified time | relevance | path

Searched +full:pd +full:- +full:disable (Results 1 – 25 of 48) sorted by relevance

12

/Zephyr-latest/scripts/generate_usb_vif/constants/
Ddt_constants.py4 # SPDX-License-Identifier: Apache-2.0
8 SINK_PDOS = "sink-pdos"
9 PD_DISABLE = "pd-disable"
10 POWER_ROLE = "power-role"
/Zephyr-latest/subsys/mgmt/osdp/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
24 Configure this device to operate as a PD (Peripheral Device)
69 completely disable sending/expecting a mark byte to work with
70 such non-conforming devices.
98 OSDP Secure Channel uses AES-128 to secure communication between
99 CP and PD. Provide an available crypto driver name here.
104 source "subsys/mgmt/osdp/Kconfig.pd"
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_common.h4 * SPDX-License-Identifier: Apache-2.0
23 #define ISSET_FLAG(p, f) (((p)->flags & (f)) == (f))
24 #define SET_FLAG(p, f) ((p)->flags |= (f))
25 #define CLEAR_FLAG(p, f) ((p)->flags &= ~(f))
32 #define GET_CURRENT_PD(p) ((p)->current_pd)
35 (p)->current_pd = osdp_to_pd(p, i); \
38 (uint32_t)((1 << ((ctx)->num_pd)) - 1)
39 #define AES_PAD_LEN(x) ((x + 16 - 1) & (~(16 - 1)))
40 #define NUM_PD(ctx) ((ctx)->num_pd)
105 #define SCS_11 0x11 /* CP -> PD -- CMD_CHLNG */
[all …]
/Zephyr-latest/dts/bindings/usb-c/
Dusb-c-connector.yaml2 # SPDX-License-Identifier: Apache-2.0
5 A USB Type-C connector node represents a physical USB Type-C connector.
6 It should be a child of a USB-C interface controller or a separate node
7 when it is attached to both MUX and USB-C interface controller.
10 …/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/connector/usb-connector.yaml?h=v5.1…
14 USB-C connector attached to a STM32 UCPD typec port controller, which has
18 compatible = "zephyr,usb-c-vbus-adc";
19 io-channels = <&adc2 8>;
20 output-ohms = <49900>;
21 full-ohms = <(330000 + 49900)>;
[all …]
/Zephyr-latest/drivers/dma/
Ddma_iproc_pax_v1.c4 * SPDX-License-Identifier: Apache-2.0
33 return ring->pkt_id = 0x0; in reset_pkt_id()
41 ring->pkt_id = (ring->pkt_id + 1) % 32; in alloc_pkt_id()
42 return ring->pkt_id; in alloc_pkt_id()
47 return ring->pkt_id; in curr_pkt_id()
52 return ring->curr.toggle; in curr_toggle_val()
63 r->opq = opq; in rm_write_header_desc()
65 r->bdcount = bdcount; in rm_write_header_desc()
66 r->prot = 0x0; in rm_write_header_desc()
68 r->start = 1; in rm_write_header_desc()
[all …]
Ddma_iproc_pax_v2.c4 * SPDX-License-Identifier: Apache-2.0
36 return ring->pkt_id = 0x0; in reset_pkt_id()
41 ring->pkt_id = (ring->pkt_id + 1) % 32; in alloc_pkt_id()
42 return ring->pkt_id; in alloc_pkt_id()
47 return ring->pkt_id; in curr_pkt_id()
52 return ring->curr.toggle; in curr_toggle_val()
64 r->opq = opq; in rm_write_header_desc()
65 r->bdf = 0x0; in rm_write_header_desc()
66 r->res1 = 0x0; in rm_write_header_desc()
68 r->bdcount = bdcount; in rm_write_header_desc()
[all …]
/Zephyr-latest/soc/st/stm32/stm32u5x/
Dsoc.c4 * SPDX-License-Identifier: Apache-2.0
32 /* Enable instruction cache in 1-way (direct mapped cache) */ in soc_early_init_hook()
43 /* For devices with USB C PD, we can disable the dead battery in soc_early_init_hook()
44 * pull-down behaviour. in soc_early_init_hook()
49 /* Disable USB Type-C dead battery pull-down behavior */ in soc_early_init_hook()
/Zephyr-latest/subsys/usb/usb_c/
Dusbc_tc_src_states.c4 * SPDX-License-Identifier: Apache-2.0
38 const struct device *dev = tc->dev; in tc_unattached_src_run()
47 if (tcpc_is_cc_at_least_one_rd(tc->cc1, tc->cc2)) { in tc_unattached_src_run()
74 const struct device *dev = tc->dev; in tc_unattached_wait_src_entry()
75 struct usbc_port_data *data = dev->data; in tc_unattached_wait_src_entry()
76 const struct device *tcpc = data->tcpc; in tc_unattached_wait_src_entry()
84 usbc_timer_start(&tc->tc_t_vconn_off); in tc_unattached_wait_src_entry()
90 const struct device *dev = tc->dev; in tc_unattached_wait_src_run()
93 if (usbc_timer_expired(&tc->tc_t_vconn_off)) { in tc_unattached_wait_src_run()
101 const struct device *dev = tc->dev; in tc_unattached_wait_src_exit()
[all …]
Dusbc_tc_snk_states.c4 * SPDX-License-Identifier: Apache-2.0
16 * @brief Sink power sub states. Only called if a PD contract is not in place
20 struct usbc_port_data *data = dev->data; in sink_power_sub_states()
24 struct tc_sm_t *tc = data->tc; in sink_power_sub_states()
27 cc = tc->cc_polarity ? tc->cc2 : tc->cc1; in sink_power_sub_states()
31 * This sub-state supports Sinks consuming current within the in sink_power_sub_states()
32 * lowest range (default) of Source-supplied current. in sink_power_sub_states()
38 * This sub-state supports Sinks consuming current within the in sink_power_sub_states()
39 * two lower ranges (default and 1.5 A) of Source-supplied in sink_power_sub_states()
46 * This sub-state supports Sinks consuming current within all in sink_power_sub_states()
[all …]
/Zephyr-latest/samples/subsys/usb_c/sink/boards/
Dnumaker_m2l31ki.overlay1 /* SPDX-License-Identifier: Apache-2.0 */
3 #include <dt-bindings/usb-c/pd.h>
7 usbc-port0 = &port0;
11 #address-cells = <1>;
12 #size-cells = <0>;
14 port0: usbc-port@0 {
15 compatible = "usb-c-connector";
20 power-role = "sink";
21 sink-pdos = <PDO_FIXED(5000, 100, 0)>;
30 digital-path-disable;
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap.rst9 - Capabilities and Endpoint discovery
10 - Audio Stream Endpoint procedures
15 .. code-block:: console
17 bap --help
35 stream_qos : interval [framing] [latency] [pd] [sdu] [phy] [rtn]
44 disable
58 [lang <ISO 639-3 lang>]
74 .. csv-table:: State Machine Transitions
80 "config","discover","idle/codec-configured/qos-configured","codec-configured"
81 "qos","config","codec-configured/qos-configured","qos-configured"
[all …]
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_stm32.c4 * SPDX-License-Identifier: Apache-2.0
65 * UCPDx_STROBE: UCPDx pull-down configuration strobe:
72 SYSCFG->CFGR1 |= SYSCFG_CFGR1_UCPD1_STROBE_Msk; in update_stm32g0x_cc_line()
74 SYSCFG->CFGR1 |= SYSCFG_CFGR1_UCPD2_STROBE_Msk; in update_stm32g0x_cc_line()
84 struct tcpc_data *data = dev->data; in ucpd_tx_data_byte()
85 const struct tcpc_config *const config = dev->config; in ucpd_tx_data_byte()
86 int index = data->ucpd_tx_active_buffer->msg_index++; in ucpd_tx_data_byte()
88 LL_UCPD_WriteData(config->ucpd_port, in ucpd_tx_data_byte()
89 data->ucpd_tx_active_buffer->data.msg[index]); in ucpd_tx_data_byte()
97 struct tcpc_data *data = dev->data; in ucpd_rx_data_byte()
[all …]
/Zephyr-latest/include/zephyr/usb_c/
Dtcpci.h3 * SPDX-License-Identifier: Apache-2.0
15 * Registers and fields are compliant to the Type-C Port Controller Interface
19 /** Register address - vendor id */
22 /** Register address - product id */
25 /** Register address - version of TCPC */
28 /** Register address - USB TypeC version */
30 /** Mask for major part of type-c release supported */
32 /** Macro to extract the major part of type-c release supported */
34 /** Mask for minor part of type-c release supported */
36 /** Macro to extract the minor part of type-c release supported */
[all …]
/Zephyr-latest/soc/ite/ec/it8xxx2/
Dsoc.c4 * SPDX-License-Identifier: Apache-2.0
15 #include <zephyr/dt-bindings/interrupt-controller/ite-intc.h>
19 * ITE EC chip from dtsi (include status disable). Both it81202 and
26 * This define gets the number of active USB Power Delivery (USB PD)
29 * ex. if we're active only one ITE USB PD port, then the port should be
34 /* PLL Frequency Auto-Calibration Control 0 Register */
44 /* PLL Frequency Auto-Calibration Control 2 Register */
79 return -ERANGE; in chip_get_pll_freq()
191 IT8XXX2_ECPM_PLLFREQR = pll->pll_freq; in chip_run_pll_sequence()
192 /* Pre-set FND clock frequency = PLL / 3 */ in chip_run_pll_sequence()
[all …]
/Zephyr-latest/include/zephyr/arch/x86/
Dmmustructs.h2 * Copyright (c) 2011-2014 Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
19 #define Z_X86_MMU_RW BIT64(1) /** Read-Write */
20 #define Z_X86_MMU_US BIT64(2) /** User-Supervisor */
22 #define Z_X86_MMU_XD BIT64(63) /** Execute Disable */
49 /* Always true with 32-bit page tables, don't enable
61 /* Execution-allowed attributes */
85 /* 4-entry, 32-byte top-level PDPT */
88 /* Pointer to top-level structure, either a PML4, PDPT, PD */
/Zephyr-latest/boards/cypress/cy8ckit_062_wifi_bt/doc/
Dindex.rst3 INFINEON PSOC 6 WiFi-BT Pioneer Kit
9 The PSOC 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WiFi-BT) is a low-cost hardware
13 The PSOC 6 WiFi-BT Pioneer Kit features the PSOC 62 MCU: a
14 dual-core MCU, with a 150-MHz Arm Cortex-M4 as the primary application
15 processor and a 100-MHz Arm Cortex-M0+ that supports low-power operations,
17 56 programmable digital blocks, Full-Speed USB, a serial memory interface,
18 a PDM-PCM digital microphone interface, and industry-leading capacitive-sensing
21 The PSOC 6 WiFi-BT Pioneer board offers compatibility with Arduino shields.
23 The Cortex-M0+ is a primary core on the board's SoC. It starts first and
30 1. USB PD output voltage availability indicator (LED7)
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dascs_internal.h5 * Copyright (c) 2022-2023 Nordic Semiconductor ASA
8 * SPDX-License-Identifier: Apache-2.0
66 /* LTV-formatted Codec-Specific Configuration */
80 uint8_t pd[3]; member
139 /* LTV-formatted Codec-Specific Configuration */
171 uint8_t pd[3]; member
187 /* LTV-formatted Metadata */
268 return "Disable"; in bt_ascs_op_str()
/Zephyr-latest/boards/cypress/cy8ckit_062_ble/doc/
Dindex.rst9 The PSOC 6 BLE Pioneer Kit (CY8CKIT-062-BLE) is a hardware platform that
12 The PSOC 6 BLE Pioneer Kit features the PSOC 63 MCU: a dual-core MCU, with a
13 150-MHz Arm Cortex-M4 as the primary application processor and a 100-MHz Arm
14 Cortex-M0+ that supports low-power operations, 1MB of Flash, 288KB of SRAM,
16 programmable digital blocks, and capacitive-sensing with CapSense.
19 512-Mb NOR flash, onboard programmer/debugger (KitProg2), USB Type-C power
20 delivery system (EZ-PD™ CCG3), 5-segment CapSense slider, two CapSense
24 The CY8CKIT-062-BLE package includes a CY8CKIT-028-EPD E-INK Display Shield
25 that contains a 2.7-inch E-INK display, a motion sensor, a thermistor, and a
27 Dongle that is factory-programmed to emulate a BLE GAP Central device,
[all …]
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dbap_unicast_sr.c4 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
8 * SPDX-License-Identifier: Apache-2.0
58 while (len-- != 0) { in print_hex()
67 printk("%s: type 0x%02x value_len %u\n", str, data->type, data->data_len); in print_cb()
68 print_hex(data->data, data->data_len); in print_cb()
76 printk("codec_cfg 0x%02x cid 0x%04x vid 0x%04x count %u\n", codec_cfg->id, codec_cfg->cid, in print_codec_cfg()
77 codec_cfg->vid, codec_cfg->data_len); in print_codec_cfg()
79 if (codec_cfg->id == BT_HCI_CODING_FORMAT_LC3) { in print_codec_cfg()
83 /* LC3 uses the generic LTV format - other codecs might do as well */ in print_codec_cfg()
85 bt_audio_data_parse(codec_cfg->data, codec_cfg->data_len, print_cb, "data"); in print_codec_cfg()
[all …]
/Zephyr-latest/drivers/clock_control/
Dclock_control_npcx.c4 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/dt-bindings/clock/npcx_clock.h>
26 ((struct cdcg_reg *)((const struct npcx_pcc_config *)(dev)->config)->base_cdcg)
29 ((struct pmc_reg *)((const struct npcx_pcc_config *)(dev)->config)->base_pmc)
39 const uint32_t pmc_base = ((const struct npcx_pcc_config *)dev->config)->base_pmc; in npcx_clock_control_on()
41 if (clk_cfg->ctrl >= NPCX_PWDWN_CTL_COUNT) { in npcx_clock_control_on()
42 return -EINVAL; in npcx_clock_control_on()
45 /* Clear related PD (Power-Down) bit of module to turn on clock */ in npcx_clock_control_on()
46 NPCX_PWDWN_CTL(pmc_base, clk_cfg->ctrl) &= ~(BIT(clk_cfg->bit)); in npcx_clock_control_on()
55 const uint32_t pmc_base = ((const struct npcx_pcc_config *)dev->config)->base_pmc; in npcx_clock_control_off()
[all …]
Dclock_control_npcm.c4 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/dt-bindings/clock/npcm_clock.h>
72 /* clock enable/disable references */
91 #define FPRED_VAL (DT_PROP(DT_NODELABEL(pcc), core_prescaler) - 1)
93 #define APB1DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb1_prescaler) - 1)
95 #define APB2DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb2_prescaler) - 1)
97 #define APB3DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb3_prescaler) - 1)
99 #define AHB6DIV_VAL (DT_PROP(DT_NODELABEL(pcc), ahb6_prescaler) - 1)
101 #define FIUDIV_VAL (DT_PROP(DT_NODELABEL(pcc), fiu_prescaler) - 1)
103 #define I3CDIV_VAL (DT_PROP(DT_NODELABEL(pcc), i3c_prescaler) - 1)
[all …]
/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dbap_unicast_sr.c4 * Copyright (c) 2021-2023 Nordic Semiconductor ASA
7 * SPDX-License-Identifier: Apache-2.0
58 while (len-- != 0) { in print_hex()
67 printk("%s: type 0x%02x value_len %u\n", str, data->type, data->data_len); in print_cb()
68 print_hex(data->data, data->data_len); in print_cb()
76 printk("codec_cfg 0x%02x cid 0x%04x vid 0x%04x count %u\n", codec_cfg->id, codec_cfg->cid, in print_codec_cfg()
77 codec_cfg->vid, codec_cfg->data_len); in print_codec_cfg()
79 if (codec_cfg->id == BT_HCI_CODING_FORMAT_LC3) { in print_codec_cfg()
83 /* LC3 uses the generic LTV format - other codecs might do as well */ in print_codec_cfg()
85 bt_audio_data_parse(codec_cfg->data, codec_cfg->data_len, print_cb, "data"); in print_codec_cfg()
[all …]
/Zephyr-latest/samples/subsys/usb_c/source/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
91 *rp = dpm_data->rp; in port0_policy_cb_get_src_rp()
97 * @brief PE calls this function to Enable (5V) or Disable (0V) the
108 * @brief PE calls this function to Enable or Disable VCONN
114 dpm_data->vconn_pol = pol; in port0_policy_cb_vconn_en()
117 /* Disable VCONN on CC1 and CC2 */ in port0_policy_cb_vconn_en()
139 *pdos = dpm_data->src_caps; in port0_policy_cb_get_src_caps()
140 *num_pdos = dpm_data->src_cap_cnt; in port0_policy_cb_get_src_caps()
156 dpm_data->sink_request.raw_value = request_msg; in port0_policy_cb_check_sink_request()
157 obj_pos = dpm_data->sink_request.fixed.object_pos; in port0_policy_cb_check_sink_request()
[all …]
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor_unicast.c4 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
7 * SPDX-License-Identifier: Apache-2.0
53 LOG_DBG("\t%s: type 0x%02x value_len %u", str, data->type, data->data_len); in log_codec_cfg_cb()
54 LOG_HEXDUMP_DBG(data->data, data->data_len, "\t\tdata"); in log_codec_cfg_cb()
61 LOG_INF("codec_cfg 0x%02x cid 0x%04x vid 0x%04x count %u", codec_cfg->id, codec_cfg->cid, in log_codec_cfg()
62 codec_cfg->vid, codec_cfg->data_len); in log_codec_cfg()
64 if (codec_cfg->id == BT_HCI_CODING_FORMAT_LC3) { in log_codec_cfg()
68 /* LC3 uses the generic LTV format - other codecs might do as well */ in log_codec_cfg()
70 bt_audio_data_parse(codec_cfg->data, codec_cfg->data_len, log_codec_cfg_cb, "data"); in log_codec_cfg()
96 LOG_HEXDUMP_DBG(codec_cfg->data, codec_cfg->data_len, "data"); in log_codec_cfg()
[all …]
/Zephyr-latest/modules/openthread/
DCMakeLists.txt15 set(OT_BUILD_EXECUTABLES OFF CACHE BOOL "Disable OpenThread samples")
52 …ONFIG_OPENTHREAD_BORDER_ROUTING_DHCP6_PD OT_BORDER_ROUTING_DHCP6_PD "DHCPv6-PD support in border r…
57 kconfig_to_ot_option(CONFIG_OPENTHREAD_COAP_BLOCK OT_COAP_BLOCK "Enable CoAP Block-wise option supp…
74 kconfig_to_ot_option(CONFIG_OPENTHREAD_DNSSD_DISCOVERY_PROXY OT_DNSSD_DISCOVERY_PROXY "Enable DNS-S…
75 kconfig_to_ot_option(CONFIG_OPENTHREAD_DNSSD_SERVER OT_DNSSD_SERVER "Enable DNS-SD server support")
99 kconfig_to_ot_option(CONFIG_OPENTHREAD_MULTIPAN_RCP OT_MULTIPAN_RCP "Enable Multi-PAN RCP")
117 kconfig_to_ot_option(CONFIG_OPENTHREAD_SETTINGS_RAM OT_SETTINGS_RAM "Enable volatile-only storage o…
131 kconfig_to_ot_option(CONFIG_OPENTHREAD_WAKEUP_COORDINATOR OT_WAKEUP_COORDINATOR "Enable Wake-up Coo…
132 kconfig_to_ot_option(CONFIG_OPENTHREAD_WAKEUP_END_DEVICE OT_WAKEUP_END_DEVICE "Enable Wake-up End D…
146 set(BUILD_TESTING OFF CACHE BOOL "Disable openthread cmake testing targets" FORCE)
[all …]

12