Home
last modified time | relevance | path

Searched refs:MipiCsiCntlr (Results 1 – 5 of 5) sorted by relevance

/drivers/hdf_core/framework/support/platform/include/mipi/
Dmipi_csi_core.h208 struct MipiCsiCntlr { struct
237 int32_t (*setComboDevAttr)(struct MipiCsiCntlr *cntlr, ComboDevAttr *pAttr); argument
238 int32_t (*setPhyCmvmode)(struct MipiCsiCntlr *cntlr, uint8_t devno, PhyCmvMode cmvMode);
239 int32_t (*setExtDataType)(struct MipiCsiCntlr *cntlr, ExtDataType* dataType);
240 int32_t (*setHsMode)(struct MipiCsiCntlr *cntlr, LaneDivideMode laneDivideMode);
241 int32_t (*enableClock)(struct MipiCsiCntlr *cntlr, uint8_t comboDev);
242 int32_t (*disableClock)(struct MipiCsiCntlr *cntlr, uint8_t comboDev);
243 int32_t (*resetRx)(struct MipiCsiCntlr *cntlr, uint8_t comboDev);
244 int32_t (*unresetRx)(struct MipiCsiCntlr *cntlr, uint8_t comboDev);
245 int32_t (*enableSensorClock)(struct MipiCsiCntlr *cntlr, uint8_t snsClkSource);
[all …]
/drivers/hdf_core/framework/support/platform/src/mipi/
Dmipi_csi_if.c21 MipiCsiCntlrPut((struct MipiCsiCntlr *)handle); in MipiCsiClose()
26 return MipiCsiCntlrSetComboDevAttr((struct MipiCsiCntlr *)handle, pAttr); in MipiCsiSetComboDevAttr()
31 return MipiCsiCntlrSetPhyCmvmode((struct MipiCsiCntlr *)handle, devno, cmvMode); in MipiCsiSetPhyCmvmode()
36 return MipiCsiCntlrSetExtDataType((struct MipiCsiCntlr *)handle, dataType); in MipiCsiSetExtDataType()
41 return MipiCsiCntlrSetHsMode((struct MipiCsiCntlr *)handle, laneDivideMode); in MipiCsiSetHsMode()
46 return MipiCsiCntlrEnableClock((struct MipiCsiCntlr *)handle, comboDev); in MipiCsiEnableClock()
51 return MipiCsiCntlrDisableClock((struct MipiCsiCntlr *)handle, comboDev); in MipiCsiDisableClock()
56 return MipiCsiCntlrResetRx((struct MipiCsiCntlr *)handle, comboDev); in MipiCsiResetRx()
61 return MipiCsiCntlrUnresetRx((struct MipiCsiCntlr *)handle, comboDev); in MipiCsiUnresetRx()
66 return MipiCsiCntlrEnableSensorClock((struct MipiCsiCntlr *)handle, snsClkSource); in MipiCsiEnableSensorClock()
[all …]
Dmipi_csi_core.c15 struct MipiCsiCntlr *cntlr;
22 int32_t MipiCsiRegisterCntlr(struct MipiCsiCntlr *cntlr, struct HdfDeviceObject *device) in MipiCsiRegisterCntlr()
56 void MipiCsiUnregisterCntlr(struct MipiCsiCntlr *cntlr) in MipiCsiUnregisterCntlr()
70 struct MipiCsiCntlr *MipiCsiCntlrFromDevice(const struct HdfDeviceObject *device) in MipiCsiCntlrFromDevice()
72 return (device == NULL) ? NULL : (struct MipiCsiCntlr *)device->service; in MipiCsiCntlrFromDevice()
75 struct MipiCsiCntlr *MipiCsiCntlrGet(uint8_t number) in MipiCsiCntlrGet()
77 struct MipiCsiCntlr *cntlr = NULL; in MipiCsiCntlrGet()
97 void MipiCsiCntlrPut(const struct MipiCsiCntlr *cntlr) in MipiCsiCntlrPut()
115 int32_t MipiCsiCntlrSetComboDevAttr(struct MipiCsiCntlr *cntlr, ComboDevAttr *pAttr) in MipiCsiCntlrSetComboDevAttr()
146 int32_t MipiCsiCntlrSetPhyCmvmode(struct MipiCsiCntlr *cntlr, uint8_t devno, PhyCmvMode cmvMode) in MipiCsiCntlrSetPhyCmvmode()
[all …]
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_csi/
Dmipi_csi_dev.c57 struct MipiCsiCntlr *cntlr;
160 static struct MipiCsiCntlr *GetCntlr(const SysProcEntryTag *s) in GetCntlr()
230 struct MipiCsiCntlr *cntlr = g_vfsPara.cntlr; in MipiRxIoctl()
504 static void ProcShowMipiDevice(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr) in ProcShowMipiDevice()
552 static void ProcShowMipiLane(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr) in ProcShowMipiLane()
596 static unsigned int GetPhyData(struct MipiCsiCntlr *cntlr, int phyId, int laneId) in GetPhyData()
610 static unsigned int GetPhyMipiLinkData(struct MipiCsiCntlr *cntlr, int phyId, int laneId) in GetPhyMipiLinkData()
624 static unsigned int GetPhyLvdsLinkData(struct MipiCsiCntlr *cntlr, int phyId, int laneId) in GetPhyLvdsLinkData()
638 static void ProcShowMipiPhyData(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr) in ProcShowMipiPhyData()
670 static void ProcShowMipiDetectInfo(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr, in ProcShowMipiDetectInfo()
[all …]
Dmipi_v4l2_adapter.c364 static int32_t MipiCsiAdapterSetComboDevAttr(struct MipiCsiCntlr *cntlr, ComboDevAttr *pAttr) in MipiCsiAdapterSetComboDevAttr()
387 static int32_t MipiCsiAdapterResetRx(struct MipiCsiCntlr *cntlr, uint8_t comboDev) in MipiCsiAdapterResetRx()
396 static int32_t MipiCsiAdapterUnresetRx(struct MipiCsiCntlr *cntlr, uint8_t comboDev) in MipiCsiAdapterUnresetRx()
405 static int32_t MipiCsiAdapterProbeV4l2(struct MipiCsiCntlr *cntlr) in MipiCsiAdapterProbeV4l2()
429 static int32_t MipiCsiAdapterSetDrvData(struct MipiCsiCntlr *cntlr, void *cameraData) in MipiCsiAdapterSetDrvData()
449 static struct MipiCsiCntlr g_mipiRx = {
460 static void MipiCsiAdapterRemoveV4l2(const struct MipiCsiCntlr *cntlr) in MipiCsiAdapterRemoveV4l2()
507 struct MipiCsiCntlr *cntlr = NULL; in MipiCsiAdapterRelease()