Home
last modified time | relevance | path

Searched refs:csid (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/drivers/media/platform/qcom/camss/
Dcamss-csid.c87 static int csid_set_clock_rates(struct csid_device *csid) in csid_set_clock_rates() argument
89 struct device *dev = csid->camss->dev; in csid_set_clock_rates()
95 fmt = csid_get_fmt_entry(csid->formats, csid->nformats, in csid_set_clock_rates()
96 csid->fmt[MSM_CSIPHY_PAD_SINK].code); in csid_set_clock_rates()
97 link_freq = camss_get_link_freq(&csid->subdev.entity, fmt->bpp, in csid_set_clock_rates()
98 csid->phy.lane_cnt); in csid_set_clock_rates()
102 for (i = 0; i < csid->nclocks; i++) { in csid_set_clock_rates()
103 struct camss_clock *clock = &csid->clock[i]; in csid_set_clock_rates()
158 struct csid_device *csid = v4l2_get_subdevdata(sd); in csid_set_power() local
159 struct camss *camss = csid->camss; in csid_set_power()
[all …]
Dcamss-csid-gen2.c24 #define IS_LITE (csid->id >= 2 ? 1 : 0)
337 static void __csid_configure_stream(struct csid_device *csid, u8 enable, u8 vc) in __csid_configure_stream() argument
339 struct csid_testgen_config *tg = &csid->testgen; in __csid_configure_stream()
342 u8 lane_cnt = csid->phy.lane_cnt; in __csid_configure_stream()
344 struct v4l2_mbus_framefmt *input_format = &csid->fmt[MSM_CSID_PAD_FIRST_SRC + vc]; in __csid_configure_stream()
345 const struct csid_format *format = csid_get_fmt_entry(csid->formats, csid->nformats, in __csid_configure_stream()
352 phy_sel = csid->phy.csiphy_id; in __csid_configure_stream()
374 writel_relaxed(val, csid->base + CSID_TPG_VC_CFG0); in __csid_configure_stream()
378 writel_relaxed(val, csid->base + CSID_TPG_VC_CFG1); in __csid_configure_stream()
380 writel_relaxed(0x12345678, csid->base + CSID_TPG_LFSR_SEED); in __csid_configure_stream()
[all …]
Dcamss-csid-4-1.c170 static void csid_configure_stream(struct csid_device *csid, u8 enable) in csid_configure_stream() argument
172 struct csid_testgen_config *tg = &csid->testgen; in csid_configure_stream()
186 input_format = &csid->fmt[MSM_CSID_PAD_SRC]; in csid_configure_stream()
187 format = csid_get_fmt_entry(csid->formats, csid->nformats, in csid_configure_stream()
196 writel_relaxed(val, csid->base + CAMSS_CSID_TG_VC_CFG); in csid_configure_stream()
201 writel_relaxed(val, csid->base + CAMSS_CSID_TG_DT_n_CGG_0(0)); in csid_configure_stream()
205 writel_relaxed(val, csid->base + CAMSS_CSID_TG_DT_n_CGG_1(0)); in csid_configure_stream()
209 writel_relaxed(val, csid->base + CAMSS_CSID_TG_DT_n_CGG_2(0)); in csid_configure_stream()
211 struct csid_phy_config *phy = &csid->phy; in csid_configure_stream()
213 input_format = &csid->fmt[MSM_CSID_PAD_SINK]; in csid_configure_stream()
[all …]
Dcamss-csid-4-7.c197 static void csid_configure_stream(struct csid_device *csid, u8 enable) in csid_configure_stream() argument
199 struct csid_testgen_config *tg = &csid->testgen; in csid_configure_stream()
200 u32 sink_code = csid->fmt[MSM_CSID_PAD_SINK].code; in csid_configure_stream()
201 u32 src_code = csid->fmt[MSM_CSID_PAD_SRC].code; in csid_configure_stream()
215 input_format = &csid->fmt[MSM_CSID_PAD_SRC]; in csid_configure_stream()
216 format = csid_get_fmt_entry(csid->formats, csid->nformats, in csid_configure_stream()
225 writel_relaxed(val, csid->base + CAMSS_CSID_TG_VC_CFG); in csid_configure_stream()
230 writel_relaxed(val, csid->base + CAMSS_CSID_TG_DT_n_CGG_0(0)); in csid_configure_stream()
234 writel_relaxed(val, csid->base + CAMSS_CSID_TG_DT_n_CGG_1(0)); in csid_configure_stream()
238 writel_relaxed(val, csid->base + CAMSS_CSID_TG_DT_n_CGG_2(0)); in csid_configure_stream()
[all …]
Dcamss-csid.h100 void (*configure_stream)(struct csid_device *csid, u8 enable);
107 int (*configure_testgen_pattern)(struct csid_device *csid, s32 val);
113 u32 (*hw_version)(struct csid_device *csid);
130 int (*reset)(struct csid_device *csid);
142 u32 (*src_pad_code)(struct csid_device *csid, u32 sink_code,
149 void (*subdev_init)(struct csid_device *csid);
202 int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid,
205 int msm_csid_register_entity(struct csid_device *csid,
208 void msm_csid_unregister_entity(struct csid_device *csid);
DMakefile6 camss-csid.o \
7 camss-csid-4-1.o \
8 camss-csid-4-7.o \
9 camss-csid-gen2.o \
Dcamss.c1184 ret = msm_csid_subdev_init(camss, &camss->csid[i], in camss_init_subdevices()
1227 ret = msm_csid_register_entity(&camss->csid[i], in camss_register_entities()
1261 &camss->csid[j].subdev.entity, in camss_register_entities()
1268 camss->csid[j].subdev.entity.name, in camss_register_entities()
1279 &camss->csid[i].subdev.entity, in camss_register_entities()
1287 camss->csid[i].subdev.entity.name, in camss_register_entities()
1319 struct v4l2_subdev *csid = &camss->csid[i].subdev; in camss_register_entities() local
1322 ret = media_create_pad_link(&csid->entity, in camss_register_entities()
1330 csid->entity.name, in camss_register_entities()
1352 msm_csid_unregister_entity(&camss->csid[i]); in camss_register_entities()
[all …]
Dcamss-ispif.c423 enum ispif_intf intf, u8 csid, in ispif_select_clk_mux() argument
433 val |= (csid << (vfe * 8)); in ispif_select_clk_mux()
441 val |= (csid << (vfe * 12)); in ispif_select_clk_mux()
449 val |= (csid << (4 + (vfe * 8))); in ispif_select_clk_mux()
457 val |= (csid << (4 + (vfe * 12))); in ispif_select_clk_mux()
465 val |= (csid << (8 + (vfe * 12))); in ispif_select_clk_mux()
573 u8 csid, u8 vfe, u8 enable) in ispif_select_csid() argument
582 val |= csid; in ispif_select_csid()
587 val |= (csid << 4); in ispif_select_csid()
592 val |= (csid << 8); in ispif_select_csid()
[all …]
Dcamss.h97 struct csid_device *csid; member
Dcamss-csiphy.c694 struct csid_device *csid; in csiphy_link_setup() local
703 csid = v4l2_get_subdevdata(sd); in csiphy_link_setup()
705 csiphy->cfg.csid_id = csid->id; in csiphy_link_setup()
/linux-6.6.21/net/sctp/
Dulpqueue.c746 __u16 sid, csid, cssn; in sctp_ulpq_retrieve_ordered() local
756 csid = cevent->stream; in sctp_ulpq_retrieve_ordered()
760 if (csid > sid) in sctp_ulpq_retrieve_ordered()
764 if (csid < sid) in sctp_ulpq_retrieve_ordered()
786 __u16 sid, csid; in sctp_ulpq_store_ordered() local
799 csid = cevent->stream; in sctp_ulpq_store_ordered()
801 if (sid > csid) { in sctp_ulpq_store_ordered()
806 if ((sid == csid) && SSN_lt(cssn, ssn)) { in sctp_ulpq_store_ordered()
816 csid = cevent->stream; in sctp_ulpq_store_ordered()
819 if (csid > sid) in sctp_ulpq_store_ordered()
[all …]
Dstream_interleave.c1009 __u16 csid; in sctp_intl_reap_ordered() local
1015 csid = cevent->stream; in sctp_intl_reap_ordered()
1018 if (csid > sid) in sctp_intl_reap_ordered()
1021 if (csid < sid) in sctp_intl_reap_ordered()
1024 if (!MID_lt(cmid, sctp_mid_peek(stream, in, csid))) in sctp_intl_reap_ordered()
1036 csid = cevent->stream; in sctp_intl_reap_ordered()
1039 if (csid == sid && cmid == sctp_mid_peek(stream, in, csid)) { in sctp_intl_reap_ordered()
1040 sctp_mid_next(stream, in, csid); in sctp_intl_reap_ordered()
/linux-6.6.21/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.c655 u8 csid; in cs_etm_decoder__create_etm_decoder() local
660 csid = (t_params->etmv3.reg_idr & CORESIGHT_TRACE_ID_VAL_MASK); in cs_etm_decoder__create_etm_decoder()
668 csid = (t_params->etmv4.reg_traceidr & CORESIGHT_TRACE_ID_VAL_MASK); in cs_etm_decoder__create_etm_decoder()
674 csid = (t_params->ete.reg_traceidr & CORESIGHT_TRACE_ID_VAL_MASK); in cs_etm_decoder__create_etm_decoder()
684 if (csid == CORESIGHT_TRACE_ID_UNUSED_VAL) in cs_etm_decoder__create_etm_decoder()
691 trace_config, &csid)) in cs_etm_decoder__create_etm_decoder()
703 trace_config, &csid)) in cs_etm_decoder__create_etm_decoder()
706 if (ocsd_dt_set_pkt_protocol_printer(decoder->dcd_tree, csid, 0)) in cs_etm_decoder__create_etm_decoder()
/linux-6.6.21/drivers/spi/
Dspi-cavium.h271 uint64_t csid:2; member
285 uint64_t csid:2;
311 uint64_t csid:1; member
325 uint64_t csid:1;
Dspi-cavium.c81 mpi_tx.s.csid = spi_get_chipselect(spi, 0); in octeon_spi_do_transfer()
106 mpi_tx.s.csid = spi_get_chipselect(spi, 0); in octeon_spi_do_transfer()
/linux-6.6.21/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,tegra186-pmc.yaml90 dsic, dsid, csic, csid, csie, dsif, spi, ufs, dmic-hv, edp,
100 pex-l1-rst, sdmmc4, pex-l5-rst, cam, csic, csid, csie, csif,
Dnvidia,tegra20-pmc.yaml295 audio, audio-hv, cam, csia, csib, csic, csid, csie, csif, dbg,
/linux-6.6.21/tools/testing/selftests/net/
Dsrv6_end_next_csid_l3vpn_test.sh628 encap seg6local action End flavors next-csid \
1014 encap seg6local action End flavors next-csid ${layout} \
Dsrv6_end_x_next_csid_l3vpn_test.sh644 flavors next-csid lblen "${LCBLOCK_BLEN}" \
1082 flavors next-csid ${layout} \
/linux-6.6.21/drivers/net/
Dmacsec.c2986 u64 csid; in nla_put_secy() local
2993 csid = secy->xpn ? MACSEC_CIPHER_ID_GCM_AES_XPN_128 : MACSEC_DEFAULT_CIPHER_ID; in nla_put_secy()
2996 csid = secy->xpn ? MACSEC_CIPHER_ID_GCM_AES_XPN_256 : MACSEC_CIPHER_ID_GCM_AES_256; in nla_put_secy()
3005 csid, MACSEC_SECY_ATTR_PAD) || in nla_put_secy()
4155 u64 csid = MACSEC_DEFAULT_CIPHER_ID; in macsec_validate_attr() local
4164 csid = nla_get_u64(data[IFLA_MACSEC_CIPHER_SUITE]); in macsec_validate_attr()
4181 switch (csid) { in macsec_validate_attr()
4269 u64 csid; in macsec_fill_info() local
4277 csid = secy->xpn ? MACSEC_CIPHER_ID_GCM_AES_XPN_128 : MACSEC_DEFAULT_CIPHER_ID; in macsec_fill_info()
4280 csid = secy->xpn ? MACSEC_CIPHER_ID_GCM_AES_XPN_256 : MACSEC_CIPHER_ID_GCM_AES_256; in macsec_fill_info()
[all …]
/linux-6.6.21/security/selinux/
Dhooks.c2092 u32 csid = task_sid_obj(child); in selinux_ptrace_access_check() local
2095 return avc_has_perm(sid, csid, SECCLASS_FILE, FILE__READ, in selinux_ptrace_access_check()
2098 return avc_has_perm(sid, csid, SECCLASS_PROCESS, PROCESS__PTRACE, in selinux_ptrace_access_check()