| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/ |
| H A D | srq_cmd.c | 81 struct mlx5_core_srq *mlx5_cmd_get_srq(struct mlx5_ib_dev *dev, u32 srqn) in mlx5_cmd_get_srq() 95 static int create_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in create_srq_cmd() 133 static int destroy_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq) in destroy_srq_cmd() 144 static int arm_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in arm_srq_cmd() 158 static int query_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in query_srq_cmd() 185 static int create_xrc_srq_cmd(struct mlx5_ib_dev *dev, in create_xrc_srq_cmd() 227 static int destroy_xrc_srq_cmd(struct mlx5_ib_dev *dev, in destroy_xrc_srq_cmd() 239 static int arm_xrc_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in arm_xrc_srq_cmd() 254 static int query_xrc_srq_cmd(struct mlx5_ib_dev *dev, in query_xrc_srq_cmd() 285 static int create_rmp_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in create_rmp_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fw.c | 71 int mlx5_query_board_id(struct mlx5_core_dev *dev) in mlx5_query_board_id() 122 static int mlx5_get_pcam_reg(struct mlx5_core_dev *dev) in mlx5_get_pcam_reg() 129 static int mlx5_get_mcam_access_reg_group(struct mlx5_core_dev *dev, in mlx5_get_mcam_access_reg_group() 136 static int mlx5_get_qcam_reg(struct mlx5_core_dev *dev) in mlx5_get_qcam_reg() 143 int mlx5_query_hca_caps(struct mlx5_core_dev *dev) in mlx5_query_hca_caps() 262 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev, uint32_t *sw_owner_id) in mlx5_cmd_init_hca() 278 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_teardown_hca() 286 int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_force_teardown_hca() 315 int mlx5_cmd_fast_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_fast_teardown_hca() 371 static int mlx5_reg_mcc_set(struct mlx5_core_dev *dev, in mlx5_reg_mcc_set() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | acpi_tad.c | 69 static int acpi_tad_set_real_time(struct device *dev, struct acpi_tad_rt *rt) in acpi_tad_set_real_time() 104 static int acpi_tad_get_real_time(struct device *dev, struct acpi_tad_rt *rt) in acpi_tad_get_real_time() 156 static ssize_t time_store(struct device *dev, struct device_attribute *attr, in time_store() 225 static ssize_t time_show(struct device *dev, struct device_attribute *attr, in time_show() 250 static int acpi_tad_wake_set(struct device *dev, char *method, u32 timer_id, in acpi_tad_wake_set() 280 static int acpi_tad_wake_write(struct device *dev, const char *buf, char *method, in acpi_tad_wake_write() 300 static ssize_t acpi_tad_wake_read(struct device *dev, char *buf, char *method, in acpi_tad_wake_read() 333 static int acpi_tad_alarm_write(struct device *dev, const char *buf, in acpi_tad_alarm_write() 339 static ssize_t acpi_tad_alarm_read(struct device *dev, char *buf, u32 timer_id) in acpi_tad_alarm_read() 346 static int acpi_tad_policy_write(struct device *dev, const char *buf, in acpi_tad_policy_write() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/ |
| H A D | clk-devres.c | 7 static void devm_clk_release(struct device *dev, void *res) in devm_clk_release() 12 struct clk *devm_clk_get(struct device *dev, const char *id) in devm_clk_get() 32 struct clk *devm_clk_get_optional(struct device *dev, const char *id) in devm_clk_get_optional() 48 static void devm_clk_bulk_release(struct device *dev, void *res) in devm_clk_bulk_release() 55 static int __devm_clk_bulk_get(struct device *dev, int num_clks, in __devm_clk_bulk_get() 81 int __must_check devm_clk_bulk_get(struct device *dev, int num_clks, in devm_clk_bulk_get() 88 int __must_check devm_clk_bulk_get_optional(struct device *dev, int num_clks, in devm_clk_bulk_get_optional() 95 static void devm_clk_bulk_release_all(struct device *dev, void *res) in devm_clk_bulk_release_all() 102 int __must_check devm_clk_bulk_get_all(struct device *dev, in devm_clk_bulk_get_all() 126 static int devm_clk_match(struct device *dev, void *res, void *data) in devm_clk_match() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/pinctrl/ |
| H A D | pinctrl-uclass.c | 65 static int pinctrl_select_state_full(struct udevice *dev, const char *statename) in pinctrl_select_state_full() 113 static int pinconfig_post_bind(struct udevice *dev) in pinconfig_post_bind() 159 static int pinctrl_select_state_full(struct udevice *dev, const char *statename) in pinctrl_select_state_full() 164 static int pinconfig_post_bind(struct udevice *dev) in pinconfig_post_bind() 176 static int pinctrl_select_state_simple(struct udevice *dev) in pinctrl_select_state_simple() 203 int pinctrl_select_state(struct udevice *dev, const char *statename) in pinctrl_select_state() 215 int pinctrl_request(struct udevice *dev, int func, int flags) in pinctrl_request() 225 int pinctrl_request_noflags(struct udevice *dev, int func) in pinctrl_request_noflags() 230 int pinctrl_get_periph_id(struct udevice *dev, struct udevice *periph) in pinctrl_get_periph_id() 240 int pinctrl_get_gpio_mux(struct udevice *dev, int banknum, int index) in pinctrl_get_gpio_mux() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/ |
| H A D | capture_v32.c | 462 struct rkisp_device *dev = stream->ispdev; in bpds_is_stream_stopped() local 479 struct rkisp_device *dev = stream->ispdev; in mpds_is_stream_stopped() local 548 struct rkisp_device *dev = stream->ispdev; in rkisp_stream_config_dcrop() local 577 struct rkisp_device *dev = stream->ispdev; in rkisp_stream_config_rsz() local 629 struct rkisp_device *dev = stream->ispdev; in calc_burst_len() local 692 struct rkisp_device *dev = stream->ispdev; in mp_config_mi() local 791 struct rkisp_device *dev = stream->ispdev; in sp_config_mi() local 857 struct rkisp_device *dev = stream->ispdev; in bp_config_mi() local 904 struct rkisp_device *dev = stream->ispdev; in ds_config_mi() local 935 struct rkisp_device *dev = stream->ispdev; in mp_enable_mi() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/ |
| H A D | mac80211.c | 86 static int mt76_led_init(struct mt76_dev *dev) in mt76_led_init() 116 static void mt76_led_cleanup(struct mt76_dev *dev) in mt76_led_cleanup() 171 mt76_init_sband(struct mt76_dev *dev, struct mt76_sband *msband, in mt76_init_sband() 225 mt76_init_sband_2g(struct mt76_dev *dev, struct ieee80211_rate *rates, in mt76_init_sband_2g() 237 mt76_init_sband_5g(struct mt76_dev *dev, struct ieee80211_rate *rates, in mt76_init_sband_5g() 278 mt76_phy_init(struct mt76_dev *dev, struct ieee80211_hw *hw) in mt76_phy_init() 334 mt76_alloc_phy(struct mt76_dev *dev, unsigned int size, in mt76_alloc_phy() 398 struct mt76_dev *dev = phy->dev; in mt76_unregister_phy() local 413 struct mt76_dev *dev; in mt76_alloc_device() local 456 int mt76_register_device(struct mt76_dev *dev, bool vht, in mt76_register_device() [all …]
|
| H A D | sdio.c | 21 mt76s_alloc_rx_queue(struct mt76_dev *dev, enum mt76_rxq_id qid) in mt76s_alloc_rx_queue() 39 static int mt76s_alloc_tx(struct mt76_dev *dev) in mt76s_alloc_tx() 65 void mt76s_stop_txrx(struct mt76_dev *dev) in mt76s_stop_txrx() 80 int mt76s_alloc_queues(struct mt76_dev *dev) in mt76s_alloc_queues() 109 mt76s_process_rx_queue(struct mt76_dev *dev, struct mt76_queue *q) in mt76s_process_rx_queue() 134 static void mt76s_process_tx_queue(struct mt76_dev *dev, enum mt76_txq_id qid) in mt76s_process_tx_queue() 174 struct mt76_dev *dev; in mt76s_tx_status_data() local 197 mt76s_tx_queue_skb(struct mt76_dev *dev, enum mt76_txq_id qid, in mt76s_tx_queue_skb() 228 mt76s_tx_queue_skb_raw(struct mt76_dev *dev, enum mt76_txq_id qid, in mt76s_tx_queue_skb_raw() 259 static void mt76s_tx_kick(struct mt76_dev *dev, struct mt76_queue *q) in mt76s_tx_kick() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/cirrus/ |
| H A D | cs89x0.c | 162 #define tx_done(dev) 1 argument 224 readreg(struct net_device *dev, u16 regno) in readreg() 233 writereg(struct net_device *dev, u16 regno, u16 value) in writereg() 242 wait_eeprom_ready(struct net_device *dev) in wait_eeprom_ready() 256 get_eeprom_data(struct net_device *dev, int off, int len, int *buffer) in get_eeprom_data() 290 write_irq(struct net_device *dev, int chip_type, int irq) in write_irq() 314 count_rx_errors(int status, struct net_device *dev) in count_rx_errors() 337 get_dma_channel(struct net_device *dev) in get_dma_channel() 358 write_dma(struct net_device *dev, int chip_type, int dma) in write_dma() 370 set_dma_cfg(struct net_device *dev) in set_dma_cfg() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/ |
| H A D | pch_udc.c | 291 struct pch_udc_dev *dev; member 406 static inline u32 pch_udc_readl(struct pch_udc_dev *dev, unsigned long reg) in pch_udc_readl() 411 static inline void pch_udc_writel(struct pch_udc_dev *dev, in pch_udc_writel() 417 static inline void pch_udc_bit_set(struct pch_udc_dev *dev, in pch_udc_bit_set() 424 static inline void pch_udc_bit_clr(struct pch_udc_dev *dev, in pch_udc_bit_clr() 460 static void pch_udc_csr_busy(struct pch_udc_dev *dev) in pch_udc_csr_busy() 478 static void pch_udc_write_csr(struct pch_udc_dev *dev, unsigned long val, in pch_udc_write_csr() 495 static u32 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) in pch_udc_read_csr() 509 static inline void pch_udc_rmt_wakeup(struct pch_udc_dev *dev) in pch_udc_rmt_wakeup() 521 static inline int pch_udc_get_frame(struct pch_udc_dev *dev) in pch_udc_get_frame() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/ |
| H A D | rtw_proc.c | 370 struct net_device *dev = m->private; in proc_start_seq_file_test() local 384 struct net_device *dev = m->private; in proc_stop_seq_file_test() local 392 struct net_device *dev = m->private; in proc_next_seq_file_test() local 407 struct net_device *dev = m->private; in proc_get_seq_file_test() local 427 struct net_device *dev = m->private; in proc_get_sd_f0_reg_dump() local 437 struct net_device *dev = m->private; in proc_get_sdio_local_reg_dump() local 446 struct net_device *dev = m->private; in proc_get_sdio_card_info() local 457 struct net_device *dev = m->private; in proc_get_sdio_recvbuf_aggregation() local 468 struct net_device *dev = data; in proc_set_sdio_recvbuf_aggregation() local 498 struct net_device *dev = m->private; in proc_get_sdio_recvbuf_pwait() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/os_dep/linux/ |
| H A D | rtw_proc.c | 343 struct net_device *dev = m->private; in proc_start_seq_file_test() local 357 struct net_device *dev = m->private; in proc_stop_seq_file_test() local 365 struct net_device *dev = m->private; in proc_next_seq_file_test() local 380 struct net_device *dev = m->private; in proc_get_seq_file_test() local 400 struct net_device *dev = m->private; in proc_get_sd_f0_reg_dump() local 410 struct net_device *dev = m->private; in proc_get_sdio_local_reg_dump() local 419 struct net_device *dev = m->private; in proc_get_sdio_card_info() local 430 struct net_device *dev; in proc_get_sdio_dbg() local 488 struct net_device *dev = data; in proc_set_sdio_dbg() local 558 struct net_device *dev = m->private; in proc_get_fw_info() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_file.c | 59 bool drm_dev_needs_global_mutex(struct drm_device *dev) in drm_dev_needs_global_mutex() 157 struct drm_device *dev = minor->dev; in drm_file_alloc() local 212 struct drm_device *dev = file_priv->minor->dev; in drm_events_release() local 249 struct drm_device *dev; in drm_file_free() local 303 struct drm_device *dev = file_priv->minor->dev; in drm_close_helper() local 337 struct drm_device *dev = minor->dev; in drm_open_helper() local 411 struct drm_device *dev; in drm_open() local 455 void drm_lastclose(struct drm_device * dev) in drm_lastclose() 487 struct drm_device *dev = minor->dev; in drm_release() local 527 struct drm_device *dev = minor->dev; in drm_release_noglobal() local [all …]
|
| H A D | drm_connector.c | 179 struct drm_device *dev = connector->dev; in drm_connector_free() local 188 struct drm_device *dev = in drm_connector_free_work_fn() local 217 int drm_connector_init(struct drm_device *dev, in drm_connector_init() 340 int drm_connector_init_with_ddc(struct drm_device *dev, in drm_connector_init_with_ddc() 443 struct drm_device *dev = connector->dev; in drm_connector_cleanup() local 571 void drm_connector_unregister_all(struct drm_device *dev) in drm_connector_unregister_all() 582 int drm_connector_register_all(struct drm_device *dev) in drm_connector_register_all() 657 void drm_connector_list_iter_begin(struct drm_device *dev, in drm_connector_list_iter_begin() 1243 int drm_connector_create_standard_properties(struct drm_device *dev) in drm_connector_create_standard_properties() 1304 int drm_mode_create_dvi_i_properties(struct drm_device *dev) in drm_mode_create_dvi_i_properties() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/cell/ |
| H A D | cbe_thermal.c | 67 static struct cbe_pmd_regs __iomem *get_pmd_regs(struct device *dev) in get_pmd_regs() 77 static u8 spu_read_register_value(struct device *dev, union spe_reg __iomem *reg) in spu_read_register_value() 88 static ssize_t spu_show_temp(struct device *dev, struct device_attribute *attr, in spu_show_temp() 138 static ssize_t spu_show_throttle_end(struct device *dev, in spu_show_throttle_end() 144 static ssize_t spu_show_throttle_begin(struct device *dev, in spu_show_throttle_begin() 150 static ssize_t spu_show_throttle_full_stop(struct device *dev, in spu_show_throttle_full_stop() 156 static ssize_t spu_store_throttle_end(struct device *dev, in spu_store_throttle_end() 162 static ssize_t spu_store_throttle_begin(struct device *dev, in spu_store_throttle_begin() 168 static ssize_t spu_store_throttle_full_stop(struct device *dev, in spu_store_throttle_full_stop() 174 static ssize_t ppe_show_temp(struct device *dev, char *buf, int pos) in ppe_show_temp() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/regulator/ |
| H A D | lp873x_regulator.c | 26 static int lp873x_buck_enable(struct udevice *dev, int op, bool *enable) in lp873x_buck_enable() 89 static int lp873x_buck_val(struct udevice *dev, int op, int *uV) in lp873x_buck_val() 128 static int lp873x_ldo_enable(struct udevice *dev, int op, bool *enable) in lp873x_ldo_enable() 183 static int lp873x_ldo_val(struct udevice *dev, int op, int *uV) in lp873x_ldo_val() 223 static int lp873x_ldo_probe(struct udevice *dev) in lp873x_ldo_probe() 242 static int ldo_get_value(struct udevice *dev) in ldo_get_value() 254 static int ldo_set_value(struct udevice *dev, int uV) in ldo_set_value() 259 static int ldo_get_enable(struct udevice *dev) in ldo_get_enable() 271 static int ldo_set_enable(struct udevice *dev, bool enable) in ldo_set_enable() 276 static int lp873x_buck_probe(struct udevice *dev) in lp873x_buck_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ |
| H A D | mtd_blkdevs.c | 30 struct mtd_blktrans_dev *dev = in blktrans_dev_release() local 44 struct mtd_blktrans_dev *dev; in blktrans_dev_get() local 57 static void blktrans_dev_put(struct mtd_blktrans_dev *dev) in blktrans_dev_put() 66 struct mtd_blktrans_dev *dev, in do_blktrans_request() 120 int mtd_blktrans_cease_background(struct mtd_blktrans_dev *dev) in mtd_blktrans_cease_background() 126 static struct request *mtd_next_request(struct mtd_blktrans_dev *dev) in mtd_next_request() 140 static void mtd_blktrans_work(struct mtd_blktrans_dev *dev) in mtd_blktrans_work() 188 struct mtd_blktrans_dev *dev; in mtd_queue_rq() local 206 struct mtd_blktrans_dev *dev = blktrans_dev_get(bdev->bd_disk); in blktrans_open() local 256 struct mtd_blktrans_dev *dev = blktrans_dev_get(disk); in blktrans_release() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | bcma-hcd.c | 50 static int bcma_wait_bits(struct bcma_device *dev, u16 reg, u32 bitmask, in bcma_wait_bits() 66 static void bcma_hcd_4716wa(struct bcma_device *dev) in bcma_hcd_4716wa() 100 static void bcma_hcd_init_chip_mips(struct bcma_device *dev) in bcma_hcd_init_chip_mips() 182 struct device *dev = &core->dev; in bcma_hcd_usb20_old_arm_init() local 241 static void bcma_hcd_usb20_ns_init_hc(struct bcma_device *dev) in bcma_hcd_usb20_ns_init_hc() 271 struct device *dev = &core->dev; in bcma_hcd_usb20_ns_init() local 284 static void bcma_hci_platform_power_gpio(struct bcma_device *dev, bool val) in bcma_hci_platform_power_gpio() 300 static struct platform_device *bcma_hcd_create_pdev(struct bcma_device *dev, in bcma_hcd_create_pdev() 346 struct bcma_device *dev = usb_dev->core; in bcma_hcd_usb20_init() local 387 struct device *dev = &core->dev; in bcma_hcd_usb30_init() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/ |
| H A D | ocelot_net.c | 186 static int ocelot_setup_tc(struct net_device *dev, enum tc_setup_type type, in ocelot_setup_tc() 200 static void ocelot_port_adjust_link(struct net_device *dev) in ocelot_port_adjust_link() 209 static int ocelot_vlan_vid_add(struct net_device *dev, u16 vid, bool pvid, in ocelot_vlan_vid_add() 229 static int ocelot_vlan_vid_del(struct net_device *dev, u16 vid) in ocelot_vlan_vid_del() 253 static int ocelot_port_open(struct net_device *dev) in ocelot_port_open() 287 static int ocelot_port_stop(struct net_device *dev) in ocelot_port_stop() 322 static int ocelot_port_xmit(struct sk_buff *skb, struct net_device *dev) in ocelot_port_xmit() 406 static int ocelot_mc_unsync(struct net_device *dev, const unsigned char *addr) in ocelot_mc_unsync() 415 static int ocelot_mc_sync(struct net_device *dev, const unsigned char *addr) in ocelot_mc_sync() 425 static void ocelot_set_rx_mode(struct net_device *dev) in ocelot_set_rx_mode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/block/rnbd/ |
| H A D | rnbd-clt.c | 51 static void rnbd_clt_put_dev(struct rnbd_clt_dev *dev) in rnbd_clt_put_dev() 68 static inline bool rnbd_clt_get_dev(struct rnbd_clt_dev *dev) in rnbd_clt_get_dev() 73 static int rnbd_clt_set_dev_attr(struct rnbd_clt_dev *dev, in rnbd_clt_set_dev_attr() 98 static int rnbd_clt_change_capacity(struct rnbd_clt_dev *dev, in rnbd_clt_change_capacity() 109 static int process_msg_open_rsp(struct rnbd_clt_dev *dev, in process_msg_open_rsp() 143 int rnbd_clt_resize_disk(struct rnbd_clt_dev *dev, size_t newsize) in rnbd_clt_resize_disk() 381 struct rnbd_clt_dev *dev = rq->rq_disk->private_data; in rnbd_softirq_done_fn() local 393 struct rnbd_clt_dev *dev = iu->dev; in msg_io_conf() local 454 struct rnbd_clt_dev *dev = iu->dev; in msg_close_conf() local 461 static int send_msg_close(struct rnbd_clt_dev *dev, u32 device_id, bool wait) in send_msg_close() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/ |
| H A D | rtw_proc.c | 438 struct net_device *dev = m->private; in proc_start_seq_file_test() local 452 struct net_device *dev = m->private; in proc_stop_seq_file_test() local 460 struct net_device *dev = m->private; in proc_next_seq_file_test() local 475 struct net_device *dev = m->private; in proc_get_seq_file_test() local 495 struct net_device *dev = m->private; in proc_get_sd_f0_reg_dump() local 505 struct net_device *dev = m->private; in proc_get_sdio_local_reg_dump() local 514 struct net_device *dev = m->private; in proc_get_sdio_card_info() local 525 struct net_device *dev = m->private; in proc_get_sdio_recvbuf_aggregation() local 536 struct net_device *dev = data; in proc_set_sdio_recvbuf_aggregation() local 566 struct net_device *dev = m->private; in proc_get_sdio_recvbuf_pwait() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/ |
| H A D | rtw_proc.c | 438 struct net_device *dev = m->private; in proc_start_seq_file_test() local 452 struct net_device *dev = m->private; in proc_stop_seq_file_test() local 460 struct net_device *dev = m->private; in proc_next_seq_file_test() local 475 struct net_device *dev = m->private; in proc_get_seq_file_test() local 495 struct net_device *dev = m->private; in proc_get_sd_f0_reg_dump() local 505 struct net_device *dev = m->private; in proc_get_sdio_local_reg_dump() local 514 struct net_device *dev = m->private; in proc_get_sdio_card_info() local 525 struct net_device *dev = m->private; in proc_get_sdio_recvbuf_aggregation() local 536 struct net_device *dev = data; in proc_set_sdio_recvbuf_aggregation() local 566 struct net_device *dev = m->private; in proc_get_sdio_recvbuf_pwait() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/vc04_services/bcm2835-camera/ |
| H A D | bcm2835-camera.c | 213 struct bm2835_mmal_dev *dev = vb2_get_drv_priv(vq); in queue_setup() local 268 struct bm2835_mmal_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_init() local 283 struct bm2835_mmal_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() local 305 struct bm2835_mmal_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_cleanup() local 316 static inline bool is_capturing(struct bm2835_mmal_dev *dev) in is_capturing() 327 struct bm2835_mmal_dev *dev = port->cb_ctx; in buffer_cb() local 419 static int enable_camera(struct bm2835_mmal_dev *dev) in enable_camera() 450 static int disable_camera(struct bm2835_mmal_dev *dev) in disable_camera() 485 struct bm2835_mmal_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() local 504 struct bm2835_mmal_dev *dev = vb2_get_drv_priv(vq); in start_streaming() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/usb/ |
| H A D | rtl8150.c | 153 static int get_registers(rtl8150_t * dev, u16 indx, u16 size, void *data) in get_registers() 160 static int set_registers(rtl8150_t * dev, u16 indx, u16 size, const void *data) in set_registers() 178 static int async_set_registers(rtl8150_t *dev, u16 indx, u16 size, u16 reg) in async_set_registers() 210 static int read_mii_word(rtl8150_t * dev, u8 phy, __u8 indx, u16 * reg) in read_mii_word() 234 static int write_mii_word(rtl8150_t * dev, u8 phy, __u8 indx, u16 reg) in write_mii_word() 257 static void set_ethernet_addr(rtl8150_t *dev) in set_ethernet_addr() 276 rtl8150_t *dev = netdev_priv(netdev); in rtl8150_set_mac_address() local 308 static int rtl8150_reset(rtl8150_t * dev) in rtl8150_reset() 321 static int alloc_all_urbs(rtl8150_t * dev) in alloc_all_urbs() 341 static void free_all_urbs(rtl8150_t * dev) in free_all_urbs() [all …]
|
| H A D | dm9620.c | 113 #define dm9620_print(dev, format, args...) devdbg(dev, format, ##args) argument 114 #define dm9620_err(dev, format, args...) deverr(dev, format, ##args) argument 117 #define dm9620_print(dev, format, args...) printk(format, ##args) argument 118 #define dm9620_err(dev, format, args...) printk(format, ##args) argument 120 static int dm_read(struct usbnet *dev, u8 reg, u16 length, void *data) in dm_read() 130 static int dm_read_reg(struct usbnet *dev, u8 reg, u8 *value) in dm_read_reg() 148 static int dm_write(struct usbnet *dev, u8 reg, u16 length, void *data) in dm_write() 158 static int dm_write_reg(struct usbnet *dev, u8 reg, u8 value) in dm_write_reg() 180 static void dm_write_async_helper(struct usbnet *dev, u8 reg, u8 value, in dm_write_async_helper() 220 static void dm_write_async(struct usbnet *dev, u8 reg, u16 length, void *data) in dm_write_async() [all …]
|