/openbmc/linux/drivers/net/wireless/legacy/ |
H A D | ray_cs.c | 272 struct net_device *dev; in ray_probe() local 330 struct net_device *dev; in ray_detach() local 466 static int ray_init(struct net_device *dev) in ray_init() 734 struct net_device *dev = link->priv; in ray_release() local 754 struct net_device *dev = link->priv; in ray_suspend() local 764 struct net_device *dev = link->priv; in ray_resume() local 829 struct net_device *dev) in ray_dev_start_xmit() 1485 static int ray_open(struct net_device *dev) in ray_open() 1542 static void ray_reset(struct net_device *dev) in ray_reset() 2475 struct net_device *dev = link->priv; in associate() local [all …]
|
/openbmc/linux/drivers/infiniband/hw/efa/ |
H A D | efa_verbs.c | 172 #define EFA_DEV_CAP(dev, cap) \ argument 212 struct efa_dev *dev = to_edev(ibdev); in efa_query_device() local 281 struct efa_dev *dev = to_edev(ibdev); in efa_query_port() local 303 struct efa_dev *dev = to_edev(ibqp->device); in efa_query_qp() local 353 struct efa_dev *dev = to_edev(ibdev); in efa_query_gid() local 381 struct efa_dev *dev = to_edev(ibpd->device); in efa_alloc_pd() local 425 struct efa_dev *dev = to_edev(ibpd->device); in efa_dealloc_pd() local 500 struct efa_dev *dev, in qp_mmap_entries_setup() 634 struct efa_dev *dev = to_edev(ibqp->device); in efa_create_qp() local 1075 struct efa_dev *dev = to_edev(ibdev); in efa_create_cq() local [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | dma.c | 12 struct mt7996_dev *dev; in mt7996_poll_tx() local 23 static void mt7996_dma_config(struct mt7996_dev *dev) in mt7996_dma_config() 59 static void __mt7996_dma_prefetch(struct mt7996_dev *dev, u32 ofs) in __mt7996_dma_prefetch() 79 void mt7996_dma_prefetch(struct mt7996_dev *dev) in mt7996_dma_prefetch() 86 static void mt7996_dma_disable(struct mt7996_dev *dev, bool reset) in mt7996_dma_disable() 131 void mt7996_dma_start(struct mt7996_dev *dev, bool reset) in mt7996_dma_start() 176 static void mt7996_dma_enable(struct mt7996_dev *dev, bool reset) in mt7996_dma_enable() 253 int mt7996_dma_init(struct mt7996_dev *dev) in mt7996_dma_init() 370 void mt7996_dma_reset(struct mt7996_dev *dev, bool force) in mt7996_dma_reset() 434 void mt7996_dma_cleanup(struct mt7996_dev *dev) in mt7996_dma_cleanup()
|
/openbmc/linux/drivers/net/usb/ |
H A D | ax88172a.c | 32 struct usbnet *dev = netdev_priv(netdev); in ax88172a_adjust_link() local 55 static void ax88172a_status(struct usbnet *dev, struct urb *urb) in ax88172a_status() 61 static int ax88172a_init_mdio(struct usbnet *dev) in ax88172a_init_mdio() 94 static void ax88172a_remove_mdio(struct usbnet *dev) in ax88172a_remove_mdio() 131 static int ax88172a_reset_phy(struct usbnet *dev, int embd_phy) in ax88172a_reset_phy() 158 static int ax88172a_bind(struct usbnet *dev, struct usb_interface *intf) in ax88172a_bind() 237 static int ax88172a_stop(struct usbnet *dev) in ax88172a_stop() 253 static void ax88172a_unbind(struct usbnet *dev, struct usb_interface *intf) in ax88172a_unbind() 261 static int ax88172a_reset(struct usbnet *dev) in ax88172a_reset() 339 static int ax88172a_rx_fixup(struct usbnet *dev, struct sk_buff *skb) in ax88172a_rx_fixup()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/ |
H A D | qca_debug.c | 163 qcaspi_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *p) in qcaspi_get_drvinfo() 175 qcaspi_get_link_ksettings(struct net_device *dev, in qcaspi_get_link_ksettings() 190 qcaspi_get_ethtool_stats(struct net_device *dev, struct ethtool_stats *estats, u64 *data) in qcaspi_get_ethtool_stats() 199 qcaspi_get_strings(struct net_device *dev, u32 stringset, u8 *buf) in qcaspi_get_strings() 213 qcaspi_get_sset_count(struct net_device *dev, int sset) in qcaspi_get_sset_count() 224 qcaspi_get_regs_len(struct net_device *dev) in qcaspi_get_regs_len() 230 qcaspi_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *p) in qcaspi_get_regs() 249 qcaspi_get_ringparam(struct net_device *dev, struct ethtool_ringparam *ring, in qcaspi_get_ringparam() 262 qcaspi_set_ringparam(struct net_device *dev, struct ethtool_ringparam *ring, in qcaspi_set_ringparam() 298 void qcaspi_set_ethtool_ops(struct net_device *dev) in qcaspi_set_ethtool_ops()
|
/openbmc/linux/drivers/net/ |
H A D | veth.c | 62 struct net_device *dev; member 246 static void veth_get_channels(struct net_device *dev, in veth_get_channels() 421 static void veth_get_stats64(struct net_device *dev, in veth_get_stats64() 460 static int veth_select_rxq(struct net_device *dev) in veth_select_rxq() 1119 static void veth_napi_del(struct net_device *dev) in veth_napi_del() 1186 static int veth_enable_xdp(struct net_device *dev) in veth_enable_xdp() 1400 static int veth_open(struct net_device *dev) in veth_open() 1429 static int veth_close(struct net_device *dev) in veth_close() 1476 static int veth_dev_init(struct net_device *dev) in veth_dev_init() 1482 static void veth_dev_free(struct net_device *dev) in veth_dev_free() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 956 bool mlx5_cmd_is_down(struct mlx5_core_dev *dev) in mlx5_cmd_is_down() 969 struct mlx5_core_dev *dev; in cmd_work_handler() local 1273 struct mlx5_core_dev *dev = filp->private_data; in dbg_write() local 1462 struct mlx5_core_dev *dev = filp->private_data; in data_write() local 1486 struct mlx5_core_dev *dev = filp->private_data; in data_read() local 1506 struct mlx5_core_dev *dev = filp->private_data; in outlen_read() local 1627 struct mlx5_core_dev *dev; in cmd_comp_notifier() local 1800 void mlx5_cmd_flush(struct mlx5_core_dev *dev) in mlx5_cmd_flush() 2215 static u16 cmdif_rev(struct mlx5_core_dev *dev) in cmdif_rev() 2220 int mlx5_cmd_init(struct mlx5_core_dev *dev) in mlx5_cmd_init() [all …]
|
/openbmc/linux/drivers/staging/iio/addac/ |
H A D | adt7316.c | 221 static ssize_t adt7316_show_enabled(struct device *dev, in adt7316_show_enabled() 251 static ssize_t adt7316_store_enabled(struct device *dev, in adt7316_store_enabled() 320 static ssize_t adt7316_show_mode(struct device *dev, in adt7316_show_mode() 333 static ssize_t adt7316_store_mode(struct device *dev, in adt7316_store_mode() 1174 static ssize_t adt7316_show_VDD(struct device *dev, in adt7316_show_VDD() 1211 static ssize_t adt7316_show_AIN2(struct device *dev, in adt7316_show_AIN2() 1222 static ssize_t adt7316_show_AIN3(struct device *dev, in adt7316_show_AIN3() 1233 static ssize_t adt7316_show_AIN4(struct device *dev, in adt7316_show_AIN4() 1471 static ssize_t adt7316_show_DAC_A(struct device *dev, in adt7316_show_DAC_A() 2095 static int adt7316_disable(struct device *dev) in adt7316_disable() [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-user.c | 243 struct vhost_dev *dev; member 338 static int process_message_reply(struct vhost_dev *dev, in process_message_reply() 569 static void scrub_shadow_regions(struct vhost_dev *dev, in scrub_shadow_regions() 661 static int send_remove_regions(struct vhost_dev *dev, in send_remove_regions() 715 static int send_add_regions(struct vhost_dev *dev, in send_add_regions() 1165 static int vhost_set_vring(struct vhost_dev *dev, in vhost_set_vring() 1764 struct vhost_dev *dev = opaque; in backend_read() local 1919 struct vhost_dev *dev = pcfd->data; in vhost_user_postcopy_fault_handler() local 1953 struct vhost_dev *dev = pcfd->data; in vhost_user_postcopy_waker() local 2109 struct vhost_dev *dev = u->dev; in vhost_user_postcopy_notifier() local [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | sdio_mac.c | 10 static void mt7921s_enable_irq(struct mt76_dev *dev) in mt7921s_enable_irq() 19 static void mt7921s_disable_irq(struct mt76_dev *dev) in mt7921s_disable_irq() 28 static u32 mt7921s_read_whcr(struct mt76_dev *dev) in mt7921s_read_whcr() 33 int mt7921s_wfsys_reset(struct mt792x_dev *dev) in mt7921s_wfsys_reset() 74 int mt7921s_init_reset(struct mt792x_dev *dev) in mt7921s_init_reset() 94 int mt7921s_mac_reset(struct mt792x_dev *dev) in mt7921s_mac_reset()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_beacon.c | 10 static void mt76x02_set_beacon_offsets(struct mt76x02_dev *dev) in mt76x02_set_beacon_offsets() 26 mt76x02_write_beacon(struct mt76x02_dev *dev, int offset, struct sk_buff *skb) in mt76x02_write_beacon() 54 void mt76x02_mac_set_beacon(struct mt76x02_dev *dev, in mt76x02_mac_set_beacon() 69 void mt76x02_mac_set_beacon_enable(struct mt76x02_dev *dev, in mt76x02_mac_set_beacon_enable() 107 mt76x02_resync_beacon_timer(struct mt76x02_dev *dev) in mt76x02_resync_beacon_timer() 139 struct mt76x02_dev *dev = (struct mt76x02_dev *)priv; in mt76x02_update_beacon_iter() local 158 struct mt76x02_dev *dev = data->dev; in mt76x02_add_buffered_bc() local 179 mt76x02_enqueue_buffered_bc(struct mt76x02_dev *dev, in mt76x02_enqueue_buffered_bc() 207 void mt76x02_init_beacon_config(struct mt76x02_dev *dev) in mt76x02_init_beacon_config()
|
/openbmc/linux/drivers/media/usb/msi2500/ |
H A D | msi2500.c | 106 struct device *dev; member 144 struct msi2500_dev *dev) in msi2500_get_next_fill_buf() 566 struct msi2500_dev *dev = in msi2500_disconnect() local 587 struct msi2500_dev *dev = video_drvdata(file); in msi2500_querycap() local 893 struct msi2500_dev *dev = video_drvdata(file); in msi2500_enum_fmt_sdr_cap() local 908 struct msi2500_dev *dev = video_drvdata(file); in msi2500_g_fmt_sdr_cap() local 922 struct msi2500_dev *dev = video_drvdata(file); in msi2500_s_fmt_sdr_cap() local 952 struct msi2500_dev *dev = video_drvdata(file); in msi2500_try_fmt_sdr_cap() local 974 struct msi2500_dev *dev = video_drvdata(file); in msi2500_s_tuner() local 991 struct msi2500_dev *dev = video_drvdata(file); in msi2500_g_tuner() local [all …]
|
/openbmc/linux/drivers/nvdimm/ |
H A D | dimm_devs.c | 25 int nvdimm_check_config_data(struct device *dev) in nvdimm_check_config_data() 172 void nvdimm_set_labeling(struct device *dev) in nvdimm_set_labeling() 179 void nvdimm_set_locked(struct device *dev) in nvdimm_set_locked() 186 void nvdimm_clear_locked(struct device *dev) in nvdimm_clear_locked() 201 struct nvdimm *to_nvdimm(struct device *dev) in to_nvdimm() 223 struct device *dev = ndd->dev; in nvdimm_drvdata_release() local 319 struct device *dev; in __available_slots_show() local 575 bool is_nvdimm(const struct device *dev) in is_nvdimm() 590 struct device *dev; in __nvdimm_create() local 638 struct device *dev = &nvdimm->dev; in nvdimm_delete() local [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | debugfs.c | 39 struct b43_dfs_file *fops_to_dfs_file(struct b43_wldev *dev, in fops_to_dfs_file() 66 static ssize_t shm16read__read_file(struct b43_wldev *dev, in shm16read__read_file() 85 static int shm16read__write_file(struct b43_wldev *dev, in shm16read__write_file() 109 static int shm16write__write_file(struct b43_wldev *dev, in shm16write__write_file() 161 static int shm32read__write_file(struct b43_wldev *dev, in shm32read__write_file() 349 static ssize_t txstat_read_file(struct b43_wldev *dev, in txstat_read_file() 394 static int restart_write_file(struct b43_wldev *dev, in restart_write_file() 493 struct b43_wldev *dev; in b43_debugfs_read() local 557 struct b43_wldev *dev; in b43_debugfs_write() local 669 void b43_debugfs_add_device(struct b43_wldev *dev) in b43_debugfs_add_device() [all …]
|
/openbmc/linux/drivers/net/ethernet/3com/ |
H A D | 3c589_cs.c | 197 struct net_device *dev; in tc589_probe() local 235 struct net_device *dev = link->priv; in tc589_detach() local 248 struct net_device *dev = link->priv; in tc589_config() local 350 struct net_device *dev = link->priv; in tc589_suspend() local 360 struct net_device *dev = link->priv; in tc589_resume() local 434 static void dump_status(struct net_device *dev) in dump_status() 515 static int el3_open(struct net_device *dev) in el3_open() 573 struct net_device *dev) in el3_start_xmit() 689 struct net_device *dev = lp->p_dev->priv; in media_check() local 826 static int el3_rx(struct net_device *dev) in el3_rx() [all …]
|
/openbmc/linux/drivers/phy/ |
H A D | phy-core.c | 30 static void devm_phy_release(struct device *dev, void *res) in devm_phy_release() 37 static void devm_phy_provider_release(struct device *dev, void *res) in devm_phy_provider_release() 44 static void devm_phy_consume(struct device *dev, void *res) in devm_phy_consume() 666 void phy_put(struct device *dev, struct phy *phy) in phy_put() 681 void devm_phy_put(struct device *dev, struct phy *phy) in devm_phy_put() 734 struct phy *phy_get(struct device *dev, const char *string) in phy_get() 1068 void devm_phy_destroy(struct device *dev, struct phy *phy) in devm_phy_destroy() 1097 struct phy * (*of_xlate)(struct device *dev, in __of_phy_provider_register() 1160 struct phy * (*of_xlate)(struct device *dev, in __devm_of_phy_provider_register() 1209 void devm_of_phy_provider_unregister(struct device *dev, in devm_of_phy_provider_unregister() [all …]
|
/openbmc/linux/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | controls.c | 153 static int ctrl_set_rational(struct bcm2835_mmal_dev *dev, in ctrl_set_rational() 171 static int ctrl_set_value(struct bcm2835_mmal_dev *dev, in ctrl_set_value() 187 static int ctrl_set_iso(struct bcm2835_mmal_dev *dev, in ctrl_set_iso() 215 static int ctrl_set_value_ev(struct bcm2835_mmal_dev *dev, in ctrl_set_value_ev() 231 static int ctrl_set_rotate(struct bcm2835_mmal_dev *dev, in ctrl_set_rotate() 260 static int ctrl_set_flip(struct bcm2835_mmal_dev *dev, in ctrl_set_flip() 301 static int ctrl_set_exposure(struct bcm2835_mmal_dev *dev, in ctrl_set_exposure() 422 static int ctrl_set_awb_mode(struct bcm2835_mmal_dev *dev, in ctrl_set_awb_mode() 559 static int ctrl_set_colfx(struct bcm2835_mmal_dev *dev, in ctrl_set_colfx() 583 static int ctrl_set_bitrate(struct bcm2835_mmal_dev *dev, in ctrl_set_bitrate() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | dc2114x.c | 80 #define RESET_DM9102(dev) {\ argument 88 #define RESET_DE4X5(dev) {\ argument 101 #define START_DE4X5(dev) {\ argument 108 #define STOP_DE4X5(dev) {\ argument 172 static int INL(struct eth_device* dev, u_long addr) in INL() 200 struct eth_device* dev; in dc21x4x_initialize() local 305 static int dc21x4x_init(struct eth_device* dev, bd_t* bis) in dc21x4x_init() 422 static int dc21x4x_recv(struct eth_device* dev) in dc21x4x_recv() 468 static void dc21x4x_halt(struct eth_device* dev) in dc21x4x_halt() 533 getfrom_srom(struct eth_device* dev, u_long addr) in getfrom_srom() [all …]
|
/openbmc/linux/net/batman-adv/ |
H A D | soft-interface.c | 80 static int batadv_interface_open(struct net_device *dev) in batadv_interface_open() 86 static int batadv_interface_release(struct net_device *dev) in batadv_interface_release() 176 static void batadv_interface_set_rx_mode(struct net_device *dev) in batadv_interface_set_rx_mode() 720 static void batadv_set_lockdep_class(struct net_device *dev) in batadv_set_lockdep_class() 732 static int batadv_softif_init_late(struct net_device *dev) in batadv_softif_init_late() 829 static int batadv_softif_slave_add(struct net_device *dev, in batadv_softif_slave_add() 854 static int batadv_softif_slave_del(struct net_device *dev, in batadv_softif_slave_del() 889 static void batadv_get_drvinfo(struct net_device *dev, in batadv_get_drvinfo() 955 static void batadv_get_ethtool_stats(struct net_device *dev, in batadv_get_ethtool_stats() 985 static void batadv_softif_free(struct net_device *dev) in batadv_softif_free() [all …]
|
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_drv.c | 33 static void load_gpu(struct drm_device *dev) in load_gpu() 51 static int etnaviv_open(struct drm_device *dev, struct drm_file *file) in etnaviv_open() 119 static int etnaviv_gem_show(struct drm_device *dev, struct seq_file *m) in etnaviv_gem_show() 128 static int etnaviv_mm_show(struct drm_device *dev, struct seq_file *m) in etnaviv_mm_show() 204 struct drm_device *dev = node->minor->dev; in show_unlocked() local 214 struct drm_device *dev = node->minor->dev; in show_each_gpu() local 272 static int etnaviv_ioctl_gem_new(struct drm_device *dev, void *data, in etnaviv_ioctl_gem_new() 327 static int etnaviv_ioctl_gem_info(struct drm_device *dev, void *data, in etnaviv_ioctl_gem_info() 503 static int etnaviv_bind(struct device *dev) in etnaviv_bind() 563 static void etnaviv_unbind(struct device *dev) in etnaviv_unbind() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_framebuffer.c | 148 int drm_mode_addfb_ioctl(struct drm_device *dev, in drm_mode_addfb_ioctl() 346 int drm_mode_addfb2(struct drm_device *dev, in drm_mode_addfb2() 484 int drm_mode_rmfb_ioctl(struct drm_device *dev, in drm_mode_rmfb_ioctl() 505 int drm_mode_getfb(struct drm_device *dev, in drm_mode_getfb() 815 struct drm_device *dev = fb->dev; in drm_framebuffer_free() local 913 struct drm_device *dev; in drm_framebuffer_unregister_private() local 944 struct drm_device *dev = fb->dev; in drm_framebuffer_cleanup() local 956 struct drm_device *dev = fb->dev; in atomic_remove_fb() local 1059 struct drm_device *dev = fb->dev; in legacy_remove_fb() local 1102 struct drm_device *dev; in drm_framebuffer_remove() local [all …]
|
/openbmc/u-boot/drivers/rtc/ |
H A D | rv3029.c | 145 static int rv3029_rtc_reset(struct udevice *dev) in rv3029_rtc_reset() 188 static int rv3029_get_sr(struct udevice *dev, u8 *buf) in rv3029_get_sr() 199 static int rv3029_set_sr(struct udevice *dev, u8 val) in rv3029_set_sr() 211 static int rv3029_eeprom_busywait(struct udevice *dev) in rv3029_eeprom_busywait() 252 static int rv3029_eeprom_exit(struct udevice *dev) in rv3029_eeprom_exit() 260 static int rv3029_eeprom_enter(struct udevice *dev) in rv3029_eeprom_enter() 302 static int rv3029_eeprom_read(struct udevice *dev, u8 reg, in rv3029_eeprom_read() 320 static int rv3029_eeprom_write(struct udevice *dev, u8 reg, in rv3029_eeprom_write() 352 static int rv3029_eeprom_update_bits(struct udevice *dev, in rv3029_eeprom_update_bits() 377 static void rv3029_trickle_config(struct udevice *dev) in rv3029_trickle_config() [all …]
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | ne2k-pci.c | 194 struct net_device *dev; member 229 struct net_device *dev; in ne2k_pci_init_one() local 429 static inline int set_holtek_fdx(struct net_device *dev) in set_holtek_fdx() 437 static int ne2k_pci_set_fdx(struct net_device *dev) in ne2k_pci_set_fdx() 447 static int ne2k_pci_open(struct net_device *dev) in ne2k_pci_open() 462 static int ne2k_pci_close(struct net_device *dev) in ne2k_pci_close() 472 static void ne2k_pci_reset_8390(struct net_device *dev) in ne2k_pci_reset_8390() 664 static void ne2k_pci_get_drvinfo(struct net_device *dev, in ne2k_pci_get_drvinfo() 697 struct net_device *dev = pci_get_drvdata(pdev); in ne2k_pci_remove_one() local 708 struct net_device *dev = dev_get_drvdata(dev_d); in ne2k_pci_suspend() local [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | arm_pl180_mmci.c | 36 static int wait_for_command_end(struct mmc *dev, struct mmc_cmd *cmd) in wait_for_command_end() 76 static int do_command(struct mmc *dev, struct mmc_cmd *cmd) in do_command() 222 static int do_data_transfer(struct mmc *dev, in do_data_transfer() 268 static int host_request(struct mmc *dev, in host_request() 282 static int host_set_ios(struct mmc *dev) in host_set_ios() 346 static int mmc_host_reset(struct mmc *dev) in mmc_host_reset() 416 static int arm_pl180_mmc_probe(struct udevice *dev) in arm_pl180_mmc_probe() 475 int arm_pl180_mmc_bind(struct udevice *dev) in arm_pl180_mmc_bind() 490 static int dm_host_set_ios(struct udevice *dev) in dm_host_set_ios() 497 static int dm_mmc_getcd(struct udevice *dev) in dm_mmc_getcd() [all …]
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | conf_space_header.c | 34 static void *command_init(struct pci_dev *dev, int offset) in command_init() 51 static int command_read(struct pci_dev *dev, int offset, u16 *value, void *data) in command_read() 127 static int rom_write(struct pci_dev *dev, int offset, u32 value, void *data) in rom_write() 160 static int bar_write(struct pci_dev *dev, int offset, u32 value, void *data) in bar_write() 210 static void *bar_init(struct pci_dev *dev, int offset) in bar_init() 247 static void bar_reset(struct pci_dev *dev, int offset, void *data) in bar_reset() 254 static void bar_release(struct pci_dev *dev, int offset, void *data) in bar_release() 259 static int xen_pcibk_read_vendor(struct pci_dev *dev, int offset, in xen_pcibk_read_vendor() 267 static int xen_pcibk_read_device(struct pci_dev *dev, int offset, in xen_pcibk_read_device() 275 static int interrupt_read(struct pci_dev *dev, int offset, u8 * value, in interrupt_read() [all …]
|