Searched defs:device (Results 226 - 250 of 651) sorted by relevance

1234567891011>>

/drivers/char/agp/
H A Duninorth-agp.c286 * but directly by the video driver through function pointers in the device
294 struct pci_dev *device = NULL; local
305 for_each_pci_dev(device) {
306 /* Don't touch the bridge yet, device first */
307 if (device == pdev)
313 * device
315 if (device->bus != pdev->bus)
317 agp = pci_find_capability(device, PCI_CAP_ID_AGP);
320 pci_read_config_dword(device, agp + PCI_AGP_COMMAND, &cmd);
323 dev_info(&pdev->dev, "disabling AGP on device
[all...]
/drivers/char/xillybus/
H A Dxillybus.h17 #include <linux/device.h>
94 * pointer, depending on the type of device
97 struct device *dev;
143 void *device; member in struct:xilly_mapping
152 struct device *dev,
/drivers/dma/ioat/
H A Ddma_v2.c368 * ioat2_enumerate_channels - find and initialize the device's channels
369 * @device: the device to be enumerated
371 int ioat2_enumerate_channels(struct ioatdma_device *device) argument
374 struct device *dev = &device->pdev->dev;
375 struct dma_device *dma = &device->common;
380 dma->chancnt = readb(device->reg_base + IOAT_CHANCNT_OFFSET);
382 if (dma->chancnt > ARRAY_SIZE(device->idx)) {
384 dma->chancnt, ARRAY_SIZE(device
740 struct ioatdma_device *device = chan->device; local
803 struct ioatdma_device *device = chan->device; local
880 ioat2_dma_probe(struct ioatdma_device *device, int dca) argument
[all...]
/drivers/firewire/
H A Dcore.h5 #include <linux/device.h>
17 struct device;
116 const struct fw_card_driver *driver, struct device *device);
127 void fw_device_cdev_update(struct fw_device *device);
128 void fw_device_cdev_remove(struct fw_device *device);
132 /* -device */
138 static inline struct fw_device *fw_device_get(struct fw_device *device) argument
140 get_device(&device->device);
145 fw_device_put(struct fw_device *device) argument
[all...]
/drivers/gpu/drm/nouveau/core/engine/device/
H A Dbase.c26 #include <core/device.h>
44 struct nouveau_device *device, *match = NULL; local
46 list_for_each_entry(device, &nv_devices, head) {
47 if (device->handle == name) {
48 match = device;
59 struct nouveau_device *device; local
62 list_for_each_entry(device, &nv_devices, head) {
64 name[nr - 1] = device->handle;
82 struct nouveau_device *device = nv_device(object); local
83 struct nouveau_fb *pfb = nouveau_fb(device);
200 struct nouveau_device *device = nv_device(object); local
284 struct nouveau_device *device; local
528 struct nouveau_device *device = (void *)object; local
561 struct nouveau_device *device = (void *)object; local
598 struct nouveau_device *device = (void *)object; local
613 nv_device_resource_start(struct nouveau_device *device, unsigned int bar) argument
628 nv_device_resource_len(struct nouveau_device *device, unsigned int bar) argument
643 nv_device_get_irq(struct nouveau_device *device, bool stall) argument
668 struct nouveau_device *device; local
[all...]
/drivers/gpu/drm/nouveau/core/engine/fifo/
H A Dnv04.c415 nv04_fifo_cache_error(struct nouveau_device *device, argument
428 if (device->card_type < NV_40) {
461 nv04_fifo_dma_pusher(struct nouveau_device *device, struct nv04_fifo_priv *priv, argument
472 if (device->card_type == NV_50) {
509 struct nouveau_device *device = nv_device(subdev); local
524 nv04_fifo_cache_error(device, priv, chid, get);
529 nv04_fifo_dma_pusher(device, priv, chid);
547 if (device->card_type == NV_50) {
/drivers/gpu/drm/nouveau/core/subdev/clock/
H A Dbase.c542 struct nouveau_device *device = nv_device(parent); local
576 ret = nvkm_notify_init(NULL, &device->event, nouveau_clock_pwrsrc, true,
581 mode = nouveau_stropt(device->cfgopt, "NvClkMode", &arglen);
587 mode = nouveau_stropt(device->cfgopt, "NvClkModeAC", &arglen);
591 mode = nouveau_stropt(device->cfgopt, "NvClkModeDC", &arglen);
H A Dnvc0.c150 struct nouveau_device *device = nv_device(clk); local
155 return device->crystal;
H A Dnve0.c186 struct nouveau_device *device = nv_device(clk); local
191 return device->crystal;
/drivers/gpu/drm/nouveau/core/subdev/fb/
H A Dramnva3.c313 struct nouveau_device *device = nv_device(pfb); local
316 ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", true));
/drivers/gpu/drm/nouveau/core/subdev/i2c/
H A Dbase.c120 struct nouveau_device *device = nv_device(engine); local
131 "nouveau-%s-%d", device->name, index);
133 port->adapter.dev.parent = nv_device_base(device);
140 !nouveau_boolopt(device->cfgopt, "NvI2C", CSTMSEL)) {
/drivers/gpu/drm/nouveau/dispnv04/
H A Darb.c201 struct nvif_device *device = &nouveau_drm(dev)->device; local
206 uint32_t cfg1 = nvif_rd32(device, NV04_PFB_CFG1);
213 if ((dev->pdev->device & 0xffff) == 0x01a0 /*CHIPSET_NFORCE*/ ||
214 (dev->pdev->device & 0xffff) == 0x01f0 /*CHIPSET_NFORCE2*/) {
224 sim_data.memory_type = nvif_rd32(device, NV04_PFB_CFG0) & 0x1;
225 sim_data.memory_width = (nvif_rd32(device, NV_PEXTDEV_BOOT_0) & 0x10) ? 128 : 64;
230 if (drm->device.info.family == NV_DEVICE_INFO_V0_TNT)
257 if (drm->device.info.family < NV_DEVICE_INFO_V0_KELVIN)
259 else if ((dev->pdev->device
[all...]
H A Ddac.c68 struct nvif_device *device = &nouveau_drm(dev)->device; local
69 struct nouveau_timer *ptimer = nvkm_timer(device);
98 sense_a = nvif_rd08(device, NV_PRMCIO_INP0) & 0x10;
103 sense_b = nvif_rd08(device, NV_PRMCIO_INP0) & 0x10;
106 nvif_rd08(device, NV_PRMCIO_INP0) & 0x10;
131 struct nvif_device *device = &nouveau_drm(dev)->device; local
167 nvif_wr08(device, NV_PRMDIO_READ_MODE_ADDRESS, 0x0);
169 saved_palette0[i] = nvif_rd08(device, NV_PRMDIO_PALETTE_DAT
234 struct nvif_device *device = &nouveau_drm(dev)->device; local
[all...]
H A Ddfp.c284 struct nvif_device *device = &nouveau_drm(dev)->device; local
338 if (nvif_rd32(device, NV_PEXTDEV_BOOT_0) & NV_PEXTDEV_BOOT_0_STRAP_FP_IFACE_12BIT)
419 if (drm->device.info.chipset == 0x11)
430 if (drm->device.info.chipset != 0x11) {
466 if (drm->device.info.chipset < 0x44)
488 struct nvif_device *device = &nouveau_drm(dev)->device; local
493 if (dev->pdev->device == 0x0174 || dev->pdev->device
[all...]
H A Ddisp.h132 const int impl = dev->pdev->device & 0x0ff0;
134 if (drm->device.info.family >= NV_DEVICE_INFO_V0_CELSIUS && impl != 0x0100 &&
144 return nv_two_heads(dev) && (dev->pdev->device & 0x0ff0) != 0x0110;
151 const int impl = dev->pdev->device & 0x0ff0;
153 if (impl == 0x0310 || impl == 0x0340 || drm->device.info.family >= NV_DEVICE_INFO_V0_CURIE)
159 nv_match_device(struct drm_device *dev, unsigned device, argument
162 return dev->pdev->device == device &&
175 struct nouveau_bios *bios = nvkm_bios(&drm->device);
H A Dhw.c92 if (drm->device.info.chipset == 0x11) {
103 if (drm->device.info.chipset == 0x11) { /* set me harder */
152 else if (drm->device.info.chipset == 0x30 || drm->device.info.chipset == 0x35) {
168 struct nvif_device *device = &drm->device; local
169 struct nouveau_bios *bios = nvkm_bios(device);
178 pll1 = nvif_rd32(device, reg1);
180 pll2 = nvif_rd32(device, reg1 + 4);
184 pll2 = nvif_rd32(device, reg
255 struct nvif_device *device = &drm->device; local
663 struct nvif_device *device = &drm->device; local
768 struct nvif_device *device = &nouveau_drm(dev)->device; local
787 struct nvif_device *device = &nouveau_drm(dev)->device; local
[all...]
H A Dtvnv17.c49 struct nouveau_gpio *gpio = nvkm_gpio(&drm->device);
133 struct nvif_device *device = &drm->device; local
136 if (nv_device_match(nvkm_object(device), 0x0322, 0x19da, 0x1035) ||
137 nv_device_match(nvkm_object(device), 0x0322, 0x19da, 0x2035)) {
143 if (nv_device_match(nvkm_object(device), 0x01f0, 0x1462, 0x5710)) {
165 if (drm->device.info.chipset == 0x42 ||
166 drm->device.info.chipset == 0x43)
373 struct nouveau_gpio *gpio = nvkm_gpio(&drm->device);
446 if (drm->device
[all...]
H A Dtvnv17.h133 struct nvif_device *device = &nouveau_drm(dev)->device; local
134 nvif_wr32(device, reg, val);
139 struct nvif_device *device = &nouveau_drm(dev)->device; local
140 return nvif_rd32(device, reg);
/drivers/gpu/drm/nouveau/
H A Dnouveau_drm.c34 #include <core/device.h>
147 struct nvif_device *device = &drm->device; local
159 ret = nvif_object_sclass(&device->base, sclass, ARRAY_SIZE(sclass));
196 if (device->info.family >= NV_DEVICE_INFO_V0_KEPLER) {
197 ret = nouveau_channel_new(drm, &drm->device, NVDRM_CHAN + 1,
207 if (device->info.chipset >= 0xa3 &&
208 device->info.chipset != 0xaa &&
209 device->info.chipset != 0xac) {
210 ret = nouveau_channel_new(drm, &drm->device, NVDRM_CHA
287 struct nouveau_device *device; local
526 struct nouveau_object *device; local
945 struct nvif_device *device = &nouveau_drm(drm_dev)->device; local
[all...]
/drivers/gpu/drm/omapdrm/
H A Domap_drv.c457 * @dev: DRM device
555 * @dev: DRM device
670 static int pdev_resume(struct platform_device *device) argument
676 static void pdev_shutdown(struct platform_device *device) argument
681 static int pdev_probe(struct platform_device *device) argument
696 DBG("%s", device->name);
697 return drm_platform_init(&omap_drm_driver, device);
700 static int pdev_remove(struct platform_device *device) argument
704 drm_put_dev(platform_get_drvdata(device));
/drivers/hid/
H A Dhid-debug.c628 void hid_dump_device(struct hid_device *device, struct seq_file *f) argument
637 report_enum = device->report_enum + i;
/drivers/i2c/busses/
H A Di2c-scmi.c358 static int acpi_smbus_cmi_add(struct acpi_device *device) argument
367 smbus_cmi->handle = device->handle;
368 strcpy(acpi_device_name(device), ACPI_SMBUS_HC_DEVICE_NAME);
369 strcpy(acpi_device_class(device), ACPI_SMBUS_HC_CLASS);
370 device->driver_data = smbus_cmi;
376 if (!strcmp(id->id, acpi_device_hid(device)))
388 acpi_device_name(device));
393 smbus_cmi->adapter.dev.parent = &device->dev;
396 dev_err(&device->dev, "Couldn't register adapter!\n");
404 device
408 acpi_smbus_cmi_remove(struct acpi_device *device) argument
[all...]
/drivers/iio/
H A Dindustrialio-trigger.c13 #include <linux/device.h>
44 static ssize_t iio_trigger_read_name(struct device *dev,
192 * triggering device.
293 * used by the device to be queried.
295 static ssize_t iio_trigger_read_current(struct device *dev,
310 * used for this device to be specified at run time based on the trigger's
313 static ssize_t iio_trigger_write_current(struct device *dev,
370 static void iio_trig_release(struct device *device) argument
372 struct iio_trigger *trig = to_iio_trigger(device);
[all...]
/drivers/infiniband/core/
H A Ddevice.c70 static int ib_device_check_mandatory(struct ib_device *device) argument
100 if (!*(void **) ((void *) device + mandatory_table[i].offset)) {
102 device->name, mandatory_table[i].name);
112 struct ib_device *device; local
114 list_for_each_entry(device, &device_list, core_list)
115 if (!strncmp(name, device->name, IB_DEVICE_NAME_MAX))
116 return device;
126 struct ib_device *device; local
133 list_for_each_entry(device, &device_list, core_list) {
134 if (!sscanf(device
154 start_port(struct ib_device *device) argument
160 end_port(struct ib_device *device) argument
190 ib_dealloc_device(struct ib_device *device) argument
203 add_client_context(struct ib_device *device, struct ib_client *client) argument
225 read_port_table_lengths(struct ib_device *device) argument
273 ib_register_device(struct ib_device *device, int (*port_callback)(struct ib_device *, u8, struct kobject *)) argument
337 ib_unregister_device(struct ib_device *device) argument
382 struct ib_device *device; local
408 struct ib_device *device; local
439 ib_get_client_data(struct ib_device *device, struct ib_client *client) argument
466 ib_set_client_data(struct ib_device *device, struct ib_client *client, void *data) argument
558 ib_query_device(struct ib_device *device, struct ib_device_attr *device_attr) argument
574 ib_query_port(struct ib_device *device, u8 port_num, struct ib_port_attr *port_attr) argument
594 ib_query_gid(struct ib_device *device, u8 port_num, int index, union ib_gid *gid) argument
610 ib_query_pkey(struct ib_device *device, u8 port_num, u16 index, u16 *pkey) argument
626 ib_modify_device(struct ib_device *device, int device_modify_mask, struct ib_device_modify *device_modify) argument
649 ib_modify_port(struct ib_device *device, u8 port_num, int port_modify_mask, struct ib_port_modify *port_modify) argument
673 ib_find_gid(struct ib_device *device, union ib_gid *gid, u8 *port_num, u16 *index) argument
705 ib_find_pkey(struct ib_device *device, u8 port_num, u16 pkey, u16 *index) argument
[all...]
H A Diwcm.c216 struct iw_cm_id *iw_create_cm_id(struct ib_device *device, argument
227 cm_id_priv->id.device = device;
367 cm_id->device->iwcm->destroy_listen(cm_id);
390 cm_id->device->iwcm->reject(cm_id, NULL, 0);
400 cm_id_priv->id.device->iwcm->rem_ref(cm_id_priv->qp);
455 ret = cm_id->device->iwcm->create_listen(cm_id, backlog);
495 ret = cm_id->device->iwcm->reject(cm_id, private_data,
531 qp = cm_id->device->iwcm->get_qp(cm_id->device, iw_para
[all...]

Completed in 2535 milliseconds

1234567891011>>