Searched refs:sid (Results 1 - 25 of 256) sorted by relevance

1234567891011

/linux-master/include/dt-bindings/iio/
H A Dqcom,spmi-adc7-pm8350.h12 #define PM8350_ADC7_REF_GND(sid) ((sid) << 8 | ADC7_REF_GND)
13 #define PM8350_ADC7_1P25VREF(sid) ((sid) << 8 | ADC7_1P25VREF)
14 #define PM8350_ADC7_VREF_VADC(sid) ((sid) << 8 | ADC7_VREF_VADC)
15 #define PM8350_ADC7_DIE_TEMP(sid) ((sid) << 8 | ADC7_DIE_TEMP)
17 #define PM8350_ADC7_AMUX_THM1(sid) ((sid) <<
[all...]
/linux-master/scripts/dtc/include-prefixes/dt-bindings/iio/
H A Dqcom,spmi-adc7-pm8350.h12 #define PM8350_ADC7_REF_GND(sid) ((sid) << 8 | ADC7_REF_GND)
13 #define PM8350_ADC7_1P25VREF(sid) ((sid) << 8 | ADC7_1P25VREF)
14 #define PM8350_ADC7_VREF_VADC(sid) ((sid) << 8 | ADC7_VREF_VADC)
15 #define PM8350_ADC7_DIE_TEMP(sid) ((sid) << 8 | ADC7_DIE_TEMP)
17 #define PM8350_ADC7_AMUX_THM1(sid) ((sid) <<
[all...]
/linux-master/drivers/memory/tegra/
H A Dtegra194.c16 .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...]
H A Dtegra186.c74 unsigned int sid)
78 if (client->regs.sid.security == 0 && client->regs.sid.override == 0)
81 value = readl(mc->regs + client->regs.sid.security);
100 writel(value, mc->regs + client->regs.sid.security);
103 value = readl(mc->regs + client->regs.sid.override);
106 if (old != sid) {
108 client->name, sid);
109 writel(sid, mc->regs + client->regs.sid
72 tegra186_mc_client_sid_override(struct tegra_mc *mc, const struct tegra_mc_client *client, unsigned int sid) argument
119 u32 sid; local
[all...]
H A Dtegra234.c25 .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...]
/linux-master/security/selinux/include/
H A Dibpkey.h22 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey, u32 *sid);
28 static inline int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey, u32 *sid) argument
30 *sid = SECINITSID_UNLABELED;
H A Dobjsec.h34 u32 sid; /* current SID */ member in struct:task_security_struct
51 u32 sid; /* SID of this object */ member in struct:inode_security_struct
58 u32 sid; /* SID of open file description */ member in struct:file_security_struct
65 u32 sid; /* SID of file system superblock */ member in struct:superblock_security_struct
76 u32 sid; /* SID of message */ member in struct:msg_security_struct
81 u32 sid; /* SID of IPC resource */ member in struct:ipc_security_struct
87 u32 sid; /* SID for this interface */ member in struct:netif_security_struct
95 u32 sid; /* SID for this node */ member in struct:netnode_security_struct
100 u32 sid; /* SID for this node */ member in struct:netport_security_struct
116 u32 sid; /* SI member in struct:sk_security_struct
126 u32 sid; /* SID for the tun device sockets */ member in struct:tun_security_struct
130 u32 sid; /* SID of key */ member in struct:key_security_struct
134 u32 sid; /* SID of the queue pair or MAD agent */ member in struct:ib_security_struct
140 u32 sid; /* SID of pkey */ member in struct:pkey_security_struct
144 u32 sid; /* SID of bpf obj creator */ member in struct:bpf_security_struct
148 u32 sid; /* SID of perf_event obj creator */ member in struct:perf_event_security_struct
[all...]
H A Dnetnode.h24 int sel_netnode_sid(void *addr, u16 family, u32 *sid);
H A Dnetport.h23 int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid);
H A Dnetif.h22 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid);
H A Dxfrm.h45 int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, int ckall);
46 int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid);
76 static inline int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, argument
79 *sid = SECSID_NULL;
87 static inline int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid) argument
89 *sid = SECSID_NULL;
/linux-master/include/trace/events/
H A Dspmi.h16 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 )
[all...]
/linux-master/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Disys_stream2mmio_rmgr.c39 stream2mmio_sid_ID_t *sid)
47 assert(sid);
49 if ((stream2mmio < N_STREAM2MMIO_ID) && (sid)) {
57 *sid = i;
70 stream2mmio_sid_ID_t *sid)
76 assert(sid);
78 if ((stream2mmio < N_STREAM2MMIO_ID) && (sid)) {
81 if ((*sid < max_sid) && (cur_rsrc->num_active > 0)) {
82 if (bitop_getbit(cur_rsrc->active_table, *sid) == 1) {
83 bitop_clearbit(cur_rsrc->active_table, *sid);
37 ia_css_isys_stream2mmio_sid_rmgr_acquire( stream2mmio_ID_t stream2mmio, stream2mmio_sid_ID_t *sid) argument
68 ia_css_isys_stream2mmio_sid_rmgr_release( stream2mmio_ID_t stream2mmio, stream2mmio_sid_ID_t *sid) argument
[all...]
/linux-master/sound/core/
H A Dctljack.c32 struct snd_ctl_elem_id sid; local
34 memset(&sid, 0, sizeof(sid));
36 sid.index = 0;
37 sid.iface = SNDRV_CTL_ELEM_IFACE_CARD;
38 strscpy(sid.name, name, sizeof(sid.name));
40 while (snd_ctl_find_id(card, &sid)) {
41 sid.index++;
43 sid
[all...]
/linux-master/include/net/sctp/
H A Dstream_sched.h21 int (*set)(struct sctp_stream *stream, __u16 sid, __u16 value,
23 int (*get)(struct sctp_stream *stream, __u16 sid, __u16 *value);
28 int (*init_sid)(struct sctp_stream *stream, __u16 sid, gfp_t gfp);
30 void (*free_sid)(struct sctp_stream *stream, __u16 sid);
47 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid,
49 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid,
54 int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp);
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-cs53l32a.c51 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; local
55 sp = (sid < ARRAY_SIZE(routing_schemes)) ?
56 routing_schemes[sid] : NULL;
62 sid, hdw->input_val);
/linux-master/drivers/nvmem/
H A Dsunxi_sid.c42 struct sunxi_sid *sid = context; local
46 __ioread32_copy(val, sid->base + sid->value_offset + offset, bytes / 4);
56 word = readl_relaxed(sid->base + sid->value_offset + offset);
62 static int sun8i_sid_register_readout(const struct sunxi_sid *sid, argument
73 writel(reg_val, sid->base + SUN8I_SID_PRCTL);
75 ret = readl_poll_timeout(sid->base + SUN8I_SID_PRCTL, reg_val,
81 *out = readl(sid->base + SUN8I_SID_RDKEY);
83 writel(0, sid
96 struct sunxi_sid *sid = context; local
129 struct sunxi_sid *sid; local
[all...]
/linux-master/net/sctp/
H A Dstream_sched_rr.c65 static int sctp_sched_rr_set(struct sctp_stream *stream, __u16 sid, argument
71 static int sctp_sched_rr_get(struct sctp_stream *stream, __u16 sid, argument
85 static int sctp_sched_rr_init_sid(struct sctp_stream *stream, __u16 sid, argument
88 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->rr_list);
93 static void sctp_sched_rr_free_sid(struct sctp_stream *stream, __u16 sid) argument
102 __u16 sid; local
105 sid = sctp_chunk_stream_no(ch);
107 sctp_sched_rr_sched(stream, SCTP_SO(stream, sid)->ext);
137 __u16 sid; local
140 sid
157 __u16 sid; local
[all...]
H A Dstream_sched_prio.c163 static int sctp_sched_prio_set(struct sctp_stream *stream, __u16 sid, argument
166 struct sctp_stream_out *sout = SCTP_SO(stream, sid);
188 static int sctp_sched_prio_get(struct sctp_stream *stream, __u16 sid, argument
191 *value = SCTP_SO(stream, sid)->ext->prio_head->prio;
202 static int sctp_sched_prio_init_sid(struct sctp_stream *stream, __u16 sid, argument
205 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->prio_list);
206 return sctp_sched_prio_set(stream, sid, 0, gfp);
209 static void sctp_sched_prio_free_sid(struct sctp_stream *stream, __u16 sid) argument
211 sctp_sched_prio_head_put(SCTP_SO(stream, sid)->ext->prio_head);
212 SCTP_SO(stream, sid)
220 __u16 sid; local
261 __u16 sid; local
284 __u16 sid; local
[all...]
H A Dstream_sched.c25 static int sctp_sched_fcfs_set(struct sctp_stream *stream, __u16 sid, argument
31 static int sctp_sched_fcfs_get(struct sctp_stream *stream, __u16 sid, argument
43 static int sctp_sched_fcfs_init_sid(struct sctp_stream *stream, __u16 sid, argument
49 static void sctp_sched_fcfs_free_sid(struct sctp_stream *stream, __u16 sid) argument
206 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, argument
209 if (sid >= asoc->stream.outcnt)
212 if (!SCTP_SO(&asoc->stream, sid)->ext) {
215 ret = sctp_stream_init_ext(&asoc->stream, sid);
220 return asoc->outqueue.sched->set(&asoc->stream, sid, value, gfp);
223 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, argument
240 __u16 sid; local
264 sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp) argument
[all...]
H A Dstream_sched_fc.c27 static int sctp_sched_wfq_set(struct sctp_stream *stream, __u16 sid, argument
30 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext;
39 static int sctp_sched_wfq_get(struct sctp_stream *stream, __u16 sid, argument
42 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext;
48 static int sctp_sched_fc_set(struct sctp_stream *stream, __u16 sid, argument
54 static int sctp_sched_fc_get(struct sctp_stream *stream, __u16 sid, argument
67 static int sctp_sched_fc_init_sid(struct sctp_stream *stream, __u16 sid, argument
70 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext;
79 static void sctp_sched_fc_free_sid(struct sctp_stream *stream, __u16 sid) argument
103 __u16 sid; local
137 __u16 sid, i; local
176 __u16 sid = sctp_chunk_stream_no(ch); local
[all...]
/linux-master/security/selinux/ss/
H A Dsidtab.h22 u32 sid; member in struct:sidtab_entry
103 /* Hash table for fast reverse context-to-sid lookups. */
108 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context);
109 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid);
110 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid);
112 static inline struct context *sidtab_search(struct sidtab *s, u32 sid) argument
114 struct sidtab_entry *entry = sidtab_search_entry(s, sid);
119 static inline struct context *sidtab_search_force(struct sidtab *s, u32 sid) argument
121 struct sidtab_entry *entry = sidtab_search_entry_force(s, sid);
135 int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid);
[all...]
/linux-master/arch/mips/pci/
H A Dpci-ip27.c33 u32 sid; local
39 pci_read_config_dword(dev, PCI_SUBSYSTEM_VENDOR_ID, &sid);
40 if (sid == (PCI_VENDOR_ID_SGI | (IOC3_SUBSYS_IP29_SYSBOARD) << 16))
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
H A Dgp10b.c31 u32 sid; local
37 if (tegra_dev_iommu_get_stream_id(device->dev, &sid))
38 nvkm_wr32(device, 0x160000, sid << 2);
/linux-master/security/selinux/
H A Dnetnode.c181 * @sid: node SID
190 static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) argument
199 *sid = node->nsec.sid;
208 addr, sizeof(struct in_addr), sid);
214 addr, sizeof(struct in6_addr), sid);
224 new->nsec.sid = *sid;
240 * @sid: node SID
250 int sel_netnode_sid(void *addr, u16 family, u32 *sid) argument
[all...]

Completed in 253 milliseconds

1234567891011