/openbmc/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-csid.c | 3 * camss-csid.c 5 * Qualcomm MSM Camera Subsystem - CSID (CSI Decoder) Module 24 #include "camss-csid.h" 25 #include "camss-csid-gen1.h" 28 /* offset of CSID registers in VFE region for VFE 480 */ 84 * csid_set_clock_rates - Calculate and set clock rates on CSID module 85 * @csiphy: CSID device 87 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() [all …]
|
H A D | camss-csid-4-7.c | 3 * camss-csid-4-7.c 5 * Qualcomm MSM Camera Subsystem - CSID (CSI Decoder) Module 15 #include "camss-csid.h" 16 #include "camss-csid-gen1.h" 197 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() [all …]
|
H A D | camss-csid-gen2.c | 3 * camss-csid-4-7.c 5 * Qualcomm MSM Camera Subsystem - CSID (CSI Decoder) Module 15 #include "camss-csid.h" 16 #include "camss-csid-gen2.h" 19 /* The CSID 2 IP-block is different from the others, 24 #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() [all …]
|
H A D | camss-csid-4-1.c | 3 * camss-csid-4-1.c 5 * Qualcomm MSM Camera Subsystem - CSID (CSI Decoder) Module 16 #include "camss-csid.h" 17 #include "camss-csid-gen1.h" 170 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() [all …]
|
H A D | camss-csid.h | 3 * camss-csid.h 5 * Qualcomm MSM Camera Subsystem - CSID (CSI Decoder) Module 27 /* CSID hardware can demultiplex up to 4 outputs */ 97 * configure_stream - Configures and starts CSID input stream 98 * @csid: CSID device 100 void (*configure_stream)(struct csid_device *csid, u8 enable); 105 * @csid: CSID device 107 int (*configure_testgen_pattern)(struct csid_device *csid, s32 val); 111 * @csid: CSID device 113 u32 (*hw_version)(struct csid_device *csid); [all …]
|
H A D | Makefile | 6 camss-csid.o \ 7 camss-csid-4-1.o \ 8 camss-csid-4-7.o \ 9 camss-csid-gen2.o \
|
H A D | camss-ispif.c | 418 * @csid: CSID HW module id 423 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() 565 * ispif_select_csid - Select CSID HW module for input from 568 * @csid: CSID HW module id 573 u8 csid, u8 vfe, u8 enable) in ispif_select_csid() argument [all …]
|
H A D | camss-csid-gen1.h | 3 * camss-csid-gen1.h 5 * Qualcomm MSM Camera Subsystem - CSID (CSI Decoder) Module Generation 1
|
H A D | camss-csid-gen2.h | 3 * camss-csid-gen1.h 5 * Qualcomm MSM Camera Subsystem - CSID (CSI Decoder) Module Generation 1
|
H A D | camss.c | 1175 /* note: SM8250 requires VFE to be initialized before CSID */ in camss_init_subdevices() 1187 ret = msm_csid_subdev_init(camss, &camss->csid[i], in camss_init_subdevices() 1191 "Failed to init csid%d sub-device: %d\n", in camss_init_subdevices() 1230 ret = msm_csid_register_entity(&camss->csid[i], in camss_register_entities() 1234 "Failed to register csid%d entity: %d\n", in camss_register_entities() 1264 &camss->csid[j].subdev.entity, in camss_register_entities() 1271 camss->csid[j].subdev.entity.name, in camss_register_entities() 1282 &camss->csid[i].subdev.entity, in camss_register_entities() 1290 camss->csid[i].subdev.entity.name, in camss_register_entities() 1322 struct v4l2_subdev *csid = &camss->csid[i].subdev; in camss_register_entities() local [all …]
|
H A D | camss.h | 21 #include "camss-csid.h" 97 struct csid_device *csid; member
|
H A D | camss-csiphy.c | 694 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()
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | qcom_camss.rst | 32 - 2 / 4 CSID (CSI Decoder) modules. They handle the Protocol and Application 33 layer of the CSI2 receivers. A CSID can decode data stream from any of the 34 CSIPHY. Each CSID also contains a TG (Test Generator) block which can generate 53 - Generation of test input data by the TG in CSID; 115 - 2 / 4 CSID sub-devices - each CSID is represented by a single sub-device; 117 equal to the number of CSID sub-devices; 123 - representing CSIPHY and CSID modules by a separate sub-device for each module 128 - representing ISPIF by a number of sub-devices equal to the number of CSID
|
/openbmc/linux/net/sctp/ |
H A D | ulpqueue.c | 746 __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 …]
|
H A D | stream_interleave.c | 1009 __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()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-cavium.h | 271 uint64_t csid:2; member 285 uint64_t csid:2; 311 uint64_t csid:1; member 325 uint64_t csid:1;
|
H A D | spi-cavium.c | 81 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()
|
/openbmc/linux/tools/perf/util/cs-etm-decoder/ |
H A D | cs-etm-decoder.c | 655 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()
|
/openbmc/qemu/hw/ssi/ |
H A D | ibex_spi_host.c | 77 REG32(CSID, 0x1c) 78 FIELD(CSID, CSID, 0, 32) 202 /* Invalid value for CSID */ in ibex_spi_host_irq() 403 /* CSID exceeds max num_cs */ in ibex_spi_host_write()
|
H A D | sifive_spi.c | 233 qemu_log_mask(LOG_GUEST_ERROR, "%s: invalid csid %d\n", in sifive_spi_write()
|
/openbmc/linux/Documentation/devicetree/bindings/arm/tegra/ |
H A D | nvidia,tegra186-pmc.yaml | 90 dsic, dsid, csic, csid, csie, dsif, spi, ufs, dmic-hv, edp, 100 pex-l1-rst, sdmmc4, pex-l5-rst, cam, csic, csid, csie, csif,
|
/openbmc/linux/drivers/net/ |
H A D | macsec.c | 2994 u64 csid; in nla_put_secy() local 3001 csid = secy->xpn ? MACSEC_CIPHER_ID_GCM_AES_XPN_128 : MACSEC_DEFAULT_CIPHER_ID; in nla_put_secy() 3004 csid = secy->xpn ? MACSEC_CIPHER_ID_GCM_AES_XPN_256 : MACSEC_CIPHER_ID_GCM_AES_256; in nla_put_secy() 3013 csid, MACSEC_SECY_ATTR_PAD) || in nla_put_secy() 4162 u64 csid = MACSEC_DEFAULT_CIPHER_ID; in macsec_validate_attr() local 4171 csid = nla_get_u64(data[IFLA_MACSEC_CIPHER_SUITE]); in macsec_validate_attr() 4188 switch (csid) { in macsec_validate_attr() 4276 u64 csid; in macsec_fill_info() local 4284 csid = secy->xpn ? MACSEC_CIPHER_ID_GCM_AES_XPN_128 : MACSEC_DEFAULT_CIPHER_ID; in macsec_fill_info() 4287 csid = secy->xpn ? MACSEC_CIPHER_ID_GCM_AES_XPN_256 : MACSEC_CIPHER_ID_GCM_AES_256; in macsec_fill_info() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | srv6_end_next_csid_l3vpn_test.sh | 628 encap seg6local action End flavors next-csid \ 1014 encap seg6local action End flavors next-csid ${layout} \ 1079 if ! ip route help 2>&1 | grep -qo "next-csid"; then
|
H A D | srv6_end_x_next_csid_l3vpn_test.sh | 644 flavors next-csid lblen "${LCBLOCK_BLEN}" \ 1082 flavors next-csid ${layout} \ 1147 if ! ip route help 2>&1 | grep -qo "next-csid"; then
|
/openbmc/linux/drivers/soc/tegra/ |
H A D | pmc.c | 3640 TEGRA_IO_PAD(TEGRA_IO_PAD_CSID, 11, 0x1c0, 0x1c4, UINT_MAX, "csid"), 3681 TEGRA_IO_PIN_DESC(TEGRA_IO_PAD_CSID, "csid"), 3789 TEGRA_IO_PAD(TEGRA_IO_PAD_CSID, 12, 0x7c, 0x80, UINT_MAX, "csid"), 3830 TEGRA_IO_PIN_DESC(TEGRA_IO_PAD_CSID, "csid"), 3996 TEGRA_IO_PAD(TEGRA_IO_PAD_CSID, 12, 0x7c, 0x80, UINT_MAX, "csid"), 4048 TEGRA_IO_PIN_DESC(TEGRA_IO_PAD_CSID, "csid"), 4149 TEGRA_IO_PAD(TEGRA_IO_PAD_CSID, 3, 0xe0c0, 0xe0c4, UINT_MAX, "csid"), 4167 TEGRA_IO_PIN_DESC(TEGRA_IO_PAD_CSID, "csid"),
|