Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 2113) sorted by relevance

12345678910>>...85

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/linux/
Dpm_runtime.h33 extern int pm_generic_runtime_suspend(struct device *dev);
34 extern int pm_generic_runtime_resume(struct device *dev);
35 extern int pm_runtime_force_suspend(struct device *dev);
36 extern int pm_runtime_force_resume(struct device *dev);
38 extern int __pm_runtime_idle(struct device *dev, int rpmflags);
39 extern int __pm_runtime_suspend(struct device *dev, int rpmflags);
40 extern int __pm_runtime_resume(struct device *dev, int rpmflags);
41 extern int pm_runtime_get_if_in_use(struct device *dev);
42 extern int pm_schedule_suspend(struct device *dev, unsigned int delay);
43 extern int __pm_runtime_set_status(struct device *dev, unsigned int status);
[all …]
/device/soc/esp/esp32/components/hal/esp32/include/hal/
Drmt_ll.h30 static inline void rmt_ll_enable_drive_clock(rmt_dev_t *dev, bool enable) in rmt_ll_enable_drive_clock() argument
32 dev->conf_ch[0].conf0.clk_en = enable; in rmt_ll_enable_drive_clock()
35 static inline void rmt_ll_power_down_mem(rmt_dev_t *dev, bool enable) in rmt_ll_power_down_mem() argument
37 dev->conf_ch[0].conf0.mem_pd = enable; // Only conf0 register of channel0 has `mem_pd` in rmt_ll_power_down_mem()
40 static inline bool rmt_ll_is_mem_power_down(rmt_dev_t *dev) in rmt_ll_is_mem_power_down() argument
42 return dev->conf_ch[0].conf0.mem_pd; // Only conf0 register of channel0 has `mem_pd` in rmt_ll_is_mem_power_down()
45 static inline void rmt_ll_enable_mem_access(rmt_dev_t *dev, bool enable) in rmt_ll_enable_mem_access() argument
47 dev->apb_conf.fifo_mask = enable; in rmt_ll_enable_mem_access()
50 static inline void rmt_ll_set_counter_clock_src(rmt_dev_t *dev, uint32_t channel, uint8_t src, uint… in rmt_ll_set_counter_clock_src() argument
52 dev->conf_ch[channel].conf1.ref_always_on = src; in rmt_ll_set_counter_clock_src()
[all …]
Dspi_flash_ll.h51 #define spi_flash_ll_hw_get_id(dev) ( ((dev) == &SPI1) ? SPI1_HOST :(\ argument
52 ((dev) == &SPI2) ? SPI2_HOST :(\
53 ((dev) == &SPI3) ? SPI3_HOST :(\
58 #define spi_flash_ll_set_dummy_out(dev, out_en, out_lev) argument
71 static inline void spi_flash_ll_reset(spi_dev_t *dev) in spi_flash_ll_reset() argument
73 dev->user.val = 0; in spi_flash_ll_reset()
74 dev->ctrl.val = 0; in spi_flash_ll_reset()
84 static inline bool spi_flash_ll_cmd_is_done(const spi_dev_t *dev) in spi_flash_ll_cmd_is_done() argument
86 return (dev->cmd.val == 0); in spi_flash_ll_cmd_is_done()
94 static inline void spi_flash_ll_erase_chip(spi_dev_t *dev) in spi_flash_ll_erase_chip() argument
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/pci/
Dpci.h17 bool pcie_cap_has_lnkctl(const struct pci_dev *dev);
18 bool pcie_cap_has_rtctl(const struct pci_dev *dev);
33 void pci_cleanup_rom(struct pci_dev *dev);
42 int pci_probe_reset_function(struct pci_dev *dev);
43 int pci_bridge_secondary_bus_reset(struct pci_dev *dev);
44 int pci_bus_error_reset(struct pci_dev *dev);
78 bool (*bridge_d3)(struct pci_dev *dev);
79 bool (*is_manageable)(struct pci_dev *dev);
80 int (*set_state)(struct pci_dev *dev, pci_power_t state);
81 pci_power_t (*get_state)(struct pci_dev *dev);
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_vblank.c156 static bool drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe, ktime_t *tvblank, …
168 static void store_vblank(struct drm_device *dev, unsigned int pipe, u32 vblank_count_inc, ktime_t t… in store_vblank() argument
170 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; in store_vblank()
172 assert_spin_locked(&dev->vblank_time_lock); in store_vblank()
182 static u32 drm_max_vblank_count(struct drm_device *dev, unsigned int pipe) in drm_max_vblank_count() argument
184 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; in drm_max_vblank_count()
186 return vblank->max_vblank_count ?: dev->max_vblank_count; in drm_max_vblank_count()
193 static u32 drm_vblank_no_hw_counter(struct drm_device *dev, unsigned int pipe) in drm_vblank_no_hw_counter() argument
195 drm_WARN_ON_ONCE(dev, drm_max_vblank_count(dev, pipe) != 0); in drm_vblank_no_hw_counter()
199 static u32 _get_vblank_counter(struct drm_device *dev, unsigned int pipe) in _get_vblank_counter() argument
[all …]
Ddrm_mode_config.c36 int drm_modeset_register_all(struct drm_device *dev) in drm_modeset_register_all() argument
40 ret = drm_plane_register_all(dev); in drm_modeset_register_all()
45 ret = drm_crtc_register_all(dev); in drm_modeset_register_all()
50 ret = drm_encoder_register_all(dev); in drm_modeset_register_all()
55 ret = drm_connector_register_all(dev); in drm_modeset_register_all()
63 drm_encoder_unregister_all(dev); in drm_modeset_register_all()
65 drm_crtc_unregister_all(dev); in drm_modeset_register_all()
67 drm_plane_unregister_all(dev); in drm_modeset_register_all()
72 void drm_modeset_unregister_all(struct drm_device *dev) in drm_modeset_unregister_all() argument
74 drm_connector_unregister_all(dev); in drm_modeset_unregister_all()
[all …]
/device/soc/esp/esp32/components/hal/
Di2s_hal.c27 i2s_ll_set_tx_fifo_mod(hal->dev, (ch == I2S_CHANNEL_STEREO) ? 0 : 1); in i2s_hal_set_tx_mode()
29 i2s_ll_set_tx_fifo_mod(hal->dev, (ch == I2S_CHANNEL_STEREO) ? 2 : 3); in i2s_hal_set_tx_mode()
31 i2s_ll_set_tx_chan_mod(hal->dev, (ch == I2S_CHANNEL_STEREO) ? 0 : 1); in i2s_hal_set_tx_mode()
33 i2s_ll_set_tx_dma_equal(hal->dev, (ch == I2S_CHANNEL_STEREO) ? 0 : 1); in i2s_hal_set_tx_mode()
40 i2s_ll_set_rx_fifo_mod(hal->dev, (ch == I2S_CHANNEL_STEREO) ? 0 : 1); in i2s_hal_set_rx_mode()
42 i2s_ll_set_rx_fifo_mod(hal->dev, (ch == I2S_CHANNEL_STEREO) ? 2 : 3); in i2s_hal_set_rx_mode()
44 i2s_ll_set_rx_chan_mod(hal->dev, (ch == I2S_CHANNEL_STEREO) ? 0 : 1); in i2s_hal_set_rx_mode()
46 i2s_ll_set_rx_dma_equal(hal->dev, (ch == I2S_CHANNEL_STEREO) ? 0 : 1); in i2s_hal_set_rx_mode()
52 i2s_ll_set_in_link_addr(hal->dev, addr); in i2s_hal_set_in_link()
53 i2s_ll_set_rx_eof_num(hal->dev, bytes_num); in i2s_hal_set_in_link()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dprocfs.c16 static void isp20_show(struct rkisp_device *dev, struct seq_file *p) in isp20_show() argument
31 val = rkisp_read(dev, ISP_DPCC0_MODE, false); in isp20_show()
33 val = rkisp_read(dev, ISP_DPCC1_MODE, false); in isp20_show()
35 val = rkisp_read(dev, ISP_DPCC2_MODE, false); in isp20_show()
37 val = rkisp_read(dev, ISP_BLS_CTRL, false); in isp20_show()
39 val = rkisp_read(dev, CIF_ISP_CTRL, false); in isp20_show()
42 val = rkisp_read(dev, ISP_LSC_CTRL, false); in isp20_show()
44 val = rkisp_read(dev, CIF_ISP_CTRL, false); in isp20_show()
47 rkisp_read(dev, CIF_ISP_AWB_GAIN_G_V12, false), in isp20_show()
48 rkisp_read(dev, CIF_ISP_AWB_GAIN_RB_V12, false)); in isp20_show()
[all …]
Dcsi.c18 static void get_remote_mipi_sensor(struct rkisp_device *dev, in get_remote_mipi_sensor() argument
22 struct media_entity *entity = &dev->isp_sdev.sd.entity; in get_remote_mipi_sensor()
136 struct rkisp_device *dev = csi->ispdev; in rkisp_csi_s_stream() local
142 if (!IS_HDR_RDBK(dev->hdr.op_mode)) in rkisp_csi_s_stream()
145 rkisp_write(dev, CSI2RX_Y_STAT_CTRL, SW_Y_STAT_EN, true); in rkisp_csi_s_stream()
147 rkisp_write(dev, CSI2RX_Y_STAT_CTRL, 0, true); in rkisp_csi_s_stream()
183 struct rkisp_device *dev = csi->ispdev; in csi_config() local
184 struct rkisp_sensor_info *sensor = dev->active_sensor; in csi_config()
212 dev->hdr.sensor = NULL; in csi_config()
213 get_remote_mipi_sensor(dev, &mipi_sensor, MEDIA_ENT_F_CAM_SENSOR); in csi_config()
[all …]
Dbridge_v30.c23 static void crop_on(struct rkisp_bridge_device *dev) in crop_on() argument
25 struct rkisp_device *ispdev = dev->ispdev; in crop_on()
28 u32 dest_w = dev->crop.width; in crop_on()
29 u32 dest_h = dev->crop.height; in crop_on()
30 u32 left = dev->crop.left; in crop_on()
31 u32 top = dev->crop.top; in crop_on()
46 static void crop_off(struct rkisp_bridge_device *dev) in crop_off() argument
48 struct rkisp_device *ispdev = dev->ispdev; in crop_off()
56 static int bridge_start(struct rkisp_bridge_device *dev) in bridge_start() argument
58 crop_on(dev); in bridge_start()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Dprocfs.c16 static void isp20_show(struct rkisp_device *dev, struct seq_file *p) in isp20_show() argument
31 val = rkisp_read(dev, ISP_DPCC0_MODE, false); in isp20_show()
33 val = rkisp_read(dev, ISP_DPCC1_MODE, false); in isp20_show()
35 val = rkisp_read(dev, ISP_DPCC2_MODE, false); in isp20_show()
37 val = rkisp_read(dev, ISP_BLS_CTRL, false); in isp20_show()
39 val = rkisp_read(dev, CIF_ISP_CTRL, false); in isp20_show()
42 val = rkisp_read(dev, ISP_LSC_CTRL, false); in isp20_show()
44 val = rkisp_read(dev, CIF_ISP_CTRL, false); in isp20_show()
47 rkisp_read(dev, CIF_ISP_AWB_GAIN_G_V12, false), in isp20_show()
48 rkisp_read(dev, CIF_ISP_AWB_GAIN_RB_V12, false)); in isp20_show()
[all …]
Dcsi.c18 static void get_remote_mipi_sensor(struct rkisp_device *dev, in get_remote_mipi_sensor() argument
22 struct media_entity *entity = &dev->isp_sdev.sd.entity; in get_remote_mipi_sensor()
136 struct rkisp_device *dev = csi->ispdev; in rkisp_csi_s_stream() local
142 if (!IS_HDR_RDBK(dev->hdr.op_mode)) in rkisp_csi_s_stream()
145 rkisp_write(dev, CSI2RX_Y_STAT_CTRL, SW_Y_STAT_EN, true); in rkisp_csi_s_stream()
147 rkisp_write(dev, CSI2RX_Y_STAT_CTRL, 0, true); in rkisp_csi_s_stream()
183 struct rkisp_device *dev = csi->ispdev; in csi_config() local
184 struct rkisp_sensor_info *sensor = dev->active_sensor; in csi_config()
212 dev->hdr.sensor = NULL; in csi_config()
213 get_remote_mipi_sensor(dev, &mipi_sensor, MEDIA_ENT_F_CAM_SENSOR); in csi_config()
[all …]
Dbridge_v30.c23 static void crop_on(struct rkisp_bridge_device *dev) in crop_on() argument
25 struct rkisp_device *ispdev = dev->ispdev; in crop_on()
28 u32 dest_w = dev->crop.width; in crop_on()
29 u32 dest_h = dev->crop.height; in crop_on()
30 u32 left = dev->crop.left; in crop_on()
31 u32 top = dev->crop.top; in crop_on()
46 static void crop_off(struct rkisp_bridge_device *dev) in crop_off() argument
48 struct rkisp_device *ispdev = dev->ispdev; in crop_off()
56 static int bridge_start(struct rkisp_bridge_device *dev) in bridge_start() argument
58 crop_on(dev); in bridge_start()
[all …]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dprocfs.c16 static void isp20_show(struct rkisp_device *dev, struct seq_file *p) in isp20_show() argument
23 val = rkisp_read(dev, ISP_DPCC0_MODE, false); in isp20_show()
25 val = rkisp_read(dev, ISP_DPCC1_MODE, false); in isp20_show()
27 val = rkisp_read(dev, ISP_DPCC2_MODE, false); in isp20_show()
29 val = rkisp_read(dev, ISP_BLS_CTRL, false); in isp20_show()
31 val = rkisp_read(dev, CIF_ISP_CTRL, false); in isp20_show()
33 val = rkisp_read(dev, ISP_LSC_CTRL, false); in isp20_show()
35 val = rkisp_read(dev, CIF_ISP_CTRL, false); in isp20_show()
37 …val, rkisp_read(dev, CIF_ISP_AWB_GAIN_G_V12, false), rkisp_read(dev, CIF_ISP_AWB_GAIN_RB_V12, fals… in isp20_show()
38 val = rkisp_read(dev, ISP_DEBAYER_CONTROL, false); in isp20_show()
[all …]
Dcsi.c18 static void get_remote_mipi_sensor(struct rkisp_device *dev, struct v4l2_subdev **sensor_sd, u32 fu… in get_remote_mipi_sensor() argument
21 struct media_entity *entity = &dev->isp_sdev.sd.entity; in get_remote_mipi_sensor()
140 struct rkisp_device *dev = csi->ispdev; in rkisp_csi_s_stream() local
146 if (!IS_HDR_RDBK(dev->hdr.op_mode)) { in rkisp_csi_s_stream()
150 rkisp_write(dev, CSI2RX_Y_STAT_CTRL, SW_Y_STAT_EN, true); in rkisp_csi_s_stream()
152 rkisp_write(dev, CSI2RX_Y_STAT_CTRL, 0, true); in rkisp_csi_s_stream()
189 struct rkisp_device *dev = csi->ispdev; in csi_config() local
190 struct rkisp_sensor_info *sensor = dev->active_sensor; in csi_config()
218 dev->hdr.sensor = NULL; in csi_config()
219 get_remote_mipi_sensor(dev, &mipi_sensor, MEDIA_ENT_F_CAM_SENSOR); in csi_config()
[all …]
Dbridge_v30.c22 static void crop_on(struct rkisp_bridge_device *dev) in crop_on() argument
24 struct rkisp_device *ispdev = dev->ispdev; in crop_on()
27 u32 dest_w = dev->crop.width; in crop_on()
28 u32 dest_h = dev->crop.height; in crop_on()
29 u32 left = dev->crop.left; in crop_on()
30 u32 top = dev->crop.top; in crop_on()
46 static void crop_off(struct rkisp_bridge_device *dev) in crop_off() argument
48 struct rkisp_device *ispdev = dev->ispdev; in crop_off()
56 static int bridge_start(struct rkisp_bridge_device *dev) in bridge_start() argument
58 crop_on(dev); in bridge_start()
[all …]
Dbridge.c26 static void free_bridge_buf(struct rkisp_bridge_device *dev) in free_bridge_buf() argument
28 struct rkisp_hw_dev *hw = dev->ispdev->hw_dev; in free_bridge_buf()
40 v4l2_dbg(1, rkisp_debug, &dev->ispdev->v4l2_dev, "%s\n", __func__); in free_bridge_buf()
55 if (dev->ispdev->cur_fbcgain) { in free_bridge_buf()
56 list_add_tail(&dev->ispdev->cur_fbcgain->list, &hw->list); in free_bridge_buf()
57 dev->ispdev->cur_fbcgain = NULL; in free_bridge_buf()
76 rkisp_free_buffer(dev->ispdev, &buf->dummy[j]); in free_bridge_buf()
80 rkisp_free_common_dummy_buf(dev->ispdev); in free_bridge_buf()
83 static int init_buf(struct rkisp_bridge_device *dev, u32 pic_size, u32 gain_size) in init_buf() argument
85 struct v4l2_subdev *sd = v4l2_get_subdev_hostdata(&dev->sd); in init_buf()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/mkp/src/
Dvou_chn.c101 hi_void vou_set_disp_max_size(hi_vo_dev dev, hi_vo_intf_sync intf_sync, hi_vo_sync_info sync_info) in vou_set_disp_max_size() argument
123 dev_ctx = vo_get_dev_ctx(dev); in vou_set_disp_max_size()
127 vou_drv_set_disp_max_size(dev, max_width, max_height); in vou_set_disp_max_size()
130 hi_s32 vo_set_pub_attr_check(hi_vo_dev dev, hi_vo_pub_attr *pub_attr) in vo_set_pub_attr_check() argument
135 dev_ctx = vo_get_dev_ctx(dev); in vo_set_pub_attr_check()
137 vo_err_trace("vo %d doesn't disabled!\n", dev); in vo_set_pub_attr_check()
141 ret = vou_drv_check_dev_pub_attr(dev, pub_attr); in vo_set_pub_attr_check()
143 vo_err_trace("vo%d's pub attr is illegal!\n", dev); in vo_set_pub_attr_check()
147 if (!vou_drv_is_virt_dev(dev)) { in vo_set_pub_attr_check()
149 ret = vou_drv_check_usr_sync_timing(dev, &pub_attr->sync_info); in vo_set_pub_attr_check()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/nvp6324/
Djaguar1_video.c76 void vd_register_set(int dev, unsigned char bank, unsigned char addr, unsigned char val, int pos, i… in vd_register_set() argument
86 …sensor_dbg("vd_register_set Error!!dev[%d] Bank[0x%02X] Addr[0x%02X] pos[%d] size[%d]\n", dev, ban… in vd_register_set()
102 ReadVal = gpio_i2c_read(jaguar1_i2c_addr[dev], addr); in vd_register_set()
107 gpio_i2c_write(jaguar1_i2c_addr[dev], addr, WriteVal); in vd_register_set()
119 void vd_vi_manual_set_seq1(unsigned char dev, unsigned char ch, void *p_param) in vd_vi_manual_set_seq1() argument
170 gpio_i2c_write(jaguar1_i2c_addr[dev], 0xFF, 0x13); in vd_vi_manual_set_seq1()
171 val_13x30 = gpio_i2c_read(jaguar1_i2c_addr[dev], 0x30); in vd_vi_manual_set_seq1()
172 val_13x31 = gpio_i2c_read(jaguar1_i2c_addr[dev], 0x31); in vd_vi_manual_set_seq1()
173 val_13x32 = gpio_i2c_read(jaguar1_i2c_addr[dev], 0x32); in vd_vi_manual_set_seq1()
179 gpio_i2c_write(jaguar1_i2c_addr[dev], 0x30, val_13x30); in vd_vi_manual_set_seq1()
[all …]
/device/soc/rockchip/common/sdk_linux/include/linux/
Ddma-mapping.h96 void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr);
97 void debug_dma_map_single(struct device *dev, const void *addr, unsigned long len);
99 static inline void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in debug_dma_mapping_error() argument
102 static inline void debug_dma_map_single(struct device *dev, const void *addr, unsigned long len) in debug_dma_map_single() argument
108 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error() argument
110 debug_dma_mapping_error(dev, dma_addr); in dma_mapping_error()
118 dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page, size_t offset, size_t size,
120 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, enum dma_data_direction…
122 int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction…
124 void dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direct…
[all …]
/device/soc/rockchip/common/vendor/drivers/net/usb/
Dmeig_cdc_driver.c42 #define RX_QLEN(dev) (((dev)->udev->speed == USB_SPEED_HIGH) ? (RX_MAX_QUEUE_MEMORY / (dev)->rx_urb… argument
43 #define TX_QLEN(dev) (((dev)->udev->speed == USB_SPEED_HIGH) ? (RX_MAX_QUEUE_MEMORY / (dev)->hard_m… argument
615 return to_usb_driver(intf->dev.driver); in driver_of()
635 struct hw_cdc_net *dev; member
647 static void hw_cdc_status(struct hw_cdc_net *dev, struct urb *urb);
648 static inline int hw_get_ethernet_addr(struct hw_cdc_net *dev);
649 static int hw_cdc_bind(struct hw_cdc_net *dev, struct usb_interface *intf);
650 void hw_cdc_unbind(struct hw_cdc_net *dev, struct usb_interface *intf);
651 static int cdc_ncm_rx_fixup(struct hw_cdc_net *dev, struct sk_buff *skb);
652 static struct sk_buff *cdc_ncm_tx_fixup(struct hw_cdc_net *dev, struct sk_buff *skb, gfp_t mem_flag…
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/ispp/
Dprocfs.c17 struct rkispp_device *dev = p->private; in ispp_show() local
18 enum rkispp_state state = dev->ispp_sdev.state; in ispp_show()
23 dev->name, in ispp_show()
27 for (val = 0; val < dev->hw_dev->clks_num; val++) { in ispp_show()
29 dev->hw_dev->match_data->clks[val], in ispp_show()
30 clk_get_rate(dev->hw_dev->clks[val])); in ispp_show()
37 dev->isr_cnt, in ispp_show()
38 dev->isr_err_cnt); in ispp_show()
41 dev->dev_id, in ispp_show()
42 (dev->isp_mode & FMT_FBC) ? "FBC" : "YUV", in ispp_show()
[all …]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
Dprocfs.c17 struct rkispp_device *dev = p->private; in ispp_show() local
18 enum rkispp_state state = dev->ispp_sdev.state; in ispp_show()
22 seq_printf(p, "%-10s Version:v%02x.%02x.%02x\n", dev->name, RKISPP_DRIVER_VERSION >> 16, in ispp_show()
24 for (val = 0; val < dev->hw_dev->clks_num; val++) { in ispp_show()
25 …seq_printf(p, "%-10s %ld\n", dev->hw_dev->match_data->clks[val], clk_get_rate(dev->hw_dev->clks[va… in ispp_show()
31 seq_printf(p, "%-10s Cnt:%d ErrCnt:%d\n", "Interrupt", dev->isr_cnt, dev->isr_err_cnt); in ispp_show()
32 …(p, "%-10s rkisp%d Format:%s%s Size:%dx%d (frame:%d rate:%dms delay:%dms)\n", "Input", dev->dev_id, in ispp_show()
33 … (dev->isp_mode & FMT_FBC) ? "FBC" : "YUV", (dev->isp_mode & FMT_YUV422) ? "422" : "420", in ispp_show()
34 dev->ispp_sdev.out_fmt.width, dev->ispp_sdev.out_fmt.height, dev->stream_vdev.dbg.id, in ispp_show()
35dev->stream_vdev.dbg.interval / 1000 / 1000, dev->stream_vdev.dbg.delay / 1000 / 1000); in ispp_show()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
Dprocfs.c17 struct rkispp_device *dev = p->private; in ispp_show() local
18 enum rkispp_state state = dev->ispp_sdev.state; in ispp_show()
23 dev->name, in ispp_show()
27 for (val = 0; val < dev->hw_dev->clks_num; val++) { in ispp_show()
29 dev->hw_dev->match_data->clks[val], in ispp_show()
30 clk_get_rate(dev->hw_dev->clks[val])); in ispp_show()
37 dev->isr_cnt, in ispp_show()
38 dev->isr_err_cnt); in ispp_show()
41 dev->dev_id, in ispp_show()
42 (dev->isp_mode & FMT_FBC) ? "FBC" : "YUV", in ispp_show()
[all …]
/device/board/hpmicro/hpm6750evk2/liteos_m/lwip_adapter/
Dhpm_lwip.c106 void enetDevInit(struct HpmEnetDevice *dev) in enetDevInit() argument
108 if (!dev->isEnable) { in enetDevInit()
112 board_init_enet_pins(dev->base); in enetDevInit()
113 board_reset_enet_phy(dev->base); in enetDevInit()
115 if (dev->infType == enet_inf_rmii) { in enetDevInit()
116 board_init_enet_rmii_reference_clock(dev->base, BOARD_ENET_RMII_INT_REF_CLK); in enetDevInit()
119 if (dev->infType == enet_inf_rgmii) { in enetDevInit()
120 board_init_enet_rgmii_clock_delay(dev->base); in enetDevInit()
123 memset(dev->desc.rx_desc_list_head, 0x00, sizeof(enet_rx_desc_t) * dev->desc.rx_buff_cfg.count); in enetDevInit()
124 memset(dev->desc.tx_desc_list_head, 0x00, sizeof(enet_tx_desc_t) * dev->desc.tx_buff_cfg.count); in enetDevInit()
[all …]

12345678910>>...85