/openbmc/linux/lib/ |
H A D | devres.c | 16 void devm_ioremap_release(struct device *dev, void *res) in devm_ioremap_release() 21 static int devm_ioremap_match(struct device *dev, void *res, void *match_data) in devm_ioremap_match() 26 static void __iomem *__devm_ioremap(struct device *dev, resource_size_t offset, in __devm_ioremap() 69 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset, in devm_ioremap() 84 void __iomem *devm_ioremap_uc(struct device *dev, resource_size_t offset, in devm_ioremap_uc() 99 void __iomem *devm_ioremap_wc(struct device *dev, resource_size_t offset, in devm_ioremap_wc() 113 void devm_iounmap(struct device *dev, void __iomem *addr) in devm_iounmap() 122 __devm_ioremap_resource(struct device *dev, const struct resource *res, in __devm_ioremap_resource() 185 void __iomem *devm_ioremap_resource(struct device *dev, in devm_ioremap_resource() 201 void __iomem *devm_ioremap_resource_wc(struct device *dev, in devm_ioremap_resource_wc() [all …]
|
/openbmc/linux/drivers/net/arcnet/ |
H A D | com20020.c | 62 static void com20020_copy_from_card(struct net_device *dev, int bufnum, in com20020_copy_from_card() 77 static void com20020_copy_to_card(struct net_device *dev, int bufnum, in com20020_copy_to_card() 92 int com20020_check(struct net_device *dev) in com20020_check() 154 static int com20020_set_hwaddr(struct net_device *dev, void *addr) in com20020_set_hwaddr() 167 static int com20020_netdev_open(struct net_device *dev) in com20020_netdev_open() 178 static int com20020_netdev_close(struct net_device *dev) in com20020_netdev_close() 203 int com20020_found(struct net_device *dev, int shared) in com20020_found() 282 static int com20020_reset(struct net_device *dev, int really_reset) in com20020_reset() 332 static void com20020_setmask(struct net_device *dev, int mask) in com20020_setmask() 340 static void com20020_command(struct net_device *dev, int cmd) in com20020_command() [all …]
|
/openbmc/qemu/hw/core/ |
H A D | gpio.c | 25 static NamedGPIOList *qdev_get_named_gpio_list(DeviceState *dev, in qdev_get_named_gpio_list() 43 void qdev_init_gpio_in_named_with_opaque(DeviceState *dev, in qdev_init_gpio_in_named_with_opaque() 69 void qdev_init_gpio_in(DeviceState *dev, qemu_irq_handler handler, int n) in qdev_init_gpio_in() 74 void qdev_init_gpio_out_named(DeviceState *dev, qemu_irq *pins, in qdev_init_gpio_out_named() 99 void qdev_init_gpio_out(DeviceState *dev, qemu_irq *pins, int n) in qdev_init_gpio_out() 104 qemu_irq qdev_get_gpio_in_named(DeviceState *dev, const char *name, int n) in qdev_get_gpio_in_named() 112 qemu_irq qdev_get_gpio_in(DeviceState *dev, int n) in qdev_get_gpio_in() 117 void qdev_connect_gpio_out_named(DeviceState *dev, const char *name, int n, in qdev_connect_gpio_out_named() 133 qemu_irq qdev_get_gpio_out_connector(DeviceState *dev, const char *name, int n) in qdev_get_gpio_out_connector() 146 static qemu_irq qdev_disconnect_gpio_out_named(DeviceState *dev, in qdev_disconnect_gpio_out_named() [all …]
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_hw.c | 150 static void hfa384x_read_regs(struct net_device *dev, in hfa384x_read_regs() 243 static int hfa384x_cmd_issue(struct net_device *dev, in hfa384x_cmd_issue() 310 static int hfa384x_cmd(struct net_device *dev, u16 cmd, u16 param0, in hfa384x_cmd() 477 static int hfa384x_cmd_callback(struct net_device *dev, u16 cmd, u16 param0, in hfa384x_cmd_callback() 478 void (*callback)(struct net_device *dev, in hfa384x_cmd_callback() 537 static int __hfa384x_cmd_no_wait(struct net_device *dev, u16 cmd, u16 param0, in __hfa384x_cmd_no_wait() 572 static int hfa384x_cmd_wait(struct net_device *dev, u16 cmd, u16 param0) in hfa384x_cmd_wait() 622 static inline int hfa384x_cmd_no_wait(struct net_device *dev, u16 cmd, in hfa384x_cmd_no_wait() 639 static void prism2_cmd_ev(struct net_device *dev) in prism2_cmd_ev() 719 static int hfa384x_wait_offset(struct net_device *dev, u16 o_off) in hfa384x_wait_offset() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | snps_udc_core.c | 184 static void print_regs(struct udc *dev) in print_regs() 217 int udc_mask_unused_interrupts(struct udc *dev) in udc_mask_unused_interrupts() 240 static int udc_enable_ep0_interrupts(struct udc *dev) in udc_enable_ep0_interrupts() 257 int udc_enable_dev_setup_interrupts(struct udc *dev) in udc_enable_dev_setup_interrupts() 281 struct udc *dev; in udc_set_txfifo_addr() local 322 struct udc *dev; in udc_ep_enable() local 560 static void udc_free_dma_chain(struct udc *dev, struct udc_request *req) in udc_free_dma_chain() 680 static int udc_rxfifo_read_dwords(struct udc *dev, u32 *buf, int dwords) in udc_rxfifo_read_dwords() 692 static int udc_rxfifo_read_bytes(struct udc *dev, u8 *buf, int bytes) in udc_rxfifo_read_bytes() 964 struct udc *dev; in complete_req() local [all …]
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 62 struct mlx5_ib_dev *dev; member 84 struct mlx5_ib_dev *dev; in mlx5_ib_get_ibdev_from_mpi() local 108 struct mlx5_ib_dev *dev = to_mdev(device); in mlx5_ib_port_link_layer() local 128 static struct mlx5_roce *mlx5_get_rep_roce(struct mlx5_ib_dev *dev, in mlx5_get_rep_roce() 475 struct mlx5_ib_dev *dev = to_mdev(device); in mlx5_query_port_roce() local 569 int set_roce_addr(struct mlx5_ib_dev *dev, u32 port_num, in set_roce_addr() 636 __be16 mlx5_get_roce_udp_sport_min(const struct mlx5_ib_dev *dev, in mlx5_get_roce_udp_sport_min() 645 static int mlx5_use_mad_ifc(struct mlx5_ib_dev *dev) in mlx5_use_mad_ifc() 670 static void get_atomic_caps(struct mlx5_ib_dev *dev, in get_atomic_caps() 692 static void get_atomic_caps_qp(struct mlx5_ib_dev *dev, in get_atomic_caps_qp() [all …]
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | cbe_thermal.c | 66 static struct cbe_pmd_regs __iomem *get_pmd_regs(struct device *dev) in get_pmd_regs() 76 static u8 spu_read_register_value(struct device *dev, union spe_reg __iomem *reg) in spu_read_register_value() 87 static ssize_t spu_show_temp(struct device *dev, struct device_attribute *attr, in spu_show_temp() 137 static ssize_t spu_show_throttle_end(struct device *dev, in spu_show_throttle_end() 143 static ssize_t spu_show_throttle_begin(struct device *dev, in spu_show_throttle_begin() 149 static ssize_t spu_show_throttle_full_stop(struct device *dev, in spu_show_throttle_full_stop() 155 static ssize_t spu_store_throttle_end(struct device *dev, in spu_store_throttle_end() 161 static ssize_t spu_store_throttle_begin(struct device *dev, in spu_store_throttle_begin() 167 static ssize_t spu_store_throttle_full_stop(struct device *dev, in spu_store_throttle_full_stop() 173 static ssize_t ppe_show_temp(struct device *dev, char *buf, int pos) in ppe_show_temp() [all …]
|
/openbmc/u-boot/include/dm/ |
H A D | device.h | 155 #define device_get_ops(dev) (dev->driver->ops) argument 158 #define device_active(dev) ((dev)->flags & DM_FLAG_ACTIVATED) argument 160 static inline int dev_of_offset(const struct udevice *dev) in dev_of_offset() 165 static inline void dev_set_of_offset(struct udevice *dev, int of_offset) in dev_set_of_offset() 170 static inline bool dev_has_of_node(struct udevice *dev) in dev_has_of_node() 665 static inline bool device_is_on_pci_bus(struct udevice *dev) in device_is_on_pci_bus() 848 static inline void *devm_kzalloc(struct udevice *dev, size_t size, gfp_t gfp) in devm_kzalloc() 852 static inline void *devm_kmalloc_array(struct udevice *dev, in devm_kmalloc_array() 859 static inline void *devm_kcalloc(struct udevice *dev, in devm_kcalloc() 886 static inline void devres_add(struct udevice *dev, void *res) in devres_add() [all …]
|
/openbmc/linux/net/core/ |
H A D | net-sysfs.c | 38 static inline int dev_isalive(const struct net_device *dev) in dev_isalive() 44 static ssize_t netdev_show(const struct device *dev, in netdev_show() 80 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store() 117 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show() 126 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type() 131 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show() 146 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show() 160 static ssize_t broadcast_show(struct device *dev, in broadcast_show() 171 static int change_carrier(struct net_device *dev, unsigned long new_carrier) in change_carrier() 178 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec_mpc52xx.c | 89 static void mpc52xx_fec_tx_timeout(struct net_device *dev, unsigned int txqueue) in mpc52xx_fec_tx_timeout() 104 static void mpc52xx_fec_set_paddr(struct net_device *dev, const u8 *mac) in mpc52xx_fec_set_paddr() 113 static int mpc52xx_fec_set_mac_address(struct net_device *dev, void *addr) in mpc52xx_fec_set_mac_address() 123 static void mpc52xx_fec_free_rx_buffers(struct net_device *dev, struct bcom_task *s) in mpc52xx_fec_free_rx_buffers() 137 mpc52xx_fec_rx_submit(struct net_device *dev, struct sk_buff *rskb) in mpc52xx_fec_rx_submit() 149 static int mpc52xx_fec_alloc_rx_buffers(struct net_device *dev, struct bcom_task *rxtsk) in mpc52xx_fec_alloc_rx_buffers() 166 static void mpc52xx_fec_adjust_link(struct net_device *dev) in mpc52xx_fec_adjust_link() 216 static int mpc52xx_fec_open(struct net_device *dev) in mpc52xx_fec_open() 281 static int mpc52xx_fec_close(struct net_device *dev) in mpc52xx_fec_close() 311 mpc52xx_fec_start_xmit(struct sk_buff *skb, struct net_device *dev) in mpc52xx_fec_start_xmit() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | qp.c | 56 void mlx4_qp_event(struct mlx4_dev *dev, u32 qpn, int event_type) in mlx4_qp_event() 79 static int is_master_qp0(struct mlx4_dev *dev, struct mlx4_qp *qp, int *real_qp0, int *proxy_qp0) in is_master_qp0() 92 static int __mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in __mlx4_qp_modify() 213 int mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in mlx4_qp_modify() 224 int __mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, in __mlx4_qp_reserve_range() 252 int mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, in mlx4_qp_reserve_range() 280 void __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) in __mlx4_qp_release_range() 290 void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) in mlx4_qp_release_range() 313 int __mlx4_qp_alloc_icm(struct mlx4_dev *dev, int qpn) in __mlx4_qp_alloc_icm() 357 static int mlx4_qp_alloc_icm(struct mlx4_dev *dev, int qpn) in mlx4_qp_alloc_icm() [all …]
|
/openbmc/linux/drivers/net/ |
H A D | vsockmon.c | 16 static int vsockmon_dev_init(struct net_device *dev) in vsockmon_dev_init() 24 static void vsockmon_dev_uninit(struct net_device *dev) in vsockmon_dev_uninit() 33 static int vsockmon_open(struct net_device *dev) in vsockmon_open() 42 static int vsockmon_close(struct net_device *dev) in vsockmon_close() 49 static netdev_tx_t vsockmon_xmit(struct sk_buff *skb, struct net_device *dev) in vsockmon_xmit() 59 vsockmon_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) in vsockmon_get_stats64() 72 static int vsockmon_change_mtu(struct net_device *dev, int new_mtu) in vsockmon_change_mtu() 91 static u32 always_on(struct net_device *dev) in always_on() 100 static void vsockmon_setup(struct net_device *dev) in vsockmon_setup()
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | ethtool.c | 11 nsim_get_pause_stats(struct net_device *dev, in nsim_get_pause_stats() 23 nsim_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) in nsim_get_pauseparam() 33 nsim_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) in nsim_set_pauseparam() 45 static int nsim_get_coalesce(struct net_device *dev, in nsim_get_coalesce() 56 static int nsim_set_coalesce(struct net_device *dev, in nsim_set_coalesce() 67 static void nsim_get_ringparam(struct net_device *dev, in nsim_get_ringparam() 77 static int nsim_set_ringparam(struct net_device *dev, in nsim_set_ringparam() 92 nsim_get_channels(struct net_device *dev, struct ethtool_channels *ch) in nsim_get_channels() 101 nsim_set_channels(struct net_device *dev, struct ethtool_channels *ch) in nsim_set_channels() 116 nsim_get_fecparam(struct net_device *dev, struct ethtool_fecparam *fecparam) in nsim_get_fecparam() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | debugfs.c | 9 struct mt792x_dev *dev = data; in mt7921_reg_set() local 21 struct mt792x_dev *dev = data; in mt7921_reg_get() local 35 struct mt792x_dev *dev = data; in mt7921_fw_debug_set() local 50 struct mt792x_dev *dev = data; in mt7921_fw_debug_get() local 93 struct mt792x_dev *dev = dev_get_drvdata(s->private); in mt7921_txpwr() local 145 struct mt792x_dev *dev = data; in mt7921_pm_set() local 178 struct mt792x_dev *dev = data; in mt7921_pm_get() local 190 struct mt792x_dev *dev = data; in mt7921_deep_sleep_set() local 214 struct mt792x_dev *dev = data; in mt7921_deep_sleep_get() local 229 struct mt792x_dev *dev = data; in mt7921_chip_reset() local [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | phy_ac.c | 16 static int b43_phy_ac_op_allocate(struct b43_wldev *dev) in b43_phy_ac_op_allocate() 28 static void b43_phy_ac_op_free(struct b43_wldev *dev) in b43_phy_ac_op_free() 37 static void b43_phy_ac_op_maskset(struct b43_wldev *dev, u16 reg, u16 mask, in b43_phy_ac_op_maskset() 45 static u16 b43_phy_ac_op_radio_read(struct b43_wldev *dev, u16 reg) in b43_phy_ac_op_radio_read() 51 static void b43_phy_ac_op_radio_write(struct b43_wldev *dev, u16 reg, in b43_phy_ac_op_radio_write() 58 static unsigned int b43_phy_ac_op_get_default_chan(struct b43_wldev *dev) in b43_phy_ac_op_get_default_chan() 66 b43_phy_ac_op_recalc_txpower(struct b43_wldev *dev, bool ignore_tssi) in b43_phy_ac_op_recalc_txpower() 71 static void b43_phy_ac_op_adjust_txpower(struct b43_wldev *dev) in b43_phy_ac_op_adjust_txpower()
|
/openbmc/linux/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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fw.c | 70 int mlx5_query_board_id(struct mlx5_core_dev *dev) in mlx5_query_board_id() 121 static int mlx5_get_pcam_reg(struct mlx5_core_dev *dev) in mlx5_get_pcam_reg() 128 static int mlx5_get_mcam_access_reg_group(struct mlx5_core_dev *dev, in mlx5_get_mcam_access_reg_group() 135 static int mlx5_get_qcam_reg(struct mlx5_core_dev *dev) in mlx5_get_qcam_reg() 142 int mlx5_query_hca_caps(struct mlx5_core_dev *dev) in mlx5_query_hca_caps() 286 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev, uint32_t *sw_owner_id) in mlx5_cmd_init_hca() 306 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_teardown_hca() 314 int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_force_teardown_hca() 342 int mlx5_cmd_fast_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_fast_teardown_hca() 402 static int mlx5_reg_mcc_set(struct mlx5_core_dev *dev, in mlx5_reg_mcc_set() [all …]
|
/openbmc/linux/drivers/gpu/drm/ast/ |
H A D | ast_drv.c | 95 struct drm_device *dev; in ast_pci_probe() local 122 struct drm_device *dev = pci_get_drvdata(pdev); in ast_pci_remove() local 128 static int ast_drm_freeze(struct drm_device *dev) in ast_drm_freeze() 139 static int ast_drm_thaw(struct drm_device *dev) in ast_drm_thaw() 146 static int ast_drm_resume(struct drm_device *dev) in ast_drm_resume() 154 static int ast_pm_suspend(struct device *dev) in ast_pm_suspend() 169 static int ast_pm_resume(struct device *dev) in ast_pm_resume() 176 static int ast_pm_freeze(struct device *dev) in ast_pm_freeze() 183 static int ast_pm_thaw(struct device *dev) in ast_pm_thaw() 190 static int ast_pm_poweroff(struct device *dev) in ast_pm_poweroff()
|
/openbmc/qemu/hw/s390x/ |
H A D | virtio-ccw.c | 43 VirtioCcwDevice *dev = VIRTIO_CCW_DEVICE(opaque); in virtio_ccw_dev_post_load() local 68 VirtioCcwDevice *dev = tmp->parent; in virtio_ccw_dev_tmp_pre_save() local 79 VirtioCcwDevice *dev = tmp->parent; in virtio_ccw_dev_tmp_post_load() local 126 VirtioCcwDevice *dev = sch->driver_data; in virtio_ccw_get_vdev() local 134 static void virtio_ccw_start_ioeventfd(VirtioCcwDevice *dev) in virtio_ccw_start_ioeventfd() 139 static void virtio_ccw_stop_ioeventfd(VirtioCcwDevice *dev) in virtio_ccw_stop_ioeventfd() 146 VirtioCcwDevice *dev = VIRTIO_CCW_DEVICE(d); in virtio_ccw_ioeventfd_enabled() local 154 VirtioCcwDevice *dev = VIRTIO_CCW_DEVICE(d); in virtio_ccw_ioeventfd_assign() local 252 static void virtio_ccw_reset_virtio(VirtioCcwDevice *dev) in virtio_ccw_reset_virtio() 325 VirtioCcwDevice *dev = sch->driver_data; in virtio_ccw_cb() local [all …]
|
/openbmc/linux/drivers/net/ethernet/cirrus/ |
H A D | cs89x0.c | 163 #define tx_done(dev) 1 argument 225 readreg(struct net_device *dev, u16 regno) in readreg() 234 writereg(struct net_device *dev, u16 regno, u16 value) in writereg() 243 wait_eeprom_ready(struct net_device *dev) in wait_eeprom_ready() 257 get_eeprom_data(struct net_device *dev, int off, int len, int *buffer) in get_eeprom_data() 291 write_irq(struct net_device *dev, int chip_type, int irq) in write_irq() 315 count_rx_errors(int status, struct net_device *dev) in count_rx_errors() 338 get_dma_channel(struct net_device *dev) in get_dma_channel() 359 write_dma(struct net_device *dev, int chip_type, int dma) in write_dma() 371 set_dma_cfg(struct net_device *dev) in set_dma_cfg() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | libata-acpi.c | 36 static void ata_acpi_clear_gtf(struct ata_device *dev) in ata_acpi_clear_gtf() 46 struct ata_device *dev; member 60 acpi_handle ata_dev_acpi_handle(struct ata_device *dev) in ata_dev_acpi_handle() 67 static void ata_acpi_detach_device(struct ata_port *ap, struct ata_device *dev) in ata_acpi_detach_device() 100 static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device *dev, in ata_acpi_handle_hotplug() 137 struct ata_device *dev = ata_hotplug_data(adev->hp).dev; in ata_acpi_dev_notify_dock() local 148 static void ata_acpi_uevent(struct ata_port *ap, struct ata_device *dev, in ata_acpi_uevent() 174 struct ata_device *dev = ata_hotplug_data(adev->hp).dev; in ata_acpi_dev_uevent() local 206 void ata_acpi_bind_dev(struct ata_device *dev) in ata_acpi_bind_dev() 403 static int ata_dev_get_GTF(struct ata_device *dev, struct ata_acpi_gtf **gtf) in ata_dev_get_GTF() [all …]
|
/openbmc/qemu/hw/pci/ |
H A D | pcie_aer.c | 38 #define PCIE_DEV_PRINTF(dev, fmt, ...) \ argument 97 int pcie_aer_init(PCIDevice *dev, uint8_t cap_ver, uint16_t offset, in pcie_aer_init() 169 void pcie_aer_exit(PCIDevice *dev) in pcie_aer_exit() 174 static void pcie_aer_update_uncor_status(PCIDevice *dev) in pcie_aer_update_uncor_status() 196 pcie_aer_msg_alldev(PCIDevice *dev, const PCIEAERMsg *msg) in pcie_aer_msg_alldev() 243 static bool pcie_aer_msg_vbridge(PCIDevice *dev, const PCIEAERMsg *msg) in pcie_aer_msg_vbridge() 259 void pcie_aer_root_set_vector(PCIDevice *dev, unsigned int vector) in pcie_aer_root_set_vector() 269 static unsigned int pcie_aer_root_get_vector(PCIDevice *dev) in pcie_aer_root_get_vector() 292 static void pcie_aer_root_notify(PCIDevice *dev) in pcie_aer_root_notify() 308 static void pcie_aer_msg_root_port(PCIDevice *dev, const PCIEAERMsg *msg) in pcie_aer_msg_root_port() [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | usb.c | 348 struct usb_interface *usb_ifnum_to_if(const struct usb_device *dev, in usb_ifnum_to_if() 403 static int __find_interface(struct device *dev, const void *data) in __find_interface() 431 struct device *dev; in usb_find_interface() local 450 static int __each_dev(struct device *dev, void *data) in __each_dev() 485 static void usb_release_dev(struct device *dev) in usb_release_dev() 503 static int usb_dev_uevent(const struct device *dev, struct kobj_uevent_env *env) in usb_dev_uevent() 527 static int usb_dev_prepare(struct device *dev) in usb_dev_prepare() 532 static void usb_dev_complete(struct device *dev) in usb_dev_complete() 538 static int usb_dev_suspend(struct device *dev) in usb_dev_suspend() 543 static int usb_dev_resume(struct device *dev) in usb_dev_resume() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | core.c | 53 USBDevice *dev = port->dev; in usb_attach() local 66 USBDevice *dev = port->dev; in usb_detach() local 76 USBDevice *dev = port->dev; in usb_port_reset() local 84 void usb_device_reset(USBDevice *dev) in usb_device_reset() 97 USBDevice *dev = ep->dev; in usb_wakeup() local 358 USBDevice *dev = port->dev; in usb_find_device() local 371 USBDevice *dev = p->ep->dev; in usb_process_one() local 420 void usb_handle_packet(USBDevice *dev, USBPacket *p) in usb_handle_packet() 466 void usb_packet_complete_one(USBDevice *dev, USBPacket *p) in usb_packet_complete_one() 486 void usb_packet_complete(USBDevice *dev, USBPacket *p) in usb_packet_complete() [all …]
|
/openbmc/u-boot/arch/x86/cpu/ivybridge/ |
H A D | northbridge.c | 23 int bridge_silicon_revision(struct udevice *dev) in bridge_silicon_revision() 36 static int get_pcie_bar(struct udevice *dev, u32 *base, u32 *len) in get_pcie_bar() 69 static void add_fixed_resources(struct udevice *dev, int index) in add_fixed_resources() 79 static void northbridge_dmi_init(struct udevice *dev, int rev) in northbridge_dmi_init() 107 static void northbridge_init(struct udevice *dev, int rev) in northbridge_init() 155 static void sandybridge_setup_northbridge_bars(struct udevice *dev) in sandybridge_setup_northbridge_bars() 185 static void sandybridge_init_iommu(struct udevice *dev) in sandybridge_init_iommu() 209 static int bd82x6x_northbridge_early_init(struct udevice *dev) in bd82x6x_northbridge_early_init() 238 static int bd82x6x_northbridge_probe(struct udevice *dev) in bd82x6x_northbridge_probe()
|