Home
last modified time | relevance | path

Searched refs:otp_size (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_test/
H A Drktest_otp.c61 uint32_t otp_size = 0; in handle_otp_size() local
63 res = rk_otp_size(&otp_size); in handle_otp_size()
68 IMSG("The oem otp size is %d byte.", otp_size); in handle_otp_size()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_test/
H A Drktest_otp.c62 uint32_t otp_size = 0; in handle_otp_size() local
64 res = rk_otp_size(&otp_size); in handle_otp_size()
69 IMSG("The oem otp size is %d byte.", otp_size); in handle_otp_size()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_public_api/
H A Drk_oem_otp_api.c101 TEE_Result rk_otp_size(uint32_t *otp_size) in rk_otp_size() argument
110 if (!otp_size) in rk_otp_size()
137 *otp_size = params[0].value.a; in rk_otp_size()
H A Drk_oem_otp_api.h13 TEE_Result rk_otp_size(uint32_t *otp_size);
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Drockchip-secure-otp.c310 u32 otp_size; in rockchip_secure_otp_probe() local
319 ret = device_property_read_u32(dev, "rockchip,otp-size", &otp_size); in rockchip_secure_otp_probe()
323 } else if (otp_size == 0) { in rockchip_secure_otp_probe()
337 otp->config->size = otp_size; in rockchip_secure_otp_probe()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_public_api/
H A Drk_oem_otp_api.c98 TEE_Result rk_otp_size(uint32_t *otp_size) in rk_otp_size() argument
131 *otp_size = params[0].value.a; in rk_otp_size()
H A Drk_oem_otp_api.h13 TEE_Result rk_otp_size(uint32_t *otp_size);
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/i2c/ov5693/
H A Datomisp-ov5693.c742 dev->otp_size = 0; in __ov5693_otp_read()
777 dev->otp_size = 320; in __ov5693_otp_read()
786 dev->otp_size = 32; in __ov5693_otp_read()
795 dev->otp_size = 32; in __ov5693_otp_read()
798 dev->otp_size = 0; // no OTP data. in __ov5693_otp_read()
879 priv->size = dev->otp_size; in ov5693_g_priv_int_data()
H A Dov5693.h234 int otp_size; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddbus.c2083 uint32 otp_size = 0, otp_addr = 0, otp_sw_rgn = 0; in dbus_otp() local
2094 otp_size = BCM_OTP_SIZE_43236; in dbus_otp()
2102 cis = MALLOC(dhd_bus->pub.osh, otp_size * 2); in dbus_otp()
2108 for (i = 0; i < otp_size; i++) { in dbus_otp()
2114 MFREE(dhd_bus->pub.osh, cis, otp_size * 2); in dbus_otp()
2120 for (i = 0; i < (otp_size << 1); ) { in dbus_otp()
2139 if (tup == CISTPL_END || (i + tlen) >= (otp_size << 1)) { in dbus_otp()
2180 MFREE(dhd_bus->pub.osh, cis, otp_size * 2); in dbus_otp()
H A Dbcmsrom.c5709 } else if ((sz = otp_size(oh)) != 0) {
5975 sz = otp_size(oh);
6173 sz = otp_size(oh);
6284 sz = otp_size(oh);
H A Ddhd_pcie.c14339 uint32 dump_size = 0, otp_size = 0, sprom_size = 0; in dhdpcie_cc_nvmshadow() local
14395 otp_size = (((chipcregs->otplayout & OTPL_ROW_SIZE_MASK) in dhdpcie_cc_nvmshadow()
14397 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
14399 otp_size = (((chipcregs->capabilities & CC_CAP_OTPSIZE) in dhdpcie_cc_nvmshadow()
14401 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
14409 otp_size = otp_size_65nm[(chipcregs->otplayout & OTPL_ROW_SIZE_MASK) in dhdpcie_cc_nvmshadow()
14411 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
14413 otp_size = otp_size_65nm[(chipcregs->capabilities & CC_CAP_OTPSIZE) in dhdpcie_cc_nvmshadow()
14415 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
14450 dump_size = otp_size / 16 ; /* 16bit words */ in dhdpcie_cc_nvmshadow()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddbus.c2073 uint32 otp_size = 0, otp_addr = 0, otp_sw_rgn = 0; in dbus_otp() local
2084 otp_size = BCM_OTP_SIZE_43236; in dbus_otp()
2092 cis = MALLOC(dhd_bus->pub.osh, otp_size * 2); in dbus_otp()
2098 for (i = 0; i < otp_size; i++) { in dbus_otp()
2104 MFREE(dhd_bus->pub.osh, cis, otp_size * 2); in dbus_otp()
2110 for (i = 0; i < (otp_size << 1); ) { in dbus_otp()
2129 if (tup == CISTPL_END || (i + tlen) >= (otp_size << 1)) { in dbus_otp()
2170 MFREE(dhd_bus->pub.osh, cis, otp_size * 2); in dbus_otp()
H A Ddhd_pcie.c7098 uint32 dump_size = 0, otp_size = 0, sprom_size = 0; in dhdpcie_cc_nvmshadow() local
7150 otp_size = (((chipcregs->otplayout & OTPL_ROW_SIZE_MASK) in dhdpcie_cc_nvmshadow()
7152 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
7154 otp_size = (((chipcregs->capabilities & CC_CAP_OTPSIZE) in dhdpcie_cc_nvmshadow()
7156 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
7164 otp_size = otp_size_65nm[(chipcregs->otplayout & OTPL_ROW_SIZE_MASK) in dhdpcie_cc_nvmshadow()
7166 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
7168 otp_size = otp_size_65nm[(chipcregs->capabilities & CC_CAP_OTPSIZE) in dhdpcie_cc_nvmshadow()
7170 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
7205 dump_size = otp_size / 16 ; /* 16bit words */ in dhdpcie_cc_nvmshadow()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddbus.c2064 uint32 otp_size = 0, otp_addr = 0, otp_sw_rgn = 0; in dbus_otp() local
2075 otp_size = BCM_OTP_SIZE_43236; in dbus_otp()
2083 cis = MALLOC(dhd_bus->pub.osh, otp_size * 2); in dbus_otp()
2089 for (i = 0; i < otp_size; i++) { in dbus_otp()
2095 MFREE(dhd_bus->pub.osh, cis, otp_size * 2); in dbus_otp()
2101 for (i = 0; i < (otp_size << 1); ) { in dbus_otp()
2120 if (tup == CISTPL_END || (i + tlen) >= (otp_size << 1)) { in dbus_otp()
2161 MFREE(dhd_bus->pub.osh, cis, otp_size * 2); in dbus_otp()
H A Dbcmsrom.c5709 } else if ((sz = otp_size(oh)) != 0) {
5975 sz = otp_size(oh);
6173 sz = otp_size(oh);
6284 sz = otp_size(oh);
H A Ddhd_pcie.c14346 uint32 dump_size = 0, otp_size = 0, sprom_size = 0; in dhdpcie_cc_nvmshadow() local
14402 otp_size = (((chipcregs->otplayout & OTPL_ROW_SIZE_MASK) in dhdpcie_cc_nvmshadow()
14404 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
14406 otp_size = (((chipcregs->capabilities & CC_CAP_OTPSIZE) in dhdpcie_cc_nvmshadow()
14408 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
14416 otp_size = otp_size_65nm[(chipcregs->otplayout & OTPL_ROW_SIZE_MASK) in dhdpcie_cc_nvmshadow()
14418 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
14420 otp_size = otp_size_65nm[(chipcregs->capabilities & CC_CAP_OTPSIZE) in dhdpcie_cc_nvmshadow()
14422 bcm_bprintf(b, "(Size %d bits)\n", otp_size); in dhdpcie_cc_nvmshadow()
14457 dump_size = otp_size / 16 ; /* 16bit words */ in dhdpcie_cc_nvmshadow()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_pcie.c10319 uint32 dump_size = 0, otp_size = 0, sprom_size = 0; in dhdpcie_sromotp_customvar() local
10367 otp_size = (((chipcregs->otplayout & OTPL_ROW_SIZE_MASK) in dhdpcie_sromotp_customvar()
10369 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10371 otp_size = (((chipcregs->capabilities & CC_CAP_OTPSIZE) in dhdpcie_sromotp_customvar()
10373 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10381 otp_size = otp_size_65nm[(chipcregs->otplayout & in dhdpcie_sromotp_customvar()
10383 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10385 otp_size = otp_size_65nm[(chipcregs->capabilities & in dhdpcie_sromotp_customvar()
10387 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10420 dump_size = otp_size / 16 ; /* 16bit words */ in dhdpcie_sromotp_customvar()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_pcie.c10310 uint32 dump_size = 0, otp_size = 0, sprom_size = 0; in dhdpcie_sromotp_customvar() local
10358 otp_size = (((chipcregs->otplayout & OTPL_ROW_SIZE_MASK) in dhdpcie_sromotp_customvar()
10360 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10362 otp_size = (((chipcregs->capabilities & CC_CAP_OTPSIZE) in dhdpcie_sromotp_customvar()
10364 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10372 otp_size = otp_size_65nm[(chipcregs->otplayout & in dhdpcie_sromotp_customvar()
10374 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10376 otp_size = otp_size_65nm[(chipcregs->capabilities & in dhdpcie_sromotp_customvar()
10378 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10411 dump_size = otp_size / 16 ; /* 16bit words */ in dhdpcie_sromotp_customvar()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_pcie.c10310 uint32 dump_size = 0, otp_size = 0, sprom_size = 0; in dhdpcie_sromotp_customvar() local
10358 otp_size = (((chipcregs->otplayout & OTPL_ROW_SIZE_MASK) in dhdpcie_sromotp_customvar()
10360 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10362 otp_size = (((chipcregs->capabilities & CC_CAP_OTPSIZE) in dhdpcie_sromotp_customvar()
10364 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10372 otp_size = otp_size_65nm[(chipcregs->otplayout & in dhdpcie_sromotp_customvar()
10374 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10376 otp_size = otp_size_65nm[(chipcregs->capabilities & in dhdpcie_sromotp_customvar()
10378 DHD_TRACE(("(Size %d bits)\n", otp_size)); in dhdpcie_sromotp_customvar()
10411 dump_size = otp_size / 16 ; /* 16bit words */ in dhdpcie_sromotp_customvar()
[all …]