/device/soc/rockchip/common/sdk_linux/drivers/nvmem/ |
H A D | core.c | 348 static void nvmem_cell_drop(struct nvmem_cell *cell)
in nvmem_cell_drop() argument 350 blocking_notifier_call_chain(&nvmem_notifier, NVMEM_CELL_REMOVE, cell);
in nvmem_cell_drop() 352 list_del(&cell->node);
in nvmem_cell_drop() 354 of_node_put(cell->np);
in nvmem_cell_drop() 355 kfree_const(cell->name);
in nvmem_cell_drop() 356 kfree(cell);
in nvmem_cell_drop() 361 struct nvmem_cell *cell, *p;
in nvmem_device_remove_all_cells() local 363 list_for_each_entry_safe(cell, p, &nvmem->cells, node) nvmem_cell_drop(cell);
in nvmem_device_remove_all_cells() 366 static void nvmem_cell_add(struct nvmem_cell *cell)
in nvmem_cell_add() argument 374 nvmem_cell_info_to_nvmem_cell_nodup(struct nvmem_device *nvmem, const struct nvmem_cell_info *info, struct nvmem_cell *cell) nvmem_cell_info_to_nvmem_cell_nodup() argument 397 nvmem_cell_info_to_nvmem_cell(struct nvmem_device *nvmem, const struct nvmem_cell_info *info, struct nvmem_cell *cell) nvmem_cell_info_to_nvmem_cell() argument 494 struct nvmem_cell *cell; nvmem_add_cells_from_table() local 528 struct nvmem_cell *iter, *cell = NULL; nvmem_find_cell_by_name() local 547 struct nvmem_cell *cell; nvmem_add_cells_from_of() local 1004 struct nvmem_cell *cell = ERR_PTR(-ENOENT); nvmem_cell_get_from_lookup() local 1044 struct nvmem_cell *iter, *cell = NULL; nvmem_find_cell_by_node() local 1075 struct nvmem_cell *cell; of_nvmem_cell_get() local 1124 struct nvmem_cell *cell; nvmem_cell_get() local 1159 struct nvmem_cell **ptr, *cell; devm_nvmem_cell_get() local 1196 devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell) devm_nvmem_cell_put() argument 1211 nvmem_cell_put(struct nvmem_cell *cell) nvmem_cell_put() argument 1219 nvmem_shift_read_buffer_in_place(struct nvmem_cell *cell, void *buf) nvmem_shift_read_buffer_in_place() argument 1254 nvmem_cell_read_ext(struct nvmem_device *nvmem, struct nvmem_cell *cell, void *buf, size_t *len) nvmem_cell_read_ext() argument 1281 nvmem_cell_read(struct nvmem_cell *cell, size_t *len) nvmem_cell_read() argument 1306 nvmem_cell_prepare_write_buffer(struct nvmem_cell *cell, u8 *_buf, int len) nvmem_cell_prepare_write_buffer() argument 1368 nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len) nvmem_cell_write() argument 1401 struct nvmem_cell *cell; nvmem_cell_read_common() local 1499 struct nvmem_cell cell; nvmem_device_cell_read() local 1532 struct nvmem_cell cell; nvmem_device_cell_write() local [all...] |
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | rockchip-cpuinfo.c | 30 struct nvmem_cell *cell;
in rockchip_cpuinfo_probe() local 35 cell = nvmem_cell_get(dev, "cpu-code");
in rockchip_cpuinfo_probe() 36 if (!IS_ERR(cell)) {
in rockchip_cpuinfo_probe() 37 efuse_buf = nvmem_cell_read(cell, &len);
in rockchip_cpuinfo_probe() 38 nvmem_cell_put(cell);
in rockchip_cpuinfo_probe() 49 cell = nvmem_cell_get(dev, "cpu-version");
in rockchip_cpuinfo_probe() 50 if (!IS_ERR(cell)) {
in rockchip_cpuinfo_probe() 51 efuse_buf = nvmem_cell_read(cell, &len);
in rockchip_cpuinfo_probe() 52 nvmem_cell_put(cell);
in rockchip_cpuinfo_probe() 63 cell in rockchip_cpuinfo_probe() [all...] |
H A D | rockchip_opp_select.c | 89 struct nvmem_cell *cell;
in rockchip_nvmem_cell_read_common() local 93 cell = of_nvmem_cell_get(np, cell_id);
in rockchip_nvmem_cell_read_common() 94 if (IS_ERR(cell)) {
in rockchip_nvmem_cell_read_common() 95 return PTR_ERR(cell);
in rockchip_nvmem_cell_read_common() 98 buf = nvmem_cell_read(cell, &len);
in rockchip_nvmem_cell_read_common() 100 nvmem_cell_put(cell);
in rockchip_nvmem_cell_read_common() 105 nvmem_cell_put(cell);
in rockchip_nvmem_cell_read_common() 110 nvmem_cell_put(cell);
in rockchip_nvmem_cell_read_common() 446 struct nvmem_cell *cell;
in rockchip_adjust_leakage() local 452 cell in rockchip_adjust_leakage() 515 struct nvmem_cell *cell; rockchip_get_leakage_v1() local [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | rockchip-cpuinfo.c | 30 struct nvmem_cell *cell; in rockchip_cpuinfo_probe() local 35 cell = nvmem_cell_get(dev, "cpu-code"); in rockchip_cpuinfo_probe() 36 if (!IS_ERR(cell)) { in rockchip_cpuinfo_probe() 37 efuse_buf = nvmem_cell_read(cell, &len); in rockchip_cpuinfo_probe() 38 nvmem_cell_put(cell); in rockchip_cpuinfo_probe() 47 cell = nvmem_cell_get(dev, "cpu-version"); in rockchip_cpuinfo_probe() 48 if (!IS_ERR(cell)) { in rockchip_cpuinfo_probe() 49 efuse_buf = nvmem_cell_read(cell, &len); in rockchip_cpuinfo_probe() 50 nvmem_cell_put(cell); in rockchip_cpuinfo_probe() 59 cell in rockchip_cpuinfo_probe() [all...] |
H A D | rockchip_opp_select.c | 128 struct nvmem_cell *cell; in rockchip_nvmem_cell_read_common() local 132 cell = of_nvmem_cell_get(np, cell_id); in rockchip_nvmem_cell_read_common() 133 if (IS_ERR(cell)) in rockchip_nvmem_cell_read_common() 134 return PTR_ERR(cell); in rockchip_nvmem_cell_read_common() 136 buf = nvmem_cell_read(cell, &len); in rockchip_nvmem_cell_read_common() 138 nvmem_cell_put(cell); in rockchip_nvmem_cell_read_common() 143 nvmem_cell_put(cell); in rockchip_nvmem_cell_read_common() 148 nvmem_cell_put(cell); in rockchip_nvmem_cell_read_common() 477 struct nvmem_cell *cell; in rockchip_adjust_leakage() local 483 cell in rockchip_adjust_leakage() 544 struct nvmem_cell *cell; rockchip_get_leakage_v1() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/ |
H A D | hi_gv_scrollgrid.h | 38 typedef HI_S32 (*HIGV_SCROLLGRID_CONV_CB)(HIGV_HANDLE scrollGridPara, HI_U32 cellCol, HI_U32 cell, 43 HI_U32 Top; /* The top position of cell */ 44 HI_U32 Left; /* The top position of cell */ 45 HI_U32 Width; /* The width of cell */ 46 HI_U32 Height; /* The height of cell */ 102 * param[in] cell Cell. 103 * param[in] cellCol The column attribute of cell. 104 * param[out] value the content of cell. 110 HI_S32 HI_GV_ScrollGrid_GetCellValue(HIGV_HANDLE scrollGridPara, HI_U32 cell, 114 * brief Set the selected cell o [all...] |
/device/soc/rockchip/common/sdk_linux/scripts/dtc/ |
H A D | checks.c | 253 FAIL_PROP(c, dti, node, prop, "property is not a single cell"); in check_is_cell() 887 FAIL_PROP(c, dti, node, prop, "1st cell must be less than or equal to 2nd cell"); in check_pci_bridge() 1457 int cell, cellsize = 0; in check_property_phandle_args() local 1465 for (cell = 0; cell < prop->val.len / sizeof(cell_t); cell += cellsize + 1) { in check_property_phandle_args() 1470 phandle = propval_cell_n(prop, cell); in check_property_phandle_args() 1472 * Some bindings use a cell value 0 or -1 to skip over optional in check_property_phandle_args() 1485 /* If we have markers, verify the current cell i in check_property_phandle_args() [all...] |
/device/soc/rockchip/common/vendor/drivers/phy/ |
H A D | phy-rockchip-inno-hdmi-phy.c | 868 struct nvmem_cell *cell;
in inno_hdmi_phy_rk3228_init() local 894 cell = nvmem_cell_get(inno->dev, "hdmi_phy_flag");
in inno_hdmi_phy_rk3228_init() 895 if (IS_ERR(cell)) {
in inno_hdmi_phy_rk3228_init() 896 dev_err(inno->dev, "failed to get id cell: %ld\n", PTR_ERR(cell));
in inno_hdmi_phy_rk3228_init() 899 efuse_buf = nvmem_cell_read(cell, &len);
in inno_hdmi_phy_rk3228_init() 900 nvmem_cell_put(cell);
in inno_hdmi_phy_rk3228_init()
|
/device/soc/rockchip/common/sdk_linux/drivers/thermal/ |
H A D | rockchip_thermal.c | 1258 struct nvmem_cell *cell;
in rockchip_get_efuse_value() local 1262 cell = of_nvmem_cell_get(np, porp_name);
in rockchip_get_efuse_value() 1263 if (IS_ERR(cell)) {
in rockchip_get_efuse_value() 1264 return PTR_ERR(cell);
in rockchip_get_efuse_value() 1267 buf = (unsigned char *)nvmem_cell_read(cell, &len);
in rockchip_get_efuse_value() 1269 nvmem_cell_put(cell);
in rockchip_get_efuse_value()
|
/device/soc/rockchip/rk3588/kernel/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-hdmi-phy.c | 763 struct nvmem_cell *cell; in inno_hdmi_phy_rk3228_init() local 791 cell = nvmem_cell_get(inno->dev, "hdmi_phy_flag"); in inno_hdmi_phy_rk3228_init() 792 if (IS_ERR(cell)) { in inno_hdmi_phy_rk3228_init() 794 "failed to get id cell: %ld\n", PTR_ERR(cell)); in inno_hdmi_phy_rk3228_init() 797 efuse_buf = nvmem_cell_read(cell, &len); in inno_hdmi_phy_rk3228_init() 798 nvmem_cell_put(cell); in inno_hdmi_phy_rk3228_init()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/ |
H A D | tde_hal_k.c | 175 hi_u32 bpp, i, cell; in tde_fill_data_by_fmt() local 178 cell = data & (0xffffffff >> (32 - bpp)); /* 32 bpp The not, 0xffffffff mask */ in tde_fill_data_by_fmt() 181 (hw_node->src2_fill.bits.src2_color_fill) |= (cell << (i * bpp)); in tde_fill_data_by_fmt() 183 (hw_node->src1_fill.bits.src1_color_fill) |= (cell << (i * bpp)); in tde_fill_data_by_fmt()
|
/device/soc/hisilicon/common/hal/middleware/ffmpeg_adapt/ |
H A D | configure_llvm | 5183 cell) 5184 cpuflags="-mcpu=cell"
|