Searched defs:device (Results 101 - 125 of 651) sorted by relevance

1234567891011>>

/drivers/gpu/drm/nouveau/core/engine/graph/
H A Dctx.h5 struct nouveau_device *device; member in struct:nouveau_grctx
/drivers/gpu/drm/nouveau/core/engine/
H A Dxtensa.c100 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 Dnv50.c111 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 Dnvc0.c87 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 Dnv40.c37 struct nouveau_device *device = nv_device(therm); local
39 switch (device->chipset) {
/drivers/gpu/drm/nouveau/core/subdev/timer/
H A Dnv04.c143 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 Dnv44.c162 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 Dnouveau_abi16.c45 .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 Dnouveau_chan.c80 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 Dnouveau_nvif.c110 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 Dbus.c41 * 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 Dnokia-modem.c45 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 Dehca_cq.c2 * 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 Dehca_uverbs.c2 * 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 Ddvbdev.h67 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 Dvideobuf-dvb.c18 #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 Dvideobuf2-dvb.c18 #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 Dcom20020-pci.c51 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 Dpci.c870 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 Ddrv.c78 .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 Dof_mdio.c8 * 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 Dprobe.c2 * 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 Daerdrv.c147 * 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 Dsearch.c20 * 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 Damilo-rfkill.c105 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

Completed in 412 milliseconds

1234567891011>>