Searched refs:dcr (Results 1 - 25 of 50) sorted by relevance

12

/linux-master/drivers/i3c/master/mipi-i3c-hci/
H A Ddct.h14 u64 *pid, unsigned int *dcr, unsigned int *bcr);
H A Ddct_v1.c21 u64 *pid, unsigned int *dcr, unsigned int *bcr)
34 *dcr = FIELD_GET(W2_MASK(71, 64), dct_entry_data[2]);
20 i3c_hci_dct_get_val(struct i3c_hci *hci, unsigned int dct_idx, u64 *pid, unsigned int *dcr, unsigned int *bcr) argument
H A Dcmd_v2.c246 unsigned int dcr, bcr; local
295 dcr = FIELD_GET(W1_MASK(63, 56), device_id[1]);
297 next_addr, pid, dcr, bcr);
H A Dcmd_v1.c298 unsigned int dcr, bcr; local
353 i3c_hci_dct_get_val(hci, 0, &pid, &dcr, &bcr);
355 next_addr, pid, dcr, bcr);
/linux-master/arch/sh/drivers/dma/
H A Ddmabrg.c86 unsigned long dcr; local
89 dcr = __raw_readl(DMABRGCR);
90 __raw_writel(dcr & ~0x00ff0003, DMABRGCR); /* ack all */
91 dcr &= dcr >> 8; /* ignore masked */
94 if (dcr & 1)
96 if (dcr & 2)
100 dcr >>= 16;
101 while (dcr) {
102 i = __ffs(dcr);
111 unsigned long dcr; local
119 unsigned long dcr; local
[all...]
/linux-master/arch/powerpc/sysdev/
H A Ddcr-low.S39 dcr = 1 define
41 mfdcr r3,dcr; blr
42 mtdcr dcr,r4; blr
43 dcr = dcr + 1 define
H A DMakefile16 obj-$(CONFIG_PPC_DCR_NATIVE) += dcr-low.o
39 obj-$(CONFIG_PPC_DCR) += dcr.o
/linux-master/arch/powerpc/include/asm/
H A Ddcr.h14 #include <asm/dcr-native.h>
18 #include <asm/dcr-mmio.h>
26 #include <asm/dcr-generic.h>
H A Dasm-prototypes.h17 #include <asm/dcr.h>
/linux-master/tools/testing/nvdimm/test/
H A Dnfit.c198 struct nfit_test_dcr **dcr; member in struct:nfit_test
1929 t->dcr[i] = test_alloc(t, LABEL_SIZE, &t->dcr_dma[i]);
1930 if (!t->dcr[i])
1979 static void dcr_common_init(struct acpi_nfit_control_region *dcr) argument
1981 dcr->vendor_id = 0xabcd;
1982 dcr->device_id = 0;
1983 dcr->revision_id = 1;
1984 dcr->valid_fields = 1;
1985 dcr->manufacturing_location = 0xa;
1986 dcr
1997 struct acpi_nfit_control_region *dcr; local
2742 struct acpi_nfit_control_region *dcr; local
[all...]
/linux-master/include/linux/
H A Dparport_pc.h89 unsigned char dcr = inb (CONTROL (p)); local
102 printk ("] dcr(%s)=[", i ? "soft" : "hard");
103 dcr = i ? priv->ctr : inb (CONTROL (p));
105 if (dcr & 0x20) {
110 if (dcr & 0x10) printk (",ackIntEn");
111 if (!(dcr & 0x08)) printk (",N-SELECT-IN");
112 if (dcr & 0x04) printk (",N-INIT");
113 if (!(dcr & 0x02)) printk (",N-AUTOFD");
114 if (!(dcr & 0x01)) printk (",N-STROBE");
/linux-master/drivers/rtc/
H A Drtc-imxdi.c244 u32 dcr; local
251 dcr = readl(imxdi->ioaddr + DCR);
253 if (dcr & DCR_FSHL) {
282 u32 dcr, sec; local
301 dcr = readl(imxdi->ioaddr + DCR);
302 if (!(dcr & DCR_TCE)) {
303 if (dcr & DCR_TCHL) {
308 if (dcr & DCR_TCSL) {
329 di_write_busy_wait(imxdi, dcr | DCR_TCE, DCR);
339 u32 dcr; local
558 u32 dcr, dsr; local
[all...]
/linux-master/drivers/acpi/nfit/
H A Dcore.c751 dev_dbg(dev, "memdev handle: %#x spa: %d dcr: %d flags: %#x\n",
789 static size_t sizeof_dcr(struct acpi_nfit_control_region *dcr) argument
791 if (dcr->header.length < offsetof(struct acpi_nfit_control_region,
794 if (dcr->windows)
795 return sizeof(*dcr);
801 struct acpi_nfit_control_region *dcr)
806 if (!sizeof_dcr(dcr))
810 if (memcmp(nfit_dcr->dcr, dcr, sizeof_dcr(dcr))
799 add_dcr(struct acpi_nfit_desc *acpi_desc, struct nfit_table_prev *prev, struct acpi_nfit_control_region *dcr) argument
1029 u16 dcr; local
1401 struct acpi_nfit_control_region *dcr = to_nfit_dcr(dev); local
1410 struct acpi_nfit_control_region *dcr = to_nfit_dcr(dev); local
1419 struct acpi_nfit_control_region *dcr = to_nfit_dcr(dev); local
1428 struct acpi_nfit_control_region *dcr = to_nfit_dcr(dev); local
1437 struct acpi_nfit_control_region *dcr = to_nfit_dcr(dev); local
1447 struct acpi_nfit_control_region *dcr = to_nfit_dcr(dev); local
1466 struct acpi_nfit_control_region *dcr = to_nfit_dcr(dev); local
1481 struct acpi_nfit_control_region *dcr = to_nfit_dcr(dev); local
1525 struct acpi_nfit_control_region *dcr = to_nfit_dcr(dev); local
1782 struct acpi_nfit_control_region *dcr = nfit_mem->dcr; local
2284 struct acpi_nfit_control_region *dcr = nfit_mem->dcr; local
2322 struct acpi_nfit_control_region *dcr = nfit_mem->dcr; local
[all...]
H A Dnfit.h174 struct acpi_nfit_control_region dcr[]; member in struct:nfit_dcr
211 struct acpi_nfit_control_region *dcr; member in struct:nfit_mem
/linux-master/drivers/dma/hsu/
H A Dhsu.c67 u32 dcr = HSU_CH_DCR_CHSOE | HSU_CH_DCR_CHEI; local
91 dcr |= HSU_CH_DCR_DESCA(i);
92 dcr |= HSU_CH_DCR_CHTOI(i); /* timeout bit, see HSU Errata 1 */
97 dcr |= HSU_CH_DCR_CHSOD(count - 1);
98 dcr |= HSU_CH_DCR_CHDI(count - 1);
100 hsu_chan_writel(hsuc, HSU_CH_DCR, dcr);
/linux-master/include/linux/i3c/
H A Dccc.h101 * @dcr: DCR value (not applicable to entries describing I2C devices)
113 u8 dcr; member in union:i3c_ccc_dev_desc::__anon3461
194 * @dcr: DCR (Device Characteristic Register) value
197 u8 dcr; member in struct:i3c_ccc_getdcr
H A Ddevice.h103 * @dcr: Device Characteristic Register
124 u8 dcr; member in struct:i3c_device_info
168 .dcr = _dcr, \
/linux-master/drivers/i3c/
H A Ddevice.c236 id->dcr != devinfo.dcr)
H A Dmaster.c160 ret = sprintf(buf, "%x\n", desc->info.dcr);
165 static DEVICE_ATTR_RO(dcr);
259 return sprintf(buf, "i3c:dcr%02Xmanuf%04X", devinfo.dcr,
262 return sprintf(buf, "i3c:dcr%02Xmanuf%04Xpart%04Xext%04X",
263 devinfo.dcr, manuf, part, ext);
290 return add_uevent_var(env, "MODALIAS=i3c:dcr%02Xmanuf%04X",
291 devinfo.dcr, manuf);
294 "MODALIAS=i3c:dcr%02Xmanuf%04Xpart%04Xext%04X",
295 devinfo.dcr, manu
[all...]
/linux-master/drivers/parport/
H A Dparport_ip32.c140 * @dcr: Device Control Register
158 void __iomem *dcr; member in struct:parport_ip32_regs
387 unsigned int dcr = i ? priv->dcr_cache : readb(priv->regs.dcr); local
388 printk(KERN_DEBUG PPIP32 " dcr(%s)=0x%02x",
389 i ? "soft" : "hard", dcr);
390 pr_cont(" %s", (dcr & DCR_DIR) ? "rev" : "fwd");
391 if (dcr & DCR_IRQ)
393 if (!(dcr & DCR_SELECT))
395 if (dcr
[all...]
/linux-master/drivers/net/ethernet/xilinx/
H A Dll_temac.h12 #include <asm/dcr.h>
13 #include <asm/dcr-regs.h>
/linux-master/arch/powerpc/platforms/4xx/
H A Dcpm.c25 #include <asm/dcr.h>
26 #include <asm/dcr-native.h>
267 printk(KERN_ERR "cpm: could not parse dcr property for %pOF\n",
276 printk(KERN_ERR "cpm: failed to map dcr property for %pOF\n",
H A Dsoc.c21 #include <asm/dcr.h>
22 #include <asm/dcr-regs.h>
97 dcrreg = of_get_property(np, "dcr-reg", &len);
/linux-master/drivers/comedi/drivers/
H A Dmite.c479 unsigned int chcr, mcr, dcr, lkcr; local
529 dcr = mite_retry_limit(64) | CR_ASEQUP;
530 dcr |= CR_PORTIO | CR_AMDEVICE | mite_drq_reqs(mite_chan->channel);
533 dcr |= CR_PSIZE8;
536 dcr |= CR_PSIZE16;
539 dcr |= CR_PSIZE32;
545 writel(dcr, mite->mmio + MITE_DCR(mite_chan->channel));
/linux-master/drivers/usb/serial/
H A Dmos7720.c373 __u8 dcr; local
381 dcr = mos_parport->shadowDCR & 0x0f;
383 return dcr;
391 __u8 dcr; local
400 dcr = mos_parport->shadowDCR & 0x0f;
402 return dcr;

Completed in 935 milliseconds

12