/drivers/iommu/ |
H A D | amd_iommu_v2.c | 71 struct fault { struct 501 struct fault *fault = container_of(work, struct fault, work); local 505 write = !!(fault->flags & PPR_FAULT_WRITE); 507 npages = get_user_pages(fault->state->task, fault->state->mm, 508 fault->address, 1, write, 0, &page, NULL); 512 } else if (fault->dev_state->inv_ppr_cb) { 515 status = fault 549 struct fault *fault; local [all...] |
H A D | dmar.c | 694 u32 fault; local 702 fault = readl(iommu->reg + DMAR_FSTS_REG); 709 if (fault & DMA_FSTS_IQE) { 729 if (fault & DMA_FSTS_ITE) { 748 if (fault & DMA_FSTS_ICE) 1132 "fault index %llx\n" 1133 "INTR-REMAP:[fault reason %02d] %s\n", 1140 "fault addr %llx \n" 1141 "DMAR:[fault reason %02d] %s\n", 1159 printk(KERN_ERR "DRHD: handling fault statu [all...] |
H A D | amd_iommu.c | 554 struct amd_iommu_fault fault; local 563 fault.address = raw[1]; 564 fault.pasid = PPR_PASID(raw[0]); 565 fault.device_id = PPR_DEVID(raw[0]); 566 fault.tag = PPR_TAG(raw[0]); 567 fault.flags = PPR_FLAGS(raw[0]); 569 atomic_notifier_call_chain(&ppr_notifier, 0, &fault);
|
/drivers/media/video/ |
H A D | adp1653.c | 27 * - fault interrupt handling 92 int fault; local 95 fault = i2c_smbus_read_byte_data(client, ADP1653_REG_FAULT); 96 if (IS_ERR_VALUE(fault)) 97 return fault; 99 flash->fault |= fault; 101 if (!flash->fault) 115 return flash->fault; 164 if (flash->fault 212 struct v4l2_ctrl *fault; local [all...] |
/drivers/power/ |
H A D | max8903_charger.c | 35 bool fault; member in struct:max8903_data 72 if (data->fault) 165 bool fault; local 167 fault = gpio_get_value(pdata->flt) ? false : true; 169 if (fault == data->fault) 172 data->fault = fault; 174 if (fault) 175 dev_err(data->dev, "Charger suffers a fault an [all...] |
H A D | da9030_battery.c | 108 uint8_t fault; member in struct:da9030_charger 226 da903x_read(charger->master, DA9030_FAULT_LOG, &charger->fault); 331 if (charger->fault & DA9030_FAULT_LOG_OVER_TEMP) 333 else if (charger->fault & DA9030_FAULT_LOG_VBAT_OVER)
|
/drivers/staging/iio/dac/ |
H A D | ad5421.c | 30 /* load dac and fault shared the same register number. Writing to it will cause 31 * a dac load command, reading from it will return the fault status register */ 55 /* These bits will cause the fault pin to go high */ 182 unsigned int fault; local 186 fault = ad5421_read(indio_dev, AD5421_REG_FAULT); 187 if (!fault) 190 /* If we had a fault, this might mean that the DAC has lost its state 198 /* The fault pin stays high as long as a fault condition is present and 199 * it is not possible to mask fault condition [all...] |
/drivers/hwmon/ |
H A D | ltc4261.c | 154 u8 fault; local 159 fault = data->regs[LTC4261_FAULT] & attr->index; 160 if (fault) /* Clear reported faults in chip register */ 161 i2c_smbus_write_byte_data(client, LTC4261_FAULT, ~fault); 163 return snprintf(buf, PAGE_SIZE, "%d\n", fault ? 1 : 0);
|
H A D | emc2103.c | 219 bool fault = (data->temp[nr].degrees == -128); local 220 return sprintf(buf, "%d\n", fault ? 1 : 0); 422 bool fault = ((data->fan_tach & 0x1fe0) == 0x1fe0); local 423 return sprintf(buf, "%d\n", fault ? 1 : 0);
|
H A D | max16065.c | 99 int fault[2]; member in struct:max16065_data 168 data->fault[i] 183 int val = data->fault[attr2->nr];
|
/drivers/gpu/drm/udl/ |
H A D | udl_drv.c | 55 .fault = udl_gem_fault,
|
/drivers/spi/ |
H A D | spi-tle62x0.c | 106 unsigned long fault = 0; local 119 fault <<= 8; 120 fault |= ((unsigned long)buff[ptr]); 126 bp += sprintf(bp, "%s ", decode_fault(fault >> (ptr * 2)));
|
/drivers/gpu/drm/ |
H A D | drm_vm.c | 82 * \c fault method for AGP virtual memory. 285 * \c fault method for DMA virtual memory. 319 * \c fault method for scatter-gather virtual memory. 375 .fault = drm_vm_fault, 382 .fault = drm_vm_shm_fault, 389 .fault = drm_vm_dma_fault, 396 .fault = drm_vm_sg_fault, 609 * pages and mappings in fault() 647 * it's allocated in a different way, so avoid fault */
|
/drivers/hid/usbhid/ |
H A D | hiddev.c | 465 goto fault; 468 goto fault; 488 goto fault; 529 goto fault; 546 goto fault; 558 fault:
|
/drivers/misc/ |
H A D | enclosure.c | 414 return snprintf(buf, 40, "%d\n", ecomp->fault); 521 static DEVICE_ATTR(fault, S_IRUGO | S_IWUSR, get_component_fault,
|
/drivers/char/agp/ |
H A D | alpha-agp.c | 44 .fault = alpha_core_agp_vm_fault,
|
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_drv.c | 197 .fault = exynos_drm_gem_fault,
|
/drivers/mmc/core/ |
H A D | debugfs.c | 17 #include <linux/fault-inject.h>
|
/drivers/scsi/ |
H A D | eata_generic.h | 147 #define HA_SFAULT 0x20 /* write fault */ 189 __u8 fault:1; /* write fault */ member in struct:reg_bit
|
/drivers/video/ |
H A D | fb_defio.c | 145 .fault = fb_deferred_io_fault,
|
/drivers/char/ |
H A D | mspec.c | 244 .fault = mspec_fault, 250 * Called when mmapping the device. Initializes the vma with a fault handler
|
/drivers/xen/ |
H A D | privcmd.c | 378 .fault = privcmd_fault
|
/drivers/gpu/drm/ttm/ |
H A D | ttm_bo_vm.c | 92 * Work around locking order reversal in fault / nopfn 94 * for reserve, and if it fails, retry the fault after scheduling. 247 .fault = ttm_bo_vm_fault,
|
/drivers/misc/sgi-gru/ |
H A D | grufile.c | 98 * Called when mmapping the device. Initializes the vma with a fault handler 601 .fault = gru_fault,
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 820 r = ttm_vm_ops->fault(vma, vmf); 847 radeon_ttm_vm_ops.fault = &radeon_ttm_fault;
|