/drivers/gpu/drm/nouveau/core/engine/graph/ |
H A D | ctx.h | 5 struct nouveau_device *device; member in struct:nouveau_grctx
|
/drivers/gpu/drm/nouveau/core/engine/ |
H A D | xtensa.c | 100 struct nouveau_device *device = nv_device(object); local 115 ret = request_firmware(&fw, name, nv_device_base(device));
|
/drivers/gpu/drm/nouveau/core/subdev/bar/ |
H A D | nv50.c | 111 struct nouveau_device *device = nv_device(parent); local 130 (device->chipset == 0x50) ? 0x1400 : 0x0200, 142 limit = start + nv_device_resource_len(device, 3); 144 ret = nouveau_vm_new(device, start, limit, start, &vm); 176 limit = start + nv_device_resource_len(device, 1); 178 ret = nouveau_vm_new(device, start, limit--, start, &vm); 205 if (device->chipset == 0x50)
|
H A D | nvc0.c | 87 struct nouveau_device *device = nv_device(&priv->base); local 102 bar_len = nv_device_resource_len(device, bar_nr); 104 ret = nouveau_vm_new(device, 0, bar_len, 0, &vm); 141 struct nouveau_device *device = nv_device(parent); local 143 bool has_bar3 = nv_device_resource_len(device, 3) != 0;
|
/drivers/gpu/drm/nouveau/core/subdev/therm/ |
H A D | nv40.c | 37 struct nouveau_device *device = nv_device(therm); local 39 switch (device->chipset) {
|
/drivers/gpu/drm/nouveau/core/subdev/timer/ |
H A D | nv04.c | 143 struct nouveau_device *device = nv_device(object); local 157 if (device->chipset < 0x40) { 158 n = nouveau_hw_get_clock(device, PLL_CORE); 161 if (device->chipset <= 0x40) { 166 f = device->crystal;
|
/drivers/gpu/drm/nouveau/core/subdev/vm/ |
H A D | nv44.c | 162 struct nouveau_device *device = nv_device(parent); local 166 if (pci_find_capability(device->pdev, PCI_CAP_ID_AGP) || 167 !nouveau_boolopt(device->cfgopt, "NvPCIE", true)) { 188 priv->nullp = pci_alloc_consistent(device->pdev, 16 * 1024, &priv->null);
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_abi16.c | 45 .device = ~0ULL, 50 /* allocate device object targeting client's default 51 * device (ie. the one that belongs to the fd it 57 &abi16->device) == 0) 72 struct nouveau_cli *cli = (void *)nvif_client(&abi16->device.base); 80 switch (drm->device.info.family) { 146 struct nouveau_cli *cli = (void *)nvif_client(&abi16->device.base); 154 /* destroy the device object */ 155 nvif_device_fini(&abi16->device); 166 struct nvif_device *device local 242 struct nvif_device *device; local 428 struct nvif_device *device = &abi16->device; local [all...] |
H A D | nouveau_chan.c | 80 nvif_device_ref(NULL, &chan->device); 87 nouveau_channel_prep(struct nouveau_drm *drm, struct nvif_device *device, argument 90 struct nouveau_cli *cli = (void *)nvif_client(&device->base); 91 struct nouveau_vmmgr *vmm = nvkm_vmmgr(device); 101 nvif_device_ref(device, &chan->device); 128 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) { 142 if (device->info.family == NV_DEVICE_INFO_V0_TNT) { 149 args.start = nv_device_resource_start(nvkm_device(device), 1); 150 args.limit = args.start + device 184 nouveau_channel_ind(struct nouveau_drm *drm, struct nvif_device *device, u32 handle, u32 engine, struct nouveau_channel **pchan) argument 241 nouveau_channel_dma(struct nouveau_drm *drm, struct nvif_device *device, u32 handle, struct nouveau_channel **pchan) argument 282 struct nvif_device *device = chan->device; local 398 nouveau_channel_new(struct nouveau_drm *drm, struct nvif_device *device, u32 handle, u32 arg0, u32 arg1, struct nouveau_channel **pchan) argument [all...] |
H A D | nouveau_nvif.c | 110 nvkm_client_init(const char *name, u64 device, const char *cfg, argument 116 ret = nouveau_client_create(name, device, cfg, dbg, &client);
|
/drivers/gpu/host1x/ |
H A D | bus.c | 41 * host1x_subdev_add() - add a new subdevice with an associated device node 43 static int host1x_subdev_add(struct host1x_device *device, argument 55 mutex_lock(&device->subdevs_lock); 56 list_add_tail(&subdev->list, &device->subdevs); 57 mutex_unlock(&device->subdevs_lock); 73 * host1x_device_parse_dt() - scan device tree and add matching subdevices 75 static int host1x_device_parse_dt(struct host1x_device *device) argument 80 for_each_child_of_node(device->dev.parent->of_node, np) { 81 if (of_match_node(device->driver->subdevs, np) && 83 err = host1x_subdev_add(device, n 92 host1x_subdev_register(struct host1x_device *device, struct host1x_subdev *subdev, struct host1x_client *client) argument 123 __host1x_subdev_unregister(struct host1x_device *device, struct host1x_subdev *subdev) argument 159 host1x_subdev_unregister(struct host1x_device *device, struct host1x_subdev *subdev) argument 167 host1x_device_init(struct host1x_device *device) argument 193 host1x_device_exit(struct host1x_device *device) argument 222 struct host1x_device *device; local 244 struct host1x_device *device, *dt; local 279 struct host1x_device *device = to_host1x_device(dev); local 289 struct host1x_device *device; local 347 host1x_device_del(struct host1x *host1x, struct host1x_device *device) argument 400 struct host1x_device *device; local 422 struct host1x_device *device, *tmp; local [all...] |
/drivers/hsi/clients/ |
H A D | nokia-modem.c | 45 struct device *device; member in struct:nokia_modem_device 58 dev_info(modem->device, "CMT rst line change detected\n"); 73 static void nokia_modem_gpio_unexport(struct device *dev) 84 static int nokia_modem_gpio_probe(struct device *dev) 144 static int nokia_modem_probe(struct device *dev) 155 dev_err(dev, "device tree node not found\n"); 201 dev_err(dev, "Could not register ssi-protocol device\n"); 205 err = device_attach(&modem->ssi_protocol->device); 222 hsi_remove_client(&modem->ssi_protocol->device, NUL [all...] |
/drivers/infiniband/hw/ehca/ |
H A D | ehca_cq.c | 2 * IBM eServer eHCA Infiniband device driver for Linux on POWER 65 ehca_dbg(cq->ib_cq.device, "cq_num=%x real_qp_num=%x", 84 ehca_dbg(cq->ib_cq.device, 93 ehca_err(cq->ib_cq.device, 116 struct ib_cq *ehca_create_cq(struct ib_device *device, int cqe, int comp_vector, argument 124 container_of(device, struct ehca_shca, ib_device); 138 ehca_err(device, "Unable to create CQ, max number of %i " 140 ehca_err(device, "To increase the maximum number of CQs " 147 ehca_err(device, "Out of memory for ehca_cq struct device 319 struct ib_device *device = cq->device; local [all...] |
H A D | ehca_uverbs.c | 2 * IBM eServer eHCA Infiniband device driver for Linux on POWER 51 struct ib_ucontext *ehca_alloc_ucontext(struct ib_device *device, argument 58 ehca_err(device, "Out of memory device=%p", device); 168 ehca_dbg(cq->ib_cq.device, "cq_num=%x fw", cq->cq_number); 171 ehca_err(cq->ib_cq.device, 179 ehca_dbg(cq->ib_cq.device, "cq_num=%x queue", cq->cq_number); 182 ehca_err(cq->ib_cq.device, 190 ehca_err(cq->ib_cq.device, "ba [all...] |
/drivers/media/dvb-core/ |
H A D | dvbdev.h | 67 struct device *device; member in struct:dvb_adapter 72 struct dvb_device *mfe_dvbdev; /* frontend device in use */ 100 struct module *module, struct device *device,
|
/drivers/media/v4l2-core/ |
H A D | videobuf-dvb.c | 18 #include <linux/device.h> 139 struct device *device, 150 device, adapter_nr); 255 struct device *device, 270 res = videobuf_dvb_register_adapter(f, module, adapter_priv, device, 136 videobuf_dvb_register_adapter(struct videobuf_dvb_frontends *fe, struct module *module, void *adapter_priv, struct device *device, char *adapter_name, short *adapter_nr, int mfe_shared) argument 252 videobuf_dvb_register_bus(struct videobuf_dvb_frontends *f, struct module *module, void *adapter_priv, struct device *device, short *adapter_nr, int mfe_shared) argument
|
H A D | videobuf2-dvb.c | 18 #include <linux/device.h> 79 struct device *device, 90 device, adapter_nr); 195 struct device *device, 210 res = vb2_dvb_register_adapter(f, module, adapter_priv, device, 76 vb2_dvb_register_adapter(struct vb2_dvb_frontends *fe, struct module *module, void *adapter_priv, struct device *device, char *adapter_name, short *adapter_nr, int mfe_shared) argument 192 vb2_dvb_register_bus(struct vb2_dvb_frontends *f, struct module *module, void *adapter_priv, struct device *device, short *adapter_nr, int mfe_shared) argument
|
/drivers/net/arcnet/ |
H A D | com20020-pci.c | 51 static char device[9]; /* use eg. device="arc1" to change name */ variable 58 module_param_string(device, device, sizeof(device), 0); 91 dev = alloc_arcdev(device);
|
/drivers/net/wireless/ath/ath9k/ |
H A D | pci.c | 870 ret = ath9k_init_device(id->device, sc, &ath_pci_bus_ops); 872 dev_err(&pdev->dev, "Failed to initialize device\n"); 903 static int ath_pci_suspend(struct device *device) argument 905 struct pci_dev *pdev = to_pci_dev(device); 912 /* The device has to be moved to FULLSLEEP forcibly. 924 static int ath_pci_resume(struct device *device) argument 926 struct pci_dev *pdev = to_pci_dev(device);
|
/drivers/net/wireless/iwlwifi/pcie/ |
H A D | drv.c | 78 .vendor = PCI_VENDOR_ID_INTEL, .device = (dev), \ 547 static int iwl_pci_suspend(struct device *device) argument 557 static int iwl_pci_resume(struct device *device) argument 559 struct pci_dev *pdev = to_pci_dev(device);
|
/drivers/of/ |
H A D | of_mdio.c | 8 * This file provides helper functions for extracting PHY device information 9 * out of the OpenFirmware device tree and using it to populate an mii_bus. 13 #include <linux/device.h> 28 static int of_get_phy_id(struct device_node *device, u32 *phy_id) argument 34 of_property_for_each_string(device, "compatible", prop, cp) { 71 /* Associate the OF node with the device structure so it 91 static int of_mdio_parse_addr(struct device *dev, const struct device_node *np) 113 * of_mdiobus_register - Register mii_bus and create PHYs from the device tree 128 * the device tree are populated after the bus has been registered */ 186 static int of_phy_match(struct device *de [all...] |
/drivers/parport/ |
H A D | probe.c | 2 * Parallel port device probing code 19 { "", "Legacy device" }, 22 { "NET", "Network device" }, 25 { "MEDIA", "Multimedia device" }, 30 { "", "Unknown device" }, 36 static void pretty_print(struct parport *port, int device) argument 38 struct parport_device_info *info = &port->probe_info[device + 1]; 42 if (device >= 0) 43 printk (" (addr %d)", device); 52 static void parse_data(struct parport *port, int device, cha argument [all...] |
/drivers/pci/pcie/aer/ |
H A D | aerdrv.c | 147 * Enable error reporting for the root port device and downstream port 171 * Disable error reporting for the root port device and downstream port 267 /* Use PCIe bus function to store rpc into PCIe device */ 307 struct device *device = &dev->device; local 317 dev_printk(KERN_DEBUG, device, "alloc rpc failed\n"); 325 dev_printk(KERN_DEBUG, device, "request IRQ failed\n"); 396 /* Clean up Root device status */
|
/drivers/pci/ |
H A D | search.c | 20 * pci_for_each_dma_alias - Iterate over DMA aliases for a device 21 * @pdev: starting downstream device 40 * If the device is broken and uses an alias requester ID for 153 * @from is not %NULL, searches continue from next device on the 172 * pci_get_slot - locate PCI device for a given PCI slot 173 * @bus: PCI bus on which desired PCI device resides 175 * device resides and the logical device number within that slot 178 * Given a PCI bus and slot/function number, the desired PCI device 180 * If the device i 295 pci_get_subsys(unsigned int vendor, unsigned int device, unsigned int ss_vendor, unsigned int ss_device, struct pci_dev *from) argument 324 pci_get_device(unsigned int vendor, unsigned int device, struct pci_dev *from) argument [all...] |
/drivers/platform/x86/ |
H A D | amilo-rfkill.c | 105 static int amilo_rfkill_probe(struct platform_device *device) argument 114 amilo_rfkill_dev = rfkill_alloc(KBUILD_MODNAME, &device->dev, 131 static int amilo_rfkill_remove(struct platform_device *device) argument
|