/device/soc/rockchip/rk3588/hardware/rga/include/ |
H A D | RgaUtils.h | 25 int get_buf_from_file(void *buf, int f, int sw, int sh, int index); 26 int output_buf_data_to_file(void *buf, int f, int sw, int sh, int index); 28 int get_buf_from_file_FBC(void *buf, int f, int sw, int sh, int index); 29 int output_buf_data_to_file_FBC(void *buf, int f, int sw, int sh, int index);
|
H A D | drmrga.h | 215 int x, int y, int w, int h, int sw, int sh, int f) { in rga_set_rect() 223 rect->wstride = sw; in rga_set_rect() 214 rga_set_rect(rga_rect_t *rect, int x, int y, int w, int h, int sw, int sh, int f) rga_set_rect() argument
|
/device/soc/rockchip/common/hardware/rga/include/ |
H A D | RgaUtils.h | 24 int get_buf_from_file(void *buf, int f, int sw, int sh, int index); 25 int output_buf_data_to_file(void *buf, int f, int sw, int sh, int index);
|
H A D | drmrga.h | 158 static inline int rga_set_rect(rga_rect_t *rect, int x, int y, int w, int h, int sw, int sh, int f) in rga_set_rect() argument 167 rect->wstride = sw; in rga_set_rect()
|
/device/soc/rockchip/rk3399/hardware/rga/include/ |
H A D | RgaUtils.h | 24 int get_buf_from_file(void *buf, int f, int sw, int sh, int index); 25 int output_buf_data_to_file(void *buf, int f, int sw, int sh, int index);
|
H A D | drmrga.h | 160 static inline int rga_set_rect(rga_rect_t *rect, int x, int y, int w, int h, int sw, int sh, int f) in rga_set_rect() argument 169 rect->wstride = sw; in rga_set_rect()
|
/device/soc/rockchip/rk3568/hardware/rga/include/ |
H A D | RgaUtils.h | 24 int get_buf_from_file(void *buf, int f, int sw, int sh, int index); 25 int output_buf_data_to_file(void *buf, int f, int sw, int sh, int index);
|
H A D | drmrga.h | 160 static inline int rga_set_rect(rga_rect_t *rect, int x, int y, int w, int h, int sw, int sh, int f) in rga_set_rect() argument 169 rect->wstride = sw; in rga_set_rect()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/startup/ |
H A D | riscv_init_flashboot.S | 26 #define SREG sw 137 sw t2, (t0) /* clear BSS location */ 147 sw t2, (t0) /* clear ROM_BSS location */ 157 sw t2, (t0) /* clear ROM_BSS location */ 169 sw t3, (t0) 183 sw t3, (t0)
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/ |
H A D | rga_policy.c | 136 int sw, sh; in rga_check_scale() local 139 sw = src0->act_w; in rga_check_scale() 151 if (sw > dw) { in rga_check_scale() 152 if ((sw >> data->max_downscale_factor) > dw) in rga_check_scale() 154 } else if (sw < dw) { in rga_check_scale() 155 if ((sw << data->max_upscale_factor) < dw) in rga_check_scale()
|
H A D | rga3_reg_info.c | 30 u32 sw = 0, sh = 0; in RGA3_set_reg_win0_info() local 131 sw = msg->win0.src_act_h; in RGA3_set_reg_win0_info() 133 sw = msg->win0.src_act_w; in RGA3_set_reg_win0_info() 138 if (sw > dw) { in RGA3_set_reg_win0_info() 141 } else if (sw < dw) { in RGA3_set_reg_win0_info() 163 param_x = FACTOR_MAX * (sw - 1) / (dw - 1); in RGA3_set_reg_win0_info() 164 if ((sw - 1) % (dw - 1) == 0) { in RGA3_set_reg_win0_info() 169 param_x = FACTOR_MAX * (dw - 1) / (sw - 1) + 1; in RGA3_set_reg_win0_info() 449 u32 sw = 0, sh = 0; in RGA3_set_reg_win1_info() local 547 sw in RGA3_set_reg_win1_info() [all...] |
H A D | rga2_reg_info.c | 103 u32 sw, sh; in RGA2_reg_get_param() local 119 sw = msg->src.act_w; in RGA2_reg_get_param() 122 if (sw > dw) { in RGA2_reg_get_param() 124 param_x = ((dw) << 16) / (sw) + 1; in RGA2_reg_get_param() 126 param_x = ((dw) << 16) / (sw); in RGA2_reg_get_param() 129 } else if (sw < dw) { in RGA2_reg_get_param() 131 param_x = ((sw - 1) << 16) / (dw - 1); in RGA2_reg_get_param() 133 param_x = ((sw) << 16) / (dw); in RGA2_reg_get_param() 217 u32 sw, sh; in RGA2_set_reg_src_info() local 247 sw in RGA2_set_reg_src_info() 1443 u32 sw; RGA2_set_reg_color_palette() local [all...] |
H A D | rga2_mmu_info.c | 830 uint32_t sw, byte_num; in rga2_mmu_info_color_palette_mode() local 848 sw = req->src.vir_w * req->src.vir_h; in rga2_mmu_info_color_palette_mode() 849 byte_num = sw >> shift; in rga2_mmu_info_color_palette_mode()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/startup/ |
H A D | riscv_init_loaderboot.S | 25 #define SREG sw 268 sw t2, (t0) /* clear BSS location */ 278 sw t2, (t0) /* clear ROM_BSS location */ 288 sw t2, (t0) /* clear ROM_BSS location */ 300 sw t3, (t0) 314 sw t3, (t0)
|
/device/soc/rockchip/common/vendor/drivers/phy/ |
H A D | phy-rockchip-usbdp.c | 100 struct typec_switch *sw;
member 401 static int udphy_orien_sw_set(struct typec_switch *sw, enum typec_orientation orien)
in udphy_orien_sw_set() argument 403 struct rockchip_udphy *udphy = typec_switch_get_drvdata(sw);
in udphy_orien_sw_set() 432 udphy->sw = typec_switch_register(udphy->dev, &sw_desc);
in udphy_setup_orien_switch() 433 if (IS_ERR(udphy->sw)) {
in udphy_setup_orien_switch() 434 dev_err(udphy->dev, "Error register typec orientation switch: %ld\n", PTR_ERR(udphy->sw));
in udphy_setup_orien_switch() 435 return PTR_ERR(udphy->sw);
in udphy_setup_orien_switch() 445 typec_switch_unregister(udphy->sw);
in udphy_orien_switch_unregister()
|
/device/soc/rockchip/rk3588/kernel/drivers/phy/rockchip/ |
H A D | phy-rockchip-usbdp.c | 101 struct typec_switch *sw; member 463 static int udphy_orien_sw_set(struct typec_switch *sw, in udphy_orien_sw_set() argument 466 struct rockchip_udphy *udphy = typec_switch_get_drvdata(sw); in udphy_orien_sw_set() 495 udphy->sw = typec_switch_register(udphy->dev, &sw_desc); in udphy_setup_orien_switch() 496 if (IS_ERR(udphy->sw)) { in udphy_setup_orien_switch() 498 PTR_ERR(udphy->sw)); in udphy_setup_orien_switch() 499 return PTR_ERR(udphy->sw); in udphy_setup_orien_switch() 509 typec_switch_unregister(udphy->sw); in udphy_orien_switch_unregister()
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/ |
H A D | rga2_reg_info.c | 43 unsigned int sw, sh;
in RGA2_reg_get_param() local 66 sw = msg->src.act_w;
in RGA2_reg_get_param() 69 if (sw > dw) {
in RGA2_reg_get_param() 72 param_x = ((dw) << RGA2_INDEX_SIX) / (sw) + 1;
in RGA2_reg_get_param() 74 param_x = ((dw) << RGA2_INDEX_SIX) / (sw);
in RGA2_reg_get_param() 77 } else if (sw < dw) {
in RGA2_reg_get_param() 80 param_x = ((sw - 1) << RGA2_INDEX_SIX) / (dw - 1);
in RGA2_reg_get_param() 82 param_x = ((sw) << RGA2_INDEX_SIX) / (dw);
in RGA2_reg_get_param() 161 unsigned int sw, sh;
in RGA2_set_reg_src_info() local 189 sw in RGA2_set_reg_src_info() 1254 unsigned int sw; RGA2_set_reg_color_palette() local [all...] |
H A D | rga2_mmu_info.c | 1248 uint32_t sw, byte_num;
in rga2_mmu_info_color_palette_mode() local 1252 sw = req->src.vir_w * req->src.vir_h;
in rga2_mmu_info_color_palette_mode() 1253 byte_num = sw >> shift;
in rga2_mmu_info_color_palette_mode()
|
/device/qemu/riscv32_virt/liteos_m/board/ |
H A D | los_start.S | 57 sw zero, 0x0(t0)
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | lowpower.h | 138 void set_lowpower_mod(enum lowpower_mod sw);
|