/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe-gen1.c | 3 * camss-vfe-gen1.c 11 #include "camss-vfe.h" 12 #include "camss-vfe-gen1.h" 18 int vfe_gen1_halt(struct vfe_device *vfe) in vfe_gen1_halt() argument 22 reinit_completion(&vfe->halt_complete); in vfe_gen1_halt() 24 vfe->ops_gen1->halt_request(vfe); in vfe_gen1_halt() 26 time = wait_for_completion_timeout(&vfe->halt_complete, in vfe_gen1_halt() 29 dev_err(vfe->camss->dev, "VFE halt timeout\n"); in vfe_gen1_halt() 38 struct vfe_device *vfe in vfe_disable_output() local 102 struct vfe_device *vfe = to_vfe(line); vfe_gen1_disable() local 120 vfe_output_init_addrs(struct vfe_device *vfe, struct vfe_output *output, u8 sync, struct vfe_line *line) vfe_output_init_addrs() argument 148 vfe_output_frame_drop(struct vfe_device *vfe, struct vfe_output *output, u32 drop_pattern) vfe_output_frame_drop() argument 170 struct vfe_device *vfe = to_vfe(line); vfe_enable_output() local 282 struct vfe_device *vfe = to_vfe(line); vfe_get_output() local 339 struct vfe_device *vfe = to_vfe(line); vfe_gen1_enable() local 383 vfe_output_update_ping_addr(struct vfe_device *vfe, struct vfe_output *output, u8 sync, struct vfe_line *line) vfe_output_update_ping_addr() argument 402 vfe_output_update_pong_addr(struct vfe_device *vfe, struct vfe_output *output, u8 sync, struct vfe_line *line) vfe_output_update_pong_addr() argument 421 vfe_buf_update_wm_on_next(struct vfe_device *vfe, struct vfe_output *output) vfe_buf_update_wm_on_next() argument 437 vfe_buf_update_wm_on_last(struct vfe_device *vfe, struct vfe_output *output) vfe_buf_update_wm_on_last() argument 457 vfe_buf_update_wm_on_new(struct vfe_device *vfe, struct vfe_output *output, struct camss_buffer *new_buf, struct vfe_line *line) vfe_buf_update_wm_on_new() argument 511 vfe_isr_halt_ack(struct vfe_device *vfe) vfe_isr_halt_ack() argument 522 vfe_isr_sof(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_isr_sof() argument 541 vfe_isr_reg_update(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_isr_reg_update() argument 608 vfe_isr_wm_done(struct vfe_device *vfe, u8 wm) vfe_isr_wm_done() argument 691 struct vfe_device *vfe = to_vfe(line); vfe_queue_buffer() local [all...] |
H A D | camss-vfe-480.c | 3 * camss-vfe-480.c 16 #include "camss-vfe.h" 19 #define IS_LITE (vfe->id >= 2 ? 1 : 0) 27 static inline int reg_update_rdi(struct vfe_device *vfe, int n) in reg_update_rdi() argument 50 static inline int bus_irq_mask_0_rdi_rup(struct vfe_device *vfe, int n) in bus_irq_mask_0_rdi_rup() argument 56 static inline int bus_irq_mask_0_comp_done(struct vfe_device *vfe, int n) in bus_irq_mask_0_comp_done() argument 98 static u32 vfe_hw_version(struct vfe_device *vfe) in vfe_hw_version() argument 100 u32 hw_version = readl_relaxed(vfe->base + VFE_HW_VERSION); in vfe_hw_version() 106 dev_dbg(vfe->camss->dev, "VFE HW Version = %u.%u.%u\n", gen, rev, step); in vfe_hw_version() 111 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument 117 vfe_wm_start(struct vfe_device *vfe, u8 wm, struct vfe_line *line) vfe_wm_start() argument 148 vfe_wm_stop(struct vfe_device *vfe, u8 wm) vfe_wm_stop() argument 154 vfe_wm_update(struct vfe_device *vfe, u8 wm, u32 addr, struct vfe_line *line) vfe_wm_update() argument 161 vfe_reg_update(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update() argument 167 vfe_reg_update_clear(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update_clear() argument 173 vfe_enable_irq_common(struct vfe_device *vfe) vfe_enable_irq_common() argument 180 vfe_enable_lines_irq(struct vfe_device *vfe) vfe_enable_lines_irq() argument 209 struct vfe_device *vfe = dev; vfe_isr() local 245 vfe_halt(struct vfe_device *vfe) vfe_halt() argument 253 struct vfe_device *vfe = to_vfe(line); vfe_get_output() local 289 struct vfe_device *vfe = to_vfe(line); vfe_enable_output() local 332 struct vfe_device *vfe = to_vfe(line); vfe_disable_output() local 354 struct vfe_device *vfe = to_vfe(line); vfe_enable() local 401 struct vfe_device *vfe = to_vfe(line); vfe_disable() local 421 vfe_isr_reg_update(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_isr_reg_update() argument 444 vfe_isr_wm_done(struct vfe_device *vfe, u8 wm) vfe_isr_wm_done() argument 498 vfe_pm_domain_off(struct vfe_device *vfe) vfe_pm_domain_off() argument 512 vfe_pm_domain_on(struct vfe_device *vfe) vfe_pm_domain_on() argument 544 struct vfe_device *vfe = to_vfe(line); vfe_queue_buffer() local 569 vfe_subdev_init(struct device *dev, struct vfe_device *vfe) vfe_subdev_init() argument [all...] |
H A D | camss-vfe-4-7.c | 3 * camss-vfe-4-7.c 17 #include "camss-vfe.h" 18 #include "camss-vfe-gen1.h" 257 static u32 vfe_hw_version(struct vfe_device *vfe) in vfe_hw_version() argument 259 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version() 261 dev_dbg(vfe->camss->dev, "VFE HW Version = 0x%08x\n", hw_version); in vfe_hw_version() 276 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument 278 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr() 280 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr() 283 static inline void vfe_reg_set(struct vfe_device *vfe, u3 argument 290 vfe_global_reset(struct vfe_device *vfe) vfe_global_reset() argument 310 vfe_halt_request(struct vfe_device *vfe) vfe_halt_request() argument 316 vfe_halt_clear(struct vfe_device *vfe) vfe_halt_clear() argument 321 vfe_wm_enable(struct vfe_device *vfe, u8 wm, u8 enable) vfe_wm_enable() argument 331 vfe_wm_frame_based(struct vfe_device *vfe, u8 wm, u8 enable) vfe_wm_frame_based() argument 396 vfe_wm_line_based(struct vfe_device *vfe, u32 wm, struct v4l2_pix_format_mplane *pix, u8 plane, u32 enable) vfe_wm_line_based() argument 431 vfe_wm_set_framedrop_period(struct vfe_device *vfe, u8 wm, u8 per) vfe_wm_set_framedrop_period() argument 447 vfe_wm_set_framedrop_pattern(struct vfe_device *vfe, u8 wm, u32 pattern) vfe_wm_set_framedrop_pattern() argument 454 vfe_wm_set_ub_cfg(struct vfe_device *vfe, u8 wm, u16 offset, u16 depth) vfe_wm_set_ub_cfg() argument 464 vfe_bus_reload_wm(struct vfe_device *vfe, u8 wm) vfe_bus_reload_wm() argument 475 vfe_wm_set_ping_addr(struct vfe_device *vfe, u8 wm, u32 addr) vfe_wm_set_ping_addr() argument 481 vfe_wm_set_pong_addr(struct vfe_device *vfe, u8 wm, u32 addr) vfe_wm_set_pong_addr() argument 487 vfe_wm_get_ping_pong_status(struct vfe_device *vfe, u8 wm) vfe_wm_get_ping_pong_status() argument 496 vfe_bus_enable_wr_if(struct vfe_device *vfe, u8 enable) vfe_bus_enable_wr_if() argument 504 vfe_bus_connect_wm_to_rdi(struct vfe_device *vfe, u8 wm, enum vfe_line_id id) vfe_bus_connect_wm_to_rdi() argument 539 vfe_wm_set_subsample(struct vfe_device *vfe, u8 wm) vfe_wm_set_subsample() argument 546 vfe_bus_disconnect_wm_from_rdi(struct vfe_device *vfe, u8 wm, enum vfe_line_id id) vfe_bus_disconnect_wm_from_rdi() argument 576 vfe_set_xbar_cfg(struct vfe_device *vfe, struct vfe_output *output, u8 enable) vfe_set_xbar_cfg() argument 646 vfe_set_realign_cfg(struct vfe_device *vfe, struct vfe_line *line, u8 enable) vfe_set_realign_cfg() argument 673 vfe_set_rdi_cid(struct vfe_device *vfe, enum vfe_line_id id, u8 cid) vfe_set_rdi_cid() argument 682 vfe_reg_update(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update() argument 694 vfe_reg_update_clear(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update_clear() argument 700 vfe_enable_irq_wm_line(struct vfe_device *vfe, u8 wm, enum vfe_line_id line_id, u8 enable) vfe_enable_irq_wm_line() argument 717 vfe_enable_irq_pix_line(struct vfe_device *vfe, u8 comp, enum vfe_line_id line_id, u8 enable) vfe_enable_irq_pix_line() argument 748 vfe_enable_irq_common(struct vfe_device *vfe) vfe_enable_irq_common() argument 758 vfe_set_demux_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_demux_cfg() argument 794 vfe_set_scale_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_scale_cfg() argument 849 vfe_set_crop_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_crop_cfg() argument 880 vfe_set_clamp_cfg(struct vfe_device *vfe) vfe_set_clamp_cfg() argument 895 vfe_set_qos(struct vfe_device *vfe) vfe_set_qos() argument 910 vfe_set_ds(struct vfe_device *vfe) vfe_set_ds() argument 934 vfe_set_cgc_override(struct vfe_device *vfe, u8 wm, u8 enable) vfe_set_cgc_override() argument 939 vfe_set_camif_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_camif_cfg() argument 988 vfe_set_camif_cmd(struct vfe_device *vfe, u8 enable) vfe_set_camif_cmd() argument 1006 vfe_set_module_cfg(struct vfe_device *vfe, u8 enable) vfe_set_module_cfg() argument 1022 vfe_camif_wait_for_stop(struct vfe_device *vfe, struct device *dev) vfe_camif_wait_for_stop() argument 1049 struct vfe_device *vfe = dev; vfe_isr() local 1093 vfe_isr_read(struct vfe_device *vfe, u32 *value0, u32 *value1) vfe_isr_read() argument 1110 vfe_pm_domain_off(struct vfe_device *vfe) vfe_pm_domain_off() argument 1126 vfe_pm_domain_on(struct vfe_device *vfe) vfe_pm_domain_on() argument 1142 vfe_violation_read(struct vfe_device *vfe) vfe_violation_read() argument 1186 vfe_subdev_init(struct device *dev, struct vfe_device *vfe) vfe_subdev_init() argument [all...] |
H A D | camss-vfe-4-8.c | 3 * camss-vfe-4-8.c 17 #include "camss-vfe.h" 18 #include "camss-vfe-gen1.h" 250 static u32 vfe_hw_version(struct vfe_device *vfe) in vfe_hw_version() argument 252 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version() 254 dev_dbg(vfe->camss->dev, "VFE HW Version = 0x%08x\n", hw_version); in vfe_hw_version() 259 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument 261 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr() 263 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr() 266 static inline void vfe_reg_set(struct vfe_device *vfe, u3 argument 273 vfe_global_reset(struct vfe_device *vfe) vfe_global_reset() argument 293 vfe_halt_request(struct vfe_device *vfe) vfe_halt_request() argument 299 vfe_halt_clear(struct vfe_device *vfe) vfe_halt_clear() argument 304 vfe_wm_frame_based(struct vfe_device *vfe, u8 wm, u8 enable) vfe_wm_frame_based() argument 369 vfe_wm_line_based(struct vfe_device *vfe, u32 wm, struct v4l2_pix_format_mplane *pix, u8 plane, u32 enable) vfe_wm_line_based() argument 404 vfe_wm_set_framedrop_period(struct vfe_device *vfe, u8 wm, u8 per) vfe_wm_set_framedrop_period() argument 420 vfe_wm_set_framedrop_pattern(struct vfe_device *vfe, u8 wm, u32 pattern) vfe_wm_set_framedrop_pattern() argument 426 vfe_wm_set_ub_cfg(struct vfe_device *vfe, u8 wm, u16 offset, u16 depth) vfe_wm_set_ub_cfg() argument 436 vfe_bus_reload_wm(struct vfe_device *vfe, u8 wm) vfe_bus_reload_wm() argument 447 vfe_wm_set_ping_addr(struct vfe_device *vfe, u8 wm, u32 addr) vfe_wm_set_ping_addr() argument 453 vfe_wm_set_pong_addr(struct vfe_device *vfe, u8 wm, u32 addr) vfe_wm_set_pong_addr() argument 459 vfe_wm_get_ping_pong_status(struct vfe_device *vfe, u8 wm) vfe_wm_get_ping_pong_status() argument 468 vfe_bus_enable_wr_if(struct vfe_device *vfe, u8 enable) vfe_bus_enable_wr_if() argument 476 vfe_bus_connect_wm_to_rdi(struct vfe_device *vfe, u8 wm, enum vfe_line_id id) vfe_bus_connect_wm_to_rdi() argument 511 vfe_wm_set_subsample(struct vfe_device *vfe, u8 wm) vfe_wm_set_subsample() argument 517 vfe_bus_disconnect_wm_from_rdi(struct vfe_device *vfe, u8 wm, enum vfe_line_id id) vfe_bus_disconnect_wm_from_rdi() argument 547 vfe_set_xbar_cfg(struct vfe_device *vfe, struct vfe_output *output, u8 enable) vfe_set_xbar_cfg() argument 617 vfe_set_realign_cfg(struct vfe_device *vfe, struct vfe_line *line, u8 enable) vfe_set_realign_cfg() argument 644 vfe_set_rdi_cid(struct vfe_device *vfe, enum vfe_line_id id, u8 cid) vfe_set_rdi_cid() argument 653 vfe_reg_update(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update() argument 666 vfe_reg_update_clear(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update_clear() argument 672 vfe_enable_irq_wm_line(struct vfe_device *vfe, u8 wm, enum vfe_line_id line_id, u8 enable) vfe_enable_irq_wm_line() argument 689 vfe_enable_irq_pix_line(struct vfe_device *vfe, u8 comp, enum vfe_line_id line_id, u8 enable) vfe_enable_irq_pix_line() argument 719 vfe_enable_irq_common(struct vfe_device *vfe) vfe_enable_irq_common() argument 729 vfe_set_demux_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_demux_cfg() argument 765 vfe_set_scale_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_scale_cfg() argument 820 vfe_set_crop_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_crop_cfg() argument 851 vfe_set_clamp_cfg(struct vfe_device *vfe) vfe_set_clamp_cfg() argument 866 vfe_set_cgc_override(struct vfe_device *vfe, u8 wm, u8 enable) vfe_set_cgc_override() argument 871 vfe_set_camif_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_camif_cfg() argument 920 vfe_set_camif_cmd(struct vfe_device *vfe, u8 enable) vfe_set_camif_cmd() argument 938 vfe_set_module_cfg(struct vfe_device *vfe, u8 enable) vfe_set_module_cfg() argument 954 vfe_camif_wait_for_stop(struct vfe_device *vfe, struct device *dev) vfe_camif_wait_for_stop() argument 979 struct vfe_device *vfe = dev; vfe_isr() local 1029 vfe_wm_enable(struct vfe_device *vfe, u8 wm, u8 enable) vfe_wm_enable() argument 1042 vfe_set_qos(struct vfe_device *vfe) vfe_set_qos() argument 1059 vfe_set_ds(struct vfe_device *vfe) vfe_set_ds() argument 1083 vfe_isr_read(struct vfe_device *vfe, u32 *value0, u32 *value1) vfe_isr_read() argument 1100 vfe_pm_domain_off(struct vfe_device *vfe) vfe_pm_domain_off() argument 1111 vfe_pm_domain_on(struct vfe_device *vfe) vfe_pm_domain_on() argument 1127 vfe_violation_read(struct vfe_device *vfe) vfe_violation_read() argument 1171 vfe_subdev_init(struct device *dev, struct vfe_device *vfe) vfe_subdev_init() argument [all...] |
H A D | camss-vfe-170.c | 3 * camss-vfe-170.c 15 #include "camss-vfe.h" 179 static u32 vfe_hw_version(struct vfe_device *vfe) in vfe_hw_version() argument 181 u32 hw_version = readl_relaxed(vfe->base + VFE_HW_VERSION); in vfe_hw_version() 187 dev_dbg(vfe->camss->dev, "VFE HW Version = %u.%u.%u\n", in vfe_hw_version() 193 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument 195 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set() 197 writel_relaxed(bits | set_bits, vfe->base + reg); in vfe_reg_set() 200 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument 214 writel_relaxed(BIT(31), vfe in vfe_global_reset() 222 vfe_wm_start(struct vfe_device *vfe, u8 wm, struct vfe_line *line) vfe_wm_start() argument 265 vfe_wm_stop(struct vfe_device *vfe, u8 wm) vfe_wm_stop() argument 271 vfe_wm_update(struct vfe_device *vfe, u8 wm, u32 addr, struct vfe_line *line) vfe_wm_update() argument 282 vfe_reg_update(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update() argument 295 vfe_reg_update_clear(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update_clear() argument 301 vfe_enable_irq_common(struct vfe_device *vfe) vfe_enable_irq_common() argument 311 vfe_isr_halt_ack(struct vfe_device *vfe) vfe_isr_halt_ack() argument 316 vfe_isr_read(struct vfe_device *vfe, u32 *status0, u32 *status1) vfe_isr_read() argument 329 vfe_violation_read(struct vfe_device *vfe) vfe_violation_read() argument 345 struct vfe_device *vfe = dev; vfe_isr() local 395 vfe_halt(struct vfe_device *vfe) vfe_halt() argument 403 struct vfe_device *vfe = to_vfe(line); vfe_get_output() local 442 struct vfe_device *vfe = to_vfe(line); vfe_enable_output() local 498 struct vfe_device *vfe = to_vfe(line); vfe_disable_output() local 520 struct vfe_device *vfe = to_vfe(line); vfe_enable() local 565 struct vfe_device *vfe = to_vfe(line); vfe_disable() local 585 vfe_isr_sof(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_isr_sof() argument 595 vfe_isr_reg_update(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_isr_reg_update() argument 618 vfe_isr_wm_done(struct vfe_device *vfe, u8 wm) vfe_isr_wm_done() argument 672 vfe_pm_domain_off(struct vfe_device *vfe) vfe_pm_domain_off() argument 686 vfe_pm_domain_on(struct vfe_device *vfe) vfe_pm_domain_on() argument 718 struct vfe_device *vfe = to_vfe(line); vfe_queue_buffer() local 752 vfe_subdev_init(struct device *dev, struct vfe_device *vfe) vfe_subdev_init() argument [all...] |
H A D | camss-vfe-gen1.h | 3 * camss-vfe.h 13 #include "camss-vfe.h" 21 void (*bus_connect_wm_to_rdi)(struct vfe_device *vfe, u8 wm, enum vfe_line_id id); 22 void (*bus_disconnect_wm_from_rdi)(struct vfe_device *vfe, u8 wm, enum vfe_line_id id); 23 void (*bus_enable_wr_if)(struct vfe_device *vfe, u8 enable); 24 void (*bus_reload_wm)(struct vfe_device *vfe, u8 wm); 25 int (*camif_wait_for_stop)(struct vfe_device *vfe, struct device *dev); 26 void (*enable_irq_common)(struct vfe_device *vfe); 27 void (*enable_irq_wm_line)(struct vfe_device *vfe, u8 wm, enum vfe_line_id line_id, 29 void (*enable_irq_pix_line)(struct vfe_device *vfe, u [all...] |
H A D | camss-vfe-4-1.c | 3 * camss-vfe-4-1.c 16 #include "camss-vfe.h" 17 #include "camss-vfe-gen1.h" 213 static u32 vfe_hw_version(struct vfe_device *vfe) in vfe_hw_version() argument 215 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version() 217 dev_dbg(vfe->camss->dev, "VFE HW Version = 0x%08x\n", hw_version); in vfe_hw_version() 230 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument 232 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr() 234 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr() 237 static inline void vfe_reg_set(struct vfe_device *vfe, u3 argument 244 vfe_global_reset(struct vfe_device *vfe) vfe_global_reset() argument 259 vfe_halt_request(struct vfe_device *vfe) vfe_halt_request() argument 265 vfe_halt_clear(struct vfe_device *vfe) vfe_halt_clear() argument 270 vfe_wm_enable(struct vfe_device *vfe, u8 wm, u8 enable) vfe_wm_enable() argument 280 vfe_wm_frame_based(struct vfe_device *vfe, u8 wm, u8 enable) vfe_wm_frame_based() argument 303 vfe_wm_line_based(struct vfe_device *vfe, u32 wm, struct v4l2_pix_format_mplane *pix, u8 plane, u32 enable) vfe_wm_line_based() argument 338 vfe_wm_set_framedrop_period(struct vfe_device *vfe, u8 wm, u8 per) vfe_wm_set_framedrop_period() argument 354 vfe_wm_set_framedrop_pattern(struct vfe_device *vfe, u8 wm, u32 pattern) vfe_wm_set_framedrop_pattern() argument 361 vfe_wm_set_ub_cfg(struct vfe_device *vfe, u8 wm, u16 offset, u16 depth) vfe_wm_set_ub_cfg() argument 371 vfe_bus_reload_wm(struct vfe_device *vfe, u8 wm) vfe_bus_reload_wm() argument 378 vfe_wm_set_ping_addr(struct vfe_device *vfe, u8 wm, u32 addr) vfe_wm_set_ping_addr() argument 384 vfe_wm_set_pong_addr(struct vfe_device *vfe, u8 wm, u32 addr) vfe_wm_set_pong_addr() argument 390 vfe_wm_get_ping_pong_status(struct vfe_device *vfe, u8 wm) vfe_wm_get_ping_pong_status() argument 399 vfe_bus_enable_wr_if(struct vfe_device *vfe, u8 enable) vfe_bus_enable_wr_if() argument 407 vfe_bus_connect_wm_to_rdi(struct vfe_device *vfe, u8 wm, enum vfe_line_id id) vfe_bus_connect_wm_to_rdi() argument 443 vfe_wm_set_subsample(struct vfe_device *vfe, u8 wm) vfe_wm_set_subsample() argument 450 vfe_bus_disconnect_wm_from_rdi(struct vfe_device *vfe, u8 wm, enum vfe_line_id id) vfe_bus_disconnect_wm_from_rdi() argument 483 vfe_set_xbar_cfg(struct vfe_device *vfe, struct vfe_output *output, u8 enable) vfe_set_xbar_cfg() argument 518 vfe_set_realign_cfg(struct vfe_device *vfe, struct vfe_line *line, u8 enable) vfe_set_realign_cfg() argument 523 vfe_set_rdi_cid(struct vfe_device *vfe, enum vfe_line_id id, u8 cid) vfe_set_rdi_cid() argument 532 vfe_reg_update(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update() argument 540 vfe_reg_update_clear(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update_clear() argument 546 vfe_enable_irq_wm_line(struct vfe_device *vfe, u8 wm, enum vfe_line_id line_id, u8 enable) vfe_enable_irq_wm_line() argument 563 vfe_enable_irq_pix_line(struct vfe_device *vfe, u8 comp, enum vfe_line_id line_id, u8 enable) vfe_enable_irq_pix_line() argument 594 vfe_enable_irq_common(struct vfe_device *vfe) vfe_enable_irq_common() argument 604 vfe_set_demux_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_demux_cfg() argument 640 vfe_set_scale_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_scale_cfg() argument 695 vfe_set_crop_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_crop_cfg() argument 726 vfe_set_clamp_cfg(struct vfe_device *vfe) vfe_set_clamp_cfg() argument 741 vfe_set_qos(struct vfe_device *vfe) vfe_set_qos() argument 756 vfe_set_ds(struct vfe_device *vfe) vfe_set_ds() argument 761 vfe_set_cgc_override(struct vfe_device *vfe, u8 wm, u8 enable) vfe_set_cgc_override() argument 773 vfe_set_camif_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_camif_cfg() argument 818 vfe_set_camif_cmd(struct vfe_device *vfe, u8 enable) vfe_set_camif_cmd() argument 834 vfe_set_module_cfg(struct vfe_device *vfe, u8 enable) vfe_set_module_cfg() argument 847 vfe_camif_wait_for_stop(struct vfe_device *vfe, struct device *dev) vfe_camif_wait_for_stop() argument 863 vfe_isr_read(struct vfe_device *vfe, u32 *value0, u32 *value1) vfe_isr_read() argument 875 vfe_violation_read(struct vfe_device *vfe) vfe_violation_read() argument 891 struct vfe_device *vfe = dev; vfe_isr() local 939 vfe_pm_domain_off(struct vfe_device *vfe) vfe_pm_domain_off() argument 948 vfe_pm_domain_on(struct vfe_device *vfe) vfe_pm_domain_on() argument 990 vfe_subdev_init(struct device *dev, struct vfe_device *vfe) vfe_subdev_init() argument [all...] |
H A D | camss-vfe.c | 3 * camss-vfe.c 24 #include "camss-vfe.h" 171 struct vfe_device *vfe = to_vfe(line); in vfe_src_pad_code() local 173 if (vfe->camss->version == CAMSS_8x16) in vfe_src_pad_code() 221 else if (vfe->camss->version == CAMSS_8x96 || in vfe_src_pad_code() 222 vfe->camss->version == CAMSS_660 || in vfe_src_pad_code() 223 vfe->camss->version == CAMSS_845 || in vfe_src_pad_code() 224 vfe->camss->version == CAMSS_8250) in vfe_src_pad_code() 288 int vfe_reset(struct vfe_device *vfe) in vfe_reset() argument 292 reinit_completion(&vfe in vfe_reset() 306 vfe_init_outputs(struct vfe_device *vfe) vfe_init_outputs() argument 320 vfe_reset_output_maps(struct vfe_device *vfe) vfe_reset_output_maps() argument 328 vfe_reserve_wm(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reserve_wm() argument 344 vfe_release_wm(struct vfe_device *vfe, u8 wm) vfe_release_wm() argument 394 struct vfe_device *vfe = to_vfe(line); vfe_put_output() local 415 vfe_isr_comp_done(struct vfe_device *vfe, u8 comp) vfe_isr_comp_done() argument 426 vfe_isr_reset_ack(struct vfe_device *vfe) vfe_isr_reset_ack() argument 437 vfe_set_clock_rates(struct vfe_device *vfe) vfe_set_clock_rates() argument 521 vfe_check_clock_rates(struct vfe_device *vfe) vfe_check_clock_rates() argument 579 vfe_get(struct vfe_device *vfe) vfe_get() argument 641 vfe_put(struct vfe_device *vfe) vfe_put() argument 678 struct vfe_device *vfe = to_vfe(line); vfe_flush_buffers() local 714 struct vfe_device *vfe = to_vfe(line); vfe_set_power() local 740 struct vfe_device *vfe = to_vfe(line); vfe_set_stream() local 1281 msm_vfe_subdev_init(struct camss *camss, struct vfe_device *vfe, const struct resources *res, u8 id) msm_vfe_subdev_init() argument 1491 msm_vfe_register_entities(struct vfe_device *vfe, struct v4l2_device *v4l2_dev) msm_vfe_register_entities() argument 1605 msm_vfe_unregister_entities(struct vfe_device *vfe) msm_vfe_unregister_entities() argument [all...] |
H A D | camss-vfe.h | 3 * camss-vfe.h 20 #include "camss-vfe-gen1.h" 104 void (*enable_irq_common)(struct vfe_device *vfe); 105 void (*global_reset)(struct vfe_device *vfe); 106 u32 (*hw_version)(struct vfe_device *vfe); 108 void (*isr_read)(struct vfe_device *vfe, u32 *value0, u32 *value1); 109 void (*pm_domain_off)(struct vfe_device *vfe); 110 int (*pm_domain_on)(struct vfe_device *vfe); 111 void (*reg_update)(struct vfe_device *vfe, enum vfe_line_id line_id); 112 void (*reg_update_clear)(struct vfe_device *vfe, [all...] |
H A D | camss-ispif.c | 419 * @vfe: VFE HW module id 424 u8 vfe, u8 enable) in ispif_select_clk_mux() 431 val &= ~(0xf << (vfe * 8)); in ispif_select_clk_mux() 433 val |= (csid << (vfe * 8)); in ispif_select_clk_mux() 439 val &= ~(0xf << (vfe * 12)); in ispif_select_clk_mux() 441 val |= (csid << (vfe * 12)); in ispif_select_clk_mux() 447 val &= ~(0xf << (4 + (vfe * 8))); in ispif_select_clk_mux() 449 val |= (csid << (4 + (vfe * 8))); in ispif_select_clk_mux() 455 val &= ~(0xf << (4 + (vfe * 12))); in ispif_select_clk_mux() 457 val |= (csid << (4 + (vfe * 1 in ispif_select_clk_mux() 422 ispif_select_clk_mux(struct ispif_device *ispif, enum ispif_intf intf, u8 csid, u8 vfe, u8 enable) ispif_select_clk_mux() argument 481 ispif_validate_intf_status(struct ispif_device *ispif, enum ispif_intf intf, u8 vfe) ispif_validate_intf_status() argument 527 ispif_wait_for_stop(struct ispif_device *ispif, enum ispif_intf intf, u8 vfe) ispif_wait_for_stop() argument 572 ispif_select_csid(struct ispif_device *ispif, enum ispif_intf intf, u8 csid, u8 vfe, u8 enable) ispif_select_csid() argument 617 ispif_select_cid(struct ispif_device *ispif, enum ispif_intf intf, u8 cid, u8 vfe, u8 enable) ispif_select_cid() argument 658 ispif_config_irq(struct ispif_device *ispif, enum ispif_intf intf, u8 vfe, u8 enable) ispif_config_irq() argument 723 ispif_config_pack(struct ispif_device *ispif, u32 code, enum ispif_intf intf, u8 cid, u8 vfe, u8 enable) ispif_config_pack() argument 771 ispif_set_intf_cmd(struct ispif_device *ispif, u8 cmd, enum ispif_intf intf, u8 vfe, u8 vc) ispif_set_intf_cmd() argument 809 u8 vfe = line->vfe_id; ispif_set_stream() local 1264 struct vfe_device *vfe; ispif_get_vfe_id() local [all...] |
H A D | camss.c | 1008 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_on() local 1010 ret = vfe->ops->pm_domain_on(vfe); in camss_pm_domain_on() 1019 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_off() local 1021 vfe->ops->pm_domain_off(vfe); in camss_pm_domain_off() 1174 ret = msm_vfe_subdev_init(camss, &camss->vfe[i], in camss_init_subdevices() 1178 "Fail to init vfe in camss_init_subdevices() 1299 struct v4l2_subdev *vfe = &camss->vfe[k].line[j].subdev; camss_register_entities() local 1320 struct v4l2_subdev *vfe = &camss->vfe[k].line[j].subdev; camss_register_entities() local [all...] |
H A D | camss-csid.c | 161 struct vfe_device *vfe = &camss->vfe[csid->id]; in csid_set_power() local 167 ret = vfe_get(vfe); in csid_set_power() 221 vfe_put(vfe); in csid_set_power() 600 csid->base = camss->vfe[id].base + VFE_480_LITE_CSID_OFFSET; in msm_csid_subdev_init() 602 csid->base = camss->vfe[id].base + VFE_480_CSID_OFFSET; in msm_csid_subdev_init()
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe.c | 3 * camss-vfe.c 24 #include "camss-vfe.h" 158 struct vfe_device *vfe = to_vfe(line); in vfe_src_pad_code() local 160 if (vfe->camss->version == CAMSS_8x16) in vfe_src_pad_code() 208 else if (vfe->camss->version == CAMSS_8x96) in vfe_src_pad_code() 274 * @vfe: VFE device 278 static int vfe_reset(struct vfe_device *vfe) in vfe_reset() argument 282 reinit_completion(&vfe->reset_complete); in vfe_reset() 284 vfe->ops->global_reset(vfe); in vfe_reset() 302 vfe_halt(struct vfe_device *vfe) vfe_halt() argument 320 vfe_init_outputs(struct vfe_device *vfe) vfe_init_outputs() argument 334 vfe_reset_output_maps(struct vfe_device *vfe) vfe_reset_output_maps() argument 342 vfe_output_init_addrs(struct vfe_device *vfe, struct vfe_output *output, u8 sync) vfe_output_init_addrs() argument 369 vfe_output_update_ping_addr(struct vfe_device *vfe, struct vfe_output *output, u8 sync) vfe_output_update_ping_addr() argument 387 vfe_output_update_pong_addr(struct vfe_device *vfe, struct vfe_output *output, u8 sync) vfe_output_update_pong_addr() argument 406 vfe_reserve_wm(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reserve_wm() argument 422 vfe_release_wm(struct vfe_device *vfe, u8 wm) vfe_release_wm() argument 432 vfe_output_frame_drop(struct vfe_device *vfe, struct vfe_output *output, u32 drop_pattern) vfe_output_frame_drop() argument 497 vfe_buf_update_wm_on_next(struct vfe_device *vfe, struct vfe_output *output) vfe_buf_update_wm_on_next() argument 513 vfe_buf_update_wm_on_last(struct vfe_device *vfe, struct vfe_output *output) vfe_buf_update_wm_on_last() argument 533 vfe_buf_update_wm_on_new(struct vfe_device *vfe, struct vfe_output *output, struct camss_buffer *new_buf) vfe_buf_update_wm_on_new() argument 584 struct vfe_device *vfe = to_vfe(line); vfe_get_output() local 641 struct vfe_device *vfe = to_vfe(line); vfe_put_output() local 659 struct vfe_device *vfe = to_vfe(line); vfe_enable_output() local 775 struct vfe_device *vfe = to_vfe(line); vfe_disable_output() local 842 struct vfe_device *vfe = to_vfe(line); vfe_enable() local 898 struct vfe_device *vfe = to_vfe(line); vfe_disable() local 921 vfe_isr_sof(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_isr_sof() argument 940 vfe_isr_reg_update(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_isr_reg_update() argument 1006 vfe_isr_wm_done(struct vfe_device *vfe, u8 wm) vfe_isr_wm_done() argument 1083 vfe_isr_comp_done(struct vfe_device *vfe, u8 comp) vfe_isr_comp_done() argument 1094 vfe_isr_reset_ack(struct vfe_device *vfe) vfe_isr_reset_ack() argument 1099 vfe_isr_halt_ack(struct vfe_device *vfe) vfe_isr_halt_ack() argument 1111 vfe_set_clock_rates(struct vfe_device *vfe) vfe_set_clock_rates() argument 1194 vfe_check_clock_rates(struct vfe_device *vfe) vfe_check_clock_rates() argument 1251 vfe_get(struct vfe_device *vfe) vfe_get() argument 1310 vfe_put(struct vfe_device *vfe) vfe_put() argument 1347 struct vfe_device *vfe = to_vfe(line); vfe_queue_buffer() local 1376 struct vfe_device *vfe = to_vfe(line); vfe_flush_buffers() local 1412 struct vfe_device *vfe = to_vfe(line); vfe_set_power() local 1440 struct vfe_device *vfe = to_vfe(line); vfe_set_stream() local 1978 msm_vfe_subdev_init(struct camss *camss, struct vfe_device *vfe, const struct resources *res, u8 id) msm_vfe_subdev_init() argument 2126 struct vfe_device *vfe; msm_vfe_get_vfe_id() local 2220 msm_vfe_register_entities(struct vfe_device *vfe, struct v4l2_device *v4l2_dev) msm_vfe_register_entities() argument 2330 msm_vfe_unregister_entities(struct vfe_device *vfe) msm_vfe_unregister_entities() argument [all...] |
H A D | camss-vfe.h | 3 * camss-vfe.h 81 void (*hw_version_read)(struct vfe_device *vfe, struct device *dev); 83 void (*global_reset)(struct vfe_device *vfe); 84 void (*halt_request)(struct vfe_device *vfe); 85 void (*halt_clear)(struct vfe_device *vfe); 86 void (*wm_enable)(struct vfe_device *vfe, u8 wm, u8 enable); 87 void (*wm_frame_based)(struct vfe_device *vfe, u8 wm, u8 enable); 88 void (*wm_line_based)(struct vfe_device *vfe, u32 wm, 91 void (*wm_set_framedrop_period)(struct vfe_device *vfe, u8 wm, u8 per); 92 void (*wm_set_framedrop_pattern)(struct vfe_device *vfe, u [all...] |
H A D | camss-vfe-4-7.c | 3 * camss-vfe-4-7.c 15 #include "camss-vfe.h" 242 static void vfe_hw_version_read(struct vfe_device *vfe, struct device *dev) in vfe_hw_version_read() argument 244 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version_read() 259 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument 261 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr() 263 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr() 266 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument 268 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set() 270 writel_relaxed(bits | set_bits, vfe in vfe_reg_set() 273 vfe_global_reset(struct vfe_device *vfe) vfe_global_reset() argument 291 vfe_halt_request(struct vfe_device *vfe) vfe_halt_request() argument 297 vfe_halt_clear(struct vfe_device *vfe) vfe_halt_clear() argument 302 vfe_wm_enable(struct vfe_device *vfe, u8 wm, u8 enable) vfe_wm_enable() argument 312 vfe_wm_frame_based(struct vfe_device *vfe, u8 wm, u8 enable) vfe_wm_frame_based() argument 381 vfe_wm_line_based(struct vfe_device *vfe, u32 wm, struct v4l2_pix_format_mplane *pix, u8 plane, u32 enable) vfe_wm_line_based() argument 416 vfe_wm_set_framedrop_period(struct vfe_device *vfe, u8 wm, u8 per) vfe_wm_set_framedrop_period() argument 432 vfe_wm_set_framedrop_pattern(struct vfe_device *vfe, u8 wm, u32 pattern) vfe_wm_set_framedrop_pattern() argument 439 vfe_wm_set_ub_cfg(struct vfe_device *vfe, u8 wm, u16 offset, u16 depth) vfe_wm_set_ub_cfg() argument 449 vfe_bus_reload_wm(struct vfe_device *vfe, u8 wm) vfe_bus_reload_wm() argument 456 vfe_wm_set_ping_addr(struct vfe_device *vfe, u8 wm, u32 addr) vfe_wm_set_ping_addr() argument 462 vfe_wm_set_pong_addr(struct vfe_device *vfe, u8 wm, u32 addr) vfe_wm_set_pong_addr() argument 468 vfe_wm_get_ping_pong_status(struct vfe_device *vfe, u8 wm) vfe_wm_get_ping_pong_status() argument 477 vfe_bus_enable_wr_if(struct vfe_device *vfe, u8 enable) vfe_bus_enable_wr_if() argument 485 vfe_bus_connect_wm_to_rdi(struct vfe_device *vfe, u8 wm, enum vfe_line_id id) vfe_bus_connect_wm_to_rdi() argument 520 vfe_wm_set_subsample(struct vfe_device *vfe, u8 wm) vfe_wm_set_subsample() argument 527 vfe_bus_disconnect_wm_from_rdi(struct vfe_device *vfe, u8 wm, enum vfe_line_id id) vfe_bus_disconnect_wm_from_rdi() argument 557 vfe_set_xbar_cfg(struct vfe_device *vfe, struct vfe_output *output, u8 enable) vfe_set_xbar_cfg() argument 627 vfe_set_realign_cfg(struct vfe_device *vfe, struct vfe_line *line, u8 enable) vfe_set_realign_cfg() argument 654 vfe_set_rdi_cid(struct vfe_device *vfe, enum vfe_line_id id, u8 cid) vfe_set_rdi_cid() argument 663 vfe_reg_update(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update() argument 671 vfe_reg_update_clear(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update_clear() argument 677 vfe_enable_irq_wm_line(struct vfe_device *vfe, u8 wm, enum vfe_line_id line_id, u8 enable) vfe_enable_irq_wm_line() argument 694 vfe_enable_irq_pix_line(struct vfe_device *vfe, u8 comp, enum vfe_line_id line_id, u8 enable) vfe_enable_irq_pix_line() argument 725 vfe_enable_irq_common(struct vfe_device *vfe) vfe_enable_irq_common() argument 735 vfe_set_demux_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_demux_cfg() argument 785 vfe_set_scale_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_scale_cfg() argument 840 vfe_set_crop_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_crop_cfg() argument 871 vfe_set_clamp_cfg(struct vfe_device *vfe) vfe_set_clamp_cfg() argument 886 vfe_set_qos(struct vfe_device *vfe) vfe_set_qos() argument 901 vfe_set_ds(struct vfe_device *vfe) vfe_set_ds() argument 925 vfe_set_cgc_override(struct vfe_device *vfe, u8 wm, u8 enable) vfe_set_cgc_override() argument 930 vfe_set_camif_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_camif_cfg() argument 979 vfe_set_camif_cmd(struct vfe_device *vfe, u8 enable) vfe_set_camif_cmd() argument 995 vfe_set_module_cfg(struct vfe_device *vfe, u8 enable) vfe_set_module_cfg() argument 1011 vfe_camif_wait_for_stop(struct vfe_device *vfe, struct device *dev) vfe_camif_wait_for_stop() argument 1027 vfe_isr_read(struct vfe_device *vfe, u32 *value0, u32 *value1) vfe_isr_read() argument 1039 vfe_violation_read(struct vfe_device *vfe) vfe_violation_read() argument 1055 struct vfe_device *vfe = dev; vfe_isr() local [all...] |
H A D | camss-vfe-4-1.c | 3 * camss-vfe-4-1.c 15 #include "camss-vfe.h" 211 static void vfe_hw_version_read(struct vfe_device *vfe, struct device *dev) in vfe_hw_version_read() argument 213 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version_read() 226 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument 228 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr() 230 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr() 233 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument 235 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set() 237 writel_relaxed(bits | set_bits, vfe in vfe_reg_set() 240 vfe_global_reset(struct vfe_device *vfe) vfe_global_reset() argument 255 vfe_halt_request(struct vfe_device *vfe) vfe_halt_request() argument 261 vfe_halt_clear(struct vfe_device *vfe) vfe_halt_clear() argument 266 vfe_wm_enable(struct vfe_device *vfe, u8 wm, u8 enable) vfe_wm_enable() argument 276 vfe_wm_frame_based(struct vfe_device *vfe, u8 wm, u8 enable) vfe_wm_frame_based() argument 331 vfe_wm_line_based(struct vfe_device *vfe, u32 wm, struct v4l2_pix_format_mplane *pix, u8 plane, u32 enable) vfe_wm_line_based() argument 366 vfe_wm_set_framedrop_period(struct vfe_device *vfe, u8 wm, u8 per) vfe_wm_set_framedrop_period() argument 382 vfe_wm_set_framedrop_pattern(struct vfe_device *vfe, u8 wm, u32 pattern) vfe_wm_set_framedrop_pattern() argument 389 vfe_wm_set_ub_cfg(struct vfe_device *vfe, u8 wm, u16 offset, u16 depth) vfe_wm_set_ub_cfg() argument 399 vfe_bus_reload_wm(struct vfe_device *vfe, u8 wm) vfe_bus_reload_wm() argument 406 vfe_wm_set_ping_addr(struct vfe_device *vfe, u8 wm, u32 addr) vfe_wm_set_ping_addr() argument 412 vfe_wm_set_pong_addr(struct vfe_device *vfe, u8 wm, u32 addr) vfe_wm_set_pong_addr() argument 418 vfe_wm_get_ping_pong_status(struct vfe_device *vfe, u8 wm) vfe_wm_get_ping_pong_status() argument 427 vfe_bus_enable_wr_if(struct vfe_device *vfe, u8 enable) vfe_bus_enable_wr_if() argument 435 vfe_bus_connect_wm_to_rdi(struct vfe_device *vfe, u8 wm, enum vfe_line_id id) vfe_bus_connect_wm_to_rdi() argument 471 vfe_wm_set_subsample(struct vfe_device *vfe, u8 wm) vfe_wm_set_subsample() argument 478 vfe_bus_disconnect_wm_from_rdi(struct vfe_device *vfe, u8 wm, enum vfe_line_id id) vfe_bus_disconnect_wm_from_rdi() argument 511 vfe_set_xbar_cfg(struct vfe_device *vfe, struct vfe_output *output, u8 enable) vfe_set_xbar_cfg() argument 546 vfe_set_realign_cfg(struct vfe_device *vfe, struct vfe_line *line, u8 enable) vfe_set_realign_cfg() argument 551 vfe_set_rdi_cid(struct vfe_device *vfe, enum vfe_line_id id, u8 cid) vfe_set_rdi_cid() argument 560 vfe_reg_update(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update() argument 568 vfe_reg_update_clear(struct vfe_device *vfe, enum vfe_line_id line_id) vfe_reg_update_clear() argument 574 vfe_enable_irq_wm_line(struct vfe_device *vfe, u8 wm, enum vfe_line_id line_id, u8 enable) vfe_enable_irq_wm_line() argument 591 vfe_enable_irq_pix_line(struct vfe_device *vfe, u8 comp, enum vfe_line_id line_id, u8 enable) vfe_enable_irq_pix_line() argument 622 vfe_enable_irq_common(struct vfe_device *vfe) vfe_enable_irq_common() argument 632 vfe_set_demux_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_demux_cfg() argument 682 vfe_set_scale_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_scale_cfg() argument 737 vfe_set_crop_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_crop_cfg() argument 768 vfe_set_clamp_cfg(struct vfe_device *vfe) vfe_set_clamp_cfg() argument 783 vfe_set_qos(struct vfe_device *vfe) vfe_set_qos() argument 798 vfe_set_ds(struct vfe_device *vfe) vfe_set_ds() argument 803 vfe_set_cgc_override(struct vfe_device *vfe, u8 wm, u8 enable) vfe_set_cgc_override() argument 815 vfe_set_camif_cfg(struct vfe_device *vfe, struct vfe_line *line) vfe_set_camif_cfg() argument 860 vfe_set_camif_cmd(struct vfe_device *vfe, u8 enable) vfe_set_camif_cmd() argument 876 vfe_set_module_cfg(struct vfe_device *vfe, u8 enable) vfe_set_module_cfg() argument 889 vfe_camif_wait_for_stop(struct vfe_device *vfe, struct device *dev) vfe_camif_wait_for_stop() argument 905 vfe_isr_read(struct vfe_device *vfe, u32 *value0, u32 *value1) vfe_isr_read() argument 917 vfe_violation_read(struct vfe_device *vfe) vfe_violation_read() argument 933 struct vfe_device *vfe = dev; vfe_isr() local [all...] |
H A D | camss-ispif.c | 392 * @vfe: VFE HW module id 397 u8 vfe, u8 enable) in ispif_select_clk_mux() 404 val &= ~(0xf << (vfe * 8)); in ispif_select_clk_mux() 406 val |= (csid << (vfe * 8)); in ispif_select_clk_mux() 412 val &= ~(0xf << (vfe * 12)); in ispif_select_clk_mux() 414 val |= (csid << (vfe * 12)); in ispif_select_clk_mux() 420 val &= ~(0xf << (4 + (vfe * 8))); in ispif_select_clk_mux() 422 val |= (csid << (4 + (vfe * 8))); in ispif_select_clk_mux() 428 val &= ~(0xf << (4 + (vfe * 12))); in ispif_select_clk_mux() 430 val |= (csid << (4 + (vfe * 1 in ispif_select_clk_mux() 395 ispif_select_clk_mux(struct ispif_device *ispif, enum ispif_intf intf, u8 csid, u8 vfe, u8 enable) ispif_select_clk_mux() argument 454 ispif_validate_intf_status(struct ispif_device *ispif, enum ispif_intf intf, u8 vfe) ispif_validate_intf_status() argument 500 ispif_wait_for_stop(struct ispif_device *ispif, enum ispif_intf intf, u8 vfe) ispif_wait_for_stop() argument 545 ispif_select_csid(struct ispif_device *ispif, enum ispif_intf intf, u8 csid, u8 vfe, u8 enable) ispif_select_csid() argument 590 ispif_select_cid(struct ispif_device *ispif, enum ispif_intf intf, u8 cid, u8 vfe, u8 enable) ispif_select_cid() argument 631 ispif_config_irq(struct ispif_device *ispif, enum ispif_intf intf, u8 vfe, u8 enable) ispif_config_irq() argument 696 ispif_config_pack(struct ispif_device *ispif, u32 code, enum ispif_intf intf, u8 cid, u8 vfe, u8 enable) ispif_config_pack() argument 744 ispif_set_intf_cmd(struct ispif_device *ispif, u8 cmd, enum ispif_intf intf, u8 vfe, u8 vc) ispif_set_intf_cmd() argument 781 u8 vfe = line->vfe_id; ispif_set_stream() local [all...] |
H A D | camss.c | 570 ret = msm_vfe_subdev_init(camss, &camss->vfe[i], in camss_init_subdevices() 574 "Fail to init vfe%d sub-device: %d\n", i, ret); in camss_init_subdevices() 623 ret = msm_vfe_register_entities(&camss->vfe[i], in camss_register_entities() 627 "Failed to register vfe%d entities: %d\n", in camss_register_entities() 673 for (j = 0; j < ARRAY_SIZE(camss->vfe[k].line); j++) { in camss_register_entities() 677 &camss->vfe[k].line[j].subdev.entity, in camss_register_entities() 684 camss->vfe[k].line[j].subdev.entity.name, in camss_register_entities() 696 msm_vfe_unregister_entities(&camss->vfe[i]); in camss_register_entities() 733 msm_vfe_unregister_entities(&camss->vfe[i]); in camss_unregister_entities() 855 camss->vfe in camss_probe() [all...] |
H A D | camss.h | 24 #include "camss-vfe.h" 82 struct vfe_device *vfe; member
|
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
H A D | zoran_device.c | 651 if (zr->vfe) in jpeg_start() 652 zr36016_write(zr->vfe, 0, 1); in jpeg_start() 720 if (zr->vfe) { in zr36057_enable_jpg() 721 zr->vfe->control(zr->vfe, CODEC_S_JPEG_TDS_BYTE, in zr36057_enable_jpg() 723 zr->vfe->set_video(zr->vfe, zr->timing, &cap, in zr36057_enable_jpg() 725 zr->vfe->set_mode(zr->vfe, CODEC_DO_COMPRESSION); in zr36057_enable_jpg() 747 if (zr->vfe) { in zr36057_enable_jpg() [all...] |
H A D | zoran_card.c | 972 if (zr->vfe) in zoran_remove() 973 videocodec_detach(zr->vfe); in zoran_remove() 1257 zr->vfe = videocodec_attach(master_vfe); in zoran_probe() 1258 if (!zr->vfe) { in zoran_probe() 1262 if (zr->vfe->type != zr->card.video_vfe) { in zoran_probe() 1280 videocodec_detach(zr->vfe); in zoran_probe()
|
/kernel/linux/linux-6.6/drivers/media/pci/zoran/ |
H A D | zoran_device.c | 589 if (zr->vfe) in jpeg_start() 590 zr36016_write(zr->vfe, 0, 1); in jpeg_start() 656 if (zr->vfe) { in zr36057_enable_jpg() 657 zr->vfe->control(zr->vfe, CODEC_S_JPEG_TDS_BYTE, in zr36057_enable_jpg() 659 zr->vfe->set_video(zr->vfe, zr->timing, &cap, in zr36057_enable_jpg() 661 zr->vfe->set_mode(zr->vfe, CODEC_DO_COMPRESSION); in zr36057_enable_jpg() 683 if (zr->vfe) { in zr36057_enable_jpg() [all...] |
H A D | zoran_card.c | 312 pci_err(zr->pci_dev, "failed to load video vfe %s: %d\n", in videocodec_init() 1083 if (zr->vfe) in zoran_remove() 1084 videocodec_detach(zr->vfe); in zoran_remove() 1387 zr->vfe = videocodec_attach(master_vfe); in zoran_probe() 1388 if (!zr->vfe) { in zoran_probe() 1392 if (zr->vfe->type != zr->card.video_vfe) { in zoran_probe() 1413 videocodec_detach(zr->vfe); in zoran_probe()
|
/kernel/linux/linux-5.10/drivers/pinctrl/qcom/ |
H A D | pinctrl-msm8660.c | 774 FUNCTION(vfe), 810 PINGROUP(29, vfe, gp_mn, _, _, _, _, _), 811 PINGROUP(30, vfe, gp_clk_0a, _, _, _, _, _), 812 PINGROUP(31, vfe, gp_clk_1a, _, _, _, _, _), 823 PINGROUP(42, gsbi3, vfe, _, _, _, _, _), 827 PINGROUP(46, gsbi4, gsbi3_spi_cs3_n, vfe, _, _, _, _), 886 PINGROUP(105, mi2s, gsbi11, vfe, _, _, _, _), 887 PINGROUP(106, mi2s, gsbi11, vfe, _, _, _, _), 898 PINGROUP(117, i2s, gsbi12, vfe, _, _, _, _),
|
/kernel/linux/linux-6.6/drivers/pinctrl/qcom/ |
H A D | pinctrl-msm8660.c | 766 MSM_PIN_FUNCTION(vfe), 802 PINGROUP(29, vfe, gp_mn, _, _, _, _, _), 803 PINGROUP(30, vfe, gp_clk_0a, _, _, _, _, _), 804 PINGROUP(31, vfe, gp_clk_1a, _, _, _, _, _), 815 PINGROUP(42, gsbi3, vfe, _, _, _, _, _), 819 PINGROUP(46, gsbi4, gsbi3_spi_cs3_n, vfe, _, _, _, _), 878 PINGROUP(105, mi2s, gsbi11, vfe, _, _, _, _), 879 PINGROUP(106, mi2s, gsbi11, vfe, _, _, _, _), 890 PINGROUP(117, i2s, gsbi12, vfe, _, _, _, _),
|