Searched refs:tdev (Results 1 - 25 of 58) sorted by path

123

/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_offload.h65 void cxgb3_add_clients(struct t3cdev *tdev);
66 void cxgb3_remove_clients(struct t3cdev *tdev);
67 void cxgb3_event_notify(struct t3cdev *tdev, u32 event, u32 port);
90 void (*event_handler)(struct t3cdev *tdev, u32 event, u32 port);
/linux-master/arch/mips/dec/
H A Dtc.c70 void __init tc_device_get_irq(struct tc_dev *tdev) argument
72 switch (tdev->slot) {
74 tdev->interrupt = dec_interrupt[DEC_IRQ_TC0];
77 tdev->interrupt = dec_interrupt[DEC_IRQ_TC1];
80 tdev->interrupt = dec_interrupt[DEC_IRQ_TC2];
86 tdev->interrupt = dec_interrupt[DEC_IRQ_TC5];
89 tdev->interrupt = dec_interrupt[DEC_IRQ_TC6];
92 tdev->interrupt = -1;
/linux-master/arch/mips/txx9/generic/
H A Dsetup.c808 struct txx9_sramc_dev *tdev; local
810 tdev = container_of(dev, struct txx9_sramc_dev, dev);
811 kfree(tdev);
/linux-master/drivers/ata/
H A Dlibata-acpi.c63 NULL : ACPI_HANDLE(&dev->tdev);
73 struct ata_device *tdev; local
76 ata_for_each_dev(tdev, tlink, ALL)
77 tdev->flags |= ATA_DFLAG_DETACH;
188 acpi_preset_companion(&ap->tdev, host_companion, ap->port_no);
193 adev = ACPI_COMPANION(&ap->tdev);
209 struct acpi_device *port_companion = ACPI_COMPANION(&ap->tdev);
234 acpi_preset_companion(&dev->tdev, parent, adr);
235 adev = ACPI_COMPANION(&dev->tdev);
269 if (ACPI_HANDLE(&ap->tdev)
[all...]
H A Dlibata-core.c2354 for (parent_dev = dev->tdev.parent; parent_dev != NULL;
H A Dlibata-eh.c439 struct ata_device *tdev; local
443 ata_for_each_dev(tdev, link, ALL)
444 ehi->dev_action[tdev->devno] &= ~action;
451 ata_for_each_dev(tdev, link, ALL)
452 ehi->dev_action[tdev->devno] |=
H A Dlibata-scsi.c1120 link = device_link_add(&sdev->sdev_gendev, &ap->tdev,
1177 device_link_remove(&sdev->sdev_gendev, &ap->tdev);
4370 rc = scsi_add_host_with_dma(shost, &ap->tdev, ap->host->dev);
H A Dlibata-transport.c69 container_of((d), struct ata_device, tdev)
74 container_of((d), struct ata_link, tdev)
79 container_of((d), struct ata_port, tdev)
259 struct device *dev = &ap->tdev;
287 struct device *dev = &ap->tdev;
424 struct device *dev = &link->tdev;
448 struct device *dev = &link->tdev;
454 dev->parent = &ap->tdev;
671 transport_destroy_device(&dev->tdev);
672 put_device(&dev->tdev);
[all...]
H A Dlibata-zpodd.c192 acpi_pm_set_device_wakeup(&dev->tdev, true);
201 acpi_pm_set_device_wakeup(&dev->tdev, false);
267 struct acpi_device *adev = ACPI_COMPANION(&dev->tdev);
287 dev_pm_qos_expose_flags(&dev->tdev, 0);
H A Dlibata.h90 #define to_ata_port(d) container_of(d, struct ata_port, tdev)
H A Dpata_acpi.c41 if (ACPI_HANDLE(&ap->tdev) == NULL || ata_acpi_gtm(ap, &acpi->gtm) < 0)
197 if (ACPI_HANDLE(&ap->tdev) == NULL)
/linux-master/drivers/dma/
H A Dmmp_tdma.c331 struct mmp_tdma_device *tdev = dev_id; local
336 struct mmp_tdma_chan *tdmac = tdev->tdmac[i];
561 static int mmp_tdma_chan_init(struct mmp_tdma_device *tdev, argument
568 dev_err(tdev->dev, "too many channels for device!\n");
573 tdmac = devm_kzalloc(tdev->dev, sizeof(*tdmac), GFP_KERNEL);
579 tdmac->dev = tdev->dev;
580 tdmac->chan.device = &tdev->device;
583 tdmac->reg_base = tdev->base + idx * 4;
586 tdev->tdmac[tdmac->idx] = tdmac;
591 &tdev
612 struct mmp_tdma_device *tdev = ofdma->of_dma_data; local
638 struct mmp_tdma_device *tdev; local
[all...]
/linux-master/drivers/firmware/arm_scmi/
H A Ddriver.c2411 struct scmi_device *tdev = NULL; local
2434 tdev = scmi_device_create(of_node, info->dev, prot_id, name);
2435 if (!tdev) {
2444 cinfo->dev = &tdev->dev;
2455 dev_info(&tdev->dev,
2459 dev_warn(&tdev->dev,
2469 if (tdev) {
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dintr.c37 struct nvkm_top_device *tdev; local
41 list_for_each_entry(tdev, &device->top->device, head) {
42 if (tdev->intr >= 0 &&
43 tdev->type == subdev->type &&
44 tdev->inst == subdev->inst) {
45 if (data->mask & BIT(tdev->intr)) {
47 *mask = BIT(tdev->intr);
297 struct nvkm_top_device *tdev; local
302 list_for_each_entry(tdev, &device->top->device, head) {
303 if (tdev
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dtegra.c31 nvkm_device_tegra_power_up(struct nvkm_device_tegra *tdev) argument
35 if (tdev->vdd) {
36 ret = regulator_enable(tdev->vdd);
41 ret = clk_prepare_enable(tdev->clk);
44 ret = clk_prepare_enable(tdev->clk_ref);
47 ret = clk_prepare_enable(tdev->clk_pwr);
50 clk_set_rate(tdev->clk_pwr, 204000000);
53 if (!tdev->pdev->dev.pm_domain) {
54 reset_control_assert(tdev->rst);
62 reset_control_deassert(tdev
82 nvkm_device_tegra_power_down(struct nvkm_device_tegra *tdev) argument
101 nvkm_device_tegra_probe_iommu(struct nvkm_device_tegra *tdev) argument
171 nvkm_device_tegra_remove_iommu(struct nvkm_device_tegra *tdev) argument
191 struct nvkm_device_tegra *tdev = nvkm_device_tegra(device); local
212 struct nvkm_device_tegra *tdev = nvkm_device_tegra(device); local
220 struct nvkm_device_tegra *tdev = nvkm_device_tegra(device); local
243 struct nvkm_device_tegra *tdev; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dga100.c443 struct nvkm_top_device *tdev; local
473 nvkm_list_foreach(tdev, &device->top->device, head, tdev->runlist == runl->addr) {
474 if (tdev->engine < 0) {
479 engn = nvkm_runl_add(runl, tdev->engine, (tdev->type == NVKM_ENGINE_CE) ?
481 tdev->type, tdev->inst);
577 struct nvkm_top_device *tdev; local
581 nvkm_list_foreach(tdev,
[all...]
H A Dgk104.c759 struct nvkm_top_device *tdev; local
764 nvkm_list_foreach(tdev, &device->top->device, head, tdev->runlist >= 0) {
765 runl = nvkm_runl_get(fifo, tdev->runlist, tdev->runlist);
767 runl = nvkm_runl_new(fifo, tdev->runlist, tdev->runlist, 0);
780 if (tdev->engine < 0)
783 switch (tdev->type) {
795 nvkm_runl_add(runl, tdev
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgk20a.c617 struct nvkm_device_tegra *tdev = device->func->tegra(device); local
628 clk->parent_rate = clk_get_rate(tdev->clk);
H A Dgm20b.c1017 struct nvkm_device_tegra *tdev = device->func->tegra(device); local
1024 if (tdev->gpu_speedo_id == 0)
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dgk20a.c577 struct nvkm_device_tegra *tdev = device->func->tegra(device); local
591 if (tdev->iommu.domain) {
592 imem->mm_mutex = &tdev->iommu.mutex;
593 imem->mm = &tdev->iommu.mm;
594 imem->domain = tdev->iommu.domain;
595 imem->iommu_pgshift = tdev->iommu.pgshift;
596 imem->iommu_bit = tdev->func->iommu_bit;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgk20a.c151 struct nvkm_device_tegra *tdev = device->func->tegra(device); local
156 uv = regulator_get_voltage(tdev->vdd);
159 volt->vdd = tdev->vdd;
165 gk20a_volt_calc_voltage(&coefs[i], tdev->gpu_speedo),
H A Dgm20b.c70 struct nvkm_device_tegra *tdev = device->func->tegra(device); local
74 if (tdev->gpu_speedo_id >= ARRAY_SIZE(speedo_to_vmin)) {
76 tdev->gpu_speedo_id);
85 vmin = speedo_to_vmin[tdev->gpu_speedo_id];
87 if (tdev->gpu_speedo_id >= 1)
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c64 * @tdev: Pointer to the ttm_object_device.
78 struct ttm_object_device *tdev; member in struct:ttm_object_file
196 struct ttm_object_device *tdev = tfile->tdev; local
205 spin_lock(&tdev->object_lock);
206 ret = idr_alloc(&tdev->idr, base, 1, 0, GFP_NOWAIT);
207 spin_unlock(&tdev->object_lock);
221 spin_lock(&tdev->object_lock);
222 idr_remove(&tdev->idr, base->handle);
223 spin_unlock(&tdev
231 struct ttm_object_device *tdev = base->tfile->tdev; local
279 ttm_base_object_lookup_for_ref(struct ttm_object_device *tdev, uint64_t key) argument
408 ttm_object_file_init(struct ttm_object_device *tdev) argument
428 struct ttm_object_device *tdev = kmalloc(sizeof(*tdev), GFP_KERNEL); local
453 struct ttm_object_device *tdev = *p_tdev; local
519 struct ttm_object_device *tdev = base->tfile->tdev; local
544 struct ttm_object_device *tdev = tfile->tdev; local
580 struct ttm_object_device *tdev = tfile->tdev; local
[all...]
H A Dttm_object.h172 * @tdev: Pointer to a struct ttm_object_device.
181 ttm_base_object_lookup_for_ref(struct ttm_object_device *tdev, uint64_t key);
239 * @tdev: A struct ttm_object device this file is initialized on.
245 *tdev);
H A Dvmwgfx_drv.c1026 dev_priv->tdev = ttm_object_device_init(&vmw_prime_dmabuf_ops);
1028 if (unlikely(dev_priv->tdev == NULL)) {
1174 ttm_object_device_release(&dev_priv->tdev);
1218 ttm_object_device_release(&dev_priv->tdev);
1247 vmw_fp->tfile = ttm_object_file_init(dev_priv->tdev);

Completed in 307 milliseconds

123