/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/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 | max16065.c | 99 int fault[2]; member in struct:max16065_data 168 data->fault[i] 183 int val = data->fault[attr2->nr];
|
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);
|
/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/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/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/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/regulator/ |
H A D | wm8350-regulator.c | 843 u16 stop, u16 fault) 884 (fault << WM8350_DC1_ERRACT_SHIFT)); 842 wm8350_dcdc_set_slot(struct wm8350 *wm8350, int dcdc, u16 start, u16 stop, u16 fault) argument
|
/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/scsi/lpfc/ |
H A D | lpfc_sli4.h | 145 uint8_t fault; member in struct:lpfc_sli4_link
|