Home
last modified time | relevance | path

Searched refs:dcr (Results 1 – 14 of 14) sorted by relevance

/drivers/rtc/
Drtc-imxdi.c244 u32 dcr; in di_handle_failure_state() local
251 dcr = readl(imxdi->ioaddr + DCR); in di_handle_failure_state()
253 if (dcr & DCR_FSHL) { in di_handle_failure_state()
282 u32 dcr, sec; in di_handle_invalid_state() local
301 dcr = readl(imxdi->ioaddr + DCR); in di_handle_invalid_state()
302 if (!(dcr & DCR_TCE)) { in di_handle_invalid_state()
303 if (dcr & DCR_TCHL) { in di_handle_invalid_state()
308 if (dcr & DCR_TCSL) { in di_handle_invalid_state()
329 di_write_busy_wait(imxdi, dcr | DCR_TCE, DCR); in di_handle_invalid_state()
339 u32 dcr; in di_handle_invalid_and_failure_state() local
[all …]
/drivers/acpi/nfit/
Dcore.c789 static size_t sizeof_dcr(struct acpi_nfit_control_region *dcr) in sizeof_dcr() argument
791 if (dcr->header.length < offsetof(struct acpi_nfit_control_region, in sizeof_dcr()
794 if (dcr->windows) in sizeof_dcr()
795 return sizeof(*dcr); in sizeof_dcr()
801 struct acpi_nfit_control_region *dcr) in add_dcr() argument
806 if (!sizeof_dcr(dcr)) in add_dcr()
810 if (memcmp(nfit_dcr->dcr, dcr, sizeof_dcr(dcr)) == 0) { in add_dcr()
815 nfit_dcr = devm_kzalloc(dev, sizeof(*nfit_dcr) + sizeof(*dcr), in add_dcr()
820 memcpy(nfit_dcr->dcr, dcr, sizeof_dcr(dcr)); in add_dcr()
823 dcr->region_index, dcr->windows); in add_dcr()
[all …]
Dnfit.h174 struct acpi_nfit_control_region dcr[]; member
211 struct acpi_nfit_control_region *dcr; member
/drivers/i3c/master/mipi-i3c-hci/
Ddct_v1.c21 u64 *pid, unsigned int *dcr, unsigned int *bcr) in i3c_hci_dct_get_val() argument
34 *dcr = FIELD_GET(W2_MASK(71, 64), dct_entry_data[2]); in i3c_hci_dct_get_val()
Dcmd_v2.c246 unsigned int dcr, bcr; in hci_cmd_v2_daa() local
295 dcr = FIELD_GET(W1_MASK(63, 56), device_id[1]); in hci_cmd_v2_daa()
297 next_addr, pid, dcr, bcr); in hci_cmd_v2_daa()
Dcmd_v1.c298 unsigned int dcr, bcr; in hci_cmd_v1_daa() local
351 i3c_hci_dct_get_val(hci, 0, &pid, &dcr, &bcr); in hci_cmd_v1_daa()
353 next_addr, pid, dcr, bcr); in hci_cmd_v1_daa()
Ddct.h14 u64 *pid, unsigned int *dcr, unsigned int *bcr);
/drivers/dma/hsu/
Dhsu.c67 u32 dcr = HSU_CH_DCR_CHSOE | HSU_CH_DCR_CHEI; in hsu_dma_chan_start() local
91 dcr |= HSU_CH_DCR_DESCA(i); in hsu_dma_chan_start()
92 dcr |= HSU_CH_DCR_CHTOI(i); /* timeout bit, see HSU Errata 1 */ in hsu_dma_chan_start()
97 dcr |= HSU_CH_DCR_CHSOD(count - 1); in hsu_dma_chan_start()
98 dcr |= HSU_CH_DCR_CHDI(count - 1); in hsu_dma_chan_start()
100 hsu_chan_writel(hsuc, HSU_CH_DCR, dcr); in hsu_dma_chan_start()
/drivers/parport/
Dparport_ip32.c158 void __iomem *dcr; member
387 unsigned int dcr = i ? priv->dcr_cache : readb(priv->regs.dcr); in parport_ip32_dump_state() local
389 i ? "soft" : "hard", dcr); in parport_ip32_dump_state()
390 pr_cont(" %s", (dcr & DCR_DIR) ? "rev" : "fwd"); in parport_ip32_dump_state()
391 if (dcr & DCR_IRQ) in parport_ip32_dump_state()
393 if (!(dcr & DCR_SELECT)) in parport_ip32_dump_state()
395 if (dcr & DCR_nINIT) in parport_ip32_dump_state()
397 if (!(dcr & DCR_AUTOFD)) in parport_ip32_dump_state()
399 if (!(dcr & DCR_STROBE)) in parport_ip32_dump_state()
905 writeb(c, priv->regs.dcr); in __parport_ip32_write_control()
[all …]
/drivers/comedi/drivers/
Dmite.c479 unsigned int chcr, mcr, dcr, lkcr; in mite_prep_dma() local
529 dcr = mite_retry_limit(64) | CR_ASEQUP; in mite_prep_dma()
530 dcr |= CR_PORTIO | CR_AMDEVICE | mite_drq_reqs(mite_chan->channel); in mite_prep_dma()
533 dcr |= CR_PSIZE8; in mite_prep_dma()
536 dcr |= CR_PSIZE16; in mite_prep_dma()
539 dcr |= CR_PSIZE32; in mite_prep_dma()
545 writel(dcr, mite->mmio + MITE_DCR(mite_chan->channel)); in mite_prep_dma()
/drivers/i3c/
Ddevice.c228 id->dcr != devinfo.dcr) in i3c_device_match_id()
Dmaster.c158 ret = sprintf(buf, "%x\n", desc->info.dcr); in dcr_show()
163 static DEVICE_ATTR_RO(dcr);
257 return sprintf(buf, "i3c:dcr%02Xmanuf%04X", devinfo.dcr, in modalias_show()
261 devinfo.dcr, manuf, part, ext); in modalias_show()
289 devinfo.dcr, manuf); in i3c_device_uevent()
293 devinfo.dcr, manuf, part, ext); in i3c_device_uevent()
935 defslvs->master.dcr = master->this->info.dcr; in i3c_master_defslvs_locked()
952 desc->dcr = i3cdev->info.dcr; in i3c_master_defslvs_locked()
1214 info->dcr = getdcr->dcr; in i3c_master_getdcr_locked()
/drivers/usb/serial/
Dmos7720.c373 __u8 dcr; in parport_mos7715_read_control() local
381 dcr = mos_parport->shadowDCR & 0x0f; in parport_mos7715_read_control()
383 return dcr; in parport_mos7715_read_control()
391 __u8 dcr; in parport_mos7715_frob_control() local
400 dcr = mos_parport->shadowDCR & 0x0f; in parport_mos7715_frob_control()
402 return dcr; in parport_mos7715_frob_control()
/drivers/i3c/master/
Di3c-master-cdns.c302 #define DEV_ID_RR2_DCR(dcr) (dcr) argument
1057 info->dcr = rr; in cdns_i3c_master_dev_rr_to_info()