Home
last modified time | relevance | path

Searched defs:dev (Results 551 – 575 of 15846) sorted by relevance

1...<<21222324252627282930>>...634

/openbmc/linux/drivers/base/
H A Disa.c19 struct device dev; member
26 static int isa_bus_match(struct device *dev, struct device_driver *driver) in isa_bus_match()
39 static int isa_bus_probe(struct device *dev) in isa_bus_probe()
49 static void isa_bus_remove(struct device *dev) in isa_bus_remove()
57 static void isa_bus_shutdown(struct device *dev) in isa_bus_shutdown()
65 static int isa_bus_suspend(struct device *dev, pm_message_t state) in isa_bus_suspend()
75 static int isa_bus_resume(struct device *dev) in isa_bus_resume()
95 static void isa_dev_release(struct device *dev) in isa_dev_release()
102 struct device *dev = isa_driver->devices; in isa_unregister_driver() local
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_pci.c45 static int drm_get_pci_domain(struct drm_device *dev) in drm_get_pci_domain()
59 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) in drm_pci_set_busid()
77 static int drm_legacy_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) in drm_legacy_pci_irq_by_busid()
105 int drm_legacy_irq_by_busid(struct drm_device *dev, void *data, in drm_legacy_irq_by_busid()
123 void drm_legacy_pci_agp_destroy(struct drm_device *dev) in drm_legacy_pci_agp_destroy()
133 static void drm_legacy_pci_agp_init(struct drm_device *dev) in drm_legacy_pci_agp_init()
151 struct drm_device *dev; in drm_legacy_get_pci_dev() local
248 struct drm_device *dev, *tmp; in drm_legacy_pci_exit() local
/openbmc/linux/drivers/net/
H A Dnlmon.c11 static netdev_tx_t nlmon_xmit(struct sk_buff *skb, struct net_device *dev) in nlmon_xmit()
20 static int nlmon_dev_init(struct net_device *dev) in nlmon_dev_init()
26 static void nlmon_dev_uninit(struct net_device *dev) in nlmon_dev_uninit()
35 static int nlmon_open(struct net_device *dev) in nlmon_open()
44 static int nlmon_close(struct net_device *dev) in nlmon_close()
52 nlmon_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) in nlmon_get_stats64()
65 static u32 always_on(struct net_device *dev) in always_on()
83 static void nlmon_setup(struct net_device *dev) in nlmon_setup()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_debugfs.c12 struct mt76x02_dev *dev = file->private; in mt76x02_ampdu_stat_show() local
38 struct mt76x02_dev *dev = dev_get_drvdata(file->private); in read_txpower() local
50 struct mt76x02_dev *dev = file->private; in mt76x02_dfs_stat_show() local
77 struct mt76x02_dev *dev = dev_get_drvdata(file->private); in read_agc() local
90 struct mt76x02_dev *dev = data; in mt76_edcca_set() local
108 struct mt76x02_dev *dev = data; in mt76_edcca_get() local
119 struct mt76x02_dev *dev = dev_get_drvdata(s->private); in mt76x02_read_rate_txpower() local
132 void mt76x02_init_debugfs(struct mt76x02_dev *dev) in mt76x02_init_debugfs()
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_ethtool.c91 static int bcmasp_get_sset_count(struct net_device *dev, int string_set) in bcmasp_get_sset_count()
101 static void bcmasp_get_strings(struct net_device *dev, u32 stringset, in bcmasp_get_strings()
151 static void bcmasp_get_ethtool_stats(struct net_device *dev, in bcmasp_get_ethtool_stats()
168 static void bcmasp_get_drvinfo(struct net_device *dev, in bcmasp_get_drvinfo()
176 static u32 bcmasp_get_msglevel(struct net_device *dev) in bcmasp_get_msglevel()
183 static void bcmasp_set_msglevel(struct net_device *dev, u32 level) in bcmasp_set_msglevel()
366 static int bcmasp_get_eee(struct net_device *dev, struct ethtool_eee *e) in bcmasp_get_eee()
382 static int bcmasp_set_eee(struct net_device *dev, struct ethtool_eee *e) in bcmasp_set_eee()
410 static void bcmasp_get_eth_mac_stats(struct net_device *dev, in bcmasp_get_eth_mac_stats()
444 static void bcmasp_get_rmon_stats(struct net_device *dev, in bcmasp_get_rmon_stats()
[all …]
/openbmc/linux/drivers/net/can/mscan/
H A Dmscan.c50 static int mscan_set_mode(struct net_device *dev, u8 mode) in mscan_set_mode()
126 static int mscan_start(struct net_device *dev) in mscan_start()
164 static int mscan_restart(struct net_device *dev) in mscan_restart()
382 struct net_device *dev = napi->dev; in mscan_rx_poll() local
429 struct net_device *dev = (struct net_device *)dev_id; in mscan_isr() local
508 static int mscan_do_set_bittiming(struct net_device *dev) in mscan_do_set_bittiming()
528 static int mscan_get_berr_counter(const struct net_device *dev, in mscan_get_berr_counter()
540 static int mscan_open(struct net_device *dev) in mscan_open()
592 static int mscan_close(struct net_device *dev) in mscan_close()
662 void unregister_mscandev(struct net_device *dev) in unregister_mscandev()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-ibm_iic.c94 # define DUMP_REGS(h,dev) dump_iic_regs((h),(dev)) argument
96 # define DUMP_REGS(h,dev) ((void)0) argument
133 static void iic_dev_init(struct ibm_iic_private* dev) in iic_dev_init()
178 static void iic_dev_reset(struct ibm_iic_private* dev) in iic_dev_reset()
326 struct ibm_iic_private* dev = (struct ibm_iic_private*)dev_id; in iic_handler() local
343 static int iic_xfer_result(struct ibm_iic_private* dev) in iic_xfer_result()
376 static void iic_abort_xfer(struct ibm_iic_private* dev) in iic_abort_xfer()
408 static int iic_wait_for_tc(struct ibm_iic_private* dev){ in iic_wait_for_tc()
659 struct ibm_iic_private *dev) in iic_request_irq()
692 struct ibm_iic_private *dev; in iic_probe() local
[all …]
/openbmc/linux/drivers/leds/
H A Dled-class.c28 static ssize_t brightness_show(struct device *dev, in brightness_show()
39 static ssize_t brightness_store(struct device *dev, in brightness_store()
71 static ssize_t max_brightness_show(struct device *dev, in max_brightness_show()
110 static ssize_t brightness_hw_changed_show(struct device *dev, in brightness_hw_changed_show()
125 struct device *dev = led_cdev->dev; in led_add_brightness_hw_changed() local
198 static int led_suspend(struct device *dev) in led_suspend()
208 static int led_resume(struct device *dev) in led_resume()
279 static void devm_led_release(struct device *dev, void *res) in devm_led_release()
336 struct led_classdev *led_get(struct device *dev, char *con_id) in led_get()
441 struct device *dev; in led_classdev_next_name() local
[all …]
/openbmc/linux/drivers/misc/mei/
H A Dmain.c49 struct mei_device *dev; in mei_open() local
115 struct mei_device *dev; in mei_release() local
173 struct mei_device *dev; in mei_read() local
316 struct mei_device *dev; in mei_write() local
409 struct mei_device *dev; in mei_ioctl_connect_client() local
510 struct mei_device *dev; in mei_ioctl_connect_vtag() local
643 struct mei_device *dev; in mei_ioctl() local
787 struct mei_device *dev; in mei_poll() local
841 struct mei_device *dev = cl->dev; in mei_cl_is_write_queued() local
866 struct mei_device *dev; in mei_fsync() local
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmain.c25 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_run() local
99 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_start() local
113 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_stop() local
208 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_add_interface() local
289 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_remove_interface() local
322 struct mt7915_dev *dev = phy->dev; in mt7915_set_channel() local
367 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_set_key() local
1026 struct mt7915_dev *dev = phy->dev; in mt7915_set_coverage_class() local
1150 struct mt7915_dev *dev = phy->dev; in mt7915_sta_rc_update() local
1162 struct mt7915_dev *dev = phy->dev; in mt7915_set_bitrate_mask() local
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_led.h33 struct drm_device *dev; member
39 nouveau_led(struct drm_device *dev) in nouveau_led()
51 static inline int nouveau_led_init(struct drm_device *dev) { return 0; }; in nouveau_led_init()
52 static inline void nouveau_led_suspend(struct drm_device *dev) { }; in nouveau_led_suspend()
53 static inline void nouveau_led_resume(struct drm_device *dev) { }; in nouveau_led_resume()
54 static inline void nouveau_led_fini(struct drm_device *dev) { }; in nouveau_led_fini()
/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl-generic.c50 static int pinctrl_group_name_to_selector(struct udevice *dev, in pinctrl_group_name_to_selector()
82 static int pinmux_func_name_to_selector(struct udevice *dev, in pinmux_func_name_to_selector()
116 static int pinmux_enable_setting(struct udevice *dev, bool is_group, in pinmux_enable_setting()
137 static int pinmux_func_name_to_selector(struct udevice *dev, in pinmux_func_name_to_selector()
143 static int pinmux_enable_setting(struct udevice *dev, bool is_group, in pinmux_enable_setting()
159 static int pinconf_prop_name_to_param(struct udevice *dev, in pinconf_prop_name_to_param()
194 static int pinconf_enable_setting(struct udevice *dev, bool is_group, in pinconf_enable_setting()
217 static int pinconf_prop_name_to_param(struct udevice *dev, in pinconf_prop_name_to_param()
223 static int pinconf_enable_setting(struct udevice *dev, bool is_group, in pinconf_enable_setting()
242 static int pinctrl_generic_set_state_one(struct udevice *dev, in pinctrl_generic_set_state_one()
[all …]
/openbmc/u-boot/test/dm/
H A Dvideo.c30 struct udevice *dev; in dm_test_video_base() local
90 struct udevice *dev; in select_vidconsole() local
111 struct udevice *dev, *con; in dm_test_video_text() local
146 struct udevice *dev, *con; in dm_test_video_chars() local
164 struct udevice *dev, *con; in dm_test_video_ansi() local
205 struct udevice *dev, *con; in check_vidconsole_output() local
300 struct udevice *dev; in dm_test_video_bmp() local
316 struct udevice *dev; in dm_test_video_bmp_comp() local
332 struct udevice *dev, *con; in dm_test_video_truetype() local
348 struct udevice *dev, *con; in dm_test_video_truetype_scroll() local
[all …]
/openbmc/linux/drivers/misc/genwqe/
H A Dcard_sysfs.c39 static ssize_t status_show(struct device *dev, struct device_attribute *attr, in status_show()
49 static ssize_t appid_show(struct device *dev, struct device_attribute *attr, in appid_show()
73 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
96 static ssize_t freerunning_timer_show(struct device *dev, in freerunning_timer_show()
108 static ssize_t queue_working_time_show(struct device *dev, in queue_working_time_show()
120 static ssize_t base_clock_show(struct device *dev, in base_clock_show()
148 static ssize_t curr_bitstream_show(struct device *dev, in curr_bitstream_show()
164 static ssize_t next_bitstream_show(struct device *dev, in next_bitstream_show()
184 static ssize_t next_bitstream_store(struct device *dev, in next_bitstream_store()
210 static ssize_t reload_bitstream_store(struct device *dev, in reload_bitstream_store()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Drl.c38 int mlx5_create_scheduling_element_cmd(struct mlx5_core_dev *dev, u8 hierarchy, in mlx5_create_scheduling_element_cmd()
63 int mlx5_modify_scheduling_element_cmd(struct mlx5_core_dev *dev, u8 hierarchy, in mlx5_modify_scheduling_element_cmd()
85 int mlx5_destroy_scheduling_element_cmd(struct mlx5_core_dev *dev, u8 hierarchy, in mlx5_destroy_scheduling_element_cmd()
144 static int mlx5_set_pp_rate_limit_cmd(struct mlx5_core_dev *dev, in mlx5_set_pp_rate_limit_cmd()
160 bool mlx5_rl_is_in_range(struct mlx5_core_dev *dev, u32 rate) in mlx5_rl_is_in_range()
233 mlx5_rl_entry_put(struct mlx5_core_dev *dev, struct mlx5_rl_entry *entry) in mlx5_rl_entry_put()
240 int mlx5_rl_add_rate_raw(struct mlx5_core_dev *dev, void *rl_in, u16 uid, in mlx5_rl_add_rate_raw()
302 void mlx5_rl_remove_rate_raw(struct mlx5_core_dev *dev, u16 index) in mlx5_rl_remove_rate_raw()
315 int mlx5_rl_add_rate(struct mlx5_core_dev *dev, u16 *index, in mlx5_rl_add_rate()
365 int mlx5_init_rl_table(struct mlx5_core_dev *dev) in mlx5_init_rl_table()
[all …]
/openbmc/linux/drivers/pci/
H A Dsetup-res.c25 static void pci_std_update_resource(struct pci_dev *dev, int resno) in pci_std_update_resource()
125 void pci_update_resource(struct pci_dev *dev, int resno) in pci_update_resource()
135 int pci_claim_resource(struct pci_dev *dev, int resource) in pci_claim_resource()
174 void pci_disable_bridge_window(struct pci_dev *dev) in pci_disable_bridge_window()
199 static int pci_revert_fw_address(struct resource *res, struct pci_dev *dev, in pci_revert_fw_address()
261 static int __pci_assign_resource(struct pci_bus *bus, struct pci_dev *dev, in __pci_assign_resource()
309 static int _pci_assign_resource(struct pci_dev *dev, int resno, in _pci_assign_resource()
325 int pci_assign_resource(struct pci_dev *dev, int resno) in pci_assign_resource()
409 void pci_release_resource(struct pci_dev *dev, int resno) in pci_release_resource()
425 int pci_resize_resource(struct pci_dev *dev, int resno, int size) in pci_resize_resource()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c219 static u32 mlx4_en_get_msglevel(struct net_device *dev) in mlx4_en_get_msglevel()
443 static void mlx4_en_self_test(struct net_device *dev, in mlx4_en_self_test()
449 static void mlx4_en_get_strings(struct net_device *dev, in mlx4_en_get_strings()
546 static u32 mlx4_en_autoneg_get(struct net_device *dev) in mlx4_en_autoneg_get()
746 ethtool_get_ptys_link_ksettings(struct net_device *dev, in ethtool_get_ptys_link_ksettings()
869 mlx4_en_get_link_ksettings(struct net_device *dev, in mlx4_en_get_link_ksettings()
917 mlx4_en_set_link_ksettings(struct net_device *dev, in mlx4_en_set_link_ksettings()
1687 static int mlx4_en_flow_detach(struct net_device *dev, in mlx4_en_flow_detach()
1905 static int mlx4_en_get_ts_info(struct net_device *dev, in mlx4_en_get_ts_info()
1999 static int mlx4_en_get_tunable(struct net_device *dev, in mlx4_en_get_tunable()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_sysfs.c271 show_shost_active_mode(struct device *dev, in show_shost_active_mode()
321 show_shost_eh_deadline(struct device *dev, in show_shost_eh_deadline()
930 struct device *dev = kobj_to_dev(kobj); in show_inquiry() local
1158 sdev_show_access_state(struct device *dev, in sdev_show_access_state()
1178 sdev_show_preferred_path(struct device *dev, in sdev_show_preferred_path()
1196 sdev_show_queue_ramp_up_period(struct device *dev, in sdev_show_queue_ramp_up_period()
1255 struct device *dev = kobj_to_dev(kobj); in scsi_sdev_attr_is_visible() local
1273 struct device *dev = kobj_to_dev(kobj); in scsi_sdev_bin_attr_is_visible() local
1452 struct device *dev = &sdev->sdev_gendev; in __scsi_remove_device() local
1573 void scsi_remove_target(struct device *dev) in scsi_remove_target()
[all …]
/openbmc/linux/arch/x86/pci/
H A Dirq.c349 static int pirq_finali_get(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_get()
1269 struct pci_dev *dev) in pirq_try_router()
1292 struct pci_dev *dev; in pirq_find_router() local
1344 static struct irq_info *pirq_get_dev_info(struct pci_dev *dev) in pirq_get_dev_info()
1369 static struct irq_info *pirq_get_info(struct pci_dev *dev, u8 *pin) in pirq_get_info()
1394 static int pcibios_lookup_irq(struct pci_dev *dev, int assign) in pcibios_lookup_irq()
1550 struct pci_dev *dev = NULL; in pcibios_fixup_irqs() local
1683 struct pci_dev *dev = NULL; in pcibios_irq_init() local
1719 static int pirq_enable_irq(struct pci_dev *dev) in pirq_enable_irq()
1790 bool mp_should_keep_irq(struct device *dev) in mp_should_keep_irq()
[all …]
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_expander.c34 static int smp_execute_task_sg(struct domain_device *dev, in smp_execute_task_sg()
330 struct domain_device *dev; in sas_ex_to_ata() local
434 static int sas_ex_general(struct domain_device *dev) in sas_ex_general()
515 static int sas_ex_manuf_info(struct domain_device *dev) in sas_ex_manuf_info()
623 struct domain_device *dev; in sas_dev_present_in_domain() local
642 struct domain_device *dev = sas_find_dev_by_rphy(rphy); in sas_smp_get_phy_events() local
1565 struct domain_device *dev; in sas_ex_level_discovery() local
1772 static int sas_find_bcast_dev(struct domain_device *dev, in sas_find_bcast_dev()
2074 struct domain_device *dev = NULL; in sas_ex_revalidate_domain() local
2094 struct domain_device *dev) in sas_find_attached_phy_id()
[all …]
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_bitmap.c20 static inline u8 *yaffs_block_bits(struct yaffs_dev *dev, int blk) in yaffs_block_bits()
32 void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk) in yaffs_verify_chunk_bit_id()
43 void yaffs_clear_chunk_bits(struct yaffs_dev *dev, int blk) in yaffs_clear_chunk_bits()
50 void yaffs_clear_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_clear_chunk_bit()
58 void yaffs_set_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_set_chunk_bit()
66 int yaffs_check_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_check_chunk_bit()
74 int yaffs_still_some_chunks(struct yaffs_dev *dev, int blk) in yaffs_still_some_chunks()
87 int yaffs_count_chunk_bits(struct yaffs_dev *dev, int blk) in yaffs_count_chunk_bits()
/openbmc/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_hw.c74 void cedrus_engine_disable(struct cedrus_dev *dev) in cedrus_engine_disable()
79 void cedrus_dst_format_set(struct cedrus_dev *dev, in cedrus_dst_format_set()
116 struct cedrus_dev *dev = data; in cedrus_irq() local
155 struct cedrus_dev *dev; in cedrus_watchdog() local
173 struct cedrus_dev *dev = dev_get_drvdata(device); in cedrus_hw_suspend() local
186 struct cedrus_dev *dev = dev_get_drvdata(device); in cedrus_hw_resume() local
229 int cedrus_hw_probe(struct cedrus_dev *dev) in cedrus_hw_probe()
332 void cedrus_hw_remove(struct cedrus_dev *dev) in cedrus_hw_remove()
/openbmc/linux/drivers/nvdimm/
H A Dclaim.c14 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns) in __nd_detach_ndns()
30 void nd_detach_ndns(struct device *dev, in nd_detach_ndns()
44 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, in __nd_attach_ndns()
59 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, in nd_attach_ndns()
70 static int namespace_match(struct device *dev, void *data) in namespace_match()
77 static bool is_idle(struct device *dev, struct nd_namespace_common *ndns) in is_idle()
94 struct nd_pfn *to_nd_pfn_safe(struct device *dev) in to_nd_pfn_safe()
113 static void nd_detach_and_reset(struct device *dev, in nd_detach_and_reset()
135 ssize_t nd_namespace_store(struct device *dev, in nd_namespace_store()
304 int devm_nsio_enable(struct device *dev, struct nd_namespace_io *nsio, in devm_nsio_enable()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dpci.c33 static int mt7921e_init_reset(struct mt792x_dev *dev) in mt7921e_init_reset()
38 static void mt7921e_unregister_device(struct mt792x_dev *dev) in mt7921e_unregister_device()
60 static u32 __mt7921_reg_addr(struct mt792x_dev *dev, u32 addr) in __mt7921_reg_addr()
139 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_rr() local
147 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_wr() local
155 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_rmw() local
161 static int mt7921_dma_init(struct mt792x_dev *dev) in mt7921_dma_init()
269 struct mt792x_dev *dev; in mt7921_pci_probe() local
387 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_pci_remove() local
400 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_pci_suspend() local
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dleds.c21 static void b43_led_turn_on(struct b43_wldev *dev, u8 led_index, in b43_led_turn_on()
34 static void b43_led_turn_off(struct b43_wldev *dev, u8 led_index, in b43_led_turn_off()
47 static void b43_led_update(struct b43_wldev *dev, in b43_led_update()
79 struct b43_wldev *dev; in b43_leds_work() local
108 static int b43_register_led(struct b43_wldev *dev, struct b43_led *led, in b43_register_led()
146 static void b43_map_led(struct b43_wldev *dev, in b43_map_led()
200 static void b43_led_get_sprominfo(struct b43_wldev *dev, in b43_led_get_sprominfo()
249 void b43_leds_init(struct b43_wldev *dev) in b43_leds_init()
309 void b43_leds_exit(struct b43_wldev *dev) in b43_leds_exit()
319 void b43_leds_stop(struct b43_wldev *dev) in b43_leds_stop()
[all …]

1...<<21222324252627282930>>...634