/kernel/linux/linux-5.10/drivers/crypto/stm32/ |
H A D | stm32-cryp.c | 128 struct device *dev; 1731 struct device *dev = &pdev->dev; in stm32_cryp_probe() 1872 static int stm32_cryp_runtime_suspend(struct device *dev) in stm32_cryp_runtime_suspend() 1881 static int stm32_cryp_runtime_resume(struct device *dev) in stm32_cryp_runtime_resume()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device_queue_manager.c | 297 if (q->device->device_info->asic_family == CHIP_HAWAII) in deallocate_vmid() 298 if (flush_texture_cache_nocpsch(q->device, qpd)) in deallocate_vmid() 564 pdd = kfd_get_process_device_data(q->device, q->process); in update_queue() 1695 q->properties.is_active || !q->device->cwsr_enabled || in get_wave_state() 1839 pr_debug("Loading device queue manager\n"); in device_queue_manager_init()
|
H A D | kfd_chardev.c | 23 #include <linux/device.h> 62 struct device *kfd_device; 103 struct device *kfd_chardev(void) in kfd_chardev() 885 /*if the process-device list isn't empty*/ in kfd_ioctl_get_process_apertures() 1042 pr_err("Getting device by id failed in %s\n", __func__); in kfd_ioctl_create_event() 1343 /* MMIO is mapped through kfd device in kfd_ioctl_alloc_memory_of_gpu() 1377 pr_err("Process device data doesn't exist\n"); in kfd_ioctl_free_memory_of_gpu() 1461 pr_debug("Getting device by id failed for 0x%x\n", in kfd_ioctl_map_memory_to_gpu() 1615 dev = q->device; in kfd_ioctl_alloc_queue_gws() 1653 /* Find a KFD GPU device tha in kfd_ioctl_get_dmabuf_info() [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | meson_nand.c | 161 struct device *dev; 1009 nfc->device_clk = devm_clk_get(nfc->dev, "device"); in meson_nfc_clk_init() 1011 dev_err(nfc->dev, "failed to get device clock\n"); in meson_nfc_clk_init() 1039 dev_err(nfc->dev, "failed to enable device clock\n"); in meson_nfc_clk_init() 1242 meson_nfc_nand_chip_init(struct device *dev, in meson_nfc_nand_chip_init() 1295 dev_err(dev, "failed to register MTD device: %d\n", ret); in meson_nfc_nand_chip_init() 1326 static int meson_nfc_nand_chips_init(struct device *dev, in meson_nfc_nand_chips_init() 1383 struct device *dev = &pdev->dev; in meson_nfc_probe()
|
/kernel/linux/linux-5.10/drivers/net/can/ |
H A D | janz-ican3.c | 218 /* CAN network device */ 1495 * The interrupt status register on this device reports interrupts in ican3_irq() 1518 * CONTEXT: no network device registered 1652 /* start up the network device */ in ican3_open() 1664 /* stop the network device xmit routine */ in ican3_stop() 1785 /* start up the network device */ in ican3_set_mode() 1818 static ssize_t ican3_sysfs_show_term(struct device *dev, in ican3_sysfs_show_term() 1837 static ssize_t ican3_sysfs_set_term(struct device *dev, in ican3_sysfs_set_term() 1855 static ssize_t ican3_sysfs_show_fwinfo(struct device *dev, in ican3_sysfs_show_fwinfo() 1888 struct device *de in ican3_probe() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 98 * containing the ThunderX ARM64 CPU implementation. All accesses to the device 1236 struct device *dev = &bgx->pdev->dev; in bgx_print_qlm_mode() 1389 static int acpi_get_mac_address(struct device *dev, struct acpi_device *adev, in acpi_get_mac_address() 1412 struct device *dev = &bgx->pdev->dev; in bgx_acpi_register_phy() 1437 pr_warn("Invalid link device\n"); in bgx_acpi_match_id() 1518 /* We are bailing out, try not to leak device reference counts in bgx_init_of_phy() 1594 struct device *dev = &pdev->dev; in bgx_probe() 1608 dev_err(dev, "Failed to enable PCI device\n"); in bgx_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 506 struct device *dev; in ibmveth_open() 662 struct device *dev = &adapter->vdev->dev; in ibmveth_close() 1560 * @vdev: struct vio_dev for the device whose desired IO mem is to be returned 1805 container_of(kobj->parent, struct device, kobj)); in veth_pool_store() 1921 static int ibmveth_resume(struct device *dev) in ibmveth_resume()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx.c | 35 struct device *dev; in ice_prgm_fdir_fltr() 330 struct device *dev = tx_ring->dev; in ice_setup_tx_ring() 371 struct device *dev = rx_ring->dev; in ice_clean_rx_ring() 395 * device so that we avoid corrupting memory. in ice_clean_rx_ring() 453 struct device *dev = rx_ring->dev; in ice_setup_rx_ring() 700 /* sync the buffer for use by the device */ in ice_alloc_rx_bufs() 2460 * @netdev: network interface device structure
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 364 /* this is compatible with cells for the device tree property */ 373 struct device_node *device; member 396 /* protects initializing window twice for same device */ 598 * device-side of the bridge in iommu_dev_setup_pSeries(). in pci_dma_bus_setup_pSeries() 701 * dynamic 64bit DMA window, walking up the device tree. 735 /* For PCI devices there will always be a DMA window, either on the device in pci_dma_find() 852 /* If this device is further down the bus tree, search upwards until in pci_dma_dev_setup_pSeries() 963 if (window->device == pdn) { in find_existing_ddw() 986 window->device = pdn; in ddw_list_new_entry() 1039 * @np: device nod [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | processpptables.c | 1066 (0x67B1 == adev->pdev->device)) in init_thermal_controller() 1096 if (0x67A2 == adev->pdev->device || in init_thermal_controller() 1097 0x67A9 == adev->pdev->device || in init_thermal_controller() 1098 0x67B9 == adev->pdev->device) { in init_thermal_controller()
|
/kernel/linux/linux-5.10/drivers/misc/cardreader/ |
H A D | rtsx_pcr.c | 143 /* If pci device removed, don't queue idle work any more */ in rtsx_pci_start_run() 1035 "rtsx_sdmmc: unable to grab IRQ %d, disabling device\n", in rtsx_pci_acquire_irq() 1484 pci_name(pcidev), (int)pcidev->vendor, (int)pcidev->device, in rtsx_pci_probe() 1648 pci_name(pcidev), (int)pcidev->vendor, (int)pcidev->device); in rtsx_pci_remove() 1651 static int __maybe_unused rtsx_pci_suspend(struct device *dev_d) in rtsx_pci_suspend() 1675 static int __maybe_unused rtsx_pci_resume(struct device *dev_d) in rtsx_pci_resume()
|
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-wiimote-core.c | 11 #include <linux/device.h> 87 * send out the buffer to the hid device. in wiimote_queue() 556 /* device module handling */ 718 /* device extension handling */ 793 /* device (re-)initialization and detection */ 805 /* Try to guess the device type based on all collected information. We 807 * device name. If we cannot detect the device, we use 808 * WIIMOTE_DEV_GENERIC so all modules will get probed on the device. */ 854 hid_info(wdata->hdev, "cannot detect device; NAM in wiimote_init_set_type() [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3-core.c | 27 #include <media/v4l2-device.h> 1572 struct device *dev = &state->i2c_client->dev; in s5c73m3_parse_gpios() 1594 struct device *dev = &state->i2c_client->dev; in s5c73m3_get_platform_data() 1655 struct device *dev = &client->dev; in s5c73m3_probe()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | ov8856.c | 14 #include <media/v4l2-device.h> 1418 static int __maybe_unused ov8856_suspend(struct device *dev) in ov8856_suspend() 1434 static int __maybe_unused ov8856_resume(struct device *dev) in ov8856_resume() 1645 static int ov8856_get_hwcfg(struct ov8856 *ov8856, struct device *dev) in ov8856_get_hwcfg() 1809 * Enable runtime PM and turn off the device. in ov8856_probe()
|
H A D | imx355.c | 10 #include <media/v4l2-device.h> 1159 /* Open sub-device */ 1481 static int __maybe_unused imx355_suspend(struct device *dev) in imx355_suspend() 1493 static int __maybe_unused imx355_resume(struct device *dev) in imx355_resume() 1656 static struct imx355_hwcfg *imx355_get_hwcfg(struct device *dev) in imx355_get_hwcfg() 1797 * Enable runtime PM and turn off the device. in imx355_probe()
|
H A D | s5k5baf.c | 27 #include <media/v4l2-device.h> 167 /* The below 5 registers are for "device correction" values */ 351 static int s5k5baf_fw_parse(struct device *dev, struct s5k5baf_fw **fw, in s5k5baf_fw_parse() 1813 static int s5k5baf_parse_gpios(struct s5k5baf_gpio *gpios, struct device *dev) in s5k5baf_parse_gpios() 1836 static int s5k5baf_parse_device_node(struct s5k5baf *state, struct device *dev) in s5k5baf_parse_device_node() 1844 dev_err(dev, "no device-tree node provided\n"); in s5k5baf_parse_device_node()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | odp.c | 360 * We are now sure that the device will not access the in mlx5_ib_invalidate_range() 534 struct mlx5_ib_dev *dev = to_mdev(pd->ibpd.device); in mlx5_ib_alloc_implicit_mr() 1748 struct mlx5_ib_dev *dev = to_mdev(pd->device); in get_prefetchable_mr() 1834 struct mlx5_ib_dev *dev = to_mdev(pd->device); in mlx5_ib_prefetch_sg_list() 1866 struct mlx5_ib_dev *dev = to_mdev(pd->device); in mlx5_ib_advise_mr_prefetch()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-srv.c | 1327 static void rtrs_srv_dev_release(struct device *dev) in rtrs_srv_dev_release() 1753 sess->s.dev = rtrs_ib_dev_find_or_add(cm_id->device, &dev_pd); in __alloc_sess() 2057 static int rtrs_srv_add_one(struct ib_device *device) in rtrs_srv_add_one() argument 2067 * Since our CM IDs are NOT bound to any ib device we will create them in rtrs_srv_add_one() 2093 static void rtrs_srv_remove_one(struct ib_device *device, void *client_data) in rtrs_srv_remove_one() argument 2104 * Since our CM IDs are NOT bound to any ib device we will remove them in rtrs_srv_remove_one() 2105 * only once, when the last device is removed in rtrs_srv_remove_one()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_hdcp.c | 310 * We need to write the concatenation of all device KSVs, BINFO (DP) || in intel_hdcp_validate_v_prime() 508 * - 5 bytes per device in intel_hdcp_validate_v_prime() 560 * When repeater reports 0 device count, HDCP1.4 spec allows disabling in intel_hdcp_auth_downstream() 1895 static int i915_hdcp_component_bind(struct device *i915_kdev, in i915_hdcp_component_bind() 1896 struct device *mei_kdev, void *data) in i915_hdcp_component_bind() 1909 static void i915_hdcp_component_unbind(struct device *i915_kdev, in i915_hdcp_component_unbind() 1910 struct device *mei_kdev, void *data) in i915_hdcp_component_unbind()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx88/ |
H A D | cx88-video.c | 4 * device driver for Conexant 2388x based TV cards 49 MODULE_PARM_DESC(video_nr, "video device numbers"); 50 MODULE_PARM_DESC(vbi_nr, "vbi device numbers"); 51 MODULE_PARM_DESC(radio_nr, "radio device numbers"); 422 unsigned int sizes[], struct device *alloc_devs[]) in queue_setup() 1394 /* Sets device info at pci_dev */ in cx8800_initdev() 1399 /* Maintain a reference so cx88-blackbird can query the 8800 device. */ in cx8800_initdev() 1402 /* initial device configuration */ in cx8800_initdev() 1456 pr_err("can't register video device\n"); in cx8800_initdev() 1459 pr_info("registered device in cx8800_initdev() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe.c | 21 #include <media/v4l2-device.h> 274 * @vfe: VFE device 298 * @vfe: VFE device 1107 * @vfe: VFE device 1113 struct device *dev = vfe->camss->dev; in vfe_set_clock_rates() 1189 * @vfe: VFE device 1335 * @vid: Video device structure 1364 * @vid: Video device structure 1972 * msm_vfe_subdev_init - Initialize VFE device structure and resources 1973 * @vfe: VFE device [all...] |
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | sdhci-tegra.c | 289 * device-tree because SDHCI's WRITE_PROTECT bit doesn't work on in tegra_sdhci_get_ro() 638 * So, avoid reading below device tree properties for SoCs that don't in tegra_sdhci_parse_pad_autocal_dt() 1115 static int tegra_sdhci_init_pinctrl_info(struct device *dev, in tegra_sdhci_init_pinctrl_info() 1339 struct device *dev = mmc_dev(host->mmc); in tegra_sdhci_set_dma_mask() 1769 static int __maybe_unused sdhci_tegra_suspend(struct device *dev) in sdhci_tegra_suspend() 1791 static int __maybe_unused sdhci_tegra_resume(struct device *dev) in sdhci_tegra_resume()
|
H A D | sdhci-esdhc-imx.c | 1092 * by the device and used for data output and CRC status response output 1717 static int sdhci_esdhc_suspend(struct device *dev) in sdhci_esdhc_suspend() 1752 static int sdhci_esdhc_resume(struct device *dev) in sdhci_esdhc_resume() 1779 static int sdhci_esdhc_runtime_suspend(struct device *dev) in sdhci_esdhc_runtime_suspend() 1811 static int sdhci_esdhc_runtime_resume(struct device *dev) in sdhci_esdhc_runtime_resume()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
H A D | smsc911x.c | 44 #include <linux/device.h> 94 /* device configuration (copied from platform_data during probe) */ 414 * before we can try to access the device registers. 1500 /* Sets the device MAC address to dev_addr, called with mac_lock held */ 1629 /* The soft reset above cleared the device's MAC address, in smsc911x_open() 1747 /* Disable all device interrupts */ in smsc911x_stop() 2166 /* Initializing private device structures, only called from probe */ 2188 * poll the READY bit in PMT_CTRL. Any other access to the device is in smsc911x_init() 2198 * or can only go high after READY does (so also indicate the device in smsc911x_init() 2285 * mac address before resetting the device */ in smsc911x_init() [all...] |
H A D | smc91x.c | 236 * this does a soft reset on the device 364 * this puts the device in an inactive state 939 * @dev: net device 973 * @dev: net device 997 * @dev: net device 1196 * This is the main routine of the driver, to handle the device when 1871 * The above MIGHT indicate a device, but I need to write to in smc_probe() 1930 * If dev->irq is 0, then the device has to be banged on to see in smc_probe() 2076 * Reset the device. We must disable IRQs around this in smc_enable_device() 2090 * The device wil in smc_enable_device() [all...] |