| /OK3568_Linux_fs/kernel/drivers/base/power/ |
| H A D | qos.c | 52 enum pm_qos_flags_status __dev_pm_qos_flags(struct device *dev, s32 mask) in __dev_pm_qos_flags() 79 enum pm_qos_flags_status dev_pm_qos_flags(struct device *dev, s32 mask) in dev_pm_qos_flags() 98 s32 __dev_pm_qos_resume_latency(struct device *dev) in __dev_pm_qos_resume_latency() 110 s32 dev_pm_qos_read_value(struct device *dev, enum dev_pm_qos_req_type type) in dev_pm_qos_read_value() 195 static int dev_pm_qos_constraints_allocate(struct device *dev) in dev_pm_qos_constraints_allocate() 247 void dev_pm_qos_constraints_destroy(struct device *dev) in dev_pm_qos_constraints_destroy() 322 static bool dev_pm_qos_invalid_req_type(struct device *dev, in dev_pm_qos_invalid_req_type() 329 static int __dev_pm_qos_add_request(struct device *dev, in __dev_pm_qos_add_request() 389 int dev_pm_qos_add_request(struct device *dev, struct dev_pm_qos_request *req, in dev_pm_qos_add_request() 536 int dev_pm_qos_add_notifier(struct device *dev, struct notifier_block *notifier, in dev_pm_qos_add_notifier() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/ks7010/ |
| H A D | ks_wlan_net.c | 149 static int ks_wlan_get_name(struct net_device *dev, in ks_wlan_get_name() 172 static int ks_wlan_set_freq(struct net_device *dev, in ks_wlan_set_freq() 216 static int ks_wlan_get_freq(struct net_device *dev, in ks_wlan_get_freq() 238 static int ks_wlan_set_essid(struct net_device *dev, in ks_wlan_set_essid() 277 static int ks_wlan_get_essid(struct net_device *dev, in ks_wlan_get_essid() 307 static int ks_wlan_set_wap(struct net_device *dev, struct iw_request_info *info, in ks_wlan_set_wap() 336 static int ks_wlan_get_wap(struct net_device *dev, struct iw_request_info *info, in ks_wlan_get_wap() 355 static int ks_wlan_set_nick(struct net_device *dev, in ks_wlan_set_nick() 375 static int ks_wlan_get_nick(struct net_device *dev, in ks_wlan_get_nick() 392 static int ks_wlan_set_rate(struct net_device *dev, in ks_wlan_set_rate() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/can/dev/ |
| H A D | dev.c | 117 static int can_calc_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming() 230 static int can_calc_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming() 243 static int can_fixup_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_fixup_bittiming() 279 can_validate_bitrate(struct net_device *dev, struct can_bittiming *bt, in can_validate_bitrate() 297 static int can_get_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_get_bittiming() 322 static void can_update_state_error_stats(struct net_device *dev, in can_update_state_error_stats() 345 static int can_tx_state_to_frame(struct net_device *dev, enum can_state state) in can_tx_state_to_frame() 359 static int can_rx_state_to_frame(struct net_device *dev, enum can_state state) in can_rx_state_to_frame() 395 void can_change_state(struct net_device *dev, struct can_frame *cf, in can_change_state() 438 static void can_flush_echo_skb(struct net_device *dev) in can_flush_echo_skb() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | of_device.h | 23 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device() 44 static inline void of_device_node_put(struct device *dev) in of_device_node_put() 61 static inline int of_dma_configure(struct device *dev, in of_dma_configure() 69 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device() 75 static inline void of_device_uevent(struct device *dev, in of_device_uevent() 78 static inline const void *of_device_get_match_data(const struct device *dev) in of_device_get_match_data() 83 static inline int of_device_modalias(struct device *dev, in of_device_modalias() 89 static inline int of_device_request_module(struct device *dev) in of_device_request_module() 94 static inline int of_device_uevent_modalias(struct device *dev, in of_device_uevent_modalias() 100 static inline void of_device_node_put(struct device *dev) { } in of_device_node_put() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_dcb.c | 33 void cxgb4_dcb_state_init(struct net_device *dev) in cxgb4_dcb_state_init() 48 void cxgb4_dcb_version_init(struct net_device *dev) in cxgb4_dcb_version_init() 59 static void cxgb4_dcb_cleanup_apps(struct net_device *dev) in cxgb4_dcb_cleanup_apps() 99 void cxgb4_dcb_reset(struct net_device *dev) in cxgb4_dcb_reset() 125 void cxgb4_dcb_state_fsm(struct net_device *dev, in cxgb4_dcb_state_fsm() 278 struct net_device *dev = adap->port[adap->chan_map[port]]; in cxgb4_dcb_handle_fw_update() local 411 static u8 cxgb4_getstate(struct net_device *dev) in cxgb4_getstate() 420 static u8 cxgb4_setstate(struct net_device *dev, u8 enabled) in cxgb4_setstate() 438 static void cxgb4_getpgtccfg(struct net_device *dev, int tc, in cxgb4_getpgtccfg() 482 static void cxgb4_getpgtccfg_tx(struct net_device *dev, int tc, in cxgb4_getpgtccfg_tx() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/base/ |
| H A D | cpu.c | 28 static int cpu_subsys_match(struct device *dev, struct device_driver *drv) in cpu_subsys_match() 47 static int cpu_subsys_online(struct device *dev) in cpu_subsys_online() 70 static int cpu_subsys_offline(struct device *dev) in cpu_subsys_offline() 87 static ssize_t cpu_probe_store(struct device *dev, in cpu_probe_store() 105 static ssize_t cpu_release_store(struct device *dev, in cpu_release_store() 142 static ssize_t crash_notes_show(struct device *dev, in crash_notes_show() 164 static ssize_t crash_notes_size_show(struct device *dev, in crash_notes_size_show() 206 static ssize_t show_cpus_attr(struct device *dev, in show_cpus_attr() 228 static ssize_t print_cpus_kernel_max(struct device *dev, in print_cpus_kernel_max() 238 static ssize_t print_cpus_offline(struct device *dev, in print_cpus_offline() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/saa7134/ |
| H A D | saa7134-core.c | 101 void saa7134_track_gpio(struct saa7134_dev *dev, const char *msg) in saa7134_track_gpio() 116 void saa7134_set_gpio(struct saa7134_dev *dev, int bit_no, int value) in saa7134_set_gpio() 151 struct saa7134_dev* dev = container_of(work, struct saa7134_dev, request_module_wk); in request_module_async() local 164 static void request_submodules(struct saa7134_dev *dev) in request_submodules() 170 static void flush_request_submodules(struct saa7134_dev *dev) in flush_request_submodules() 176 #define request_submodules(dev) argument 177 #define flush_request_submodules(dev) argument 263 int saa7134_buffer_queue(struct saa7134_dev *dev, in saa7134_buffer_queue() 291 void saa7134_buffer_finish(struct saa7134_dev *dev, in saa7134_buffer_finish() 304 void saa7134_buffer_next(struct saa7134_dev *dev, in saa7134_buffer_next() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/ |
| H A D | fimc-lite-reg.c | 20 void flite_hw_reset(struct fimc_lite *dev) in flite_hw_reset() 40 void flite_hw_clear_pending_irq(struct fimc_lite *dev) in flite_hw_clear_pending_irq() 47 u32 flite_hw_get_interrupt_source(struct fimc_lite *dev) in flite_hw_get_interrupt_source() 53 void flite_hw_clear_last_capture_end(struct fimc_lite *dev) in flite_hw_clear_last_capture_end() 61 void flite_hw_set_interrupt_mask(struct fimc_lite *dev) in flite_hw_set_interrupt_mask() 83 void flite_hw_capture_start(struct fimc_lite *dev) in flite_hw_capture_start() 90 void flite_hw_capture_stop(struct fimc_lite *dev) in flite_hw_capture_stop() 101 void flite_hw_set_test_pattern(struct fimc_lite *dev, bool on) in flite_hw_set_test_pattern() 127 void flite_hw_set_source_format(struct fimc_lite *dev, struct flite_frame *f) in flite_hw_set_source_format() 158 void flite_hw_set_window_offset(struct fimc_lite *dev, struct flite_frame *f) in flite_hw_set_window_offset() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/adc/ |
| H A D | adc-uclass.c | 30 static int check_channel(struct udevice *dev, int value, bool number_or_mask, in check_channel() 51 static int adc_supply_enable(struct udevice *dev) in adc_supply_enable() 73 static inline int adc_supply_enable(struct udevice *dev) { return 0; } in adc_supply_enable() 76 int adc_data_mask(struct udevice *dev, unsigned int *data_mask) in adc_data_mask() 87 int adc_stop(struct udevice *dev) in adc_stop() 97 int adc_start_channel(struct udevice *dev, int channel) in adc_start_channel() 116 int adc_start_channels(struct udevice *dev, unsigned int channel_mask) in adc_start_channels() 135 int adc_channel_data(struct udevice *dev, int channel, unsigned int *data) in adc_channel_data() 161 int adc_channels_data(struct udevice *dev, unsigned int channel_mask, in adc_channels_data() 190 struct udevice *dev; in adc_channel_single_shot() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | debugfs.c | 8 struct mt7615_dev *dev = data; in mt7615_radar_pattern_set() local 27 struct mt7615_dev *dev = data; in mt7615_scs_set() local 44 struct mt7615_dev *dev = data; in mt7615_scs_get() local 57 struct mt7615_dev *dev = data; in mt7615_pm_set() local 68 struct mt7615_dev *dev = data; in mt7615_pm_get() local 80 struct mt7615_dev *dev = data; in mt7615_pm_idle_timeout_set() local 90 struct mt7615_dev *dev = data; in mt7615_pm_idle_timeout_get() local 103 struct mt7615_dev *dev = data; in mt7615_dbdc_set() local 119 struct mt7615_dev *dev = data; in mt7615_dbdc_get() local 132 struct mt7615_dev *dev = data; in mt7615_fw_debug_set() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/atm/ |
| H A D | horizon.c | 356 static inline void wr_regl (const hrz_dev * dev, unsigned char reg, u32 data) { in wr_regl() 360 static inline u32 rd_regl (const hrz_dev * dev, unsigned char reg) { in rd_regl() 364 static inline void wr_regw (const hrz_dev * dev, unsigned char reg, u16 data) { in wr_regw() 368 static inline u16 rd_regw (const hrz_dev * dev, unsigned char reg) { in rd_regw() 372 static inline void wrs_regb (const hrz_dev * dev, unsigned char reg, void * addr, u32 len) { in wrs_regb() 376 static inline void rds_regb (const hrz_dev * dev, unsigned char reg, void * addr, u32 len) { in rds_regb() 383 static inline void wr_mem (const hrz_dev * dev, HDW * addr, u32 data) { in wr_mem() 389 static inline u32 rd_mem (const hrz_dev * dev, HDW * addr) { in rd_mem() 395 static inline void wr_framer (const hrz_dev * dev, u32 addr, u32 data) { in wr_framer() 400 static inline u32 rd_framer (const hrz_dev * dev, u32 addr) { in rd_framer() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/smsc/ |
| H A D | smc911x.c | 97 #define DBG(n, dev, args...) \ argument 103 #define PRINTK(dev, args...) netdev_info(dev, args) argument 105 #define DBG(n, dev, args...) do { } while (0) argument 106 #define PRINTK(dev, args...) netdev_dbg(dev, args) argument 163 static void smc911x_reset(struct net_device *dev) in smc911x_reset() 257 static void smc911x_enable(struct net_device *dev) in smc911x_enable() 314 static void smc911x_shutdown(struct net_device *dev) in smc911x_shutdown() 334 static inline void smc911x_drop_pkt(struct net_device *dev) in smc911x_drop_pkt() 366 static inline void smc911x_rcv(struct net_device *dev) in smc911x_rcv() 442 static void smc911x_hardware_send_pkt(struct net_device *dev) in smc911x_hardware_send_pkt() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/aw87xxx/ |
| H A D | aw_acf_bin.c | 75 static int aw_check_file_id(struct device *dev, in aw_check_file_id() 89 static int aw_check_header_size(struct device *dev, in aw_check_header_size() 103 static int aw_check_ddt_size_v_0_0_0_1(struct device *dev, char *fw_data) in aw_check_ddt_size_v_0_0_0_1() 119 static int aw_check_data_size_v_0_0_0_1(struct device *dev, in aw_check_data_size_v_0_0_0_1() 153 static int aw_check_data_crc_v_0_0_0_1(struct device *dev, char *fw_data) in aw_check_data_crc_v_0_0_0_1() 176 static int aw_check_profile_id_v_0_0_0_1(struct device *dev, char *fw_data) in aw_check_profile_id_v_0_0_0_1() 196 static int aw_check_data_v_0_0_0_1(struct device *dev, in aw_check_data_v_0_0_0_1() 235 static int aw_check_ddt_size_v_1_0_0_0(struct device *dev, char *fw_data) in aw_check_ddt_size_v_1_0_0_0() 251 static int aw_check_data_size_v_1_0_0_0(struct device *dev, in aw_check_data_size_v_1_0_0_0() 285 static int aw_check_data_crc_v_1_0_0_0(struct device *dev, char *fw_data) in aw_check_data_crc_v_1_0_0_0() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | main.c | 199 struct mlx4_dev *dev = &priv->dev; in mlx4_devlink_crdump_snapshot_get() local 209 struct mlx4_dev *dev = &priv->dev; in mlx4_devlink_crdump_snapshot_set() local 293 static inline void mlx4_set_num_reserved_uars(struct mlx4_dev *dev, in mlx4_set_num_reserved_uars() 307 int mlx4_check_port_params(struct mlx4_dev *dev, in mlx4_check_port_params() 331 static void mlx4_set_port_mask(struct mlx4_dev *dev) in mlx4_set_port_mask() 343 static int mlx4_query_func(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_query_func() 362 static void mlx4_enable_cqe_eqe_stride(struct mlx4_dev *dev) in mlx4_enable_cqe_eqe_stride() 397 static int _mlx4_dev_port(struct mlx4_dev *dev, int port, in _mlx4_dev_port() 424 static int mlx4_dev_port(struct mlx4_dev *dev, int port, in mlx4_dev_port() 437 static inline void mlx4_enable_ignore_fcs(struct mlx4_dev *dev) in mlx4_enable_ignore_fcs() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | max9271.c | 24 static int max9271_read(struct max9271_device *dev, u8 reg) in max9271_read() 39 static int max9271_write(struct max9271_device *dev, u8 reg, u8 val) in max9271_write() 61 static int max9271_pclk_detect(struct max9271_device *dev) in max9271_pclk_detect() 82 int max9271_set_serial_link(struct max9271_device *dev, bool enable) in max9271_set_serial_link() 115 int max9271_configure_i2c(struct max9271_device *dev, u8 i2c_config) in max9271_configure_i2c() 133 int max9271_set_high_threshold(struct max9271_device *dev, bool enable) in max9271_set_high_threshold() 152 int max9271_configure_gmsl_link(struct max9271_device *dev) in max9271_configure_gmsl_link() 180 int max9271_set_gpios(struct max9271_device *dev, u8 gpio_mask) in max9271_set_gpios() 201 int max9271_clear_gpios(struct max9271_device *dev, u8 gpio_mask) in max9271_clear_gpios() 222 int max9271_enable_gpios(struct max9271_device *dev, u8 gpio_mask) in max9271_enable_gpios() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | hw.h | 59 static inline uint32_t NVReadCRTC(struct drm_device *dev, in NVReadCRTC() 70 static inline void NVWriteCRTC(struct drm_device *dev, in NVWriteCRTC() 79 static inline uint32_t NVReadRAMDAC(struct drm_device *dev, in NVReadRAMDAC() 90 static inline void NVWriteRAMDAC(struct drm_device *dev, in NVWriteRAMDAC() 99 static inline uint8_t nv_read_tmds(struct drm_device *dev, in nv_read_tmds() 109 static inline void nv_write_tmds(struct drm_device *dev, in nv_write_tmds() 119 static inline void NVWriteVgaCrtc(struct drm_device *dev, in NVWriteVgaCrtc() 127 static inline uint8_t NVReadVgaCrtc(struct drm_device *dev, in NVReadVgaCrtc() 152 NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc5758() 158 static inline uint8_t NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) in NVReadVgaCrtc5758() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fw_reset.c | 14 struct mlx5_core_dev *dev; member 28 void mlx5_fw_reset_enable_remote_dev_reset_set(struct mlx5_core_dev *dev, bool enable) in mlx5_fw_reset_enable_remote_dev_reset_set() 38 bool mlx5_fw_reset_enable_remote_dev_reset_get(struct mlx5_core_dev *dev) in mlx5_fw_reset_enable_remote_dev_reset_get() 45 static int mlx5_reg_mfrl_set(struct mlx5_core_dev *dev, u8 reset_level, in mlx5_reg_mfrl_set() 59 static int mlx5_reg_mfrl_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_reg_mfrl_query() 77 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_fw_reset_query() 82 int mlx5_fw_reset_set_reset_sync(struct mlx5_core_dev *dev, u8 reset_type_sel) in mlx5_fw_reset_set_reset_sync() 94 int mlx5_fw_reset_set_live_patch(struct mlx5_core_dev *dev) in mlx5_fw_reset_set_live_patch() 99 static void mlx5_fw_reset_complete_reload(struct mlx5_core_dev *dev) in mlx5_fw_reset_complete_reload() 118 struct mlx5_core_dev *dev = fw_reset->dev; in mlx5_sync_reset_reload_work() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_main.c | 65 void ocrdma_get_guid(struct ocrdma_dev *dev, u8 *guid) in ocrdma_get_guid() 89 struct ocrdma_dev *dev; in ocrdma_port_immutable() local 110 struct ocrdma_dev *dev = get_ocrdma_dev(device); in get_dev_fw_str() local 119 struct ocrdma_dev *dev = in hw_rev_show() local 129 struct ocrdma_dev *dev = in hca_type_show() local 199 static int ocrdma_register_device(struct ocrdma_dev *dev) in ocrdma_register_device() 263 static int ocrdma_alloc_resources(struct ocrdma_dev *dev) in ocrdma_alloc_resources() 298 static void ocrdma_free_resources(struct ocrdma_dev *dev) in ocrdma_free_resources() 310 struct ocrdma_dev *dev; in ocrdma_add() local 366 static void ocrdma_remove_free(struct ocrdma_dev *dev) in ocrdma_remove_free() [all …]
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | stdio.c | 42 static void nulldev_putc(struct stdio_dev *dev, const char c) in nulldev_putc() 47 static void nulldev_puts(struct stdio_dev *dev, const char *s) in nulldev_puts() 52 static int nulldev_input(struct stdio_dev *dev) in nulldev_input() 58 static void nulldev_clear(struct stdio_dev *dev) in nulldev_clear() 64 static void stdio_serial_putc(struct stdio_dev *dev, const char c) in stdio_serial_putc() 69 static void stdio_serial_puts(struct stdio_dev *dev, const char *s) in stdio_serial_puts() 74 static int stdio_serial_getc(struct stdio_dev *dev) in stdio_serial_getc() 79 static int stdio_serial_tstc(struct stdio_dev *dev) in stdio_serial_tstc() 84 static void stdio_serial_clear(struct stdio_dev *dev) in stdio_serial_clear() 96 struct stdio_dev dev; in drv_system_init() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/ |
| H A D | s626.c | 106 static void s626_mc_enable(struct comedi_device *dev, in s626_mc_enable() 114 static void s626_mc_disable(struct comedi_device *dev, in s626_mc_disable() 120 static bool s626_mc_test(struct comedi_device *dev, in s626_mc_test() 145 static void s626_debi_transfer(struct comedi_device *dev) in s626_debi_transfer() 179 static u16 s626_debi_read(struct comedi_device *dev, u16 addr) in s626_debi_read() 193 static void s626_debi_write(struct comedi_device *dev, u16 addr, in s626_debi_write() 209 static void s626_debi_replace(struct comedi_device *dev, unsigned int addr, in s626_debi_replace() 228 static int s626_i2c_handshake_eoc(struct comedi_device *dev, in s626_i2c_handshake_eoc() 241 static int s626_i2c_handshake(struct comedi_device *dev, u32 val) in s626_i2c_handshake() 268 static u8 s626_i2c_read(struct comedi_device *dev, u8 addr) in s626_i2c_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt76x0/ |
| H A D | phy.c | 21 mt76x0_rf_csr_wr(struct mt76x02_dev *dev, u32 offset, u8 value) in mt76x0_rf_csr_wr() 59 static int mt76x0_rf_csr_rr(struct mt76x02_dev *dev, u32 offset) in mt76x0_rf_csr_rr() 103 mt76x0_rf_wr(struct mt76x02_dev *dev, u32 offset, u8 val) in mt76x0_rf_wr() 119 static int mt76x0_rf_rr(struct mt76x02_dev *dev, u32 offset) in mt76x0_rf_rr() 141 mt76x0_rf_rmw(struct mt76x02_dev *dev, u32 offset, u8 mask, u8 val) in mt76x0_rf_rmw() 156 mt76x0_rf_set(struct mt76x02_dev *dev, u32 offset, u8 val) in mt76x0_rf_set() 162 mt76x0_rf_clear(struct mt76x02_dev *dev, u32 offset, u8 mask) in mt76x0_rf_clear() 168 mt76x0_phy_rf_csr_wr_rp(struct mt76x02_dev *dev, in mt76x0_phy_rf_csr_wr_rp() 178 #define RF_RANDOM_WRITE(dev, tab) do { \ argument 185 int mt76x0_phy_wait_bbp_ready(struct mt76x02_dev *dev) in mt76x0_phy_wait_bbp_ready() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/em28xx/ |
| H A D | em28xx-core.c | 76 int em28xx_read_reg_req_len(struct em28xx *dev, u8 req, u16 reg, in em28xx_read_reg_req_len() 122 int em28xx_read_reg_req(struct em28xx *dev, u8 req, u16 reg) in em28xx_read_reg_req() 134 int em28xx_read_reg(struct em28xx *dev, u16 reg) in em28xx_read_reg() 144 int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf, in em28xx_write_regs_req() 187 int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len) in em28xx_write_regs() 194 int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val) in em28xx_write_reg() 205 int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val, in em28xx_write_reg_bits() 225 int em28xx_toggle_reg_bits(struct em28xx *dev, u16 reg, u8 bitmask) in em28xx_toggle_reg_bits() 244 static int em28xx_is_ac97_ready(struct em28xx *dev) in em28xx_is_ac97_ready() 269 int em28xx_read_ac97(struct em28xx *dev, u8 reg) in em28xx_read_ac97() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | phy.c | 74 void b43legacy_phy_lock(struct b43legacy_wldev *dev) in b43legacy_phy_lock() 89 void b43legacy_phy_unlock(struct b43legacy_wldev *dev) in b43legacy_phy_unlock() 104 u16 b43legacy_phy_read(struct b43legacy_wldev *dev, u16 offset) in b43legacy_phy_read() 110 void b43legacy_phy_write(struct b43legacy_wldev *dev, u16 offset, u16 val) in b43legacy_phy_write() 116 void b43legacy_phy_calibrate(struct b43legacy_wldev *dev) in b43legacy_phy_calibrate() 134 static void b43legacy_phy_init_pctl(struct b43legacy_wldev *dev) in b43legacy_phy_init_pctl() 193 static void b43legacy_phy_agcsetup(struct b43legacy_wldev *dev) in b43legacy_phy_agcsetup() 309 static void b43legacy_phy_setupg(struct b43legacy_wldev *dev) in b43legacy_phy_setupg() 411 static void b43legacy_phy_inita(struct b43legacy_wldev *dev) in b43legacy_phy_inita() 421 static void b43legacy_phy_initb2(struct b43legacy_wldev *dev) in b43legacy_phy_initb2() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/visorbus/ |
| H A D | visorbus_main.c | 31 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() 66 int visor_check_channel(struct channel_header *ch, struct device *dev, in visor_check_channel() 114 struct visor_device *dev; in visorbus_uevent() local 135 struct visor_device *dev; in visorbus_match() local 174 static int match_visorbus_dev_by_id(struct device *dev, const void *data) in match_visorbus_dev_by_id() 188 struct device *dev; in visorbus_get_device_by_id() local 212 struct visor_device *dev = dev_get_drvdata(xdev); in visorbus_release_busdevice() local 227 struct visor_device *dev = to_visor_device(xdev); in visorbus_release_device() local 238 static ssize_t physaddr_show(struct device *dev, struct device_attribute *attr, in physaddr_show() 248 static ssize_t nbytes_show(struct device *dev, struct device_attribute *attr, in nbytes_show() [all …]
|
| /OK3568_Linux_fs/kernel/net/dsa/ |
| H A D | slave.c | 60 static int dsa_slave_get_iflink(const struct net_device *dev) in dsa_slave_get_iflink() 65 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open() 110 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close() 130 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags() 143 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode() 151 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) in dsa_slave_set_mac_address() 179 struct net_device *dev; member 231 struct net_device *dev, struct net_device *filter_dev, in dsa_slave_fdb_dump() 249 static int dsa_slave_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in dsa_slave_ioctl() 270 static int dsa_slave_port_attr_set(struct net_device *dev, in dsa_slave_port_attr_set() [all …]
|