Home
last modified time | relevance | path

Searched +full:data +full:- +full:role (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/freebsd/contrib/libxo/doc/
H A Dfield-roles.rst3 .. _field-roles:
8 Field roles are optional, and indicate the role and formatting of the
9 content. The roles are listed below; only one role is permitted:
15 D decoration Field is non-text (e.g., colon, comma)
25 [ start-anchor Begin a section of anchored variable-width text
26 ] stop-anchor End a section of anchored variable-width text
35 When a role is not provided, the "*value*" role is used as the default.
46 .. _color-role:
48 The Color Role ({C:})
54 xo_emit("{C:bold}{:value}{C:no-bold}\n", value);
[all …]
H A Dintro.rst11 braces with printf-like :ref:`format-strings`::
17 Each field can have a role, with the 'value' role being the default,
18 and the role tells libxo how and when to render that field (see
19 :ref:`field-roles` for details). Modifiers change how the field is
20 rendered in different output styles (see :ref:`field-modifiers` for
22 "--libxo" option::
26 % wc --libxo xml,pretty,warn /etc/motd
35 % wc --libxo json,pretty,warn /etc/motd
48 % wc --libxo html,pretty,warn /etc/motd
51 <div class="data" data-tag="lines"> 25</div>
[all …]
/freebsd/contrib/libxo/libxo/
H A Dxo_format.519 uses format strings to control the rendering of data into
28 which describe independent data fields.
39 .Xr printf 3 Ns -style
53 .Bd -literal -offset indent
54 \(aq{\(aq [ role | modifier ]* [\(aq,\(aq long\-names ]* \(aq:\(aq [ content ]
55 [ \(aq/\(aq field\-format [ \(aq/\(aq encoding\-format ]] \(aq}\(aq
58 The role describes the function of the field, while the modifiers
60 The contents, field\-format, and
61 encoding\-format are used in varying ways, based on the role.
71 label ("In stock"), and the third is a value field ("in\-stock").
[all …]
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Dmediatek,mtu3.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Chunfeng Yun <chunfeng.yun@mediatek.com>
14 - $ref: usb-drd.yaml
23 - enum:
24 - mediatek,mt2712-mtu3
25 - mediatek,mt8173-mtu3
26 - mediatek,mt8183-mtu3
27 - mediatek,mt8186-mtu3
[all …]
H A Dgeneric.txt4 - maximum-speed: tells USB controllers we want to work up to a certain
5 speed. Valid arguments are "super-speed-plus",
6 "super-speed", "high-speed", "full-speed" and
7 "low-speed". In case this isn't passed via DT, USB
10 - dr_mode: tells Dual-Role USB controllers that we want to work on a
15 - phy_type: tells USB controllers that we want to configure the core to support
16 a UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is
20 - otg-rev: tells usb driver the release number of the OTG and EH supplement
22 in binary-coded decimal (i.e. 2.0 is 0200H). This
24 is enabled, if ADP is required, otg-rev should be
[all …]
H A Dusb-drd.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/usb/usb-drd.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 otg-rev:
16 which the device and its descriptors are compliant, in binary-coded
18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be
25 Tells Dual-Role USB controllers that we want to work on a particular
32 hnp-disable:
[all …]
H A Drenesas,usb3-peri.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/usb/renesas,usb3-peri.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
15 - items:
16 - enum:
17 - renesas,r8a774a1-usb3-peri # RZ/G2M
18 - renesas,r8a774b1-usb3-peri # RZ/G2N
19 - renesas,r8a774c0-usb3-peri # RZ/G2E
[all …]
H A Dwillsemi,wusb3801.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: WUSB3801 Type-C port controller
10 The Will Semiconductor WUSB3801 is a USB Type-C port controller which
11 supports role and plug orientation detection using the CC pins. It is
12 compatible with the USB Type-C Cable and Connector Specification v1.2.
15 - Samuel Holland <samuel@sholland.org>
20 - willsemi,wusb3801
30 $ref: ../connector/usb-connector.yaml#
[all …]
H A Dst,stusb160x.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STUSB160x Type-C controller
10 - Amelie Delaunay <amelie.delaunay@foss.st.com>
15 - st,stusb1600
23 vdd-supply:
24 description: main power supply (4.1V-22V)
26 vsys-supply:
27 description: low power supply (3.0V-5.5V)
[all …]
H A Dqcom,pmic-typec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/qcom,pmic-typec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm PMIC based USB Type-C block
10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org>
13 Qualcomm PMIC Type-C block
18 - enum:
19 - qcom,pmi632-typec
20 - qcom,pm8150b-typec
[all …]
H A Drichtek,rt1711h.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT1711H Type-C Port Switch and Power Delivery controller
10 - Gene Chen <gene_chen@richtek.com>
13 The RT1711H is a USB Type-C controller that complies with the latest
14 USB Type-C and PD standards. It does the USB Type-C detection including attach
17 support for alternative interfaces of the Type-C specification.
22 - richtek,rt1711h
23 - richtek,rt1715
[all …]
/freebsd/sbin/ipf/ippool/
H A Dippool.84 ippool \- user interface to the IPFilter pools
8 -a [-dnv] [-m <name>] [-o <role>] [-t <type>] [-T ttl] -i <ipaddr>[/<netmask>]
11 -A [-dnv] [-m <name>] [-o <role>] [-S <seed>] -t <type>
14 -f <file> [-dnuvR] [-f <file [-dnuvR]] ...
17 -F [-dv] [-o <role>] [-t <type>]
20 -l [-dDv] [-m <name>] [-t <type>] [-o <role>] [-M <core>] [-N <namelist>]
23 -r [-dnv] [-m <name>] [-o <role>] [-t <type>] -i <ipaddr>[/<netmask>]
26 -R [-dnv] [-m <name>] [-o <role>] -t <type>
29 -s [-dtv]
40 .B \-d
[all …]
/freebsd/sys/contrib/device-tree/Bindings/connector/
H A Dusb-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
25 - items:
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Dchan.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2020-2022 Realtek Corporation
84 offset = (primary_freq - center_freq - 10) / 20; in rtw89_get_primary_chan_idx()
87 offset = (center_freq - primary_freq - 10) / 20; in rtw89_get_primary_chan_idx()
106 return (prisb_cal_ofst[bw] + pri_ch - central_ch) / 4; in rtw89_get_primary_sb_idx()
116 chan->channel = center_chan; in rtw89_chan_create()
117 chan->primary_channel = primary_chan; in rtw89_chan_create()
118 chan->band_type = band; in rtw89_chan_create()
119 chan->band_width = bandwidth; in rtw89_chan_create()
124 chan->freq = center_freq; in rtw89_chan_create()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_handlers_wps.c2 * WPA Supplicant / dbus-based control interface (WPS)
25 int role; /* 0 - not set, 1 - enrollee, 2 - registrar */ member
26 int type; /* 0 - not set, 1 - pin, 2 - pbc */
45 "dbus: WPS.Start - Wrong Role type, string required"); in wpas_dbus_handler_wps_role()
47 "Role must be a string"); in wpas_dbus_handler_wps_role()
48 return -1; in wpas_dbus_handler_wps_role()
52 params->role = 1; in wpas_dbus_handler_wps_role()
54 params->role = 2; in wpas_dbus_handler_wps_role()
56 wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Unknown role %s", val); in wpas_dbus_handler_wps_role()
58 return -1; in wpas_dbus_handler_wps_role()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dsc7280-idp-ec-h1.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
11 pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs_gpio_init_high>, <&qup_spi10_cs_gpio>;
12 cs-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
15 compatible = "google,cros-ec-spi";
17 interrupt-parent = <&tlmm>;
19 pinctrl-names = "default";
20 pinctrl-0 = <&ap_ec_int_l>;
21 spi-max-frequency = <3000000>;
22 wakeup-source;
25 compatible = "google,cros-ec-pwm";
[all …]
/freebsd/sys/contrib/ck/src/
H A Dck_barrier_tournament.c2 * Copyright 2011-2015 Samy Al Bahra.
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
54 state->sense = ~0; in ck_barrier_tournament_subscribe()
55 state->vpid = ck_pr_faa_uint(&barrier->tid, 1); in ck_barrier_tournament_subscribe()
66 ck_pr_store_uint(&barrier->tid, 0); in ck_barrier_tournament_init()
67 barrier->size = size = ck_barrier_tournament_size(nthr); in ck_barrier_tournament_init()
70 /* The first role is always CK_BARRIER_TOURNAMENT_DROPOUT. */ in ck_barrier_tournament_init()
72 rounds[i][0].role = CK_BARRIER_TOURNAMENT_DROPOUT; in ck_barrier_tournament_init()
76 imod2k = i & (twok - 1); in ck_barrier_tournament_init()
79 rounds[i][k].role = CK_BARRIER_TOURNAMENT_WINNER; in ck_barrier_tournament_init()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/platform/
H A Dlenovo,yoga-c630-ec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/platform/lenovo,yoga-c630-ec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <andersson@kernel.org>
13 The Qualcomm Snapdragon-based Lenovo Yoga C630 has an Embedded Controller
14 (EC) which handles things such as battery and USB Type-C. This binding
19 const: lenovo,yoga-c630-ec
24 '#address-cells':
27 '#size-cells':
[all …]
H A Dhuawei,gaokun-ec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/platform/huawei,gaokun-ec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Pengyu Luo <mitltlatltl@gmail.com>
13 Different from other Qualcomm Snapdragon sc8180x and sc8280xp-based
16 UCSI, USB Type-C DP Alt Mode. In addition, Huawei's implementation
23 - huawei,gaokun3-ec
28 '#address-cells':
31 '#size-cells':
[all …]
/freebsd/usr.sbin/bluetooth/hccontrol/
H A Dlink_policy.c1 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
40 /* Send Role Discovery to the unit */
78 fprintf(stdout, "Role: %s [%#x]\n", in hci_role_discovery()
79 (rp.role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", rp.role); in hci_role_discovery()
84 /* Send Switch Role to the unit */
103 memcpy(&cp.bdaddr, he->h_addr, sizeof(cp.bdaddr)); in hci_switch_role()
106 /* role */ in hci_switch_role()
[all …]
H A Dbluetooth.device.conf19 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
41 # For more details see "Assigned Numbers - Bluetooth Baseband" document
77 # P2P or 1 encryption only for point-to-point packets;
78 # ALL or 2 encryption for both point-to-point and broadcast packets.
84 # Possible values: 0 - 4
90 # Possible values: 0 - 4
100 # role switch. By default, if role switch is supported, the local device will
101 # try to perform role switch and become Master on incoming connection. Some
102 # devices do not support role switch and thus incoming connections from such
103 # devices will fail. If role switch is disabled then accepting device will
[all …]
/freebsd/crypto/libecc/src/examples/basic/
H A Dcurve_ecdh.c2 * Copyright (C) 2017 - This file is part of libecc project
7 * Jean-Pierre FLORI <jean-pierre.flori@ssi.gouv.fr>
24 * ECDH (Elliptic curve Diffie-Hellman) protocol. Alice
55 * The following global variables simulate our shared "data bus"
56 * where Alice and Bob exchange data.
81 ATTRIBUTE_WARN_UNUSED_RET int ECDH_helper(const u8 *curve_name, const u8 *role);
82 int ECDH_helper(const u8 *curve_name, const u8 *role) in ECDH_helper() argument
107 MUST_HAVE((curve_name != NULL) && (role != NULL), ret, err); in ECDH_helper()
110 ret = are_equal(role, Alice, CHECK_SIZE, &check1); EG(ret, err); in ECDH_helper()
111 ret = are_equal(role, Bob, CHECK_SIZE, &check2); EG(ret, err); in ECDH_helper()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-facebook-bletchley.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/usb/pd.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/i2c/i2c.h>
14 compatible = "facebook,bletchley-bmc", "aspeed,ast2600";
29 iio-hwmon {
[all …]
/freebsd/crypto/openssl/ssl/statem/
H A Dextensions_cust.c2 * Copyright 2014-2025 The OpenSSL Project Authors. All Rights Reserved.
40 if (add_cb_wrap->add_cb == NULL) in custom_ext_add_old_cb_wrap()
43 return add_cb_wrap->add_cb(s, ext_type, out, outlen, al, in custom_ext_add_old_cb_wrap()
44 add_cb_wrap->add_arg); in custom_ext_add_old_cb_wrap()
53 if (add_cb_wrap->free_cb == NULL) in custom_ext_free_old_cb_wrap()
56 add_cb_wrap->free_cb(s, ext_type, out, add_cb_wrap->add_arg); in custom_ext_free_old_cb_wrap()
68 if (parse_cb_wrap->parse_cb == NULL) in custom_ext_parse_old_cb_wrap()
71 return parse_cb_wrap->parse_cb(s, ext_type, in, inlen, al, in custom_ext_parse_old_cb_wrap()
72 parse_cb_wrap->parse_arg); in custom_ext_parse_old_cb_wrap()
76 * Find a custom extension from the list. The |role| param is there to
[all …]
/freebsd/contrib/wpa/src/common/
H A Ddpp_auth.c4 * Copyright (c) 2018-2020, The Linux Foundation
34 wpa_printf(MSG_DEBUG, "DPP: I-Bootstrap Key Hash"); in dpp_build_attr_i_bootstrap_key_hash()
45 "DPP: Authentication success - clear temporary keys"); in dpp_auth_success()
46 os_memset(auth->Mx, 0, sizeof(auth->Mx)); in dpp_auth_success()
47 auth->Mx_len = 0; in dpp_auth_success()
48 os_memset(auth->Nx, 0, sizeof(auth->Nx)); in dpp_auth_success()
49 auth->Nx_len = 0; in dpp_auth_success()
50 os_memset(auth->Lx, 0, sizeof(auth->Lx)); in dpp_auth_success()
51 auth->Lx_len = 0; in dpp_auth_success()
52 os_memset(auth->k1, 0, sizeof(auth->k1)); in dpp_auth_success()
[all …]

12345678910>>...19