pcap 293 arch/powerpc/include/asm/opal.h int opal_get_powercap(u32 handle, int token, u32 *pcap); pcap 294 arch/powerpc/include/asm/opal.h int opal_set_powercap(u32 handle, int token, u32 pcap); pcap 36 arch/powerpc/platforms/powernv/opal-powercap.c u32 pcap; pcap 49 arch/powerpc/platforms/powernv/opal-powercap.c ret = opal_get_powercap(pcap_attr->handle, token, (u32 *)__pa(&pcap)); pcap 60 arch/powerpc/platforms/powernv/opal-powercap.c ret = sprintf(buf, "%u\n", be32_to_cpu(pcap)); pcap 66 arch/powerpc/platforms/powernv/opal-powercap.c ret = sprintf(buf, "%u\n", be32_to_cpu(pcap)); pcap 88 arch/powerpc/platforms/powernv/opal-powercap.c u32 pcap; pcap 91 arch/powerpc/platforms/powernv/opal-powercap.c ret = kstrtoint(buf, 0, &pcap); pcap 105 arch/powerpc/platforms/powernv/opal-powercap.c ret = opal_set_powercap(pcap_attr->handle, token, pcap); pcap 31 arch/um/drivers/pcap_user.c pri->pcap = p; pcap 41 arch/um/drivers/pcap_user.c if (pri->pcap == NULL) pcap 58 arch/um/drivers/pcap_user.c err = pcap_compile(pri->pcap, pcap 63 arch/um/drivers/pcap_user.c "'%s'\n", pcap_geterr(pri->pcap)); pcap 67 arch/um/drivers/pcap_user.c err = pcap_setfilter(pri->pcap, pri->compiled); pcap 70 arch/um/drivers/pcap_user.c "failed - '%s'\n", pcap_geterr(pri->pcap)); pcap 75 arch/um/drivers/pcap_user.c return PCAP_FD(pri->pcap); pcap 89 arch/um/drivers/pcap_user.c if (pri->pcap != NULL) pcap 90 arch/um/drivers/pcap_user.c pcap_close(pri->pcap); pcap 117 arch/um/drivers/pcap_user.c n = pcap_dispatch(pri->pcap, 1, handler, (u_char *) &hdata); pcap 120 arch/um/drivers/pcap_user.c pcap_geterr(pri->pcap)); pcap 14 arch/um/drivers/pcap_user.h void *pcap; pcap 914 drivers/acpi/nfit/core.c struct acpi_nfit_capabilities *pcap) pcap 919 drivers/acpi/nfit/core.c mask = (1 << (pcap->highest_capability + 1)) - 1; pcap 920 drivers/acpi/nfit/core.c acpi_desc->platform_cap = pcap->capabilities & mask; pcap 366 drivers/clk/zynq/clkc.c zynq_clk_register_periph_clk(pcap, 0, clk_output_name[pcap], NULL, pcap 167 drivers/hwmon/ibmaem.c u16 pcap[AEM2_NUM_PCAP_REGS]; pcap 470 drivers/hwmon/ibmaem.c &data->pcap[i], 2); pcap 985 drivers/hwmon/ibmaem.c return sprintf(buf, "%u\n", a->pcap[attr->index] * 100000); pcap 18 drivers/input/misc/pcap_keys.c struct pcap_chip *pcap; pcap 26 drivers/input/misc/pcap_keys.c int pirq = irq_to_pcap(pcap_keys->pcap, irq); pcap 29 drivers/input/misc/pcap_keys.c ezx_pcap_read(pcap_keys->pcap, PCAP_REG_PSTAT, &pstat); pcap 56 drivers/input/misc/pcap_keys.c pcap_keys->pcap = dev_get_drvdata(pdev->dev.parent); pcap 78 drivers/input/misc/pcap_keys.c err = request_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_ONOFF), pcap 83 drivers/input/misc/pcap_keys.c err = request_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_MIC), pcap 91 drivers/input/misc/pcap_keys.c free_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_ONOFF), pcap_keys); pcap 106 drivers/input/misc/pcap_keys.c free_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_ONOFF), pcap_keys); pcap 107 drivers/input/misc/pcap_keys.c free_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_MIC), pcap_keys); pcap 21 drivers/input/touchscreen/pcap_ts.c struct pcap_chip *pcap; pcap 90 drivers/input/touchscreen/pcap_ts.c pcap_set_ts_bits(pcap_ts->pcap, pcap 99 drivers/input/touchscreen/pcap_ts.c pcap_adc_async(pcap_ts->pcap, PCAP_ADC_BANK_1, 0, ch, pcap 131 drivers/input/touchscreen/pcap_ts.c pcap_set_ts_bits(pcap_ts->pcap, pcap 145 drivers/input/touchscreen/pcap_ts.c pcap_ts->pcap = dev_get_drvdata(pdev->dev.parent); pcap 155 drivers/input/touchscreen/pcap_ts.c pcap_set_ts_bits(pcap_ts->pcap, pcap 182 drivers/input/touchscreen/pcap_ts.c err = request_irq(pcap_to_irq(pcap_ts->pcap, PCAP_IRQ_TS), pcap 204 drivers/input/touchscreen/pcap_ts.c free_irq(pcap_to_irq(pcap_ts->pcap, PCAP_IRQ_TS), pcap_ts); pcap 219 drivers/input/touchscreen/pcap_ts.c pcap_set_ts_bits(pcap_ts->pcap, PCAP_ADC_TS_REF_LOWPWR); pcap 227 drivers/input/touchscreen/pcap_ts.c pcap_set_ts_bits(pcap_ts->pcap, pcap 55 drivers/mfd/ezx-pcap.c static int ezx_pcap_putget(struct pcap_chip *pcap, u32 *data) pcap 66 drivers/mfd/ezx-pcap.c pcap->buf = *data; pcap 67 drivers/mfd/ezx-pcap.c t.tx_buf = (u8 *) &pcap->buf; pcap 68 drivers/mfd/ezx-pcap.c t.rx_buf = (u8 *) &pcap->buf; pcap 69 drivers/mfd/ezx-pcap.c status = spi_sync(pcap->spi, &m); pcap 72 drivers/mfd/ezx-pcap.c *data = pcap->buf; pcap 77 drivers/mfd/ezx-pcap.c int ezx_pcap_write(struct pcap_chip *pcap, u8 reg_num, u32 value) pcap 82 drivers/mfd/ezx-pcap.c spin_lock_irqsave(&pcap->io_lock, flags); pcap 86 drivers/mfd/ezx-pcap.c ret = ezx_pcap_putget(pcap, &value); pcap 87 drivers/mfd/ezx-pcap.c spin_unlock_irqrestore(&pcap->io_lock, flags); pcap 93 drivers/mfd/ezx-pcap.c int ezx_pcap_read(struct pcap_chip *pcap, u8 reg_num, u32 *value) pcap 98 drivers/mfd/ezx-pcap.c spin_lock_irqsave(&pcap->io_lock, flags); pcap 102 drivers/mfd/ezx-pcap.c ret = ezx_pcap_putget(pcap, value); pcap 103 drivers/mfd/ezx-pcap.c spin_unlock_irqrestore(&pcap->io_lock, flags); pcap 109 drivers/mfd/ezx-pcap.c int ezx_pcap_set_bits(struct pcap_chip *pcap, u8 reg_num, u32 mask, u32 val) pcap 116 drivers/mfd/ezx-pcap.c spin_lock_irqsave(&pcap->io_lock, flags); pcap 117 drivers/mfd/ezx-pcap.c ret = ezx_pcap_putget(pcap, &tmp); pcap 125 drivers/mfd/ezx-pcap.c ret = ezx_pcap_putget(pcap, &tmp); pcap 127 drivers/mfd/ezx-pcap.c spin_unlock_irqrestore(&pcap->io_lock, flags); pcap 134 drivers/mfd/ezx-pcap.c int irq_to_pcap(struct pcap_chip *pcap, int irq) pcap 136 drivers/mfd/ezx-pcap.c return irq - pcap->irq_base; pcap 140 drivers/mfd/ezx-pcap.c int pcap_to_irq(struct pcap_chip *pcap, int irq) pcap 142 drivers/mfd/ezx-pcap.c return pcap->irq_base + irq; pcap 148 drivers/mfd/ezx-pcap.c struct pcap_chip *pcap = irq_data_get_irq_chip_data(d); pcap 150 drivers/mfd/ezx-pcap.c pcap->msr |= 1 << irq_to_pcap(pcap, d->irq); pcap 151 drivers/mfd/ezx-pcap.c queue_work(pcap->workqueue, &pcap->msr_work); pcap 156 drivers/mfd/ezx-pcap.c struct pcap_chip *pcap = irq_data_get_irq_chip_data(d); pcap 158 drivers/mfd/ezx-pcap.c pcap->msr &= ~(1 << irq_to_pcap(pcap, d->irq)); pcap 159 drivers/mfd/ezx-pcap.c queue_work(pcap->workqueue, &pcap->msr_work); pcap 171 drivers/mfd/ezx-pcap.c struct pcap_chip *pcap = container_of(work, struct pcap_chip, msr_work); pcap 173 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_MSR, pcap->msr); pcap 178 drivers/mfd/ezx-pcap.c struct pcap_chip *pcap = container_of(work, struct pcap_chip, isr_work); pcap 179 drivers/mfd/ezx-pcap.c struct pcap_platform_data *pdata = dev_get_platdata(&pcap->spi->dev); pcap 184 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_MSR, &msr); pcap 185 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_ISR, &isr); pcap 189 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_INT_SEL, &int_sel); pcap 193 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_MSR, isr | msr); pcap 194 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_ISR, isr); pcap 198 drivers/mfd/ezx-pcap.c for (irq = pcap->irq_base; service; service >>= 1, irq++) { pcap 203 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_MSR, pcap->msr); pcap 209 drivers/mfd/ezx-pcap.c struct pcap_chip *pcap = irq_desc_get_handler_data(desc); pcap 212 drivers/mfd/ezx-pcap.c queue_work(pcap->workqueue, &pcap->isr_work); pcap 216 drivers/mfd/ezx-pcap.c void pcap_set_ts_bits(struct pcap_chip *pcap, u32 bits) pcap 221 drivers/mfd/ezx-pcap.c spin_lock_irqsave(&pcap->adc_lock, flags); pcap 222 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_ADC, &tmp); pcap 225 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_ADC, tmp); pcap 226 drivers/mfd/ezx-pcap.c spin_unlock_irqrestore(&pcap->adc_lock, flags); pcap 230 drivers/mfd/ezx-pcap.c static void pcap_disable_adc(struct pcap_chip *pcap) pcap 234 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_ADC, &tmp); pcap 236 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_ADC, tmp); pcap 239 drivers/mfd/ezx-pcap.c static void pcap_adc_trigger(struct pcap_chip *pcap) pcap 245 drivers/mfd/ezx-pcap.c spin_lock_irqsave(&pcap->adc_lock, flags); pcap 246 drivers/mfd/ezx-pcap.c head = pcap->adc_head; pcap 247 drivers/mfd/ezx-pcap.c if (!pcap->adc_queue[head]) { pcap 249 drivers/mfd/ezx-pcap.c pcap_disable_adc(pcap); pcap 250 drivers/mfd/ezx-pcap.c spin_unlock_irqrestore(&pcap->adc_lock, flags); pcap 254 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_ADC, &tmp); pcap 256 drivers/mfd/ezx-pcap.c tmp |= pcap->adc_queue[head]->flags | PCAP_ADC_ADEN; pcap 258 drivers/mfd/ezx-pcap.c if (pcap->adc_queue[head]->bank == PCAP_ADC_BANK_1) pcap 261 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_ADC, tmp); pcap 262 drivers/mfd/ezx-pcap.c spin_unlock_irqrestore(&pcap->adc_lock, flags); pcap 263 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_ADR, PCAP_ADR_ASC); pcap 268 drivers/mfd/ezx-pcap.c struct pcap_chip *pcap = _pcap; pcap 273 drivers/mfd/ezx-pcap.c spin_lock(&pcap->adc_lock); pcap 274 drivers/mfd/ezx-pcap.c req = pcap->adc_queue[pcap->adc_head]; pcap 277 drivers/mfd/ezx-pcap.c spin_unlock(&pcap->adc_lock); pcap 282 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_ADC, &tmp); pcap 286 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_ADC, tmp); pcap 287 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_ADR, &tmp); pcap 291 drivers/mfd/ezx-pcap.c pcap->adc_queue[pcap->adc_head] = NULL; pcap 292 drivers/mfd/ezx-pcap.c pcap->adc_head = (pcap->adc_head + 1) & (PCAP_ADC_MAXQ - 1); pcap 293 drivers/mfd/ezx-pcap.c spin_unlock(&pcap->adc_lock); pcap 300 drivers/mfd/ezx-pcap.c pcap_adc_trigger(pcap); pcap 305 drivers/mfd/ezx-pcap.c int pcap_adc_async(struct pcap_chip *pcap, u8 bank, u32 flags, u8 ch[], pcap 323 drivers/mfd/ezx-pcap.c spin_lock_irqsave(&pcap->adc_lock, irq_flags); pcap 324 drivers/mfd/ezx-pcap.c if (pcap->adc_queue[pcap->adc_tail]) { pcap 325 drivers/mfd/ezx-pcap.c spin_unlock_irqrestore(&pcap->adc_lock, irq_flags); pcap 329 drivers/mfd/ezx-pcap.c pcap->adc_queue[pcap->adc_tail] = req; pcap 330 drivers/mfd/ezx-pcap.c pcap->adc_tail = (pcap->adc_tail + 1) & (PCAP_ADC_MAXQ - 1); pcap 331 drivers/mfd/ezx-pcap.c spin_unlock_irqrestore(&pcap->adc_lock, irq_flags); pcap 334 drivers/mfd/ezx-pcap.c pcap_adc_trigger(pcap); pcap 349 drivers/mfd/ezx-pcap.c int pcap_adc_sync(struct pcap_chip *pcap, u8 bank, u32 flags, u8 ch[], pcap 356 drivers/mfd/ezx-pcap.c ret = pcap_adc_async(pcap, bank, flags, ch, pcap_adc_sync_cb, pcap 375 drivers/mfd/ezx-pcap.c static int pcap_add_subdev(struct pcap_chip *pcap, pcap 385 drivers/mfd/ezx-pcap.c pdev->dev.parent = &pcap->spi->dev; pcap 397 drivers/mfd/ezx-pcap.c struct pcap_chip *pcap = spi_get_drvdata(spi); pcap 405 drivers/mfd/ezx-pcap.c spin_lock_irqsave(&pcap->adc_lock, flags); pcap 407 drivers/mfd/ezx-pcap.c kfree(pcap->adc_queue[i]); pcap 408 drivers/mfd/ezx-pcap.c spin_unlock_irqrestore(&pcap->adc_lock, flags); pcap 411 drivers/mfd/ezx-pcap.c for (i = pcap->irq_base; i < (pcap->irq_base + PCAP_NIRQS); i++) pcap 414 drivers/mfd/ezx-pcap.c destroy_workqueue(pcap->workqueue); pcap 422 drivers/mfd/ezx-pcap.c struct pcap_chip *pcap; pcap 430 drivers/mfd/ezx-pcap.c pcap = devm_kzalloc(&spi->dev, sizeof(*pcap), GFP_KERNEL); pcap 431 drivers/mfd/ezx-pcap.c if (!pcap) { pcap 436 drivers/mfd/ezx-pcap.c spin_lock_init(&pcap->io_lock); pcap 437 drivers/mfd/ezx-pcap.c spin_lock_init(&pcap->adc_lock); pcap 438 drivers/mfd/ezx-pcap.c INIT_WORK(&pcap->isr_work, pcap_isr_work); pcap 439 drivers/mfd/ezx-pcap.c INIT_WORK(&pcap->msr_work, pcap_msr_work); pcap 440 drivers/mfd/ezx-pcap.c spi_set_drvdata(spi, pcap); pcap 449 drivers/mfd/ezx-pcap.c pcap->spi = spi; pcap 452 drivers/mfd/ezx-pcap.c pcap->irq_base = pdata->irq_base; pcap 453 drivers/mfd/ezx-pcap.c pcap->workqueue = create_singlethread_workqueue("pcapd"); pcap 454 drivers/mfd/ezx-pcap.c if (!pcap->workqueue) { pcap 462 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_INT_SEL, pcap 466 drivers/mfd/ezx-pcap.c for (i = pcap->irq_base; i < (pcap->irq_base + PCAP_NIRQS); i++) { pcap 468 drivers/mfd/ezx-pcap.c irq_set_chip_data(i, pcap); pcap 473 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_MSR, PCAP_MASK_ALL_INTERRUPT); pcap 474 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_ISR, PCAP_CLEAR_INTERRUPT_REGISTER); pcap 475 drivers/mfd/ezx-pcap.c pcap->msr = PCAP_MASK_ALL_INTERRUPT; pcap 478 drivers/mfd/ezx-pcap.c irq_set_chained_handler_and_data(spi->irq, pcap_irq_handler, pcap); pcap 482 drivers/mfd/ezx-pcap.c adc_irq = pcap_to_irq(pcap, (pdata->config & PCAP_SECOND_PORT) ? pcap 486 drivers/mfd/ezx-pcap.c pcap); pcap 492 drivers/mfd/ezx-pcap.c ret = pcap_add_subdev(pcap, &pdata->subdevs[i]); pcap 499 drivers/mfd/ezx-pcap.c pdata->init(pcap); pcap 506 drivers/mfd/ezx-pcap.c for (i = pcap->irq_base; i < (pcap->irq_base + PCAP_NIRQS); i++) pcap 509 drivers/mfd/ezx-pcap.c destroy_workqueue(pcap->workqueue); pcap 8586 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pcaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.pcap)); pcap 9645 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pcaps = fwcaps16_to_caps32(be16_to_cpu(cmd.u.info.pcap)); pcap 2765 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __be16 pcap; pcap 572 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c pcaps = fwcaps16_to_caps32(be16_to_cpu(port_rpl.u.info.pcap)); pcap 1934 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c pcaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.pcap)); pcap 149 drivers/regulator/pcap-regulator.c void *pcap = rdev_get_drvdata(rdev); pcap 155 drivers/regulator/pcap-regulator.c return ezx_pcap_set_bits(pcap, vreg->reg, pcap 163 drivers/regulator/pcap-regulator.c void *pcap = rdev_get_drvdata(rdev); pcap 169 drivers/regulator/pcap-regulator.c ezx_pcap_read(pcap, vreg->reg, &tmp); pcap 177 drivers/regulator/pcap-regulator.c void *pcap = rdev_get_drvdata(rdev); pcap 182 drivers/regulator/pcap-regulator.c return ezx_pcap_set_bits(pcap, vreg->reg, 1 << vreg->en, 1 << vreg->en); pcap 188 drivers/regulator/pcap-regulator.c void *pcap = rdev_get_drvdata(rdev); pcap 193 drivers/regulator/pcap-regulator.c return ezx_pcap_set_bits(pcap, vreg->reg, 1 << vreg->en, 0); pcap 199 drivers/regulator/pcap-regulator.c void *pcap = rdev_get_drvdata(rdev); pcap 205 drivers/regulator/pcap-regulator.c ezx_pcap_read(pcap, vreg->reg, &tmp); pcap 238 drivers/regulator/pcap-regulator.c void *pcap = dev_get_drvdata(pdev->dev.parent); pcap 243 drivers/regulator/pcap-regulator.c config.driver_data = pcap; pcap 20 drivers/rtc/rtc-pcap.c struct pcap_chip *pcap; pcap 29 drivers/rtc/rtc-pcap.c if (irq == pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_1HZ)) pcap 31 drivers/rtc/rtc-pcap.c else if (irq == pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_TODA)) pcap 48 drivers/rtc/rtc-pcap.c ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TODA, &tod); pcap 51 drivers/rtc/rtc-pcap.c ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, &days); pcap 66 drivers/rtc/rtc-pcap.c ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_TODA, tod); pcap 69 drivers/rtc/rtc-pcap.c ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, days); pcap 80 drivers/rtc/rtc-pcap.c ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TOD, &tod); pcap 83 drivers/rtc/rtc-pcap.c ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAY, &days); pcap 98 drivers/rtc/rtc-pcap.c ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_TOD, tod); pcap 101 drivers/rtc/rtc-pcap.c ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_DAY, days); pcap 111 drivers/rtc/rtc-pcap.c enable_irq(pcap_to_irq(pcap_rtc->pcap, pirq)); pcap 113 drivers/rtc/rtc-pcap.c disable_irq(pcap_to_irq(pcap_rtc->pcap, pirq)); pcap 142 drivers/rtc/rtc-pcap.c pcap_rtc->pcap = dev_get_drvdata(pdev->dev.parent); pcap 153 drivers/rtc/rtc-pcap.c timer_irq = pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_1HZ); pcap 154 drivers/rtc/rtc-pcap.c alarm_irq = pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_TODA); pcap 325 drivers/scsi/csiostor/csio_hw.h uint16_t pcap; pcap 395 drivers/scsi/csiostor/csio_mb.c *pcaps = fwcaps16_to_caps32(ntohs(rsp->u.info.pcap)); pcap 1806 tools/testing/nvdimm/test/nfit.c struct acpi_nfit_capabilities *pcap; pcap 2346 tools/testing/nvdimm/test/nfit.c pcap = nfit_buf + offset; pcap 2347 tools/testing/nvdimm/test/nfit.c pcap->header.type = ACPI_NFIT_TYPE_CAPABILITIES; pcap 2348 tools/testing/nvdimm/test/nfit.c pcap->header.length = sizeof(*pcap); pcap 2349 tools/testing/nvdimm/test/nfit.c pcap->highest_capability = 1; pcap 2350 tools/testing/nvdimm/test/nfit.c pcap->capabilities = ACPI_NFIT_CAPABILITY_MEM_FLUSH; pcap 2351 tools/testing/nvdimm/test/nfit.c offset += pcap->header.length;