Home
last modified time | relevance | path

Searched defs:dev (Results 576 – 600 of 15975) sorted by relevance

1...<<21222324252627282930>>...639

/openbmc/u-boot/common/
H A Dusb_hub.c49 struct usb_device *dev; /* USB hub device to scan */ member
76 static int usb_set_hub_depth(struct usb_device *dev, int depth) in usb_set_hub_depth()
113 static int usb_get_hub_status(struct usb_device *dev, void *data) in usb_get_hub_status()
162 struct usb_device *dev; in usb_hub_power_on() local
268 static int usb_hub_port_reset(struct usb_device *dev, int port, in usb_hub_port_reset()
342 int usb_hub_port_connect_change(struct usb_device *dev, int port) in usb_hub_port_connect_change()
435 struct usb_device *dev; in usb_scan_port() local
617 static int usb_hub_configure(struct usb_device *dev) in usb_hub_configure()
882 static int usb_hub_check(struct usb_device *dev, int ifnum) in usb_hub_check()
922 int usb_hub_probe(struct usb_device *dev, int ifnum) in usb_hub_probe()
[all …]
/openbmc/linux/drivers/nfc/st-nci/
H A Dvendor_cmds.c39 static int st_nci_factory_mode(struct nfc_dev *dev, void *data, in st_nci_factory_mode()
64 static int st_nci_hci_clear_all_pipes(struct nfc_dev *dev, void *data, in st_nci_hci_clear_all_pipes()
72 static int st_nci_hci_dm_put_data(struct nfc_dev *dev, void *data, in st_nci_hci_dm_put_data()
82 static int st_nci_hci_dm_update_aid(struct nfc_dev *dev, void *data, in st_nci_hci_dm_update_aid()
91 static int st_nci_hci_dm_get_info(struct nfc_dev *dev, void *data, in st_nci_hci_dm_get_info()
123 static int st_nci_hci_dm_get_data(struct nfc_dev *dev, void *data, in st_nci_hci_dm_get_data()
155 static int st_nci_hci_dm_fwupd_start(struct nfc_dev *dev, void *data, in st_nci_hci_dm_fwupd_start()
170 static int st_nci_hci_dm_fwupd_end(struct nfc_dev *dev, void *data, in st_nci_hci_dm_fwupd_end()
192 static int st_nci_hci_dm_reset(struct nfc_dev *dev, void *data, in st_nci_hci_dm_reset()
204 static int st_nci_hci_get_param(struct nfc_dev *dev, void *data, in st_nci_hci_get_param()
[all …]
/openbmc/linux/drivers/video/backlight/
H A Dadp5520_bl.c169 static ssize_t adp5520_bl_dark_max_show(struct device *dev, in adp5520_bl_dark_max_show()
175 static ssize_t adp5520_bl_dark_max_store(struct device *dev, in adp5520_bl_dark_max_store()
184 static ssize_t adp5520_bl_office_max_show(struct device *dev, in adp5520_bl_office_max_show()
190 static ssize_t adp5520_bl_office_max_store(struct device *dev, in adp5520_bl_office_max_store()
199 static ssize_t adp5520_bl_daylight_max_show(struct device *dev, in adp5520_bl_daylight_max_show()
221 static ssize_t adp5520_bl_dark_dim_show(struct device *dev, in adp5520_bl_dark_dim_show()
227 static ssize_t adp5520_bl_dark_dim_store(struct device *dev, in adp5520_bl_dark_dim_store()
236 static ssize_t adp5520_bl_office_dim_show(struct device *dev, in adp5520_bl_office_dim_show()
242 static ssize_t adp5520_bl_office_dim_store(struct device *dev, in adp5520_bl_office_dim_store()
353 static int adp5520_bl_suspend(struct device *dev) in adp5520_bl_suspend()
[all …]
/openbmc/linux/drivers/net/appletalk/
H A Dcops.c202 static void cleanup_card(struct net_device *dev) in cleanup_card()
217 struct net_device *dev; in cops_probe() local
418 static int cops_open(struct net_device *dev) in cops_open()
451 static int cops_jumpstart(struct net_device *dev) in cops_jumpstart()
512 static void cops_load (struct net_device *dev) in cops_load()
682 struct net_device *dev = cops_timer_dev; in cops_poll() local
710 struct net_device *dev = dev_id; in cops_interrupt() local
746 static void cops_rx(struct net_device *dev) in cops_rx()
872 struct net_device *dev) in cops_send_packet()
920 static void set_multicast_list(struct net_device *dev) in set_multicast_list()
[all …]
/openbmc/linux/drivers/xen/
H A Dgrant-dma-ops.c43 static struct xen_grant_dma_data *find_xen_grant_dma_data(struct device *dev) in find_xen_grant_dma_data()
55 static int store_xen_grant_dma_data(struct device *dev, in store_xen_grant_dma_data()
78 static void *xen_grant_dma_alloc(struct device *dev, size_t size, in xen_grant_dma_alloc()
116 static void xen_grant_dma_free(struct device *dev, size_t size, void *vaddr, in xen_grant_dma_free()
159 static void xen_grant_dma_free_pages(struct device *dev, size_t size, in xen_grant_dma_free_pages()
249 static int xen_grant_dma_map_sg(struct device *dev, struct scatterlist *sg, in xen_grant_dma_map_sg()
277 static int xen_grant_dma_supported(struct device *dev, u64 mask) in xen_grant_dma_supported()
296 static struct device_node *xen_dt_get_node(struct device *dev) in xen_dt_get_node()
314 static int xen_dt_grant_init_backend_domid(struct device *dev, in xen_dt_grant_init_backend_domid()
355 static int xen_grant_init_backend_domid(struct device *dev, in xen_grant_init_backend_domid()
[all …]
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dbacklight.c20 void gma_backlight_enable(struct drm_device *dev) in gma_backlight_enable()
28 void gma_backlight_disable(struct drm_device *dev) in gma_backlight_disable()
36 void gma_backlight_set(struct drm_device *dev, int v) in gma_backlight_set()
47 struct drm_device *dev = bl_get_data(bd); in gma_backlight_get_brightness() local
58 struct drm_device *dev = bl_get_data(bd); in gma_backlight_update_status() local
74 int gma_backlight_init(struct drm_device *dev) in gma_backlight_init()
109 void gma_backlight_exit(struct drm_device *dev) in gma_backlight_exit()
H A Dpsb_device.c18 static int psb_output_init(struct drm_device *dev) in psb_output_init()
41 static int psb_backlight_setup(struct drm_device *dev) in psb_backlight_setup()
85 static void psb_init_pm(struct drm_device *dev) in psb_init_pm()
103 static int psb_save_display_registers(struct drm_device *dev) in psb_save_display_registers()
147 static int psb_restore_display_registers(struct drm_device *dev) in psb_restore_display_registers()
186 static int psb_power_down(struct drm_device *dev) in psb_power_down()
191 static int psb_power_up(struct drm_device *dev) in psb_power_up()
248 static int psb_chip_setup(struct drm_device *dev) in psb_chip_setup()
259 static void psb_chip_teardown(struct drm_device *dev) in psb_chip_teardown()
/openbmc/u-boot/drivers/usb/gadget/
H A Ddwc2_udc_otg_xfer_dma.c27 static inline void dwc2_udc_ep0_zlp(struct dwc2_udc *dev) in dwc2_udc_ep0_zlp()
469 struct dwc2_udc *dev = _dev; in dwc2_udc_irq() local
590 struct dwc2_udc *dev; in dwc2_queue() local
759 struct dwc2_udc *dev; in dwc2_udc_ep0_set_stall() local
785 static void dwc2_ep0_read(struct dwc2_udc *dev) in dwc2_ep0_read()
822 static int dwc2_ep0_write(struct dwc2_udc *dev) in dwc2_ep0_write()
1038 struct dwc2_udc *dev; in dwc2_udc_set_halt() local
1131 struct dwc2_udc *dev; in dwc2_udc_clear_feature() local
1195 struct dwc2_udc *dev; in dwc2_udc_set_feature() local
1268 static void dwc2_ep0_setup(struct dwc2_udc *dev) in dwc2_ep0_setup()
[all …]
/openbmc/linux/drivers/media/pci/cx25821/
H A Dcx25821-core.c417 int cx25821_sram_channel_setup(struct cx25821_dev *dev, in cx25821_sram_channel_setup()
721 static void cx25821_shutdown(struct cx25821_dev *dev) in cx25821_shutdown()
761 static void cx25821_set_vip_mode(struct cx25821_dev *dev, in cx25821_set_vip_mode()
768 static void cx25821_initialize(struct cx25821_dev *dev) in cx25821_initialize()
831 static void cx25821_iounmap(struct cx25821_dev *dev) in cx25821_iounmap()
843 static int cx25821_dev_setup(struct cx25821_dev *dev) in cx25821_dev_setup()
939 void cx25821_dev_unregister(struct cx25821_dev *dev) in cx25821_dev_unregister()
1205 struct cx25821_dev *dev = dev_id; in cx25821_irq() local
1257 struct cx25821_dev *dev = pci_get_drvdata(pci); in cx25821_dev_get() local
1265 struct cx25821_dev *dev; in cx25821_initdev() local
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_util.c208 struct mt76x02_dev *dev = hw->priv; in mt76x02_configure_filter() local
301 struct mt76x02_dev *dev = hw->priv; in mt76x02_add_interface() local
344 struct mt76x02_dev *dev = hw->priv; in mt76x02_remove_interface() local
358 struct mt76x02_dev *dev = hw->priv; in mt76x02_ampdu_action() local
411 struct mt76x02_dev *dev = hw->priv; in mt76x02_set_key() local
492 struct mt76x02_dev *dev = hw->priv; in mt76x02_conf_tx() local
554 struct mt76x02_dev *dev = hw->priv; in mt76x02_set_coverage_class() local
565 struct mt76x02_dev *dev = hw->priv; in mt76x02_set_rts_threshold() local
582 struct mt76x02_dev *dev = hw->priv; in mt76x02_sta_rate_tbl_update() local
612 struct mt76x02_dev *dev = hw->priv; in mt76x02_sw_scan_complete() local
[all …]
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-meta-cap.c20 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_cap_queue_setup() local
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_prepare() local
68 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_queue() local
80 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_cap_start_streaming() local
108 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_cap_stop_streaming() local
116 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_request_complete() local
135 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_fmt_meta_cap() local
151 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_meta_cap() local
162 void vivid_meta_cap_fillbuff(struct vivid_dev *dev, in vivid_meta_cap_fillbuff()
/openbmc/u-boot/drivers/mtd/
H A Dmw_eeprom.c20 static void mw_eeprom_select(int dev) in mw_eeprom_select()
29 static int mw_eeprom_size(int dev) in mw_eeprom_size()
50 int mw_eeprom_erase_enable(int dev) in mw_eeprom_erase_enable()
61 int mw_eeprom_erase_disable(int dev) in mw_eeprom_erase_disable()
73 u32 mw_eeprom_read_word(int dev, int addr) in mw_eeprom_read_word()
100 int mw_eeprom_write_word(int dev, int addr, u16 data) in mw_eeprom_write_word()
151 int mw_eeprom_write(int dev, int addr, u8 *buffer, int len) in mw_eeprom_write()
192 int mw_eeprom_read(int dev, int addr, u8 *buffer, int len) in mw_eeprom_read()
228 int mw_eeprom_probe(int dev) in mw_eeprom_probe()
/openbmc/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea_ethtool.c20 static int ehea_get_link_ksettings(struct net_device *dev, in ehea_get_link_ksettings()
84 static int ehea_set_link_ksettings(struct net_device *dev, in ehea_set_link_ksettings()
144 static int ehea_nway_reset(struct net_device *dev) in ehea_nway_reset()
159 static void ehea_get_drvinfo(struct net_device *dev, in ehea_get_drvinfo()
166 static u32 ehea_get_msglevel(struct net_device *dev) in ehea_get_msglevel()
172 static void ehea_set_msglevel(struct net_device *dev, u32 value) in ehea_set_msglevel()
205 static void ehea_get_strings(struct net_device *dev, u32 stringset, u8 *data) in ehea_get_strings()
213 static int ehea_get_sset_count(struct net_device *dev, int sset) in ehea_get_sset_count()
223 static void ehea_get_ethtool_stats(struct net_device *dev, in ehea_get_ethtool_stats()
/openbmc/linux/drivers/comedi/drivers/
H A Daio_iiro_16.c45 static unsigned int aio_iiro_16_read_inputs(struct comedi_device *dev) in aio_iiro_16_read_inputs()
57 struct comedi_device *dev = d; in aio_iiro_16_cos() local
75 static void aio_iiro_enable_irq(struct comedi_device *dev, bool enable) in aio_iiro_enable_irq()
83 static int aio_iiro_16_cos_cancel(struct comedi_device *dev, in aio_iiro_16_cos_cancel()
91 static int aio_iiro_16_cos_cmd(struct comedi_device *dev, in aio_iiro_16_cos_cmd()
99 static int aio_iiro_16_cos_cmdtest(struct comedi_device *dev, in aio_iiro_16_cos_cmdtest()
138 static int aio_iiro_16_do_insn_bits(struct comedi_device *dev, in aio_iiro_16_do_insn_bits()
154 static int aio_iiro_16_di_insn_bits(struct comedi_device *dev, in aio_iiro_16_di_insn_bits()
164 static int aio_iiro_16_attach(struct comedi_device *dev, in aio_iiro_16_attach()
H A Dcomedi_test.c87 struct comedi_device *dev; /* parent comedi device */ member
201 struct comedi_device *dev = devpriv->dev; in waveform_ai_timer() local
253 static int waveform_ai_cmdtest(struct comedi_device *dev, in waveform_ai_cmdtest()
354 static int waveform_ai_cmd(struct comedi_device *dev, in waveform_ai_cmd()
411 static int waveform_ai_cancel(struct comedi_device *dev, in waveform_ai_cancel()
448 struct comedi_device *dev = devpriv->dev; in waveform_ao_timer() local
546 static int waveform_ao_cmdtest(struct comedi_device *dev, in waveform_ao_cmdtest()
603 static int waveform_ao_cmd(struct comedi_device *dev, in waveform_ao_cmd()
620 static int waveform_ao_cancel(struct comedi_device *dev, in waveform_ao_cancel()
759 static int waveform_attach(struct comedi_device *dev, in waveform_attach()
[all …]
H A Ddaqboard2000.c317 static int db2k_ai_insn_read(struct comedi_device *dev, in db2k_ai_insn_read()
394 static int db2k_ao_insn_write(struct comedi_device *dev, in db2k_ao_insn_write()
417 static void db2k_reset_local_bus(struct comedi_device *dev) in db2k_reset_local_bus()
431 static void db2k_reload_plx(struct comedi_device *dev) in db2k_reload_plx()
448 static void db2k_pulse_prog_pin(struct comedi_device *dev) in db2k_pulse_prog_pin()
462 static int db2k_wait_cpld_init(struct comedi_device *dev) in db2k_wait_cpld_init()
597 static void db2k_adc_disarm(struct comedi_device *dev) in db2k_adc_disarm()
647 static void db2k_initialize_ctrs(struct comedi_device *dev) in db2k_initialize_ctrs()
655 static void db2k_dac_disarm(struct comedi_device *dev) in db2k_dac_disarm()
659 static void db2k_initialize_adc(struct comedi_device *dev) in db2k_initialize_adc()
[all …]
/openbmc/linux/include/linux/
H A Dof_irq.h67 static inline int of_irq_count(struct device_node *dev) in of_irq_count()
71 static inline int of_irq_get(struct device_node *dev, int index) in of_irq_get()
75 static inline int of_irq_get_byname(struct device_node *dev, const char *name) in of_irq_get_byname()
79 static inline int of_irq_to_resource_table(struct device_node *dev, in of_irq_to_resource_table()
89 static inline struct irq_domain *of_msi_get_domain(struct device *dev, in of_msi_get_domain()
95 static inline struct irq_domain *of_msi_map_get_device_domain(struct device *dev, in of_msi_map_get_device_domain()
100 static inline void of_msi_configure(struct device *dev, struct device_node *np) in of_msi_configure()
103 static inline u32 of_msi_map_id(struct device *dev, in of_msi_map_id()
119 static inline unsigned int irq_of_parse_and_map(struct device_node *dev, in irq_of_parse_and_map()
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_ioctl.c92 static int prism2_get_name(struct net_device *dev, in prism2_get_name()
114 static int prism2_ioctl_siwencode(struct net_device *dev, in prism2_ioctl_siwencode()
280 static int hostap_set_rate(struct net_device *dev) in hostap_set_rate()
534 static int prism2_ioctl_siwrts(struct net_device *dev, in prism2_ioctl_siwrts()
562 static int prism2_ioctl_giwrts(struct net_device *dev, in prism2_ioctl_giwrts()
639 static int hostap_join_ap(struct net_device *dev) in hostap_join_ap()
681 static int prism2_ioctl_siwap(struct net_device *dev, in prism2_ioctl_siwap()
722 static int prism2_ioctl_giwap(struct net_device *dev, in prism2_ioctl_giwap()
876 struct net_device *dev = local->ddev; in hostap_monitor_set_type() local
1090 struct net_device *dev = local->dev; in hostap_monitor_mode_enable() local
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.c387 void mthca_cmd_event(struct mthca_dev *dev, in mthca_cmd_event()
522 int mthca_cmd_init(struct mthca_dev *dev) in mthca_cmd_init()
636 int mthca_SYS_EN(struct mthca_dev *dev) in mthca_SYS_EN()
652 int mthca_SYS_DIS(struct mthca_dev *dev) in mthca_SYS_DIS()
741 int mthca_UNMAP_FA(struct mthca_dev *dev) in mthca_UNMAP_FA()
746 int mthca_RUN_FW(struct mthca_dev *dev) in mthca_RUN_FW()
777 int mthca_QUERY_FW(struct mthca_dev *dev) in mthca_QUERY_FW()
1311 int mthca_INIT_HCA(struct mthca_dev *dev, in mthca_INIT_HCA()
1436 int mthca_INIT_IB(struct mthca_dev *dev, in mthca_INIT_IB()
1624 int mthca_SYNC_TPT(struct mthca_dev *dev) in mthca_SYNC_TPT()
[all …]
/openbmc/linux/sound/soc/
H A Dsoc-devres.c12 static void devm_dai_release(struct device *dev, void *res) in devm_dai_release()
25 struct snd_soc_dai *devm_snd_soc_register_dai(struct device *dev, in devm_snd_soc_register_dai()
49 static void devm_component_release(struct device *dev, void *res) in devm_component_release()
66 int devm_snd_soc_register_component(struct device *dev, in devm_snd_soc_register_component()
89 static void devm_card_release(struct device *dev, void *res) in devm_card_release()
102 int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card) in devm_snd_soc_register_card()
125 static void devm_dmaengine_pcm_release(struct device *dev, void *res) in devm_dmaengine_pcm_release()
139 int devm_snd_dmaengine_pcm_register(struct device *dev, in devm_snd_dmaengine_pcm_register()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Deeprom.c8 mt7603_efuse_read(struct mt7603_dev *dev, u32 base, u16 addr, u8 *data) in mt7603_efuse_read()
41 mt7603_efuse_init(struct mt7603_dev *dev) in mt7603_efuse_init()
67 mt7603_has_cal_free_data(struct mt7603_dev *dev, u8 *efuse) in mt7603_has_cal_free_data()
91 mt7603_apply_cal_free_data(struct mt7603_dev *dev, u8 *efuse) in mt7603_apply_cal_free_data()
126 mt7603_eeprom_load(struct mt7603_dev *dev) in mt7603_eeprom_load()
137 static int mt7603_check_eeprom(struct mt76_dev *dev) in mt7603_check_eeprom()
151 static inline bool is_mt7688(struct mt7603_dev *dev) in is_mt7688()
156 int mt7603_eeprom_init(struct mt7603_dev *dev) in mt7603_eeprom_init()
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_srab.c80 struct b53_device *dev; member
91 static int b53_srab_request_grant(struct b53_device *dev) in b53_srab_request_grant()
114 static void b53_srab_release_grant(struct b53_device *dev) in b53_srab_release_grant()
374 struct b53_device *dev = port->dev; in b53_srab_port_thread() local
385 struct b53_device *dev = port->dev; in b53_srab_port_isr() local
414 static int b53_srab_irq_enable(struct b53_device *dev, int port) in b53_srab_irq_enable()
536 struct b53_device *dev = platform_get_drvdata(pdev); in b53_srab_prepare_irq() local
567 struct b53_device *dev = platform_get_drvdata(pdev); in b53_srab_mux_init() local
624 struct b53_device *dev; in b53_srab_probe() local
662 struct b53_device *dev = platform_get_drvdata(pdev); in b53_srab_remove() local
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_bufs.c597 void drm_legacy_rmmaps(struct drm_device *dev) in drm_legacy_rmmaps()
670 static void drm_cleanup_buf_error(struct drm_device *dev, in drm_cleanup_buf_error()
714 int drm_legacy_addbufs_agp(struct drm_device *dev, in drm_legacy_addbufs_agp()
878 int drm_legacy_addbufs_pci(struct drm_device *dev, in drm_legacy_addbufs_pci()
1100 static int drm_legacy_addbufs_sg(struct drm_device *dev, in drm_legacy_addbufs_sg()
1269 int drm_legacy_addbufs(struct drm_device *dev, void *data, in drm_legacy_addbufs()
1313 int __drm_legacy_infobufs(struct drm_device *dev, in __drm_legacy_infobufs()
1381 int drm_legacy_infobufs(struct drm_device *dev, void *data, in drm_legacy_infobufs()
1403 int drm_legacy_markbufs(struct drm_device *dev, void *data, in drm_legacy_markbufs()
1450 int drm_legacy_freebufs(struct drm_device *dev, void *data, in drm_legacy_freebufs()
[all …]
/openbmc/phosphor-ipmi-flash/tools/test/
H A Dtools_pci_unittest.cpp221 struct pci_device dev; in TEST_P() local
241 struct pci_device dev; in TEST_P() local
267 struct pci_device dev; in TEST_P() local
330 struct pci_device dev; in TEST_P() local
347 struct pci_device dev; in TEST() local
360 struct pci_device dev; in TEST() local
378 struct pci_device dev; in TEST() local
394 struct pci_device dev; in TEST() local
407 struct pci_device dev; in TEST() local
441 struct pci_device dev; in TEST() local
[all …]
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c549 struct net_device *dev; member
804 struct net_device *dev; in natsemi_probe1() local
1341 static int find_mii(struct net_device *dev) in find_mii()
1461 static void reset_rx(struct net_device *dev) in reset_rx()
1790 struct net_device *dev = np->dev; in netdev_timer() local
1858 static void dump_ring(struct net_device *dev) in dump_ring()
2006 static void drain_tx(struct net_device *dev) in drain_tx()
2022 static void drain_rx(struct net_device *dev) in drain_rx()
2185 struct net_device *dev = dev_instance; in intr_handler() local
2227 struct net_device *dev = np->dev; in natsemi_poll() local
[all …]

1...<<21222324252627282930>>...639