/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ohci-s3c2410.c | 60 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd) in s3c2410_start_hc() argument 62 struct s3c2410_hcd_info *info = dev_get_platdata(&dev->dev); in s3c2410_start_hc() 64 dev_dbg(&dev->dev, "s3c2410_start_hc:\n"); in s3c2410_start_hc() 80 static void s3c2410_stop_hc(struct platform_device *dev) in s3c2410_stop_hc() argument 82 struct s3c2410_hcd_info *info = dev_get_platdata(&dev->dev); in s3c2410_stop_hc() 84 dev_dbg(&dev->dev, "s3c2410_stop_h in s3c2410_stop_hc() 336 ohci_hcd_s3c2410_remove(struct platform_device *dev) ohci_hcd_s3c2410_remove() argument 355 ohci_hcd_s3c2410_probe(struct platform_device *dev) ohci_hcd_s3c2410_probe() argument 411 ohci_hcd_s3c2410_drv_suspend(struct device *dev) ohci_hcd_s3c2410_drv_suspend() argument 427 ohci_hcd_s3c2410_drv_resume(struct device *dev) ohci_hcd_s3c2410_drv_resume() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | usb3503.c | 46 struct device *dev; member 72 struct device *dev = hub->dev; in usb3503_connect() local 83 dev_err(dev, "SP_ILOCK failed (%d)\n", err); in usb3503_connect() 93 dev_err(dev, "PDS failed (%d)\n", err); in usb3503_connect() 103 dev_err(dev, "CFG1 failed (%d)\n", err); in usb3503_connect() 112 dev_err(dev, "SP_ILOCK failed (%d)\n", err); in usb3503_connect() 121 dev_info(dev, "switched to HUB mode\n"); in usb3503_connect() 128 struct device *dev = hub->dev; in usb3503_switch_mode() local 159 struct device *dev = hub->dev; usb3503_probe() local 341 usb3503_i2c_suspend(struct device *dev) usb3503_i2c_suspend() argument 348 usb3503_i2c_resume(struct device *dev) usb3503_i2c_resume() argument 355 usb3503_platform_suspend(struct device *dev) usb3503_platform_suspend() argument 360 usb3503_platform_resume(struct device *dev) usb3503_platform_resume() argument [all...] |
/kernel/linux/linux-5.10/sound/isa/sb/ |
H A D | jazz16.c | 186 static int snd_jazz16_match(struct device *devptr, unsigned int dev) in snd_jazz16_match() argument 188 if (!enable[dev]) in snd_jazz16_match() 190 if (port[dev] == SNDRV_AUTO_PORT) { in snd_jazz16_match() 193 } else if (port[dev] == 0x200 || (port[dev] & ~0x270)) { in snd_jazz16_match() 197 if (dma8[dev] != SNDRV_AUTO_DMA && in snd_jazz16_match() 198 dma8[dev] != 1 && dma8[dev] != 3) { in snd_jazz16_match() 202 if (dma16[dev] != SNDRV_AUTO_DMA && in snd_jazz16_match() 203 dma16[dev] ! in snd_jazz16_match() 221 snd_jazz16_probe(struct device *devptr, unsigned int dev) snd_jazz16_probe() argument 342 snd_jazz16_remove(struct device *devptr, unsigned int dev) snd_jazz16_remove() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/ |
H A D | soc-ac97.c | 49 static void soc_ac97_device_release(struct device *dev) in soc_ac97_device_release() argument 51 kfree(to_ac97_t(dev)); in soc_ac97_device_release() 75 dev_dbg(component->dev, "set gpio %d to output\n", offset); in snd_soc_ac97_gpio_direction_in() 87 dev_dbg(component->dev, "get gpio %d : %d\n", offset, in snd_soc_ac97_gpio_get() 103 dev_dbg(component->dev, "set gpio %d to %d\n", offset, !!value); in snd_soc_ac97_gpio_set() 111 dev_dbg(component->dev, "set gpio %d to output\n", offset); in snd_soc_ac97_gpio_direction_out() 134 gpio_priv = devm_kzalloc(component->dev, sizeof(*gpio_priv), GFP_KERNEL); in snd_soc_ac97_init_gpio() 141 gpio_priv->gpio_chip.parent = component->dev; in snd_soc_ac97_init_gpio() 146 dev_err(component->dev, "Failed to add GPIOs: %d\n", ret); in snd_soc_ac97_init_gpio() 171 * it. The caller is responsible to either call device_add(&ac97->dev) t 301 snd_soc_ac97_parse_pinctl(struct device *dev, struct snd_ac97_reset_cfg *cfg) snd_soc_ac97_parse_pinctl() argument 405 struct device *dev = &pdev->dev; snd_soc_set_ac97_ops_of_reset() local [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-bq32k.c | 52 static int bq32k_read(struct device *dev, void *data, uint8_t off, uint8_t len) in bq32k_read() argument 54 struct i2c_client *client = to_i2c_client(dev); in bq32k_read() 75 static int bq32k_write(struct device *dev, void *data, uint8_t off, uint8_t len) in bq32k_write() argument 77 struct i2c_client *client = to_i2c_client(dev); in bq32k_write() 89 static int bq32k_rtc_read_time(struct device *dev, struct rtc_time *tm) in bq32k_rtc_read_time() argument 94 error = bq32k_read(dev, ®s, 0, sizeof(regs)); in bq32k_rtc_read_time() 117 static int bq32k_rtc_set_time(struct device *dev, struct rtc_time *tm) in bq32k_rtc_set_time() argument 134 return bq32k_write(dev, ®s, 0, sizeof(regs)); in bq32k_rtc_set_time() 142 static int trickle_charger_of_init(struct device *dev, struct device_node *node) in trickle_charger_of_init() argument 159 dev_err(dev, "diod in trickle_charger_of_init() 193 bq32k_sysfs_show_tricklecharge_bypass(struct device *dev, struct device_attribute *attr, char *buf) bq32k_sysfs_show_tricklecharge_bypass() argument 206 bq32k_sysfs_store_tricklecharge_bypass(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) bq32k_sysfs_store_tricklecharge_bypass() argument 242 bq32k_sysfs_register(struct device *dev) bq32k_sysfs_register() argument 247 bq32k_sysfs_unregister(struct device *dev) bq32k_sysfs_unregister() argument 255 struct device *dev = &client->dev; bq32k_probe() local [all...] |
H A D | rtc-cros-ec.c | 47 dev_err(cros_ec->dev, in cros_ec_rtc_get() 75 dev_err(cros_ec->dev, "error setting %s on EC: %d\n", in cros_ec_rtc_set() 85 static int cros_ec_rtc_read_time(struct device *dev, struct rtc_time *tm) in cros_ec_rtc_read_time() argument 87 struct cros_ec_rtc *cros_ec_rtc = dev_get_drvdata(dev); in cros_ec_rtc_read_time() 94 dev_err(dev, "error getting time: %d\n", ret); in cros_ec_rtc_read_time() 104 static int cros_ec_rtc_set_time(struct device *dev, struct rtc_time *tm) in cros_ec_rtc_set_time() argument 106 struct cros_ec_rtc *cros_ec_rtc = dev_get_drvdata(dev); in cros_ec_rtc_set_time() 113 dev_err(dev, "error setting time: %d\n", ret); in cros_ec_rtc_set_time() 121 static int cros_ec_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in cros_ec_rtc_read_alarm() argument 123 struct cros_ec_rtc *cros_ec_rtc = dev_get_drvdata(dev); in cros_ec_rtc_read_alarm() 151 cros_ec_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) cros_ec_rtc_set_alarm() argument 200 cros_ec_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) cros_ec_rtc_alarm_irq_enable() argument 291 cros_ec_rtc_suspend(struct device *dev) cros_ec_rtc_suspend() argument 302 cros_ec_rtc_resume(struct device *dev) cros_ec_rtc_resume() argument 372 struct device *dev = &pdev->dev; cros_ec_rtc_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | gbphy.c | 29 static ssize_t protocol_id_show(struct device *dev, in protocol_id_show() argument 32 struct gbphy_device *gbphy_dev = to_gbphy_dev(dev); in protocol_id_show() 45 static void gbphy_dev_release(struct device *dev) in gbphy_dev_release() argument 47 struct gbphy_device *gbphy_dev = to_gbphy_dev(dev); in gbphy_dev_release() 54 static int gb_gbphy_idle(struct device *dev) in gb_gbphy_idle() argument 56 pm_runtime_mark_last_busy(dev); in gb_gbphy_idle() 57 pm_request_autosuspend(dev); in gb_gbphy_idle() 74 static int gbphy_dev_uevent(struct device *dev, struct kobj_uevent_env *env) in gbphy_dev_uevent() argument 76 struct gbphy_device *gbphy_dev = to_gbphy_dev(dev); in gbphy_dev_uevent() 120 static int gbphy_dev_match(struct device *dev, struc argument 133 gbphy_dev_probe(struct device *dev) gbphy_dev_probe() argument 172 gbphy_dev_remove(struct device *dev) gbphy_dev_remove() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_dcb.c | 46 static int sparx5_dcb_app_validate(struct net_device *dev, in sparx5_dcb_app_validate() argument 79 netdev_err(dev, "Invalid entry: %d:%d\n", app->protocol, in sparx5_dcb_app_validate() 90 static int sparx5_dcb_apptrust_validate(struct net_device *dev, u8 *selectors, in sparx5_dcb_apptrust_validate() argument 113 netdev_err(dev, "Valid apptrust configurations are:\n"); in sparx5_dcb_apptrust_validate() 134 static int sparx5_dcb_app_update(struct net_device *dev) in sparx5_dcb_app_update() argument 138 struct sparx5_port *port = netdev_priv(dev); in sparx5_dcb_app_update() 153 qos.default_prio = dcb_ieee_getapp_default_prio_mask(dev); in sparx5_dcb_app_update() 161 dscp_map->map[i] = dcb_getapp(dev, &app_itr); in sparx5_dcb_app_update() 168 pcp_map->map[i] = dcb_getapp(dev, &app_itr); in sparx5_dcb_app_update() 172 dcb_getrewr_prio_pcp_mask_map(dev, in sparx5_dcb_app_update() 231 sparx5_dcb_ieee_dscp_setdel(struct net_device *dev, struct dcb_app *app, int (*setdel)(struct net_device *, struct dcb_app *)) sparx5_dcb_ieee_dscp_setdel() argument 252 sparx5_dcb_ieee_delapp(struct net_device *dev, struct dcb_app *app) sparx5_dcb_ieee_delapp() argument 267 sparx5_dcb_ieee_setapp(struct net_device *dev, struct dcb_app *app) sparx5_dcb_ieee_setapp() argument 299 sparx5_dcb_setapptrust(struct net_device *dev, u8 *selectors, int nselectors) sparx5_dcb_setapptrust() argument 314 sparx5_dcb_getapptrust(struct net_device *dev, u8 *selectors, int *nselectors) sparx5_dcb_getapptrust() argument 328 sparx5_dcb_delrewr(struct net_device *dev, struct dcb_app *app) sparx5_dcb_delrewr() argument 343 sparx5_dcb_setrewr(struct net_device *dev, struct dcb_app *app) sparx5_dcb_setrewr() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/ |
H A D | hydra.c | 57 static int hydra_open(struct net_device *dev); 58 static int hydra_close(struct net_device *dev); 59 static void hydra_reset_8390(struct net_device *dev); 60 static void hydra_get_8390_hdr(struct net_device *dev, 62 static void hydra_block_input(struct net_device *dev, int count, 64 static void hydra_block_output(struct net_device *dev, int count, 112 struct net_device *dev; in hydra_init() local 126 dev = ____alloc_ei_netdev(0); in hydra_init() 127 if (!dev) in hydra_init() 132 eth_hw_addr_set(dev, macadd in hydra_init() 181 hydra_open(struct net_device *dev) hydra_open() argument 187 hydra_close(struct net_device *dev) hydra_close() argument 196 hydra_reset_8390(struct net_device *dev) hydra_reset_8390() argument 201 hydra_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page) hydra_get_8390_hdr() argument 217 hydra_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) hydra_block_input() argument 238 hydra_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) hydra_block_output() argument 252 struct net_device *dev = zorro_get_drvdata(z); hydra_remove_one() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | gbphy.c | 29 static ssize_t protocol_id_show(struct device *dev, in protocol_id_show() argument 32 struct gbphy_device *gbphy_dev = to_gbphy_dev(dev); in protocol_id_show() 45 static void gbphy_dev_release(struct device *dev) in gbphy_dev_release() argument 47 struct gbphy_device *gbphy_dev = to_gbphy_dev(dev); in gbphy_dev_release() 54 static int gb_gbphy_idle(struct device *dev) in gb_gbphy_idle() argument 56 pm_runtime_mark_last_busy(dev); in gb_gbphy_idle() 57 pm_request_autosuspend(dev); in gb_gbphy_idle() 74 static int gbphy_dev_uevent(const struct device *dev, struct kobj_uevent_env *env) in gbphy_dev_uevent() argument 76 const struct gbphy_device *gbphy_dev = to_gbphy_dev(dev); in gbphy_dev_uevent() 120 static int gbphy_dev_match(struct device *dev, struc argument 133 gbphy_dev_probe(struct device *dev) gbphy_dev_probe() argument 172 gbphy_dev_remove(struct device *dev) gbphy_dev_remove() argument [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-bq32k.c | 53 static int bq32k_read(struct device *dev, void *data, uint8_t off, uint8_t len) in bq32k_read() argument 55 struct i2c_client *client = to_i2c_client(dev); in bq32k_read() 76 static int bq32k_write(struct device *dev, void *data, uint8_t off, uint8_t len) in bq32k_write() argument 78 struct i2c_client *client = to_i2c_client(dev); in bq32k_write() 90 static int bq32k_rtc_read_time(struct device *dev, struct rtc_time *tm) in bq32k_rtc_read_time() argument 95 error = bq32k_read(dev, ®s, 0, sizeof(regs)); in bq32k_rtc_read_time() 118 static int bq32k_rtc_set_time(struct device *dev, struct rtc_time *tm) in bq32k_rtc_set_time() argument 135 return bq32k_write(dev, ®s, 0, sizeof(regs)); in bq32k_rtc_set_time() 143 static int trickle_charger_of_init(struct device *dev, struct device_node *node) in trickle_charger_of_init() argument 160 dev_err(dev, "diod in trickle_charger_of_init() 194 bq32k_sysfs_show_tricklecharge_bypass(struct device *dev, struct device_attribute *attr, char *buf) bq32k_sysfs_show_tricklecharge_bypass() argument 207 bq32k_sysfs_store_tricklecharge_bypass(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) bq32k_sysfs_store_tricklecharge_bypass() argument 243 bq32k_sysfs_register(struct device *dev) bq32k_sysfs_register() argument 248 bq32k_sysfs_unregister(struct device *dev) bq32k_sysfs_unregister() argument 255 struct device *dev = &client->dev; bq32k_probe() local [all...] |
H A D | rtc-moxart.c | 67 static void moxart_rtc_write_byte(struct device *dev, u8 data) in moxart_rtc_write_byte() argument 69 struct moxart_rtc *moxart_rtc = dev_get_drvdata(dev); in moxart_rtc_write_byte() 81 static u8 moxart_rtc_read_byte(struct device *dev) in moxart_rtc_read_byte() argument 83 struct moxart_rtc *moxart_rtc = dev_get_drvdata(dev); in moxart_rtc_read_byte() 99 static u8 moxart_rtc_read_register(struct device *dev, u8 cmd) in moxart_rtc_read_register() argument 101 struct moxart_rtc *moxart_rtc = dev_get_drvdata(dev); in moxart_rtc_read_register() 110 moxart_rtc_write_byte(dev, cmd); in moxart_rtc_read_register() 113 data = moxart_rtc_read_byte(dev); in moxart_rtc_read_register() 123 static void moxart_rtc_write_register(struct device *dev, u8 cmd, u8 data) in moxart_rtc_write_register() argument 125 struct moxart_rtc *moxart_rtc = dev_get_drvdata(dev); in moxart_rtc_write_register() 142 moxart_rtc_set_time(struct device *dev, struct rtc_time *tm) moxart_rtc_set_time() argument 185 moxart_rtc_read_time(struct device *dev, struct rtc_time *tm) moxart_rtc_read_time() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ohci-s3c2410.c | 58 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd) in s3c2410_start_hc() argument 60 struct s3c2410_hcd_info *info = dev_get_platdata(&dev->dev); in s3c2410_start_hc() 62 dev_dbg(&dev->dev, "s3c2410_start_hc:\n"); in s3c2410_start_hc() 78 static void s3c2410_stop_hc(struct platform_device *dev) in s3c2410_stop_hc() argument 80 struct s3c2410_hcd_info *info = dev_get_platdata(&dev->dev); in s3c2410_stop_hc() 82 dev_dbg(&dev->dev, "s3c2410_stop_h in s3c2410_stop_hc() 333 ohci_hcd_s3c2410_remove(struct platform_device *dev) ohci_hcd_s3c2410_remove() argument 352 ohci_hcd_s3c2410_probe(struct platform_device *dev) ohci_hcd_s3c2410_probe() argument 414 ohci_hcd_s3c2410_drv_suspend(struct device *dev) ohci_hcd_s3c2410_drv_suspend() argument 430 ohci_hcd_s3c2410_drv_resume(struct device *dev) ohci_hcd_s3c2410_drv_resume() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/roles/ |
H A D | class.c | 22 struct device dev; member 37 #define to_role_switch(d) container_of(d, struct usb_role_switch, dev) 61 kobject_uevent(&sw->dev.kobj, KOBJ_CHANGE); in usb_role_switch_set_role() 100 struct device *dev; in usb_role_switch_match() local 105 dev = class_find_device_by_fwnode(&role_class, fwnode); in usb_role_switch_match() 107 return dev ? to_role_switch(dev) : ERR_PTR(-EPROBE_DEFER); in usb_role_switch_match() 114 struct device *dev; in usb_role_switch_is_parent() local 121 dev = class_find_device_by_fwnode(&role_class, parent); in usb_role_switch_is_parent() 123 return dev in usb_role_switch_is_parent() 133 usb_role_switch_get(struct device *dev) usb_role_switch_get() argument 196 struct device *dev; usb_role_switch_find_by_fwnode() local 215 struct device *dev = kobj_to_dev(kobj); usb_role_switch_is_visible() local 240 role_show(struct device *dev, struct device_attribute *attr, char *buf) role_show() argument 248 role_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) role_store() argument 287 usb_role_switch_uevent(const struct device *dev, struct kobj_uevent_env *env) usb_role_switch_uevent() argument 298 usb_role_switch_release(struct device *dev) usb_role_switch_release() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_core.c | 56 struct device *dev = &mdp->pdev->dev; in mtk_mdp_clock_on() local 60 mtk_mdp_comp_clock_on(dev, comp_node); in mtk_mdp_clock_on() 65 struct device *dev = &mdp->pdev->dev; in mtk_mdp_clock_off() local 69 mtk_mdp_comp_clock_off(dev, comp_node); in mtk_mdp_clock_off() 108 struct device *dev = &pdev->dev; in mtk_mdp_probe() local 113 mdp = devm_kzalloc(dev, sizeof(*mdp), GFP_KERNEL); in mtk_mdp_probe() 126 node = of_get_next_child(dev in mtk_mdp_probe() 260 mtk_mdp_pm_suspend(struct device *dev) mtk_mdp_pm_suspend() argument 269 mtk_mdp_pm_resume(struct device *dev) mtk_mdp_pm_resume() argument 278 mtk_mdp_suspend(struct device *dev) mtk_mdp_suspend() argument 286 mtk_mdp_resume(struct device *dev) mtk_mdp_resume() argument [all...] |
/kernel/linux/linux-6.6/arch/x86/pci/ |
H A D | intel_mid_pci.c | 223 static int intel_mid_pci_irq_enable(struct pci_dev *dev) in intel_mid_pci_irq_enable() argument 232 if (dev->irq_managed && dev->irq > 0) in intel_mid_pci_irq_enable() 235 ret = pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &gsi); in intel_mid_pci_irq_enable() 237 dev_warn(&dev->dev, "Failed to read interrupt line: %d\n", ret); in intel_mid_pci_irq_enable() 255 if (dev->device == PCI_DEVICE_ID_INTEL_MRFLD_HSU) in intel_mid_pci_irq_enable() 264 if (dev->device != PCI_DEVICE_ID_INTEL_MRFLD_MMC) in intel_mid_pci_irq_enable() 273 ioapic_set_alloc_attr(&info, dev_to_node(&dev->dev), in intel_mid_pci_irq_enable() 289 intel_mid_pci_irq_disable(struct pci_dev *dev) intel_mid_pci_irq_disable() argument 326 pci_d3delay_fixup(struct pci_dev *dev) pci_d3delay_fixup() argument 344 mid_power_off_one_device(struct pci_dev *dev) mid_power_off_one_device() argument 358 mid_power_off_devices(struct pci_dev *dev) mid_power_off_devices() argument 381 pci_fixed_bar_fixup(struct pci_dev *dev) pci_fixed_bar_fixup() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_profile.c | 62 s64 mthca_make_profile(struct mthca_dev *dev, in mthca_make_profile() argument 94 profile[MTHCA_RES_MTT].size = dev->limits.mtt_seg_size; in mthca_make_profile() 116 if (mthca_is_memfree(dev)) in mthca_make_profile() 120 if (mthca_is_memfree(dev)) { in mthca_make_profile() 124 mem_base = dev->ddr_start; in mthca_make_profile() 125 mem_avail = dev->fw.tavor.fw_start - dev->ddr_start; in mthca_make_profile() 146 mthca_err(dev, "Profile requires 0x%llx bytes; " in mthca_make_profile() 155 mthca_dbg(dev, "profile[%2d]--%2d/%2d @ 0x%16llx " in mthca_make_profile() 162 if (mthca_is_memfree(dev)) in mthca_make_profile() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-startek-kd070fhfid015.c | 56 struct device *dev = &stk->dsi->dev; in stk_panel_init() local 61 dev_err(dev, "failed to mipi_dsi_dcs_soft_reset: %d\n", ret); in stk_panel_init() 68 dev_err(dev, "failed to set exit sleep mode: %d\n", ret); in stk_panel_init() 82 dev_err(dev, "failed to write display brightness: %d\n", ret); in stk_panel_init() 91 dev_err(dev, "failed to set pixel format: %d\n", ret); in stk_panel_init() 97 dev_err(dev, "failed to set column address: %d\n", ret); in stk_panel_init() 103 dev_err(dev, "failed to set page address: %d\n", ret); in stk_panel_init() 113 struct device *dev = &stk->dsi->dev; in stk_panel_on() local 128 struct device *dev = &stk->dsi->dev; stk_panel_off() local 164 struct device *dev = &stk->dsi->dev; stk_panel_prepare() local 264 struct device *dev = &dsi->dev; dsi_dcs_bl_update_status() local 286 struct device *dev = &dsi->dev; drm_panel_create_dsi_backlight() local 311 struct device *dev = &stk->dsi->dev; stk_panel_add() local [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | elo.c | 52 struct input_dev *dev; member 67 struct input_dev *dev = elo->dev; in elo_process_data_10() local 75 dev_dbg(&elo->serio->dev, in elo_process_data_10() 84 dev_dbg(&elo->serio->dev, in elo_process_data_10() 91 dev_dbg(&elo->serio->dev, in elo_process_data_10() 97 input_report_abs(dev, ABS_X, (elo->data[4] << 8) | elo->data[3]); in elo_process_data_10() 98 input_report_abs(dev, ABS_Y, (elo->data[6] << 8) | elo->data[5]); in elo_process_data_10() 100 input_report_abs(dev, ABS_PRESSURE, in elo_process_data_10() 102 input_report_key(dev, BTN_TOUC in elo_process_data_10() 119 struct input_dev *dev = elo->dev; elo_process_data_6() local 177 struct input_dev *dev = elo->dev; elo_process_data_3() local 261 struct input_dev *dev = elo->dev; elo_setup_10() local [all...] |
/kernel/linux/linux-5.10/drivers/extcon/ |
H A D | extcon-usb-gpio.c | 26 struct device *dev; member 100 struct device *dev = &pdev->dev; in usb_extcon_probe() local 101 struct device_node *np = dev->of_node; in usb_extcon_probe() 108 info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); in usb_extcon_probe() 112 info->dev = dev; in usb_extcon_probe() 113 info->id_gpiod = devm_gpiod_get_optional(&pdev->dev, "id", GPIOD_IN); in usb_extcon_probe() 114 info->vbus_gpiod = devm_gpiod_get_optional(&pdev->dev, "vbus", in usb_extcon_probe() 118 dev_err(dev, "faile in usb_extcon_probe() 208 usb_extcon_suspend(struct device *dev) usb_extcon_suspend() argument 246 usb_extcon_resume(struct device *dev) usb_extcon_resume() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/can/sja1000/ |
H A D | f81601.c | 15 #include <linux/can/dev.h> 37 struct pci_dev *dev; member 76 struct net_device *dev; in f81601_pci_remove() local 80 dev = card->net_dev[i]; in f81601_pci_remove() 81 if (!dev) in f81601_pci_remove() 84 dev_info(&pdev->dev, "%s: Removing %s\n", __func__, dev->name); in f81601_pci_remove() 86 unregister_sja1000dev(dev); in f81601_pci_remove() 87 free_sja1000dev(dev); in f81601_pci_remove() 98 struct net_device *dev; in f81601_pci_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | tc6387xb.c | 44 static int tc6387xb_suspend(struct platform_device *dev, pm_message_t state) in tc6387xb_suspend() argument 46 struct tc6387xb *tc6387xb = platform_get_drvdata(dev); in tc6387xb_suspend() 47 struct tc6387xb_platform_data *pdata = dev_get_platdata(&dev->dev); in tc6387xb_suspend() 50 pdata->suspend(dev); in tc6387xb_suspend() 56 static int tc6387xb_resume(struct platform_device *dev) in tc6387xb_resume() argument 58 struct tc6387xb *tc6387xb = platform_get_drvdata(dev); in tc6387xb_resume() 59 struct tc6387xb_platform_data *pdata = dev_get_platdata(&dev->dev); in tc6387xb_resume() 63 pdata->resume(dev); in tc6387xb_resume() 133 tc6387xb_probe(struct platform_device *dev) tc6387xb_probe() argument 202 tc6387xb_remove(struct platform_device *dev) tc6387xb_remove() argument [all...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | st-keyscan.c | 86 static int keyscan_open(struct input_dev *dev) in keyscan_open() argument 88 struct st_keyscan *keypad = input_get_drvdata(dev); in keyscan_open() 93 static void keyscan_close(struct input_dev *dev) in keyscan_close() argument 95 struct st_keyscan *keypad = input_get_drvdata(dev); in keyscan_close() 102 struct device *dev = keypad_data->input_dev->dev.parent; in keypad_matrix_key_parse_dt() local 103 struct device_node *np = dev->of_node; in keypad_matrix_key_parse_dt() 106 error = matrix_keypad_parse_properties(dev, &keypad_data->n_rows, in keypad_matrix_key_parse_dt() 109 dev_err(dev, "failed to parse keypad params\n"); in keypad_matrix_key_parse_dt() 115 dev_dbg(dev, "n_row in keypad_matrix_key_parse_dt() 214 keyscan_suspend(struct device *dev) keyscan_suspend() argument 231 keyscan_resume(struct device *dev) keyscan_resume() argument [all...] |
/kernel/linux/linux-5.10/drivers/i2c/ |
H A D | i2c-core-of.c | 22 int of_i2c_get_board_info(struct device *dev, struct device_node *node, in of_i2c_get_board_info() argument 31 dev_err(dev, "of_i2c: modalias failure on %pOF\n", node); in of_i2c_get_board_info() 37 dev_err(dev, "of_i2c: invalid reg on %pOF\n", node); in of_i2c_get_board_info() 72 dev_dbg(&adap->dev, "of_i2c: register %pOF\n", node); in of_i2c_register_device() 74 ret = of_i2c_get_board_info(&adap->dev, node, &info); in of_i2c_register_device() 80 dev_err(&adap->dev, "of_i2c: Failure registering %pOF\n", node); in of_i2c_register_device() 91 if (!adap->dev.of_node) in of_i2c_register_devices() 94 dev_dbg(&adap->dev, "of_i2c: walking child nodes\n"); in of_i2c_register_devices() 96 bus = of_get_child_by_name(adap->dev.of_node, "i2c-bus"); in of_i2c_register_devices() 98 bus = of_node_get(adap->dev in of_i2c_register_devices() 116 of_dev_or_parent_node_match(struct device *dev, const void *data) of_dev_or_parent_node_match() argument 130 struct device *dev; of_find_i2c_device_by_node() local 148 struct device *dev; of_find_i2c_adapter_by_node() local [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | udp_tunnel.h | 122 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, 124 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, 129 static inline void udp_tunnel_get_rx_info(struct net_device *dev) in udp_tunnel_get_rx_info() argument 132 call_netdevice_notifiers(NETDEV_UDP_TUNNEL_PUSH_INFO, dev); in udp_tunnel_get_rx_info() 135 static inline void udp_tunnel_drop_rx_info(struct net_device *dev) in udp_tunnel_drop_rx_info() argument 138 call_netdevice_notifiers(NETDEV_UDP_TUNNEL_DROP_INFO, dev); in udp_tunnel_drop_rx_info() 149 struct net_device *dev, struct in6_addr *saddr, 213 struct net_device *dev; member 248 int (*set_port)(struct net_device *dev, 251 int (*unset_port)(struct net_device *dev, 299 udp_tunnel_nic_get_port(struct net_device *dev, unsigned int table, unsigned int idx, struct udp_tunnel_info *ti) udp_tunnel_nic_get_port() argument 315 udp_tunnel_nic_set_port_priv(struct net_device *dev, unsigned int table, unsigned int idx, u8 priv) udp_tunnel_nic_set_port_priv() argument 323 udp_tunnel_nic_add_port(struct net_device *dev, struct udp_tunnel_info *ti) udp_tunnel_nic_add_port() argument 330 udp_tunnel_nic_del_port(struct net_device *dev, struct udp_tunnel_info *ti) udp_tunnel_nic_del_port() argument 348 udp_tunnel_nic_reset_ntf(struct net_device *dev) udp_tunnel_nic_reset_ntf() argument 355 udp_tunnel_nic_dump_size(struct net_device *dev, unsigned int table) udp_tunnel_nic_dump_size() argument 363 udp_tunnel_nic_dump_write(struct net_device *dev, unsigned int table, struct sk_buff *skb) udp_tunnel_nic_dump_write() argument [all...] |