/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
H A D | davinci_mdio.c | 84 struct device *dev; member 137 ret = pm_runtime_get_sync(data->dev); in davinci_mdio_reset() 139 pm_runtime_put_noidle(data->dev); in davinci_mdio_reset() 148 dev_info(data->dev, in davinci_mdio_reset() 160 dev_info(data->dev, "detected phy mask %x\n", ~phy_mask); in davinci_mdio_reset() 164 dev_warn(data->dev, "no live phy, scanning all\n"); in davinci_mdio_reset() 170 pm_runtime_mark_last_busy(data->dev); in davinci_mdio_reset() 171 pm_runtime_put_autosuspend(data->dev); in davinci_mdio_reset() 199 dev_warn(data->dev, "resetting idled controller\n"); in wait_for_user_access() 208 dev_err(data->dev, "time in wait_for_user_access() 343 struct device *dev = &pdev->dev; davinci_mdio_probe() local 456 davinci_mdio_runtime_suspend(struct device *dev) davinci_mdio_runtime_suspend() argument 470 davinci_mdio_runtime_resume(struct device *dev) davinci_mdio_runtime_resume() argument 480 davinci_mdio_suspend(struct device *dev) davinci_mdio_suspend() argument 497 davinci_mdio_resume(struct device *dev) davinci_mdio_resume() argument [all...] |
/kernel/linux/linux-5.10/drivers/slimbus/ |
H A D | core.c | 33 static int slim_device_match(struct device *dev, struct device_driver *drv) in slim_device_match() argument 35 struct slim_device *sbdev = to_slim_device(dev); in slim_device_match() 39 if (of_driver_match_device(dev, drv)) in slim_device_match() 54 if (!sbdev->dev.driver) in slim_device_update_status() 57 sbdrv = to_slim_driver(sbdev->dev.driver); in slim_device_update_status() 62 static int slim_device_probe(struct device *dev) in slim_device_probe() argument 64 struct slim_device *sbdev = to_slim_device(dev); in slim_device_probe() 65 struct slim_driver *sbdrv = to_slim_driver(dev->driver); in slim_device_probe() 77 dev_err(&sbdev->dev, "Failed to get logical address\n"); in slim_device_probe() 84 static int slim_device_remove(struct device *dev) in slim_device_remove() argument 98 slim_device_uevent(struct device *dev, struct kobj_uevent_env *env) slim_device_uevent() argument 147 slim_dev_release(struct device *dev) slim_dev_release() argument 200 struct device *dev = ctrl->dev; of_register_slim_devices() local 289 slim_ctrl_remove_device(struct device *dev, void *null) slim_ctrl_remove_device() argument 341 slim_match_dev(struct device *dev, void *data) slim_match_dev() argument 353 struct device *dev; find_slim_device() local 389 of_slim_match_dev(struct device *dev, void *data) of_slim_match_dev() argument 401 struct device *dev; of_find_slim_device() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
H A D | hw_table.c | 33 struct mlx5_core_dev *dev; member 40 mlx5_sf_controller_to_hwc(struct mlx5_core_dev *dev, u32 controller) in mlx5_sf_controller_to_hwc() argument 44 return &dev->priv.sf_hw_table->hwc[idx]; in mlx5_sf_controller_to_hwc() 47 u16 mlx5_sf_sw_to_hw_id(struct mlx5_core_dev *dev, u32 controller, u16 sw_id) in mlx5_sf_sw_to_hw_id() argument 51 hwc = mlx5_sf_controller_to_hwc(dev, controller); in mlx5_sf_sw_to_hw_id() 81 hwc = mlx5_sf_controller_to_hwc(table->dev, controller); in mlx5_sf_hw_table_id_alloc() 107 hwc = mlx5_sf_controller_to_hwc(table->dev, controller); in mlx5_sf_hw_table_id_free() 112 int mlx5_sf_hw_table_sf_alloc(struct mlx5_core_dev *dev, u32 controller, u32 usr_sfnum) in mlx5_sf_hw_table_sf_alloc() argument 114 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_alloc() 129 hw_fn_id = mlx5_sf_sw_to_hw_id(dev, controlle in mlx5_sf_hw_table_sf_alloc() 160 mlx5_sf_hw_table_sf_free(struct mlx5_core_dev *dev, u32 controller, u16 id) mlx5_sf_hw_table_sf_free() argument 172 mlx5_sf_hw_table_hwc_sf_free(struct mlx5_core_dev *dev, struct mlx5_sf_hwc_table *hwc, int idx) mlx5_sf_hw_table_hwc_sf_free() argument 181 mlx5_sf_hw_table_sf_deferred_free(struct mlx5_core_dev *dev, u32 controller, u16 id) mlx5_sf_hw_table_sf_deferred_free() argument 208 mlx5_sf_hw_table_hwc_dealloc_all(struct mlx5_core_dev *dev, struct mlx5_sf_hwc_table *hwc) mlx5_sf_hw_table_hwc_dealloc_all() argument 247 mlx5_sf_hw_table_res_unregister(struct mlx5_core_dev *dev) mlx5_sf_hw_table_res_unregister() argument 252 mlx5_sf_hw_table_res_register(struct mlx5_core_dev *dev, u16 max_fn, u16 max_ext_fn) mlx5_sf_hw_table_res_register() argument 273 mlx5_sf_hw_table_init(struct mlx5_core_dev *dev) mlx5_sf_hw_table_init() argument 330 mlx5_sf_hw_table_cleanup(struct mlx5_core_dev *dev) mlx5_sf_hw_table_cleanup() argument 373 mlx5_sf_hw_table_create(struct mlx5_core_dev *dev) mlx5_sf_hw_table_create() argument 384 mlx5_sf_hw_table_destroy(struct mlx5_core_dev *dev) mlx5_sf_hw_table_destroy() argument 396 mlx5_sf_hw_table_supported(const struct mlx5_core_dev *dev) mlx5_sf_hw_table_supported() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | pm.h | 27 extern void pm_vt_switch_required(struct device *dev, bool required); 28 extern void pm_vt_switch_unregister(struct device *dev); 30 static inline void pm_vt_switch_required(struct device *dev, bool required) in pm_vt_switch_required() argument 33 static inline void pm_vt_switch_unregister(struct device *dev) in pm_vt_switch_unregister() argument 287 int (*prepare)(struct device *dev); 288 void (*complete)(struct device *dev); 289 int (*suspend)(struct device *dev); 290 int (*resume)(struct device *dev); 291 int (*freeze)(struct device *dev); 292 int (*thaw)(struct device *dev); [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | switchdev.h | 56 void (*complete)(struct net_device *dev, int err, void *priv); 92 void (*complete)(struct net_device *dev, int err, void *priv); 205 struct net_device *dev; member 236 struct net_device *dev; member 274 return info->dev; in switchdev_notifier_info_to_dev() 292 struct net_device *dev, const void *ctx, 302 struct net_device *dev, const void *ctx, 308 int switchdev_port_attr_set(struct net_device *dev, 311 bool switchdev_port_obj_act_is_deferred(struct net_device *dev, 314 int switchdev_port_obj_add(struct net_device *dev, 377 switchdev_bridge_port_offload(struct net_device *brport_dev, struct net_device *dev, const void *ctx, struct notifier_block *atomic_nb, struct notifier_block *blocking_nb, bool tx_fwd_offload, struct netlink_ext_ack *extack) switchdev_bridge_port_offload() argument 399 switchdev_port_attr_set(struct net_device *dev, const struct switchdev_attr *attr, struct netlink_ext_ack *extack) switchdev_port_attr_set() argument 406 switchdev_port_obj_add(struct net_device *dev, const struct switchdev_obj *obj, struct netlink_ext_ack *extack) switchdev_port_obj_add() argument 413 switchdev_port_obj_del(struct net_device *dev, const struct switchdev_obj *obj) switchdev_port_obj_del() argument 429 call_switchdev_notifiers(unsigned long val, struct net_device *dev, struct switchdev_notifier_info *info, struct netlink_ext_ack *extack) call_switchdev_notifiers() argument 450 call_switchdev_blocking_notifiers(unsigned long val, struct net_device *dev, struct switchdev_notifier_info *info, struct netlink_ext_ack *extack) call_switchdev_blocking_notifiers() argument 459 switchdev_handle_fdb_event_to_device(struct net_device *dev, unsigned long event, const struct switchdev_notifier_fdb_info *fdb_info, bool (*check_cb)(const struct net_device *dev), bool (*foreign_dev_check_cb)(const struct net_device *dev, const struct net_device *foreign_dev), int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, unsigned long event, const void *ctx, const struct switchdev_notifier_fdb_info *fdb_info)) switchdev_handle_fdb_event_to_device() argument 472 switchdev_handle_port_obj_add(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*add_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj, struct netlink_ext_ack *extack)) switchdev_handle_port_obj_add() argument 482 switchdev_handle_port_obj_add_foreign(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), bool (*foreign_dev_check_cb)(const struct net_device *dev, const struct net_device *foreign_dev), int (*add_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj, struct netlink_ext_ack *extack)) switchdev_handle_port_obj_add_foreign() argument 495 switchdev_handle_port_obj_del(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*del_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj)) switchdev_handle_port_obj_del() argument 505 switchdev_handle_port_obj_del_foreign(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), bool (*foreign_dev_check_cb)(const struct net_device *dev, const struct net_device *foreign_dev), int (*del_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj)) switchdev_handle_port_obj_del_foreign() argument 517 switchdev_handle_port_attr_set(struct net_device *dev, struct switchdev_notifier_port_attr_info *port_attr_info, bool (*check_cb)(const struct net_device *dev), int (*set_cb)(struct net_device *dev, const void *ctx, const struct switchdev_attr *attr, struct netlink_ext_ack *extack)) switchdev_handle_port_attr_set() argument [all...] |
/kernel/linux/linux-6.6/drivers/slimbus/ |
H A D | core.c | 33 static int slim_device_match(struct device *dev, struct device_driver *drv) in slim_device_match() argument 35 struct slim_device *sbdev = to_slim_device(dev); in slim_device_match() 39 if (of_driver_match_device(dev, drv)) in slim_device_match() 54 if (!sbdev->dev.driver) in slim_device_update_status() 57 sbdrv = to_slim_driver(sbdev->dev.driver); in slim_device_update_status() 62 static int slim_device_probe(struct device *dev) in slim_device_probe() argument 64 struct slim_device *sbdev = to_slim_device(dev); in slim_device_probe() 65 struct slim_driver *sbdrv = to_slim_driver(dev->driver); in slim_device_probe() 77 dev_err(&sbdev->dev, "Failed to get logical address\n"); in slim_device_probe() 84 static void slim_device_remove(struct device *dev) in slim_device_remove() argument 96 slim_device_uevent(const struct device *dev, struct kobj_uevent_env *env) slim_device_uevent() argument 145 slim_dev_release(struct device *dev) slim_dev_release() argument 198 struct device *dev = ctrl->dev; of_register_slim_devices() local 287 slim_ctrl_remove_device(struct device *dev, void *null) slim_ctrl_remove_device() argument 339 slim_match_dev(struct device *dev, void *data) slim_match_dev() argument 351 struct device *dev; find_slim_device() local 387 of_slim_match_dev(struct device *dev, void *data) of_slim_match_dev() argument 399 struct device *dev; of_find_slim_device() local [all...] |
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | sysfs.c | 12 static ssize_t clk_max_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf) in clk_max_freq_mhz_show() argument 14 struct hl_device *hdev = dev_get_drvdata(dev); in clk_max_freq_mhz_show() 29 static ssize_t clk_max_freq_mhz_store(struct device *dev, struct device_attribute *attr, in clk_max_freq_mhz_store() argument 32 struct hl_device *hdev = dev_get_drvdata(dev); in clk_max_freq_mhz_store() 55 static ssize_t clk_cur_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf) in clk_cur_freq_mhz_show() argument 57 struct hl_device *hdev = dev_get_drvdata(dev); in clk_cur_freq_mhz_show() 79 static ssize_t vrm_ver_show(struct device *dev, struct device_attribute *attr, char *buf) in vrm_ver_show() argument 81 struct hl_device *hdev = dev_get_drvdata(dev); in vrm_ver_show() 100 static ssize_t uboot_ver_show(struct device *dev, struct device_attribute *attr, in uboot_ver_show() argument 103 struct hl_device *hdev = dev_get_drvdata(dev); in uboot_ver_show() 108 armcp_kernel_ver_show(struct device *dev, struct device_attribute *attr, char *buf) armcp_kernel_ver_show() argument 116 armcp_ver_show(struct device *dev, struct device_attribute *attr, char *buf) armcp_ver_show() argument 124 cpld_ver_show(struct device *dev, struct device_attribute *attr, char *buf) cpld_ver_show() argument 133 cpucp_kernel_ver_show(struct device *dev, struct device_attribute *attr, char *buf) cpucp_kernel_ver_show() argument 141 cpucp_ver_show(struct device *dev, struct device_attribute *attr, char *buf) cpucp_ver_show() argument 149 fuse_ver_show(struct device *dev, struct device_attribute *attr, char *buf) fuse_ver_show() argument 157 thermal_ver_show(struct device *dev, struct device_attribute *attr, char *buf) thermal_ver_show() argument 165 fw_os_ver_show(struct device *dev, struct device_attribute *attr, char *buf) fw_os_ver_show() argument 173 preboot_btl_ver_show(struct device *dev, struct device_attribute *attr, char *buf) preboot_btl_ver_show() argument 181 soft_reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) soft_reset_store() argument 209 hard_reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) hard_reset_store() argument 232 device_type_show(struct device *dev, struct device_attribute *attr, char *buf) device_type_show() argument 266 pci_addr_show(struct device *dev, struct device_attribute *attr, char *buf) pci_addr_show() argument 278 status_show(struct device *dev, struct device_attribute *attr, char *buf) status_show() argument 292 soft_reset_cnt_show(struct device *dev, struct device_attribute *attr, char *buf) soft_reset_cnt_show() argument 300 hard_reset_cnt_show(struct device *dev, struct device_attribute *attr, char *buf) hard_reset_cnt_show() argument 308 max_power_show(struct device *dev, struct device_attribute *attr, char *buf) max_power_show() argument 324 max_power_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) max_power_store() argument 354 struct device *dev = kobj_to_dev(kobj); eeprom_read_handler() local 381 security_enabled_show(struct device *dev, struct device_attribute *attr, char *buf) security_enabled_show() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_vm.c | 114 struct drm_device *dev = priv->minor->dev; in drm_vm_fault() local 122 if (!dev->agp) in drm_vm_fault() 125 if (!dev->agp || !dev->agp->cant_use_aperture) in drm_vm_fault() 128 if (drm_ht_find_item(&dev->map_hash, vma->vm_pgoff, &hash)) in drm_vm_fault() 148 baddr -= dev->hose->mem_space->start; in drm_vm_fault() 154 list_for_each_entry(agpmem, &dev->agp->memory, head) { in drm_vm_fault() 160 if (&agpmem->head == &dev->agp->memory) in drm_vm_fault() 233 struct drm_device *dev in drm_vm_shm_close() local 303 struct drm_device *dev = priv->minor->dev; drm_vm_dma_fault() local 339 struct drm_device *dev = priv->minor->dev; drm_vm_sg_fault() local 389 drm_vm_open_locked(struct drm_device *dev, struct vm_area_struct *vma) drm_vm_open_locked() argument 408 struct drm_device *dev = priv->minor->dev; drm_vm_open() local 415 drm_vm_close_locked(struct drm_device *dev, struct vm_area_struct *vma) drm_vm_close_locked() argument 443 struct drm_device *dev = priv->minor->dev; drm_vm_close() local 463 struct drm_device *dev; drm_mmap_dma() local 501 drm_core_get_reg_ofs(struct drm_device *dev) drm_core_get_reg_ofs() argument 526 struct drm_device *dev = priv->minor->dev; drm_mmap_locked() local 640 struct drm_device *dev = priv->minor->dev; drm_legacy_mmap() local 655 drm_legacy_vma_flush(struct drm_device *dev) drm_legacy_vma_flush() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi.c | 92 phy_node = of_parse_phandle(pdev->dev.of_node, "phys", 0); in msm_hdmi_get_phy() 94 DRM_DEV_ERROR(&pdev->dev, "cannot find phy device\n"); in msm_hdmi_get_phy() 102 return dev_err_probe(&pdev->dev, -EPROBE_DEFER, "phy driver is not ready\n"); in msm_hdmi_get_phy() 106 put_device(&phy_pdev->dev); in msm_hdmi_get_phy() 107 return dev_err_probe(&pdev->dev, -EPROBE_DEFER, "phy driver is not ready\n"); in msm_hdmi_get_phy() 110 hdmi->phy_dev = &phy_pdev->dev; in msm_hdmi_get_phy() 133 DRM_DEV_ERROR(&pdev->dev, "failed to get i2c: %d\n", ret); in msm_hdmi_init() 140 dev_warn(&pdev->dev, "failed to init hdcp: disabled\n"); in msm_hdmi_init() 161 struct drm_device *dev, struct drm_encoder *encoder) in msm_hdmi_modeset_init() 163 struct msm_drm_private *priv = dev in msm_hdmi_modeset_init() 160 msm_hdmi_modeset_init(struct hdmi *hdmi, struct drm_device *dev, struct drm_encoder *encoder) msm_hdmi_modeset_init() argument 267 msm_hdmi_audio_hw_params(struct device *dev, void *data, struct hdmi_codec_daifmt *daifmt, struct hdmi_codec_params *params) msm_hdmi_audio_hw_params() argument 341 msm_hdmi_audio_shutdown(struct device *dev, void *data) msm_hdmi_audio_shutdown() argument 359 msm_hdmi_register_audio_driver(struct hdmi *hdmi, struct device *dev) msm_hdmi_register_audio_driver() argument 369 msm_hdmi_bind(struct device *dev, struct device *master, void *data) msm_hdmi_bind() argument 389 msm_hdmi_unbind(struct device *dev, struct device *master, void *data) msm_hdmi_unbind() argument 411 struct device *dev = &pdev->dev; msm_hdmi_dev_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | io_edgeport.c | 281 static int calc_baud_rate_divisor(struct device *dev, int baud_rate, int *divisor); 310 struct device *dev = &edge_serial->serial->dev->dev; in update_edgeport_E2PROM() local 334 &edge_serial->serial->dev->dev); in update_edgeport_E2PROM() 336 dev_err(dev, "Failed to load image \"%s\" err %d\n", in update_edgeport_E2PROM() 355 dev_dbg(dev, "Current Boot Image version %d.%d.%d\n", in update_edgeport_E2PROM() 362 dev_dbg(dev, "**Update Boot Image from %d.%d.%d to %d.%d.%d\n", in update_edgeport_E2PROM() 368 dev_dbg(dev, "Downloadin in update_edgeport_E2PROM() 395 struct device *dev = &edge_serial->serial->dev->dev; dump_product_info() local 497 struct device *dev = &serial->dev->dev; get_epic_descriptor() local 570 struct device *dev; edge_interrupt_callback() local 684 struct device *dev; edge_bulk_in_callback() local 816 struct device *dev = &port->dev; edge_open() local 949 struct device *dev = &edge_port->port->dev; block_until_chase_response() local 1006 struct device *dev = &edge_port->port->dev; block_until_tx_empty() local 1213 struct device *dev = &edge_port->port->dev; send_more_port_data() local 1613 struct device *dev = &serial->dev->dev; process_rcvd_data() local 1752 struct device *dev; process_rcvd_status() local 2131 struct device *dev = &edge_port->port->dev; write_cmd_usb() local 2186 struct device *dev = &edge_port->port->dev; send_cmd_write_baud_rate() local 2242 calc_baud_rate_divisor(struct device *dev, int baudrate, int *divisor) calc_baud_rate_divisor() argument 2280 struct device *dev = &edge_port->port->dev; send_cmd_write_uart_register() local 2333 struct device *dev = &edge_port->port->dev; change_port_settings() local 2525 struct device *dev = &edge_serial->serial->dev->dev; get_manufacturing_desc() local 2585 struct device *dev = &edge_serial->serial->dev->dev; get_boot_desc() local 2625 struct device *dev = &edge_serial->serial->dev->dev; load_application_firmware() local 2703 struct usb_device *dev; edge_startup() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
H A D | smsc911x.c | 113 struct net_device *dev; member 425 ret = regulator_bulk_get(&pdev->dev, in smsc911x_request_resources() 440 pdata->reset_gpiod = devm_gpiod_get_optional(&pdev->dev, in smsc911x_request_resources() 445 pdata->clk = clk_get(&pdev->dev, NULL); in smsc911x_request_resources() 447 dev_dbg(&pdev->dev, "couldn't get clock %li\n", in smsc911x_request_resources() 835 static int smsc911x_phy_loopbacktest(struct net_device *dev) in smsc911x_phy_loopbacktest() argument 837 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_phy_loopbacktest() 838 struct phy_device *phy_dev = dev->phydev; in smsc911x_phy_loopbacktest() 908 struct net_device *ndev = pdata->dev; in smsc911x_phy_update_flowcontrol() 947 static void smsc911x_phy_adjust_link(struct net_device *dev) in smsc911x_phy_adjust_link() argument 1012 smsc911x_mii_probe(struct net_device *dev) smsc911x_mii_probe() argument 1059 smsc911x_mii_init(struct platform_device *pdev, struct net_device *dev) smsc911x_mii_init() argument 1121 smsc911x_tx_update_txcounters(struct net_device *dev) smsc911x_tx_update_txcounters() argument 1162 smsc911x_rx_counterrors(struct net_device *dev, unsigned int rxstat) smsc911x_rx_counterrors() argument 1209 struct net_device *dev = pdata->dev; smsc911x_poll() local 1514 smsc911x_disable_irq_chip(struct net_device *dev) smsc911x_disable_irq_chip() argument 1524 struct net_device *dev = dev_id; smsc911x_irqhandler() local 1583 smsc911x_open(struct net_device *dev) smsc911x_open() argument 1742 smsc911x_stop(struct net_device *dev) smsc911x_stop() argument 1776 smsc911x_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) smsc911x_hard_start_xmit() argument 1828 smsc911x_get_stats(struct net_device *dev) smsc911x_get_stats() argument 1837 smsc911x_set_multicast_list(struct net_device *dev) smsc911x_set_multicast_list() argument 1912 smsc911x_poll_controller(struct net_device *dev) smsc911x_poll_controller() argument 1920 smsc911x_set_mac_address(struct net_device *dev, void *p) smsc911x_set_mac_address() argument 1945 smsc911x_ethtool_getdrvinfo(struct net_device *dev, struct ethtool_drvinfo *info) smsc911x_ethtool_getdrvinfo() argument 1954 smsc911x_ethtool_getmsglevel(struct net_device *dev) smsc911x_ethtool_getmsglevel() argument 1960 smsc911x_ethtool_setmsglevel(struct net_device *dev, u32 level) smsc911x_ethtool_setmsglevel() argument 1966 smsc911x_ethtool_getregslen(struct net_device *dev) smsc911x_ethtool_getregslen() argument 1973 smsc911x_ethtool_getregs(struct net_device *dev, struct ethtool_regs *regs, void *buf) smsc911x_ethtool_getregs() argument 2075 smsc911x_ethtool_get_eeprom_len(struct net_device *dev) smsc911x_ethtool_get_eeprom_len() argument 2080 smsc911x_ethtool_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 *data) smsc911x_ethtool_get_eeprom() argument 2104 smsc911x_ethtool_set_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 *data) smsc911x_ethtool_set_eeprom() argument 2152 smsc911x_read_mac_address(struct net_device *dev) smsc911x_read_mac_address() argument 2167 smsc911x_init(struct net_device *dev) smsc911x_init() argument 2306 struct net_device *dev; smsc911x_drv_remove() local 2359 smsc911x_probe_config(struct smsc911x_platform_config *config, struct device *dev) smsc911x_probe_config() argument 2403 struct net_device *dev; smsc911x_drv_probe() local 2571 smsc911x_suspend(struct device *dev) smsc911x_suspend() argument 2593 smsc911x_resume(struct device *dev) smsc911x_resume() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
H A D | 8139too.c | 186 /* max supported ethernet frame size -- must be at least (dev->mtu+18+4).*/ 192 /* Size of the Tx bounce buffers -- must be at least (dev->mtu+18+4). */ 585 struct net_device *dev; member 606 unsigned int default_port : 4; /* Last dev->if_port value. */ 640 static int rtl8139_open (struct net_device *dev); 641 static int mdio_read (struct net_device *dev, int phy_id, int location); 642 static void mdio_write (struct net_device *dev, int phy_id, int location, 645 static void rtl8139_tx_timeout (struct net_device *dev, unsigned int txqueue); 646 static void rtl8139_init_ring (struct net_device *dev); 648 struct net_device *dev); 718 __rtl8139_cleanup_dev(struct net_device *dev) __rtl8139_cleanup_dev() argument 758 struct net_device *dev; rtl8139_init_board() local 900 rtl8139_set_features(struct net_device *dev, netdev_features_t features) rtl8139_set_features() argument 946 struct net_device *dev = NULL; rtl8139_init_one() local 1116 struct net_device *dev = pci_get_drvdata (pdev); rtl8139_remove_one() local 1233 mdio_read(struct net_device *dev, int phy_id, int location) mdio_read() argument 1275 mdio_write(struct net_device *dev, int phy_id, int location, int value) mdio_write() argument 1319 rtl8139_open(struct net_device *dev) rtl8139_open() argument 1370 rtl_check_media(struct net_device *dev, unsigned int init_media) rtl_check_media() argument 1380 rtl8139_hw_start(struct net_device *dev) rtl8139_hw_start() argument 1447 rtl8139_init_ring(struct net_device *dev) rtl8139_init_ring() argument 1465 rtl8139_tune_twister(struct net_device *dev, struct rtl8139_private *tp) rtl8139_tune_twister() argument 1481 rtl8139_tune_twister(struct net_device *dev, struct rtl8139_private *tp) rtl8139_tune_twister() argument 1567 rtl8139_thread_iter(struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr) rtl8139_thread_iter() argument 1612 struct net_device *dev = tp->mii.dev; rtl8139_thread() local 1658 struct net_device *dev = tp->mii.dev; rtl8139_tx_timeout_task() local 1703 rtl8139_tx_timeout(struct net_device *dev, unsigned int txqueue) rtl8139_tx_timeout() argument 1714 rtl8139_start_xmit(struct sk_buff *skb, struct net_device *dev) rtl8139_start_xmit() argument 1761 rtl8139_tx_interrupt(struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr) rtl8139_tx_interrupt() argument 1833 rtl8139_rx_err(u32 rx_status, struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr) rtl8139_rx_err() argument 1946 rtl8139_rx(struct net_device *dev, struct rtl8139_private *tp, int budget) rtl8139_rx() argument 2088 rtl8139_weird_interrupt(struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr, int status, int link_changed) rtl8139_weird_interrupt() argument 2128 struct net_device *dev = tp->dev; rtl8139_poll() local 2154 struct net_device *dev = (struct net_device *) dev_instance; rtl8139_interrupt() local 2221 rtl8139_poll_controller(struct net_device *dev) rtl8139_poll_controller() argument 2232 rtl8139_set_mac_address(struct net_device *dev, void *p) rtl8139_set_mac_address() argument 2255 rtl8139_close(struct net_device *dev) rtl8139_close() argument 2305 rtl8139_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) rtl8139_get_wol() argument 2339 rtl8139_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) rtl8139_set_wol() argument 2379 rtl8139_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) rtl8139_get_drvinfo() argument 2387 rtl8139_get_link_ksettings(struct net_device *dev, struct ethtool_link_ksettings *cmd) rtl8139_get_link_ksettings() argument 2397 rtl8139_set_link_ksettings(struct net_device *dev, const struct ethtool_link_ksettings *cmd) rtl8139_set_link_ksettings() argument 2408 rtl8139_nway_reset(struct net_device *dev) rtl8139_nway_reset() argument 2414 rtl8139_get_link(struct net_device *dev) rtl8139_get_link() argument 2420 rtl8139_get_msglevel(struct net_device *dev) rtl8139_get_msglevel() argument 2426 rtl8139_set_msglevel(struct net_device *dev, u32 datum) rtl8139_set_msglevel() argument 2432 rtl8139_get_regs_len(struct net_device *dev) rtl8139_get_regs_len() argument 2442 rtl8139_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *regbuf) rtl8139_get_regs() argument 2458 rtl8139_get_sset_count(struct net_device *dev, int sset) rtl8139_get_sset_count() argument 2468 rtl8139_get_ethtool_stats(struct net_device *dev, struct ethtool_stats *stats, u64 *data) rtl8139_get_ethtool_stats() argument 2478 rtl8139_get_strings(struct net_device *dev, u32 stringset, u8 *data) rtl8139_get_strings() argument 2500 netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) netdev_ioctl() argument 2517 rtl8139_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) rtl8139_get_stats64() argument 2549 __set_rx_mode(struct net_device *dev) __set_rx_mode() argument 2596 rtl8139_set_rx_mode(struct net_device *dev) rtl8139_set_rx_mode() argument 2608 struct net_device *dev = dev_get_drvdata(device); rtl8139_suspend() local 2635 struct net_device *dev = dev_get_drvdata(device); rtl8139_resume() local [all...] |
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | ip6_gre.c | 76 static int ip6gre_tunnel_init(struct net_device *dev); 77 static void ip6gre_tunnel_setup(struct net_device *dev); 115 static struct ip6_tnl *ip6gre_tunnel_lookup(struct net_device *dev, in ip6gre_tunnel_lookup() argument 119 struct net *net = dev_net(dev); in ip6gre_tunnel_lookup() 120 int link = dev->ifindex; in ip6gre_tunnel_lookup() 136 !(t->dev->flags & IFF_UP)) in ip6gre_tunnel_lookup() 139 if (t->dev->type != ARPHRD_IP6GRE && in ip6gre_tunnel_lookup() 140 t->dev->type != dev_type) in ip6gre_tunnel_lookup() 146 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup() 160 !(t->dev in ip6gre_tunnel_lookup() 350 struct net_device *dev; ip6gre_tunnel_locate() local 398 ip6erspan_tunnel_uninit(struct net_device *dev) ip6erspan_tunnel_uninit() argument 409 ip6gre_tunnel_uninit(struct net_device *dev) ip6gre_tunnel_uninit() argument 636 prepare_ip6gre_xmit_ipv4(struct sk_buff *skb, struct net_device *dev, struct flowi6 *fl6, __u8 *dsfield, int *encap_limit) prepare_ip6gre_xmit_ipv4() argument 662 prepare_ip6gre_xmit_ipv6(struct sk_buff *skb, struct net_device *dev, struct flowi6 *fl6, __u8 *dsfield, int *encap_limit) prepare_ip6gre_xmit_ipv6() argument 720 __gre6_xmit(struct sk_buff *skb, struct net_device *dev, __u8 dsfield, struct flowi6 *fl6, int encap_limit, __u32 *pmtu, __be16 proto) __gre6_xmit() argument 788 ip6gre_xmit_ipv4(struct sk_buff *skb, struct net_device *dev) ip6gre_xmit_ipv4() argument 820 ip6gre_xmit_ipv6(struct sk_buff *skb, struct net_device *dev) ip6gre_xmit_ipv6() argument 871 ip6gre_xmit_other(struct sk_buff *skb, struct net_device *dev) ip6gre_xmit_other() argument 894 ip6gre_tunnel_xmit(struct sk_buff *skb, struct net_device *dev) ip6gre_tunnel_xmit() argument 932 ip6erspan_tunnel_xmit(struct sk_buff *skb, struct net_device *dev) ip6erspan_tunnel_xmit() argument 1101 struct net_device *dev = t->dev; ip6gre_tnl_link_config_common() local 1137 struct net_device *dev = t->dev; ip6gre_tnl_link_config_route() local 1265 ip6gre_tunnel_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) ip6gre_tunnel_ioctl() argument 1376 ip6gre_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len) ip6gre_header() argument 1425 ip6gre_dev_free(struct net_device *dev) ip6gre_dev_free() argument 1434 ip6gre_tunnel_setup(struct net_device *dev) ip6gre_tunnel_setup() argument 1455 ip6gre_tnl_init_features(struct net_device *dev) ip6gre_tnl_init_features() argument 1480 ip6gre_tunnel_init_common(struct net_device *dev) ip6gre_tunnel_init_common() argument 1527 ip6gre_tunnel_init(struct net_device *dev) ip6gre_tunnel_init() argument 1550 ip6gre_fb_tunnel_init(struct net_device *dev) ip6gre_fb_tunnel_init() argument 1570 struct net_device *dev, *aux; ip6gre_destroy_tunnels() local 1837 ip6gre_tap_init(struct net_device *dev) ip6gre_tap_init() argument 1874 ip6erspan_tap_init(struct net_device *dev) ip6erspan_tap_init() argument 1930 ip6gre_tap_setup(struct net_device *dev) ip6gre_tap_setup() argument 1978 ip6gre_newlink_common(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) ip6gre_newlink_common() argument 2012 ip6gre_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) ip6gre_newlink() argument 2042 ip6gre_changelink_common(struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct __ip6_tnl_parm *p_p, struct netlink_ext_ack *extack) ip6gre_changelink_common() argument 2075 ip6gre_changelink(struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) ip6gre_changelink() argument 2095 ip6gre_dellink(struct net_device *dev, struct list_head *head) ip6gre_dellink() argument 2104 ip6gre_get_size(const struct net_device *dev) ip6gre_get_size() argument 2146 ip6gre_fill_info(struct sk_buff *skb, const struct net_device *dev) ip6gre_fill_info() argument 2231 ip6erspan_tap_setup(struct net_device *dev) ip6erspan_tap_setup() argument 2245 ip6erspan_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) ip6erspan_newlink() argument 2289 ip6erspan_changelink(struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) ip6erspan_changelink() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/ |
H A D | 8390.c | 9 int ei_open(struct net_device *dev) in ei_open() argument 11 return __ei_open(dev); in ei_open() 15 int ei_close(struct net_device *dev) in ei_close() argument 17 return __ei_close(dev); in ei_close() 21 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev) in ei_start_xmit() argument 23 return __ei_start_xmit(skb, dev); in ei_start_xmit() 27 struct net_device_stats *ei_get_stats(struct net_device *dev) in ei_get_stats() argument 29 return __ei_get_stats(dev); in ei_get_stats() 33 void ei_set_multicast_list(struct net_device *dev) in ei_set_multicast_list() argument 35 __ei_set_multicast_list(dev); in ei_set_multicast_list() 39 ei_tx_timeout(struct net_device *dev, unsigned int txqueue) ei_tx_timeout() argument 52 ei_poll(struct net_device *dev) ei_poll() argument 76 struct net_device *dev = ____alloc_ei_netdev(size); __alloc_ei_netdev() local 83 NS8390_init(struct net_device *dev, int startp) NS8390_init() argument [all...] |
H A D | 8390p.c | 14 int eip_open(struct net_device *dev) in eip_open() argument 16 return __ei_open(dev); in eip_open() 20 int eip_close(struct net_device *dev) in eip_close() argument 22 return __ei_close(dev); in eip_close() 26 netdev_tx_t eip_start_xmit(struct sk_buff *skb, struct net_device *dev) in eip_start_xmit() argument 28 return __ei_start_xmit(skb, dev); in eip_start_xmit() 32 struct net_device_stats *eip_get_stats(struct net_device *dev) in eip_get_stats() argument 34 return __ei_get_stats(dev); in eip_get_stats() 38 void eip_set_multicast_list(struct net_device *dev) in eip_set_multicast_list() argument 40 __ei_set_multicast_list(dev); in eip_set_multicast_list() 44 eip_tx_timeout(struct net_device *dev, unsigned int txqueue) eip_tx_timeout() argument 57 eip_poll(struct net_device *dev) eip_poll() argument 81 struct net_device *dev = ____alloc_ei_netdev(size); __alloc_eip_netdev() local 88 NS8390p_init(struct net_device *dev, int startp) NS8390p_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_dumb_buffers.c | 58 int drm_mode_create_dumb(struct drm_device *dev, in drm_mode_create_dumb() argument 64 if (!dev->driver->dumb_create) in drm_mode_create_dumb() 94 return dev->driver->dumb_create(file_priv, dev, args); in drm_mode_create_dumb() 97 int drm_mode_create_dumb_ioctl(struct drm_device *dev, in drm_mode_create_dumb_ioctl() argument 100 return drm_mode_create_dumb(dev, data, file_priv); in drm_mode_create_dumb_ioctl() 105 * @dev: DRM device 117 int drm_mode_mmap_dumb_ioctl(struct drm_device *dev, in drm_mode_mmap_dumb_ioctl() argument 122 if (!dev->driver->dumb_create) in drm_mode_mmap_dumb_ioctl() 125 if (dev in drm_mode_mmap_dumb_ioctl() 134 drm_mode_destroy_dumb(struct drm_device *dev, u32 handle, struct drm_file *file_priv) drm_mode_destroy_dumb() argument 146 drm_mode_destroy_dumb_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) drm_mode_destroy_dumb_ioctl() argument [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | iscsi.h | 15 void iscsi_dbg_trace(void (*trace)(struct device *dev, struct va_format *), 16 struct device *dev, const char *fmt, ...); 23 TP_PROTO(struct device *dev, struct va_format *vaf), 25 TP_ARGS(dev, vaf), 28 __string(dname, dev_name(dev) ) 33 __assign_str(dname, dev_name(dev)); 45 TP_PROTO(struct device *dev, struct va_format *vaf), 47 TP_ARGS(dev, vaf) 54 TP_PROTO(struct device *dev, struct va_format *vaf), 56 TP_ARGS(dev, va [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/ |
H A D | 8390p.c | 14 int eip_open(struct net_device *dev) in eip_open() argument 16 return __ei_open(dev); in eip_open() 20 int eip_close(struct net_device *dev) in eip_close() argument 22 return __ei_close(dev); in eip_close() 26 netdev_tx_t eip_start_xmit(struct sk_buff *skb, struct net_device *dev) in eip_start_xmit() argument 28 return __ei_start_xmit(skb, dev); in eip_start_xmit() 32 struct net_device_stats *eip_get_stats(struct net_device *dev) in eip_get_stats() argument 34 return __ei_get_stats(dev); in eip_get_stats() 38 void eip_set_multicast_list(struct net_device *dev) in eip_set_multicast_list() argument 40 __ei_set_multicast_list(dev); in eip_set_multicast_list() 44 eip_tx_timeout(struct net_device *dev, unsigned int txqueue) eip_tx_timeout() argument 57 eip_poll(struct net_device *dev) eip_poll() argument 81 struct net_device *dev = ____alloc_ei_netdev(size); __alloc_eip_netdev() local 88 NS8390p_init(struct net_device *dev, int startp) NS8390p_init() argument [all...] |
H A D | 8390.c | 9 int ei_open(struct net_device *dev) in ei_open() argument 11 return __ei_open(dev); in ei_open() 15 int ei_close(struct net_device *dev) in ei_close() argument 17 return __ei_close(dev); in ei_close() 21 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev) in ei_start_xmit() argument 23 return __ei_start_xmit(skb, dev); in ei_start_xmit() 27 struct net_device_stats *ei_get_stats(struct net_device *dev) in ei_get_stats() argument 29 return __ei_get_stats(dev); in ei_get_stats() 33 void ei_set_multicast_list(struct net_device *dev) in ei_set_multicast_list() argument 35 __ei_set_multicast_list(dev); in ei_set_multicast_list() 39 ei_tx_timeout(struct net_device *dev, unsigned int txqueue) ei_tx_timeout() argument 52 ei_poll(struct net_device *dev) ei_poll() argument 76 struct net_device *dev = ____alloc_ei_netdev(size); __alloc_ei_netdev() local 83 NS8390_init(struct net_device *dev, int startp) NS8390_init() argument [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | iscsi.h | 15 void iscsi_dbg_trace(void (*trace)(struct device *dev, struct va_format *), 16 struct device *dev, const char *fmt, ...); 23 TP_PROTO(struct device *dev, struct va_format *vaf), 25 TP_ARGS(dev, vaf), 28 __string(dname, dev_name(dev) ) 33 __assign_str(dname, dev_name(dev)); 45 TP_PROTO(struct device *dev, struct va_format *vaf), 47 TP_ARGS(dev, vaf) 54 TP_PROTO(struct device *dev, struct va_format *vaf), 56 TP_ARGS(dev, va [all...] |
H A D | ext4.h | 143 __field( dev_t, dev ) 153 __entry->dev = inode->i_sb->s_dev; 160 TP_printk("dev %d,%d orig_ino %lu ino %lu mode 0%o uid %u gid %u", 161 MAJOR(__entry->dev), MINOR(__entry->dev), 173 __field( dev_t, dev ) 182 __entry->dev = inode->i_sb->s_dev; 190 TP_printk("dev %d,%d ino %lu mode 0%o uid %u gid %u blocks %llu", 191 MAJOR(__entry->dev), MINOR(__entry->dev), [all...] |
/kernel/linux/linux-6.6/samples/pktgen/ |
H A D | pktgen_sample03_burst_single_flow.sh | 54 dev=${DEV}@${thread} 56 # Add remove all other devices and add_device $dev to thread 58 pg_thread $thread "add_device" $dev 61 pg_set $dev "flag QUEUE_MAP_CPU" 62 pg_set $dev "count $COUNT" 63 pg_set $dev "clone_skb $CLONE_SKB" 64 pg_set $dev "pkt_size $PKT_SIZE" 65 pg_set $dev "delay $DELAY" 66 pg_set $dev "flag NO_TIMESTAMP" 69 pg_set $dev "dst_ma [all...] |
/kernel/linux/linux-6.6/drivers/fsi/ |
H A D | fsi-core.c | 94 /* Legacy /dev numbering: 4 devices per chip, 16 chips */ 111 * dev: Structure passed to FSI client device drivers on probe(). 120 int fsi_device_read(struct fsi_device *dev, uint32_t addr, void *val, in fsi_device_read() argument 123 if (addr > dev->size || size > dev->size || addr > dev->size - size) in fsi_device_read() 126 return fsi_slave_read(dev->slave, dev->addr + addr, val, size); in fsi_device_read() 130 int fsi_device_write(struct fsi_device *dev, uint32_t addr, const void *val, in fsi_device_write() argument 133 if (addr > dev in fsi_device_write() 140 fsi_device_peek(struct fsi_device *dev, void *val) fsi_device_peek() argument 157 struct fsi_device *dev; fsi_create_device() local 401 fsi_device_node_matches(struct device *dev, struct device_node *np, uint32_t addr, uint32_t size) fsi_device_node_matches() argument 425 fsi_device_find_of_node(struct fsi_device *dev) fsi_device_find_of_node() argument 457 struct fsi_device *dev; fsi_slave_scan() local 620 fsi_slave_release(struct device *dev) fsi_slave_release() argument 765 send_term_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) send_term_store() argument 781 slave_send_echo_show(struct device *dev, struct device_attribute *attr, char *buf) slave_send_echo_show() argument 790 slave_send_echo_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) slave_send_echo_store() argument 825 chip_id_show(struct device *dev, struct device_attribute *attr, char *buf) chip_id_show() argument 836 cfam_id_show(struct device *dev, struct device_attribute *attr, char *buf) cfam_id_show() argument 864 cfam_devnode(const struct device *dev, umode_t *mode, kuid_t *uid, kgid_t *gid) cfam_devnode() argument 882 fsi_cdev_devnode(const struct device *dev, umode_t *mode, kuid_t *uid, kgid_t *gid) fsi_cdev_devnode() argument 975 fsi_free_minor(dev_t dev) fsi_free_minor() argument 1231 fsi_slave_remove_device(struct device *dev, void *arg) fsi_slave_remove_device() argument 1237 fsi_master_remove_slave(struct device *dev, void *arg) fsi_master_remove_slave() argument 1266 master_rescan_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) master_rescan_store() argument 1281 master_break_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) master_break_store() argument 1364 fsi_bus_match(struct device *dev, struct device_driver *drv) fsi_bus_match() argument [all...] |
/kernel/linux/linux-5.10/drivers/char/hw_random/ |
H A D | omap3-rom-rng.c | 33 struct device *dev; member 46 r = pm_runtime_get_sync(ddata->dev); in omap3_rom_rng_read() 48 pm_runtime_put_noidle(ddata->dev); in omap3_rom_rng_read() 60 pm_runtime_mark_last_busy(ddata->dev); in omap3_rom_rng_read() 61 pm_runtime_put_autosuspend(ddata->dev); in omap3_rom_rng_read() 66 static int __maybe_unused omap_rom_rng_runtime_suspend(struct device *dev) in omap_rom_rng_runtime_suspend() argument 71 ddata = dev_get_drvdata(dev); in omap_rom_rng_runtime_suspend() 75 dev_err(dev, "reset failed: %d\n", r); in omap_rom_rng_runtime_suspend() 82 static int __maybe_unused omap_rom_rng_runtime_resume(struct device *dev) in omap_rom_rng_runtime_resume() argument 87 ddata = dev_get_drvdata(dev); in omap_rom_rng_runtime_resume() [all...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | amikbd.c | 171 struct input_dev *dev = data; in amikbd_interrupt() local 184 input_report_key(dev, scancode, 1); in amikbd_interrupt() 185 input_report_key(dev, scancode, 0); in amikbd_interrupt() 187 input_report_key(dev, scancode, down); in amikbd_interrupt() 190 input_sync(dev); in amikbd_interrupt() 199 struct input_dev *dev; in amikbd_probe() local 202 dev = input_allocate_device(); in amikbd_probe() 203 if (!dev) { in amikbd_probe() 204 dev_err(&pdev->dev, "Not enough memory for input device\n"); in amikbd_probe() 208 dev in amikbd_probe() 244 struct input_dev *dev = platform_get_drvdata(pdev); amikbd_remove() local [all...] |