/drivers/edac/ |
H A D | ghes_edac.c | 328 const char *bank = NULL, *device = NULL; local 329 dmi_memdev_name(mem_err->mem_dev_handle, &bank, &device); 330 if (bank != NULL && device != NULL) 331 p += sprintf(p, "DIMM location:%s %s ", bank, device); 428 int ghes_edac_register(struct ghes *ghes, struct device *dev)
|
/drivers/firmware/efi/ |
H A D | cper.c | 230 n += scnprintf(msg + n, len - n, "device: %d ", mem->device); 255 const char *bank = NULL, *device = NULL; local 262 dmi_memdev_name(mem->mem_dev_handle, &bank, &device); 263 if (bank && device) 264 n = snprintf(msg, len, "DIMM location: %s %s ", bank, device); 282 cmem->device = mem->device; 342 "root complex integrated endpoint device", 363 pcie->device_id.device, pci [all...] |
/drivers/gpu/drm/ast/ |
H A D | ast_fb.c | 196 struct device *device = &dev->pdev->dev; local 220 info = framebuffer_alloc(0, device);
|
/drivers/gpu/drm/cirrus/ |
H A D | cirrus_fbdev.c | 170 struct device *device = &dev->pdev->dev; local 195 info = framebuffer_alloc(0, device);
|
/drivers/gpu/drm/ |
H A D | drm_sysfs.c | 15 #include <linux/device.h> 35 * @dev: Linux device to suspend 41 static int __drm_class_suspend(struct device *dev, pm_message_t state) 58 * @dev: Linux device to suspend 60 static int drm_class_suspend(struct device *dev) 68 * @dev: Linux device to freeze 70 static int drm_class_freeze(struct device *dev) 77 * @dev: Linux device to resume 82 static int drm_class_resume(struct device *dev) 102 static char *drm_devnode(struct device *de 169 status_show(struct device *device, struct device_attribute *attr, char *buf) argument 188 dpms_show(struct device *device, struct device_attribute *attr, char *buf) argument 207 enabled_show(struct device *device, struct device_attribute *attr, char *buf) argument 244 modes_show(struct device *device, struct device_attribute *attr, char *buf) argument 260 subconnector_show(struct device *device, struct device_attribute *attr, char *buf) argument 301 select_subconnector_show(struct device *device, struct device_attribute *attr, char *buf) argument [all...] |
/drivers/gpu/drm/mgag200/ |
H A D | mgag200_fb.c | 169 struct device *device = &dev->pdev->dev; local 194 info = framebuffer_alloc(0, device);
|
/drivers/gpu/drm/nouveau/core/engine/fifo/ |
H A D | base.c | 61 struct nouveau_device *device = nv_device(engine); local 108 chan->addr = nv_device_resource_start(device, bar) +
|
/drivers/gpu/drm/nouveau/core/engine/perfmon/ |
H A D | base.c | 112 struct nouveau_device *device = nv_device(object); local 115 const bool all = nouveau_boolopt(device->cfgopt, "NvPmShowAll", false); 116 const bool raw = nouveau_boolopt(device->cfgopt, "NvPmUnnamed", all);
|
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
H A D | base.c | 26 #include <core/device.h> 87 struct nouveau_device *device = nv_device(bios); local 92 if (device->card_type >= NV_50) { 93 if (device->card_type >= NV_C0 && device->card_type < GM100) { 97 if (device->card_type >= GM100) { 137 if (device->card_type >= NV_50) 144 struct nouveau_device *device = nv_device(bios); local 150 if (device->card_type == NV_40 && device [all...] |
/drivers/gpu/drm/nouveau/core/subdev/fb/ |
H A D | nv50.c | 151 struct nouveau_device *device = nv_device(subdev); local 172 if (device->chipset < 0xa3 || 173 device->chipset == 0xaa || device->chipset == 0xac) { 242 struct nouveau_device *device = nv_device(parent); local 253 priv->r100c08 = dma_map_page(nv_device_base(device), 256 if (dma_mapping_error(nv_device_base(device), priv->r100c08)) 269 struct nouveau_device *device = nv_device(object); local 273 dma_unmap_page(nv_device_base(device), priv->r100c08, PAGE_SIZE,
|
/drivers/gpu/drm/nouveau/core/subdev/mxm/ |
H A D | base.c | 84 struct nouveau_device *device = nv_device(mxm); local 99 handle = ACPI_HANDLE(nv_device_base(device)); 232 struct nouveau_device *device = nv_device(parent); local 233 struct nouveau_bios *bios = nouveau_bios(device); 271 if (nouveau_boolopt(device->cfgopt, "NvMXMDCB", true))
|
/drivers/gpu/drm/nouveau/core/subdev/therm/ |
H A D | base.c | 26 #include <core/device.h> 169 struct nouveau_device *device = nv_device(therm); local 178 (mode != NOUVEAU_THERM_CTRL_NONE && device->card_type >= NV_C0 && 179 !nouveau_subdev(device, NVDEV_SUBDEV_PWR)))
|
/drivers/gpu/drm/nouveau/core/subdev/vm/ |
H A D | base.c | 394 nouveau_vm_new(struct nouveau_device *device, u64 offset, u64 length, argument 397 struct nouveau_vmmgr *vmm = nouveau_vmmgr(device);
|
/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | hw.h | 63 struct nvif_device *device = &nouveau_drm(dev)->device; local 67 val = nvif_rd32(device, reg); 74 struct nvif_device *device = &nouveau_drm(dev)->device; local 77 nvif_wr32(device, reg, val); 83 struct nvif_device *device = &nouveau_drm(dev)->device; local 87 val = nvif_rd32(device, reg); 94 struct nvif_device *device local 123 struct nvif_device *device = &nouveau_drm(dev)->device; local 131 struct nvif_device *device = &nouveau_drm(dev)->device; local 168 struct nvif_device *device = &nouveau_drm(dev)->device; local 184 struct nvif_device *device = &nouveau_drm(dev)->device; local 197 struct nvif_device *device = &nouveau_drm(dev)->device; local 204 struct nvif_device *device = &nouveau_drm(dev)->device; local 212 struct nvif_device *device = &nouveau_drm(dev)->device; local 226 struct nvif_device *device = &nouveau_drm(dev)->device; local 262 struct nvif_device *device = &nouveau_drm(dev)->device; local [all...] |
H A D | overlay.c | 99 struct nvif_device *dev = &nouveau_drm(plane->dev)->device; 176 struct nvif_device *dev = &nouveau_drm(plane->dev)->device; 200 struct nvif_device *dev = &nouveau_drm(plane->base.dev)->device; 260 nv10_overlay_init(struct drm_device *device) argument 262 struct nouveau_drm *drm = nouveau_drm(device); 270 switch (drm->device.info.chipset) { 280 ret = drm_plane_init(device, &plane->base, 3 /* both crtc's */, 288 device, 0, "colorkey", 0, 0x01ffffff); 290 device, 0, "contrast", 0, 8192 - 1); 292 device, 453 nv04_overlay_init(struct drm_device *device) argument 495 nouveau_overlay_init(struct drm_device *device) argument [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_abi16.h | 31 struct nvif_device device; member in struct:nouveau_abi16
|
H A D | nouveau_fbcon.c | 63 struct nvif_device *device = &drm->device; local 72 if (device->info.family < NV_DEVICE_INFO_V0_TESLA) 75 if (device->info.family < NV_DEVICE_INFO_V0_FERMI) 95 struct nvif_device *device = &drm->device; local 104 if (device->info.family < NV_DEVICE_INFO_V0_TESLA) 107 if (device->info.family < NV_DEVICE_INFO_V0_FERMI) 127 struct nvif_device *device = &drm->device; local 315 struct nvif_device *device = &drm->device; local [all...] |
/drivers/gpu/drm/radeon/ |
H A D | radeon_fb.c | 200 struct device *device = &rdev->pdev->dev; local 223 info = framebuffer_alloc(0, device);
|
/drivers/gpu/host1x/ |
H A D | mipi.c | 89 struct device *device; member in struct:tegra_mipi_device 105 struct tegra_mipi_device *tegra_mipi_request(struct device *device) argument 107 struct device_node *np = device->of_node; 141 dev->device = device; 154 void tegra_mipi_free(struct tegra_mipi_device *device) argument 156 platform_device_put(device->pdev); 157 kfree(device); 178 tegra_mipi_calibrate(struct tegra_mipi_device *device) argument [all...] |
/drivers/hid/ |
H A D | hid-roccat.c | 15 * Module roccat is a char device used to report special events of roccat 18 * not stored in device. The information in these events depends on hid device 48 struct device *dev; 65 struct roccat_device *device; member in struct:roccat_reader 80 struct roccat_device *device = reader->device; local 85 mutex_lock(&device->cbuf_lock); 88 if (reader->cbuf_start == device->cbuf_end) { 89 add_wait_queue(&device 155 struct roccat_device *device; local 210 struct roccat_device *device; local 252 struct roccat_device *device; local 300 struct roccat_device *device; local 356 struct roccat_device *device; local 382 struct roccat_device *device; local [all...] |
/drivers/ide/ |
H A D | piix.c | 14 * PIIX4. Older device documentation is now a bit tricky to find. 201 * @dev: PCI device to set up 203 * Initialize the PCI device as required. For the ICH this turns 245 u16 device; member in struct:ich_laptop 278 while (lap->device) { 279 if (lap->device == pdev->device && 378 * @dev: the piix device 382 * finds a device matching our IDE device table [all...] |
/drivers/infiniband/core/ |
H A D | cache.c | 57 struct ib_device *device; member in struct:ib_update_work 61 static inline int start_port(struct ib_device *device) argument 63 return (device->node_type == RDMA_NODE_IB_SWITCH) ? 0 : 1; 66 static inline int end_port(struct ib_device *device) argument 68 return (device->node_type == RDMA_NODE_IB_SWITCH) ? 69 0 : device->phys_port_cnt; 72 int ib_get_cached_gid(struct ib_device *device, argument 81 if (port_num < start_port(device) || port_num > end_port(device)) 84 read_lock_irqsave(&device 99 ib_find_cached_gid(struct ib_device *device, union ib_gid *gid, u8 *port_num, u16 *index) argument 134 ib_get_cached_pkey(struct ib_device *device, u8 port_num, int index, u16 *pkey) argument 161 ib_find_cached_pkey(struct ib_device *device, u8 port_num, u16 pkey, u16 *index) argument 202 ib_find_exact_cached_pkey(struct ib_device *device, u8 port_num, u16 pkey, u16 *index) argument 234 ib_get_cached_lmc(struct ib_device *device, u8 port_num, u8 *lmc) argument 252 ib_cache_update(struct ib_device *device, u8 port) argument 358 ib_cache_setup_one(struct ib_device *device) argument 408 ib_cache_cleanup_one(struct ib_device *device) argument [all...] |
H A D | fmr_pool.c | 213 struct ib_device *device; local 223 device = pd->device; 224 if (!device->alloc_fmr || !device->dealloc_fmr || 225 !device->map_phys_fmr || !device->unmap_fmr) { 227 device->name); 233 printk(KERN_WARNING PFX "couldn't allocate device attr struct\n"); 237 ret = ib_query_device(device, att [all...] |
/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_sysfs.c | 33 static ssize_t usnic_ib_show_fw_ver(struct device *device, argument 38 container_of(device, struct usnic_ib_dev, ib_dev.dev); 48 static ssize_t usnic_ib_show_board(struct device *device, argument 53 container_of(device, struct usnic_ib_dev, ib_dev.dev); 67 usnic_ib_show_config(struct device *device, struct device_attribute *attr, argument 76 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); 130 usnic_ib_show_iface(struct device *devic argument 142 usnic_ib_show_max_vf(struct device *device, struct device_attribute *attr, char *buf) argument 154 usnic_ib_show_qp_per_vf(struct device *device, struct device_attribute *attr, char *buf) argument 169 usnic_ib_show_cq_per_vf(struct device *device, struct device_attribute *attr, char *buf) argument [all...] |
/drivers/infiniband/ulp/iser/ |
H A D | iser_initiator.c | 52 struct iser_device *device = iser_task->iser_conn->ib_conn.device; local 76 err = device->iser_reg_rdma_mem(iser_task, ISER_DIR_IN); 106 struct iser_device *device = iser_task->iser_conn->ib_conn.device; local 131 err = device->iser_reg_rdma_mem(iser_task, ISER_DIR_OUT); 166 struct iser_device *device = iser_conn->ib_conn.device; local 168 ib_dma_sync_single_for_cpu(device->ib_device, 176 if (tx_desc->tx_sg[0].lkey != device 184 struct iser_device *device = iser_conn->ib_conn.device; local 209 struct iser_device *device = iser_conn->ib_conn.device; local 263 struct iser_device *device = ib_conn->device; local 321 struct iser_device *device = ib_conn->device; local 521 struct iser_device *device; local 633 struct iser_device *device = ib_conn->device; local 673 struct iser_device *device = iser_task->iser_conn->ib_conn.device; local [all...] |