| /kernel/linux/linux-6.6/include/dt-bindings/iio/ |
| D | qcom,spmi-adc7-pm8350.h | 12 #define PM8350_ADC7_REF_GND(sid) ((sid) << 8 | ADC7_REF_GND) argument 13 #define PM8350_ADC7_1P25VREF(sid) ((sid) << 8 | ADC7_1P25VREF) argument 14 #define PM8350_ADC7_VREF_VADC(sid) ((sid) << 8 | ADC7_VREF_VADC) argument 15 #define PM8350_ADC7_DIE_TEMP(sid) ((sid) << 8 | ADC7_DIE_TEMP) argument 17 #define PM8350_ADC7_AMUX_THM1(sid) ((sid) << 8 | ADC7_AMUX_THM1) argument 18 #define PM8350_ADC7_AMUX_THM2(sid) ((sid) << 8 | ADC7_AMUX_THM2) argument 19 #define PM8350_ADC7_AMUX_THM3(sid) ((sid) << 8 | ADC7_AMUX_THM3) argument 20 #define PM8350_ADC7_AMUX_THM4(sid) ((sid) << 8 | ADC7_AMUX_THM4) argument 21 #define PM8350_ADC7_AMUX_THM5(sid) ((sid) << 8 | ADC7_AMUX_THM5) argument 22 #define PM8350_ADC7_GPIO1(sid) ((sid) << 8 | ADC7_GPIO1) argument [all …]
|
| /kernel/linux/linux-6.6/drivers/memory/tegra/ |
| D | tegra194.c | 16 .sid = TEGRA194_SID_PASSTHROUGH, 18 .sid = { 26 .sid = TEGRA194_SID_MIU, 28 .sid = { 36 .sid = TEGRA194_SID_MIU, 38 .sid = { 46 .sid = TEGRA194_SID_HDA, 48 .sid = { 56 .sid = TEGRA194_SID_HOST1X, 58 .sid = { [all …]
|
| D | tegra186.c | 74 unsigned int sid) in tegra186_mc_client_sid_override() argument 78 if (client->regs.sid.security == 0 && client->regs.sid.override == 0) in tegra186_mc_client_sid_override() 81 value = readl(mc->regs + client->regs.sid.security); in tegra186_mc_client_sid_override() 100 writel(value, mc->regs + client->regs.sid.security); in tegra186_mc_client_sid_override() 103 value = readl(mc->regs + client->regs.sid.override); in tegra186_mc_client_sid_override() 106 if (old != sid) { in tegra186_mc_client_sid_override() 107 dev_dbg(mc->dev, "overriding SID %x for %s with %x\n", old, in tegra186_mc_client_sid_override() 108 client->name, sid); in tegra186_mc_client_sid_override() 109 writel(sid, mc->regs + client->regs.sid.override); in tegra186_mc_client_sid_override() 128 u32 sid = fwspec->ids[0] & MC_SID_STREAMID_OVERRIDE_MASK; in tegra186_mc_probe_device() local [all …]
|
| D | tegra234.c | 25 .sid = TEGRA234_SID_HDA, 27 .sid = { 37 .sid = TEGRA234_SID_NVENC, 39 .sid = { 49 .sid = TEGRA234_SID_PCIE6, 51 .sid = { 61 .sid = TEGRA234_SID_PCIE6, 63 .sid = { 73 .sid = TEGRA234_SID_PCIE7, 75 .sid = { [all …]
|
| /kernel/linux/linux-5.10/drivers/memory/tegra/ |
| D | tegra186.c | 22 unsigned int sid; member 55 dev_dbg(mc->dev, "setting SID %u for %s\n", client->sid, in tegra186_mc_program_sid() 57 writel(client->sid, mc->regs + client->regs.override); in tegra186_mc_program_sid() 71 .sid = TEGRA186_SID_PASSTHROUGH, 78 .sid = TEGRA186_SID_AFI, 85 .sid = TEGRA186_SID_HDA, 92 .sid = TEGRA186_SID_HOST1X, 99 .sid = TEGRA186_SID_NVENC, 106 .sid = TEGRA186_SID_SATA, 113 .sid = TEGRA186_SID_PASSTHROUGH, [all …]
|
| /kernel/linux/linux-6.6/security/selinux/include/ |
| D | objsec.h | 32 u32 osid; /* SID prior to last execve */ 33 u32 sid; /* current SID */ member 34 u32 exec_sid; /* exec SID */ 35 u32 create_sid; /* fscreate SID */ 36 u32 keycreate_sid; /* keycreate SID */ 37 u32 sockcreate_sid; /* fscreate SID */ 49 u32 task_sid; /* SID of creating task */ 50 u32 sid; /* SID of this object */ member 57 u32 sid; /* SID of open file description */ member 58 u32 fown_sid; /* SID of file owner (for SIGIO) */ [all …]
|
| /kernel/linux/linux-5.10/security/selinux/include/ |
| D | objsec.h | 32 u32 osid; /* SID prior to last execve */ 33 u32 sid; /* current SID */ member 34 u32 exec_sid; /* exec SID */ 35 u32 create_sid; /* fscreate SID */ 36 u32 keycreate_sid; /* keycreate SID */ 37 u32 sockcreate_sid; /* fscreate SID */ 49 u32 task_sid; /* SID of creating task */ 50 u32 sid; /* SID of this object */ member 57 u32 sid; /* SID of open file description */ member 58 u32 fown_sid; /* SID of file owner (for SIGIO) */ [all …]
|
| /kernel/linux/linux-6.6/include/trace/events/ |
| D | spmi.h | 16 TP_PROTO(u8 opcode, u8 sid, u16 addr, u8 len, const u8 *buf), 17 TP_ARGS(opcode, sid, addr, len, buf), 21 __field ( u8, sid ) 29 __entry->sid = sid; 35 TP_printk("opc=%d sid=%02d addr=0x%04x len=%d buf=0x[%*phD]", 36 (int)__entry->opcode, (int)__entry->sid, 42 TP_PROTO(u8 opcode, u8 sid, u16 addr, int ret), 43 TP_ARGS(opcode, sid, addr, ret), 47 __field ( u8, sid ) 54 __entry->sid = sid; [all …]
|
| /kernel/linux/linux-5.10/include/trace/events/ |
| D | spmi.h | 16 TP_PROTO(u8 opcode, u8 sid, u16 addr, u8 len, const u8 *buf), 17 TP_ARGS(opcode, sid, addr, len, buf), 21 __field ( u8, sid ) 29 __entry->sid = sid; 35 TP_printk("opc=%d sid=%02d addr=0x%04x len=%d buf=0x[%*phD]", 36 (int)__entry->opcode, (int)__entry->sid, 42 TP_PROTO(u8 opcode, u8 sid, u16 addr, int ret), 43 TP_ARGS(opcode, sid, addr, ret), 47 __field ( u8, sid ) 54 __entry->sid = sid; [all …]
|
| /kernel/linux/linux-6.6/drivers/nvmem/ |
| D | sunxi_sid.c | 19 /* Registers and special values for doing register-based SID readout on H3 */ 42 struct sunxi_sid *sid = context; in sunxi_sid_read() local 46 __ioread32_copy(val, sid->base + sid->value_offset + offset, bytes / 4); in sunxi_sid_read() 56 word = readl_relaxed(sid->base + sid->value_offset + offset); in sunxi_sid_read() 62 static int sun8i_sid_register_readout(const struct sunxi_sid *sid, in sun8i_sid_register_readout() argument 73 writel(reg_val, sid->base + SUN8I_SID_PRCTL); in sun8i_sid_register_readout() 75 ret = readl_poll_timeout(sid->base + SUN8I_SID_PRCTL, reg_val, in sun8i_sid_register_readout() 81 *out = readl(sid->base + SUN8I_SID_RDKEY); in sun8i_sid_register_readout() 83 writel(0, sid->base + SUN8I_SID_PRCTL); in sun8i_sid_register_readout() 89 * On Allwinner H3, the value on the 0x200 offset of the SID controller seems [all …]
|
| /kernel/linux/linux-5.10/drivers/nvmem/ |
| D | sunxi_sid.c | 20 /* Registers and special values for doing register-based SID readout on H3 */ 43 struct sunxi_sid *sid = context; in sunxi_sid_read() local 45 memcpy_fromio(val, sid->base + sid->value_offset + offset, bytes); in sunxi_sid_read() 50 static int sun8i_sid_register_readout(const struct sunxi_sid *sid, in sun8i_sid_register_readout() argument 61 writel(reg_val, sid->base + SUN8I_SID_PRCTL); in sun8i_sid_register_readout() 63 ret = readl_poll_timeout(sid->base + SUN8I_SID_PRCTL, reg_val, in sun8i_sid_register_readout() 69 *out = readl(sid->base + SUN8I_SID_RDKEY); in sun8i_sid_register_readout() 71 writel(0, sid->base + SUN8I_SID_PRCTL); in sun8i_sid_register_readout() 77 * On Allwinner H3, the value on the 0x200 offset of the SID controller seems 84 struct sunxi_sid *sid = context; in sun8i_sid_read_by_reg() local [all …]
|
| /kernel/linux/linux-6.6/security/selinux/ |
| D | hooks.c | 216 tsec->osid = tsec->sid = SECINITSID_KERNEL; in cred_init_security() 227 return tsec->sid; in cred_sid() 260 u32 sid; in task_sid_obj() local 263 sid = cred_sid(__task_cred(task)); in task_sid_obj() 265 return sid; in task_sid_obj() 423 static int may_context_mount_sb_relabel(u32 sid, in may_context_mount_sb_relabel() argument 430 rc = avc_has_perm(tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 435 rc = avc_has_perm(tsec->sid, sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 440 static int may_context_mount_inode_relabel(u32 sid, in may_context_mount_inode_relabel() argument 446 rc = avc_has_perm(tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_inode_relabel() [all …]
|
| D | ibpkey.c | 118 * sel_ib_pkey_sid_slow - Lookup the SID of a pkey using the policy 121 * @sid: pkey SID 124 * This function determines the SID of a pkey by querying the security 129 static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid_slow() argument 139 *sid = pkey->psec.sid; in sel_ib_pkey_sid_slow() 145 sid); in sel_ib_pkey_sid_slow() 149 /* If this memory allocation fails still return 0. The SID in sel_ib_pkey_sid_slow() 160 new->psec.sid = *sid; in sel_ib_pkey_sid_slow() 169 * sel_ib_pkey_sid - Lookup the SID of a PKEY 172 * @sid: pkey SID [all …]
|
| D | netport.c | 126 * sel_netport_sid_slow - Lookup the SID of a network address using the policy 129 * @sid: port SID 132 * This function determines the SID of a network port by querying the security 137 static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid_slow() argument 146 *sid = port->psec.sid; in sel_netport_sid_slow() 151 ret = security_port_sid(protocol, pnum, sid); in sel_netport_sid_slow() 158 new->psec.sid = *sid; in sel_netport_sid_slow() 171 * sel_netport_sid - Lookup the SID of a network port 174 * @sid: port SID 177 * This function determines the SID of a network port using the fastest method [all …]
|
| D | netif.c | 6 * maintain a table associating each interface with a SID. 120 * sel_netif_sid_slow - Lookup the SID of a network interface using the policy 123 * @sid: interface SID 126 * This function determines the SID of a network interface by querying the 132 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow() argument 152 *sid = netif->nsec.sid; in sel_netif_sid_slow() 156 ret = security_netif_sid(dev->name, sid); in sel_netif_sid_slow() 163 new->nsec.sid = *sid; in sel_netif_sid_slow() 178 * sel_netif_sid - Lookup the SID of a network interface 181 * @sid: interface SID [all …]
|
| /kernel/linux/linux-5.10/security/selinux/ |
| D | hooks.c | 220 tsec->osid = tsec->sid = SECINITSID_KERNEL; in cred_init_security() 231 return tsec->sid; in cred_sid() 239 u32 sid; in task_sid() local 242 sid = cred_sid(__task_cred(task)); in task_sid() 244 return sid; in task_sid() 411 static int may_context_mount_sb_relabel(u32 sid, in may_context_mount_sb_relabel() argument 419 tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 425 tsec->sid, sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 430 static int may_context_mount_inode_relabel(u32 sid, in may_context_mount_inode_relabel() argument 437 tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_inode_relabel() [all …]
|
| D | ibpkey.c | 119 * sel_ib_pkey_sid_slow - Lookup the SID of a pkey using the policy 122 * @sid: pkey SID 125 * This function determines the SID of a pkey by querying the security 130 static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid_slow() argument 140 *sid = pkey->psec.sid; in sel_ib_pkey_sid_slow() 146 sid); in sel_ib_pkey_sid_slow() 150 /* If this memory allocation fails still return 0. The SID in sel_ib_pkey_sid_slow() 161 new->psec.sid = *sid; in sel_ib_pkey_sid_slow() 170 * sel_ib_pkey_sid - Lookup the SID of a PKEY 173 * @sid: pkey SID [all …]
|
| D | netport.c | 127 * sel_netport_sid_slow - Lookup the SID of a network address using the policy 130 * @sid: port SID 133 * This function determines the SID of a network port by querying the security 138 static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid_slow() argument 147 *sid = port->psec.sid; in sel_netport_sid_slow() 152 ret = security_port_sid(&selinux_state, protocol, pnum, sid); in sel_netport_sid_slow() 159 new->psec.sid = *sid; in sel_netport_sid_slow() 172 * sel_netport_sid - Lookup the SID of a network port 175 * @sid: port SID 178 * This function determines the SID of a network port using the fastest method [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | srv6_end_x_next_csid_l3vpn_test.sh | 7 # This script is designed for testing the support of NEXT-C-SID flavor for SRv6 9 # A basic knowledge of SRv6 architecture [1] and of the compressed SID approach 15 # the NEXT-C-SID flavor. The key components for such VPNs are: 21 # variant of SRv6 End behavior. It advances the active SID in the SID 24 # iii) The NEXT-C-SID mechanism [2] offers the possibility of encoding several 25 # SRv6 segments within a single 128-bit SID address, referred to as a 26 # Compressed SID (C-SID) container. In this way, the length of the SID 28 # The NEXT-C-SID is provided as a "flavor" of the SRv6 End.X behavior 29 # which advances the current C-SID (i.e. the Locator-Node Function defined 32 # behavior will apply the End.X function selecting the next SID in the SID [all …]
|
| D | srv6_end_next_csid_l3vpn_test.sh | 6 # This script is designed for testing the support of NEXT-C-SID flavor for SRv6 8 # A basic knowledge of SRv6 architecture [1] and of the compressed SID approach 14 # the NEXT-C-SID flavor. The key components for such VPNs are: 19 # ii) The SRv6 End behavior [1] advances the active SID in the SID List 22 # iii) The NEXT-C-SID mechanism [2] offers the possibility of encoding several 23 # SRv6 segments within a single 128-bit SID address, referred to as a 24 # Compressed SID (C-SID) container. In this way, the length of the SID 26 # The NEXT-C-SID is provided as a "flavor" of the SRv6 End behavior 27 # which advances the current C-SID (i.e. the Locator-Node Function defined 30 # will apply the End function selecting the next SID in the SID List. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/nvmem/ |
| D | allwinner,sun4i-a10-sid.yaml | 4 $id: http://devicetree.org/schemas/nvmem/allwinner,sun4i-a10-sid.yaml# 19 - const: allwinner,sun4i-a10-sid 20 - const: allwinner,sun7i-a20-sid 21 - const: allwinner,sun8i-a83t-sid 22 - const: allwinner,sun8i-h3-sid 23 - const: allwinner,sun20i-d1-sid 24 - const: allwinner,sun50i-a64-sid 26 - const: allwinner,sun50i-a100-sid 27 - const: allwinner,sun50i-a64-sid 28 - const: allwinner,sun50i-h5-sid [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/nvmem/ |
| D | allwinner,sun4i-a10-sid.yaml | 4 $id: http://devicetree.org/schemas/nvmem/allwinner,sun4i-a10-sid.yaml# 19 - const: allwinner,sun4i-a10-sid 20 - const: allwinner,sun7i-a20-sid 21 - const: allwinner,sun8i-a83t-sid 22 - const: allwinner,sun8i-h3-sid 23 - const: allwinner,sun50i-a64-sid 25 - const: allwinner,sun50i-a100-sid 26 - const: allwinner,sun50i-a64-sid 27 - const: allwinner,sun50i-h5-sid 28 - const: allwinner,sun50i-h6-sid [all …]
|
| /kernel/linux/linux-6.6/net/sctp/ |
| D | stream_sched_fc.c | 27 static int sctp_sched_wfq_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_wfq_set() argument 30 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_wfq_set() 39 static int sctp_sched_wfq_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_wfq_get() argument 42 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_wfq_get() 48 static int sctp_sched_fc_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_set() argument 54 static int sctp_sched_fc_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_get() argument 67 static int sctp_sched_fc_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_init_sid() argument 70 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_fc_init_sid() 79 static void sctp_sched_fc_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_fc_free_sid() argument 103 __u16 sid; in sctp_sched_fc_enqueue() local [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/netfilter_ipv6/ |
| D | ip6t_srh.h | 70 * @ psid_addr: Address of previous SID in SRH SID list 71 * @ nsid_addr: Address of NEXT SID in SRH SID list 72 * @ lsid_addr: Address of LAST SID in SRH SID list 73 * @ psid_msk: Mask of previous SID in SRH SID list 74 * @ nsid_msk: Mask of next SID in SRH SID list 75 * @ lsid_msk: MAsk of last SID in SRH SID list
|
| /kernel/linux/linux-5.10/include/uapi/linux/netfilter_ipv6/ |
| D | ip6t_srh.h | 70 * @ psid_addr: Address of previous SID in SRH SID list 71 * @ nsid_addr: Address of NEXT SID in SRH SID list 72 * @ lsid_addr: Address of LAST SID in SRH SID list 73 * @ psid_msk: Mask of previous SID in SRH SID list 74 * @ nsid_msk: Mask of next SID in SRH SID list 75 * @ lsid_msk: MAsk of last SID in SRH SID list
|