Home
last modified time | relevance | path

Searched defs:edev (Results 1 – 59 of 59) sorted by relevance

/linux-4.1.27/drivers/firmware/
Dedd.c83 edd_has_mbr_signature(struct edd_device *edev) in edd_has_mbr_signature()
89 edd_has_edd_info(struct edd_device *edev) in edd_has_edd_info()
95 edd_dev_get_info(struct edd_device *edev) in edd_dev_get_info()
101 edd_dev_set_info(struct edd_device *edev, int i) in edd_dev_set_info()
130 edd_show_host_bus(struct edd_device *edev, char *buf) in edd_show_host_bus()
176 edd_show_interface(struct edd_device *edev, char *buf) in edd_show_interface()
242 edd_show_raw_data(struct edd_device *edev, char *buf) in edd_show_raw_data()
264 edd_show_version(struct edd_device *edev, char *buf) in edd_show_version()
279 edd_show_mbr_signature(struct edd_device *edev, char *buf) in edd_show_mbr_signature()
287 edd_show_extensions(struct edd_device *edev, char *buf) in edd_show_extensions()
[all …]
/linux-4.1.27/drivers/devfreq/
Ddevfreq-event.c40 int devfreq_event_enable_edev(struct devfreq_event_dev *edev) in devfreq_event_enable_edev()
72 int devfreq_event_disable_edev(struct devfreq_event_dev *edev) in devfreq_event_disable_edev()
109 bool devfreq_event_is_enabled(struct devfreq_event_dev *edev) in devfreq_event_is_enabled()
134 int devfreq_event_set_event(struct devfreq_event_dev *edev) in devfreq_event_set_event()
163 int devfreq_event_get_event(struct devfreq_event_dev *edev, in devfreq_event_get_event()
196 int devfreq_event_reset_event(struct devfreq_event_dev *edev) in devfreq_event_reset_event()
227 struct devfreq_event_dev *edev; in devfreq_event_get_edev_by_phandle() local
293 struct devfreq_event_dev *edev = to_devfreq_event(dev); in devfreq_event_release_edev() local
310 struct devfreq_event_dev *edev; in devfreq_event_add_edev() local
358 int devfreq_event_remove_edev(struct devfreq_event_dev *edev) in devfreq_event_remove_edev()
[all …]
/linux-4.1.27/drivers/extcon/
Dextcon.c85 static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state) in check_mutually_exclusive()
109 struct extcon_dev *edev = dev_get_drvdata(dev); in state_show() local
138 struct extcon_dev *edev = dev_get_drvdata(dev); in state_store() local
156 struct extcon_dev *edev = dev_get_drvdata(dev); in name_show() local
206 int extcon_update_state(struct extcon_dev *edev, u32 mask, u32 state) in extcon_update_state()
280 int extcon_set_state(struct extcon_dev *edev, u32 state) in extcon_set_state()
296 int extcon_find_cable_index(struct extcon_dev *edev, const char *cable_name) in extcon_find_cable_index()
317 int extcon_get_cable_state_(struct extcon_dev *edev, int index) in extcon_get_cable_state_()
333 int extcon_get_cable_state(struct extcon_dev *edev, const char *cable_name) in extcon_get_cable_state()
348 int extcon_set_cable_state_(struct extcon_dev *edev, in extcon_set_cable_state_()
[all …]
Dextcon-gpio.c35 struct extcon_dev *edev; member
68 static ssize_t extcon_gpio_print_state(struct extcon_dev *edev, char *buf) in extcon_gpio_print_state()
Dextcon-adc-jack.c42 struct extcon_dev *edev; member
Dextcon-usb-gpio.c32 struct extcon_dev *edev; member
Dextcon-max14577.c82 struct extcon_dev *edev; member
Dextcon-sm5502.c42 struct extcon_dev *edev; member
Dextcon-rt8973a.c44 struct extcon_dev *edev; member
Dextcon-max77843.c36 struct extcon_dev *edev; member
Dextcon-max8997.c120 struct extcon_dev *edev; member
Dextcon-arizona.c99 struct extcon_dev *edev; member
Dextcon-max77693.c77 struct extcon_dev *edev; member
/linux-4.1.27/include/linux/
Dextcon.h151 struct extcon_dev *edev; member
176 struct extcon_dev *edev; member
209 static inline u32 extcon_get_state(struct extcon_dev *edev) in extcon_get_state()
263 static inline int extcon_dev_register(struct extcon_dev *edev) in extcon_dev_register()
268 static inline void extcon_dev_unregister(struct extcon_dev *edev) { } in extcon_dev_unregister()
271 struct extcon_dev *edev) in devm_extcon_dev_register()
277 struct extcon_dev *edev) { } in devm_extcon_dev_unregister()
284 static inline void extcon_dev_free(struct extcon_dev *edev) { } in extcon_dev_free()
292 static inline void devm_extcon_dev_free(struct extcon_dev *edev) { } in devm_extcon_dev_free()
294 static inline u32 extcon_get_state(struct extcon_dev *edev) in extcon_get_state()
[all …]
Ddevfreq-event.h115 static inline void *devfreq_event_get_drvdata(struct devfreq_event_dev *edev) in devfreq_event_get_drvdata()
120 static inline int devfreq_event_enable_edev(struct devfreq_event_dev *edev) in devfreq_event_enable_edev()
125 static inline int devfreq_event_disable_edev(struct devfreq_event_dev *edev) in devfreq_event_disable_edev()
130 static inline bool devfreq_event_is_enabled(struct devfreq_event_dev *edev) in devfreq_event_is_enabled()
135 static inline int devfreq_event_set_event(struct devfreq_event_dev *edev) in devfreq_event_set_event()
140 static inline int devfreq_event_get_event(struct devfreq_event_dev *edev, in devfreq_event_get_event()
146 static inline int devfreq_event_reset_event(struct devfreq_event_dev *edev) in devfreq_event_reset_event()
151 static inline void *devfreq_event_get_drvdata(struct devfreq_event_dev *edev) in devfreq_event_get_drvdata()
173 static inline int devfreq_event_remove_edev(struct devfreq_event_dev *edev) in devfreq_event_remove_edev()
186 struct devfreq_event_dev *edev) in devm_devfreq_event_remove_edev()
[all …]
Deisa.h79 static inline void *eisa_get_drvdata (struct eisa_device *edev) in eisa_get_drvdata()
84 static inline void eisa_set_drvdata (struct eisa_device *edev, void *data) in eisa_set_drvdata()
Denclosure.h108 struct device edev; member
/linux-4.1.27/drivers/misc/
Denclosure.c57 struct enclosure_device *edev; in enclosure_find() local
99 struct enclosure_device *edev; in enclosure_for_each_device() local
127 struct enclosure_device *edev = in enclosure_register() local
174 void enclosure_unregister(struct enclosure_device *edev) in enclosure_unregister()
237 struct enclosure_device *edev = to_enclosure_device(cdev); in enclosure_release() local
255 enclosure_component_find_by_name(struct enclosure_device *edev, in enclosure_component_find_by_name()
292 enclosure_component_alloc(struct enclosure_device *edev, in enclosure_component_alloc()
374 int enclosure_add_device(struct enclosure_device *edev, int component, in enclosure_add_device()
404 int enclosure_remove_device(struct enclosure_device *edev, struct device *dev) in enclosure_remove_device()
433 struct enclosure_device *edev = to_enclosure_device(cdev); in components_show() local
[all …]
/linux-4.1.27/drivers/eisa/
Deisa-bus.c45 struct eisa_device *edev) in is_forced_dev()
58 static void __init eisa_name_device(struct eisa_device *edev) in eisa_name_device()
111 struct eisa_device *edev = to_eisa_device(dev); in eisa_bus_match() local
133 struct eisa_device *edev = to_eisa_device(dev); in eisa_bus_uevent() local
162 struct eisa_device *edev = to_eisa_device(dev); in eisa_show_sig() local
172 struct eisa_device *edev = to_eisa_device(dev); in eisa_show_state() local
182 struct eisa_device *edev = to_eisa_device(dev); in eisa_show_modalias() local
189 struct eisa_device *edev, in eisa_init_device()
232 static int __init eisa_register_device(struct eisa_device *edev) in eisa_register_device()
262 struct eisa_device *edev, in eisa_request_resources()
[all …]
/linux-4.1.27/arch/powerpc/kernel/
Deeh_pe.c202 struct eeh_dev *edev, *tmp; in eeh_pe_dev_traverse() local
236 struct eeh_dev *edev = (struct eeh_dev *)flag; in __eeh_pe_get() local
274 struct eeh_pe *eeh_pe_get(struct eeh_dev *edev) in eeh_pe_get()
292 static struct eeh_pe *eeh_pe_get_parent(struct eeh_dev *edev) in eeh_pe_get_parent()
327 int eeh_add_to_parent_pe(struct eeh_dev *edev) in eeh_add_to_parent_pe()
439 int eeh_rmv_from_parent_pe(struct eeh_dev *edev) in eeh_rmv_from_parent_pe()
540 struct eeh_dev *edev, *tmp; in __eeh_pe_state_mark() local
581 struct eeh_dev *edev = data; in __eeh_pe_dev_mode_mark() local
613 struct eeh_dev *edev, *tmp; in __eeh_pe_state_clear() local
671 static void eeh_bridge_check_link(struct eeh_dev *edev) in eeh_bridge_check_link()
[all …]
Deeh_driver.c98 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in eeh_disable_irq() local
123 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in eeh_enable_irq() local
152 static bool eeh_dev_removed(struct eeh_dev *edev) in eeh_dev_removed()
163 struct eeh_dev *edev = data; in eeh_dev_save_state() local
198 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_error() local
239 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_mmio_enabled() local
279 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_reset() local
312 struct eeh_dev *edev = data; in eeh_dev_restore_state() local
350 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_resume() local
387 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_report_failure() local
[all …]
Deeh.c165 static size_t eeh_dump_dev_log(struct eeh_dev *edev, char *buf, size_t len) in eeh_dump_dev_log()
270 struct eeh_dev *edev, *tmp; in eeh_dump_pe_log() local
433 int eeh_dev_check_failure(struct eeh_dev *edev) in eeh_dev_check_failure()
601 struct eeh_dev *edev; in eeh_check_failure() local
695 struct eeh_dev *edev = data; in eeh_disable_and_save_dev_state() local
723 struct eeh_dev *edev = data; in eeh_restore_dev_state() local
752 struct eeh_dev *edev = pci_dev_to_eeh_dev(dev); in pcibios_set_pcie_reset_state() local
805 struct eeh_dev *edev = (struct eeh_dev *)data; in eeh_set_dev_freset() local
897 void eeh_save_bars(struct eeh_dev *edev) in eeh_save_bars()
1074 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in eeh_add_device_early() local
[all …]
Deeh_sysfs.c61 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_show() local
77 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_store() local
96 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_add_device() local
118 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_sysfs_remove_device() local
Deeh_cache.c53 struct eeh_dev *edev; member
94 struct eeh_dev *edev; in eeh_addr_cache_get_dev() local
175 struct eeh_dev *edev; in __eeh_addr_cache_insert_dev() local
283 struct eeh_dev *edev; in eeh_addr_cache_build() local
Deeh_dev.c55 struct eeh_dev *edev; in eeh_dev_init() local
Dpci_of_scan.c311 struct eeh_dev *edev = pdn_to_eeh_dev(PCI_DN(dn)); in of_scan_pci_dev() local
/linux-4.1.27/drivers/scsi/
Dses.c122 static int ses_set_page2_descriptor(struct enclosure_device *edev, in ses_set_page2_descriptor()
153 static unsigned char *ses_get_page2_descriptor(struct enclosure_device *edev, in ses_get_page2_descriptor()
181 static void ses_get_fault(struct enclosure_device *edev, in ses_get_fault()
191 static int ses_set_fault(struct enclosure_device *edev, in ses_set_fault()
220 static void ses_get_status(struct enclosure_device *edev, in ses_get_status()
230 static void ses_get_locate(struct enclosure_device *edev, in ses_get_locate()
240 static int ses_set_locate(struct enclosure_device *edev, in ses_set_locate()
268 static int ses_set_active(struct enclosure_device *edev, in ses_set_active()
298 static int ses_show_id(struct enclosure_device *edev, char *buf) in ses_show_id()
306 static void ses_get_power_status(struct enclosure_device *edev, in ses_get_power_status()
[all …]
Daha1740.c73 struct eisa_device *edev; member
219 struct eisa_device *edev; in aha1740_intr_handle() local
558 struct eisa_device *edev = to_eisa_device (dev); in aha1740_probe() local
Dsim710.c182 struct eisa_device *edev = to_eisa_device(dev); in sim710_eisa_probe() local
Dscsi_transport_sas.c1438 struct sas_expander_device *edev = rphy_to_expander_device(rphy); in sas_expander_release() local
1450 struct sas_end_device *edev = rphy_to_end_device(rphy); in sas_end_device_release() local
Dadvansys.c12063 static unsigned int advansys_eisa_irq_no(struct eisa_device *edev) in advansys_eisa_irq_no()
12076 struct eisa_device *edev = to_eisa_device(dev); in advansys_eisa_probe() local
/linux-4.1.27/drivers/misc/eeprom/
Deeprom_93xx46.c41 struct eeprom_93xx46_dev *edev; in eeprom_93xx46_bin_read() local
104 static int eeprom_93xx46_ew(struct eeprom_93xx46_dev *edev, int is_on) in eeprom_93xx46_ew()
150 eeprom_93xx46_write_word(struct eeprom_93xx46_dev *edev, in eeprom_93xx46_write_word()
196 struct eeprom_93xx46_dev *edev; in eeprom_93xx46_bin_write() local
245 static int eeprom_93xx46_eral(struct eeprom_93xx46_dev *edev) in eeprom_93xx46_eral()
292 struct eeprom_93xx46_dev *edev = dev_get_drvdata(dev); in eeprom_93xx46_store_erase() local
314 struct eeprom_93xx46_dev *edev; in eeprom_93xx46_probe() local
374 struct eeprom_93xx46_dev *edev = spi_get_drvdata(spi); in eeprom_93xx46_remove() local
/linux-4.1.27/tools/usb/usbip/libsrc/
Dusbip_host_driver.c71 struct usbip_exported_device *edev = NULL; in usbip_exported_device_new() local
117 struct usbip_exported_device *edev; in refresh_exported_devices() local
156 struct usbip_exported_device *edev; in usbip_exported_device_destroy() local
224 int usbip_host_export_device(struct usbip_exported_device *edev, int sockfd) in usbip_host_export_device()
268 struct usbip_exported_device *edev; in usbip_host_get_device() local
/linux-4.1.27/drivers/devfreq/event/
Dexynos-ppmu.c32 struct devfreq_event_dev **edev; member
88 static int exynos_ppmu_find_ppmu_id(struct devfreq_event_dev *edev) in exynos_ppmu_find_ppmu_id()
99 static int exynos_ppmu_disable(struct devfreq_event_dev *edev) in exynos_ppmu_disable()
120 static int exynos_ppmu_set_event(struct devfreq_event_dev *edev) in exynos_ppmu_set_event()
151 static int exynos_ppmu_get_event(struct devfreq_event_dev *edev, in exynos_ppmu_get_event()
298 struct devfreq_event_dev **edev; in exynos_ppmu_probe() local
/linux-4.1.27/drivers/input/keyboard/
Dgoldfish_events.c46 struct event_dev *edev = dev_id; in events_interrupt() local
58 static void events_import_bits(struct event_dev *edev, in events_import_bits()
81 static void events_import_abs_params(struct event_dev *edev) in events_import_abs_params()
112 struct event_dev *edev; in events_probe() local
/linux-4.1.27/arch/powerpc/platforms/powernv/
Deeh-powernv.c125 struct eeh_dev *edev; in pnv_eeh_ei_write() local
335 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_find_ecap() local
382 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_probe() local
849 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_bridge_reset() local
1107 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_cfg_blocked() local
1230 struct eeh_dev edev; in pnv_eeh_get_pe() local
1488 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pnv_eeh_restore_config() local
Dpci.c492 struct eeh_dev *edev = NULL; in pnv_pci_cfg_check() local
/linux-4.1.27/arch/powerpc/include/asm/
Ddevice.h44 struct eeh_dev *edev; member
Deeh.h103 #define eeh_pe_for_each_dev(pe, edev, tmp) \ argument
145 static inline struct pci_dn *eeh_dev_to_pdn(struct eeh_dev *edev) in eeh_dev_to_pdn()
150 static inline struct pci_dev *eeh_dev_to_pci_dev(struct eeh_dev *edev) in eeh_dev_to_pci_dev()
155 static inline struct eeh_pe *eeh_dev_to_pe(struct eeh_dev* edev) in eeh_dev_to_pe()
Dpci-bridge.h194 struct eeh_dev *edev; /* eeh device */ member
/linux-4.1.27/arch/powerpc/platforms/pseries/
Deeh_pseries.c163 struct eeh_dev *edev = pdn_to_eeh_dev(pdn); in pseries_eeh_find_ecap() local
201 struct eeh_dev *edev; in pseries_eeh_probe() local
Dmsi.c199 struct eeh_dev *edev; in find_pe_dn() local
Diommu.c828 struct eeh_dev *edev; in query_ddw() local
857 struct eeh_dev *edev; in create_ddw() local
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic7770_osm.c80 struct eisa_device *edev = to_eisa_device(dev); in aic7770_probe() local
/linux-4.1.27/tools/usb/usbip/src/
Dusbipd.c94 struct usbip_exported_device *edev; in recv_request_import() local
160 struct usbip_exported_device *edev; in send_reply_devlist() local
/linux-4.1.27/fs/exofs/
Dsys.c172 int exofs_sysfs_odev_add(struct exofs_dev *edev, struct exofs_sb_info *sbi) in exofs_sysfs_odev_add()
/linux-4.1.27/drivers/net/hamradio/
Dbpqether.c501 static int bpq_new_device(struct net_device *edev) in bpq_new_device()
/linux-4.1.27/drivers/pci/pcie/aer/
Daer_inject.c325 struct pcie_device *edev; in aer_inject() local
/linux-4.1.27/drivers/scsi/libsas/
Dsas_expander.c522 struct sas_expander_device *edev = rphy_to_expander_device(rphy); in ex_assign_manuf_info() local
913 struct sas_expander_device *edev; in sas_ex_discover_expander() local
/linux-4.1.27/drivers/usb/dwc3/
Ddwc3-omap.c447 struct extcon_dev *edev; in dwc3_omap_extcon_register() local
/linux-4.1.27/drivers/usb/renesas_usbhs/
Dcommon.h260 struct extcon_dev *edev; member
/linux-4.1.27/drivers/net/ethernet/3com/
D3c59x.c913 struct eisa_device *edev; in vortex_eisa_probe() local
935 struct eisa_device *edev; in vortex_eisa_remove() local
1110 struct eisa_device *edev = NULL; in vortex_probe1() local
D3c509.c571 struct eisa_device *edev; in el3_eisa_probe() local
/linux-4.1.27/drivers/net/ethernet/hp/
Dhp100.c2849 struct eisa_device *edev = to_eisa_device(gendev); in hp100_eisa_probe() local
/linux-4.1.27/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c294 u64 sas_address, struct sas_expander_device *edev) in _transport_expander_report_manufacture()
/linux-4.1.27/drivers/scsi/mpt2sas/
Dmpt2sas_transport.c290 u64 sas_address, struct sas_expander_device *edev) in _transport_expander_report_manufacture()
/linux-4.1.27/drivers/net/ethernet/dec/tulip/
Dde4x5.c1995 struct eisa_device *edev; in de4x5_eisa_probe() local
3882 struct eisa_device *edev; in EISA_signature() local
/linux-4.1.27/drivers/message/fusion/
Dmptsas.c2836 u64 sas_address, struct sas_expander_device *edev) in mptsas_exp_repmanufacture_info()
/linux-4.1.27/include/linux/mfd/
Dpalmas.h547 struct extcon_dev *edev; member