/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | cdv_device.c | 23 static void cdv_disable_vga(struct drm_device *dev) in cdv_disable_vga() 39 static int cdv_output_init(struct drm_device *dev) in cdv_output_init() 91 static int cdv_get_brightness(struct drm_device *dev) in cdv_get_brightness() 175 static void cdv_init_pm(struct drm_device *dev) in cdv_init_pm() 206 static void cdv_errata(struct drm_device *dev) in cdv_errata() 358 static int cdv_power_down(struct drm_device *dev) in cdv_power_down() 380 static int cdv_power_up(struct drm_device *dev) in cdv_power_up() 406 struct drm_device *dev = &dev_priv->dev; in cdv_hotplug_work_func() local 444 struct drm_device *dev = connector->dev; in cdv_intel_attach_force_audio_property() local 473 struct drm_device *dev = connector->dev; in cdv_intel_attach_broadcast_rgb_property() local [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_drv.c | 423 void drm_put_dev(struct drm_device *dev) in drm_put_dev() 449 bool drm_dev_enter(struct drm_device *dev, int *idx) in drm_dev_enter() 485 void drm_dev_unplug(struct drm_device *dev) in drm_dev_unplug() 605 static int drm_dev_init(struct drm_device *dev, in drm_dev_init() 714 struct drm_device *dev, in devm_drm_dev_init() 766 struct drm_device *dev; in drm_dev_alloc() local 809 void drm_dev_get(struct drm_device *dev) in drm_dev_get() 823 void drm_dev_put(struct drm_device *dev) in drm_dev_put() 830 static int create_compat_control_link(struct drm_device *dev) in create_compat_control_link() 865 static void remove_compat_control_link(struct drm_device *dev) in remove_compat_control_link() [all …]
|
H A D | drm_context.c | 79 static int drm_legacy_ctxbitmap_next(struct drm_device * dev) in drm_legacy_ctxbitmap_next() 97 void drm_legacy_ctxbitmap_init(struct drm_device * dev) in drm_legacy_ctxbitmap_init() 113 void drm_legacy_ctxbitmap_cleanup(struct drm_device * dev) in drm_legacy_ctxbitmap_cleanup() 174 int drm_legacy_getsareactx(struct drm_device *dev, void *data, in drm_legacy_getsareactx() 221 int drm_legacy_setsareactx(struct drm_device *dev, void *data, in drm_legacy_setsareactx() 325 int drm_legacy_resctx(struct drm_device *dev, void *data, in drm_legacy_resctx() 359 int drm_legacy_addctx(struct drm_device *dev, void *data, in drm_legacy_addctx() 409 int drm_legacy_getctx(struct drm_device *dev, void *data, in drm_legacy_getctx() 434 int drm_legacy_switchctx(struct drm_device *dev, void *data, in drm_legacy_switchctx() 457 int drm_legacy_newctx(struct drm_device *dev, void *data, in drm_legacy_newctx() [all …]
|
/openbmc/linux/include/linux/ |
H A D | if_bridge.h | 83 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent() 99 static inline bool br_multicast_has_router_adjacent(struct net_device *dev, in br_multicast_has_router_adjacent() 105 static inline bool br_multicast_enabled(const struct net_device *dev) in br_multicast_enabled() 109 static inline bool br_multicast_router(const struct net_device *dev) in br_multicast_router() 128 static inline bool br_vlan_enabled(const struct net_device *dev) in br_vlan_enabled() 148 static inline int br_vlan_get_info(const struct net_device *dev, u16 vid, in br_vlan_get_info() 160 static inline bool br_mst_enabled(const struct net_device *dev) in br_mst_enabled() 165 static inline int br_mst_get_info(const struct net_device *dev, u16 msti, in br_mst_get_info() 170 static inline int br_mst_get_state(const struct net_device *dev, u16 msti, in br_mst_get_state() 199 br_port_flag_is_set(const struct net_device *dev, unsigned long flag) in br_port_flag_is_set() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_device.c | 28 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit() 119 static void br_set_lockdep_class(struct net_device *dev) in br_set_lockdep_class() 124 static int br_dev_init(struct net_device *dev) in br_dev_init() 166 static void br_dev_uninit(struct net_device *dev) in br_dev_uninit() 178 static int br_dev_open(struct net_device *dev) in br_dev_open() 193 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list() 203 static int br_dev_stop(struct net_device *dev) in br_dev_stop() 218 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu() 267 static int br_get_link_ksettings(struct net_device *dev, in br_get_link_ksettings() 311 static void br_netpoll_cleanup(struct net_device *dev) in br_netpoll_cleanup() [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | pci-driver.c | 106 struct pci_dev *dev) in pci_match_id() 137 struct pci_dev *dev) in pci_match_device() 301 struct pci_dev *dev; member 310 struct device *dev = &pci_dev->dev; in local_pci_probe() local 721 static int pci_pm_prepare(struct device *dev) in pci_pm_prepare() 790 static int pci_pm_suspend(struct device *dev) in pci_pm_suspend() 999 static int pci_pm_resume(struct device *dev) in pci_pm_resume() 1041 static int pci_pm_freeze(struct device *dev) in pci_pm_freeze() 1128 static int pci_pm_thaw(struct device *dev) in pci_pm_thaw() 1250 static int pci_pm_restore(struct device *dev) in pci_pm_restore() [all …]
|
/openbmc/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 75 struct net_device *dev; member 112 struct net_device *dev = ni->dev; in ipoib_netdev_event() local 287 struct net_device *dev) in ipoib_is_dev_match_addr_rcu() 931 struct net_device *dev) in neigh_refresh_path() 949 struct net_device *dev) in neigh_add_path() 1207 struct net_device *dev, in ipoib_hard_header() 1372 struct net_device *dev) in ipoib_neigh_ctor() 2165 struct net_device *dev; in ipoib_alloc_netdev() local 2180 struct net_device *dev) in ipoib_intf_init() 2241 struct net_device *dev; in ipoib_intf_alloc() local [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | ax88180.c | 112 static int ax88180_phy_reset (struct eth_device *dev) in ax88180_phy_reset() 130 static void ax88180_mac_reset (struct eth_device *dev) in ax88180_mac_reset() 164 static int ax88180_poll_tx_complete (struct eth_device *dev) in ax88180_poll_tx_complete() 188 static void ax88180_rx_handler (struct eth_device *dev) in ax88180_rx_handler() 255 static int ax88180_phy_initial (struct eth_device *dev) in ax88180_phy_initial() 330 static void ax88180_media_config (struct eth_device *dev) in ax88180_media_config() 524 static void ax88180_halt (struct eth_device *dev) in ax88180_halt() 530 static int ax88180_init (struct eth_device *dev, bd_t * bd) in ax88180_init() 574 static int ax88180_recv (struct eth_device *dev) in ax88180_recv() 668 static void ax88180_read_mac_addr (struct eth_device *dev) in ax88180_read_mac_addr() [all …]
|
H A D | sandbox.c | 28 struct udevice *dev; in sandbox_eth_disable_response() local 57 int sandbox_eth_arp_req_to_reply(struct udevice *dev, void *packet, in sandbox_eth_arp_req_to_reply() 170 int sandbox_eth_recv_arp_req(struct udevice *dev) in sandbox_eth_recv_arp_req() 211 int sandbox_eth_recv_ping_req(struct udevice *dev) in sandbox_eth_recv_ping_req() 286 struct udevice *dev; in sandbox_eth_set_tx_handler() local 308 struct udevice *dev; in sandbox_eth_set_priv() local 321 static int sb_eth_start(struct udevice *dev) in sb_eth_start() 388 static void sb_eth_stop(struct udevice *dev) in sb_eth_stop() 393 static int sb_eth_write_hwaddr(struct udevice *dev) in sb_eth_write_hwaddr() 411 static int sb_eth_remove(struct udevice *dev) in sb_eth_remove() [all …]
|
H A D | cs8900.c | 50 static u16 get_reg_init_bus(struct eth_device *dev, int regno) in get_reg_init_bus() 67 static u16 get_reg(struct eth_device *dev, int regno) in get_reg() 82 static void cs8900_reset(struct eth_device *dev) in cs8900_reset() 100 static void cs8900_reginit(struct eth_device *dev) in cs8900_reginit() 115 void cs8900_get_enetaddr(struct eth_device *dev) in cs8900_get_enetaddr() 138 void cs8900_halt(struct eth_device *dev) in cs8900_halt() 147 static int cs8900_init(struct eth_device *dev, bd_t * bd) in cs8900_init() 171 static int cs8900_recv(struct eth_device *dev) in cs8900_recv() 245 static void cs8900_e2prom_ready(struct eth_device *dev) in cs8900_e2prom_ready() 255 int cs8900_e2prom_read(struct eth_device *dev, in cs8900_e2prom_read() [all …]
|
H A D | smc911x.c | 21 static void smc911x_handle_mac_address(struct eth_device *dev) in smc911x_handle_mac_address() 34 static int smc911x_eth_phy_read(struct eth_device *dev, in smc911x_eth_phy_read() 51 static int smc911x_eth_phy_write(struct eth_device *dev, in smc911x_eth_phy_write() 66 static int smc911x_phy_reset(struct eth_device *dev) in smc911x_phy_reset() 80 static void smc911x_phy_configure(struct eth_device *dev) in smc911x_phy_configure() 111 static void smc911x_enable(struct eth_device *dev) in smc911x_enable() 128 static int smc911x_init(struct eth_device *dev, bd_t * bd) in smc911x_init() 186 static void smc911x_halt(struct eth_device *dev) in smc911x_halt() 192 static int smc911x_rx(struct eth_device *dev) in smc911x_rx() 225 struct eth_device *dev = eth_get_dev_by_name(bus->name); in smc911x_miiphy_read() local [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | imx6ul_ccm.c | 295 static uint64_t imx6ul_analog_get_osc_clk(IMX6ULCCMState *dev) in imx6ul_analog_get_osc_clk() 304 static uint64_t imx6ul_analog_get_pll2_clk(IMX6ULCCMState *dev) in imx6ul_analog_get_pll2_clk() 320 static uint64_t imx6ul_analog_get_pll3_clk(IMX6ULCCMState *dev) in imx6ul_analog_get_pll3_clk() 355 static uint64_t imx6ul_analog_pll2_bypass_clk(IMX6ULCCMState *dev) in imx6ul_analog_pll2_bypass_clk() 432 static uint64_t imx6ul_ccm_get_periph_sel_clk(IMX6ULCCMState *dev) in imx6ul_ccm_get_periph_sel_clk() 452 static uint64_t imx6ul_ccm_get_ahb_clk(IMX6ULCCMState *dev) in imx6ul_ccm_get_ahb_clk() 464 static uint64_t imx6ul_ccm_get_ipg_clk(IMX6ULCCMState *dev) in imx6ul_ccm_get_ipg_clk() 476 static uint64_t imx6ul_ccm_get_per_sel_clk(IMX6ULCCMState *dev) in imx6ul_ccm_get_per_sel_clk() 496 static uint64_t imx6ul_ccm_get_per_clk(IMX6ULCCMState *dev) in imx6ul_ccm_get_per_clk() 536 static void imx6ul_ccm_reset(DeviceState *dev) in imx6ul_ccm_reset() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | init.c | 18 static ssize_t mt7615_thermal_show_temp(struct device *dev, in mt7615_thermal_show_temp() 48 int mt7615_thermal_init(struct mt7615_dev *dev) in mt7615_thermal_init() 69 mt7615_phy_init(struct mt7615_dev *dev) in mt7615_phy_init() 136 mt7615_mac_init(struct mt7615_dev *dev) in mt7615_mac_init() 272 void mt7615_init_txpower(struct mt7615_dev *dev, in mt7615_init_txpower() 320 void mt7615_init_work(struct mt7615_dev *dev) in mt7615_init_work() 335 struct mt7615_dev *dev = mt7615_hw_dev(hw); in mt7615_regd_notifier() local 421 mt7615_cap_dbdc_enable(struct mt7615_dev *dev) in mt7615_cap_dbdc_enable() 437 mt7615_cap_dbdc_disable(struct mt7615_dev *dev) in mt7615_cap_dbdc_disable() 470 struct mt7615_dev *dev; in mt7615_led_set_config() local [all …]
|
H A D | dma.c | 15 mt7622_init_tx_queues_multi(struct mt7615_dev *dev) in mt7622_init_tx_queues_multi() 45 mt7615_init_tx_queues(struct mt7615_dev *dev) in mt7615_init_tx_queues() 68 struct mt7615_dev *dev; in mt7615_poll_tx() local 89 struct mt7615_dev *dev; in mt7615_poll_rx() local 105 int mt7615_wait_pdma_busy(struct mt7615_dev *dev) in mt7615_wait_pdma_busy() 142 static void mt7622_dma_sched_init(struct mt7615_dev *dev) in mt7622_dma_sched_init() 166 static void mt7663_dma_sched_init(struct mt7615_dev *dev) in mt7663_dma_sched_init() 201 void mt7615_dma_start(struct mt7615_dev *dev) in mt7615_dma_start() 220 int mt7615_dma_init(struct mt7615_dev *dev) in mt7615_dma_init() 308 void mt7615_dma_cleanup(struct mt7615_dev *dev) in mt7615_dma_cleanup()
|
H A D | eeprom.c | 12 static int mt7615_efuse_read(struct mt7615_dev *dev, u32 base, in mt7615_efuse_read() 44 static int mt7615_efuse_init(struct mt7615_dev *dev, u32 base) in mt7615_efuse_init() 74 static int mt7615_eeprom_load(struct mt7615_dev *dev, u32 addr) in mt7615_eeprom_load() 87 static int mt7615_check_eeprom(struct mt76_dev *dev) in mt7615_check_eeprom() 102 mt7615_eeprom_parse_hw_band_cap(struct mt7615_dev *dev) in mt7615_eeprom_parse_hw_band_cap() 144 static void mt7615_eeprom_parse_hw_cap(struct mt7615_dev *dev) in mt7615_eeprom_parse_hw_cap() 242 int mt7615_eeprom_get_power_delta_index(struct mt7615_dev *dev, in mt7615_eeprom_get_power_delta_index() 259 static void mt7615_apply_cal_free_data(struct mt7615_dev *dev) in mt7615_apply_cal_free_data() 295 static void mt7622_apply_cal_free_data(struct mt7615_dev *dev) in mt7622_apply_cal_free_data() 315 static void mt7615_cal_free_data(struct mt7615_dev *dev) in mt7615_cal_free_data() [all …]
|
/openbmc/linux/net/8021q/ |
H A D | vlan_dev.c | 100 struct net_device *dev) in vlan_dev_hard_start_xmit() 248 bool vlan_dev_inherit_address(struct net_device *dev, in vlan_dev_inherit_address() 259 static int vlan_dev_open(struct net_device *dev) in vlan_dev_open() 311 static int vlan_dev_stop(struct net_device *dev) in vlan_dev_stop() 357 static int vlan_hwtstamp_get(struct net_device *dev, in vlan_hwtstamp_get() 365 static int vlan_hwtstamp_set(struct net_device *dev, in vlan_hwtstamp_set() 440 static int vlan_dev_fcoe_enable(struct net_device *dev) in vlan_dev_fcoe_enable() 568 static int vlan_dev_init(struct net_device *dev) in vlan_dev_init() 657 static void vlan_dev_uninit(struct net_device *dev) in vlan_dev_uninit() 1103 static void vlan_dev_free(struct net_device *dev) in vlan_dev_free() [all …]
|
/openbmc/linux/drivers/net/ethernet/dlink/ |
H A D | dl2k.c | 105 struct net_device *dev; in rio_probe1() local 304 find_miiphy (struct net_device *dev) in find_miiphy() 326 parse_eeprom (struct net_device *dev) in parse_eeprom() 775 struct net_device *dev = dev_instance; in rio_interrupt() local 1069 get_stats (struct net_device *dev) in get_stats() 1131 clear_stats (struct net_device *dev) in clear_stats() 1186 set_multicast (struct net_device *dev) in set_multicast() 1402 mii_getbit (struct net_device *dev) in mii_getbit() 1488 mii_get_media (struct net_device *dev) in mii_get_media() 1574 mii_set_media (struct net_device *dev) in mii_set_media() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | aqc111.c | 199 struct usbnet *dev = netdev_priv(net); in aqc111_get_drvinfo() local 216 struct usbnet *dev = netdev_priv(net); in aqc111_get_wol() local 229 struct usbnet *dev = netdev_priv(net); in aqc111_set_wol() local 268 struct usbnet *dev = netdev_priv(net); in aqc111_get_link_ksettings() local 370 struct usbnet *dev = netdev_priv(net); in aqc111_set_link_ksettings() local 423 struct usbnet *dev = netdev_priv(net); in aqc111_change_mtu() local 465 struct usbnet *dev = netdev_priv(net); in aqc111_set_mac_addr() local 480 struct usbnet *dev = netdev_priv(net); in aqc111_vlan_rx_kill_vid() local 505 struct usbnet *dev = netdev_priv(net); in aqc111_vlan_rx_add_vid() local 530 struct usbnet *dev = netdev_priv(net); in aqc111_set_rx_mode() local [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | cnic.c | 109 struct cnic_dev *dev; in cnic_uio_open() local 475 struct cnic_dev *dev; in cnic_register_driver() local 516 struct cnic_dev *dev; in cnic_unregister_driver() local 2999 struct cnic_dev *dev = data; in cnic_service_bnx2() local 3013 struct cnic_dev *dev = cp->dev; in cnic_service_bnx2_msix() local 3173 struct cnic_dev *dev = data; in cnic_service_bnx2x() local 3260 struct cnic_dev *dev = data; in cnic_ctl() local 3714 struct cnic_dev *dev = NULL; in cnic_cm_select_dev() local 4072 struct cnic_dev *dev = data; in cnic_cm_indicate_kcqe() local 4266 struct cnic_dev *dev; in cnic_delete_task() local [all …]
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | drivers.c | 48 static inline int check_dev(struct device *dev) in check_dev() 122 static int parisc_driver_probe(struct device *dev) in parisc_driver_probe() 229 struct parisc_device * dev; member 232 static int find_device(struct device * dev, void * data) in find_device() 292 const struct device *dev = &padev->dev; in find_pa_parent_type() local 447 struct parisc_device * dev; member 500 struct parisc_device *dev; in alloc_pa_dev() local 697 struct device * dev; member 794 #define BUS_CONVERTER(dev) \ argument 797 #define IS_LOWER_PORT(dev) \ argument [all …]
|
/openbmc/linux/drivers/net/wan/ |
H A D | hdlc.c | 45 static int hdlc_rcv(struct sk_buff *skb, struct net_device *dev, in hdlc_rcv() 78 static inline void hdlc_proto_start(struct net_device *dev) in hdlc_proto_start() 86 static inline void hdlc_proto_stop(struct net_device *dev) in hdlc_proto_stop() 97 struct net_device *dev = netdev_notifier_info_to_dev(ptr); in hdlc_device_event() local 143 int hdlc_open(struct net_device *dev) in hdlc_open() 178 void hdlc_close(struct net_device *dev) in hdlc_close() 224 static void hdlc_setup_dev(struct net_device *dev) in hdlc_setup_dev() 241 static void hdlc_setup(struct net_device *dev) in hdlc_setup() 253 struct net_device *dev; in alloc_hdlcdev() local 263 void unregister_hdlc_device(struct net_device *dev) in unregister_hdlc_device() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
H A D | vhca_event.c | 13 struct mlx5_core_dev *dev; member 35 static int mlx5_cmd_modify_vhca_state(struct mlx5_core_dev *dev, u16 function_id, in mlx5_cmd_modify_vhca_state() 47 int mlx5_modify_vhca_sw_id(struct mlx5_core_dev *dev, u16 function_id, u32 sw_fn_id) in mlx5_modify_vhca_sw_id() 61 int mlx5_vhca_event_arm(struct mlx5_core_dev *dev, u16 function_id) in mlx5_vhca_event_arm() 72 mlx5_vhca_event_notify(struct mlx5_core_dev *dev, struct mlx5_vhca_state_event *event) in mlx5_vhca_event_notify() 96 struct mlx5_core_dev *dev = notifier->dev; in mlx5_vhca_state_work_handler() local 120 void mlx5_vhca_state_cap_handle(struct mlx5_core_dev *dev, void *set_hca_cap) in mlx5_vhca_state_cap_handle() 132 int mlx5_vhca_event_init(struct mlx5_core_dev *dev) in mlx5_vhca_event_init() 150 void mlx5_vhca_event_cleanup(struct mlx5_core_dev *dev) in mlx5_vhca_event_cleanup() 159 void mlx5_vhca_event_start(struct mlx5_core_dev *dev) in mlx5_vhca_event_start() [all …]
|
/openbmc/linux/block/ |
H A D | sed-opal.c | 455 static int opal_send_cmd(struct opal_dev *dev) in opal_send_cmd() 462 static int opal_recv_cmd(struct opal_dev *dev) in opal_recv_cmd() 469 static int opal_recv_check(struct opal_dev *dev) in opal_recv_check() 518 static int execute_step(struct opal_dev *dev, in execute_step() 532 static int execute_steps(struct opal_dev *dev, in execute_steps() 1184 static void clear_opal_cmd(struct opal_dev *dev) in clear_opal_cmd() 1976 struct opal_dev *dev) in generic_pw_cmd() 2034 struct opal_dev *dev, in add_authority_object_ref() 2047 struct opal_dev *dev, in add_boolean_object_ref() 2498 void free_opal_dev(struct opal_dev *dev) in free_opal_dev() [all …]
|
/openbmc/linux/net/dsa/ |
H A D | slave.c | 35 struct net_device *dev; member 56 struct net_device *dev; member 63 struct net_device *dev; member 87 struct net_device *dev = standalone_work->dev; in dsa_slave_standalone_event_work() local 276 void dsa_slave_sync_ha(struct net_device *dev) in dsa_slave_sync_ha() 297 void dsa_slave_unsync_ha(struct net_device *dev) in dsa_slave_unsync_ha() 358 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open() 497 struct net_device *dev; member 1619 struct net_device *dev = cb_priv; in dsa_slave_setup_tc_block_cb() local 1961 struct net_device *dev; member [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | devres.c | 11 static int devm_extcon_dev_match(struct device *dev, void *res, void *data) in devm_extcon_dev_match() 21 static void devm_extcon_dev_release(struct device *dev, void *res) in devm_extcon_dev_release() 27 static void devm_extcon_dev_unreg(struct device *dev, void *res) in devm_extcon_dev_unreg() 38 static void devm_extcon_dev_notifier_unreg(struct device *dev, void *res) in devm_extcon_dev_notifier_unreg() 45 static void devm_extcon_dev_notifier_all_unreg(struct device *dev, void *res) in devm_extcon_dev_notifier_all_unreg() 65 struct extcon_dev *devm_extcon_dev_allocate(struct device *dev, in devm_extcon_dev_allocate() 97 void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_free() 118 int devm_extcon_dev_register(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_register() 148 void devm_extcon_dev_unregister(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_unregister() 206 void devm_extcon_unregister_notifier(struct device *dev, in devm_extcon_unregister_notifier() [all …]
|