Home
last modified time | relevance | path

Searched refs:dsr (Results 1 – 25 of 83) sorted by relevance

1234

/drivers/rtc/
Drtc-imxdi.c114 u32 dsr; member
184 static void di_report_tamper_info(struct imxdi_dev *imxdi, u32 dsr) in di_report_tamper_info() argument
192 if (dsr & DSR_VTD) in di_report_tamper_info()
196 if (dsr & DSR_CTD) in di_report_tamper_info()
200 if (dsr & DSR_TTD) in di_report_tamper_info()
204 if (dsr & DSR_SAD) in di_report_tamper_info()
209 if (dsr & DSR_EBD) in di_report_tamper_info()
213 if (dsr & DSR_ETAD) in di_report_tamper_info()
217 if (dsr & DSR_ETBD) in di_report_tamper_info()
221 if (dsr & DSR_WTD) in di_report_tamper_info()
[all …]
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c74 props->fw_ver = dev->dsr->caps.fw_ver; in pvrdma_query_device()
75 props->sys_image_guid = dev->dsr->caps.sys_image_guid; in pvrdma_query_device()
76 props->max_mr_size = dev->dsr->caps.max_mr_size; in pvrdma_query_device()
77 props->page_size_cap = dev->dsr->caps.page_size_cap; in pvrdma_query_device()
78 props->vendor_id = dev->dsr->caps.vendor_id; in pvrdma_query_device()
80 props->hw_ver = dev->dsr->caps.hw_ver; in pvrdma_query_device()
81 props->max_qp = dev->dsr->caps.max_qp; in pvrdma_query_device()
82 props->max_qp_wr = dev->dsr->caps.max_qp_wr; in pvrdma_query_device()
83 props->device_cap_flags = dev->dsr->caps.device_cap_flags; in pvrdma_query_device()
84 props->max_send_sge = dev->dsr->caps.max_sge; in pvrdma_query_device()
[all …]
Dpvrdma_main.c105 (int) (dev->dsr->caps.fw_ver >> 32), in pvrdma_get_fw_ver_str()
106 (int) (dev->dsr->caps.fw_ver >> 16) & 0xffff, in pvrdma_get_fw_ver_str()
107 (int) dev->dsr->caps.fw_ver & 0xffff); in pvrdma_get_fw_ver_str()
131 if (dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1) in pvrdma_port_immutable()
133 else if (dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V2) in pvrdma_port_immutable()
205 dev->ib_dev.node_guid = dev->dsr->caps.node_guid; in pvrdma_register_device()
206 dev->sys_image_guid = dev->dsr->caps.sys_image_guid; in pvrdma_register_device()
212 dev->ib_dev.phys_port_cnt = dev->dsr->caps.phys_port_cnt; in pvrdma_register_device()
219 dev->cq_tbl = kcalloc(dev->dsr->caps.max_cq, sizeof(struct pvrdma_cq *), in pvrdma_register_device()
225 dev->qp_tbl = kcalloc(dev->dsr->caps.max_qp, sizeof(struct pvrdma_qp *), in pvrdma_register_device()
[all …]
Dpvrdma_srq.c127 if (init_attr->attr.max_wr > dev->dsr->caps.max_srq_wr || in pvrdma_create_srq()
128 init_attr->attr.max_sge > dev->dsr->caps.max_srq_sge) { in pvrdma_create_srq()
134 if (!atomic_add_unless(&dev->num_srqs, 1, dev->dsr->caps.max_srq)) in pvrdma_create_srq()
194 dev->srq_tbl[srq->srq_handle % dev->dsr->caps.max_srq] = srq; in pvrdma_create_srq()
Dpvrdma_dev_api.h143 _dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1)
147 (_dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1 || \
148 _dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V2)) \
151 ((_dev->dsr->caps.mode == PVRDMA_DEVICE_MODE_ROCE) && \
Dpvrdma_qp.c134 if (req_cap->max_recv_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_rq_size()
135 req_cap->max_recv_sge > dev->dsr->caps.max_sge) { in pvrdma_set_rq_size()
159 if (req_cap->max_send_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_sq_size()
160 req_cap->max_send_sge > dev->dsr->caps.max_sge) { in pvrdma_set_sq_size()
222 if (is_srq && !dev->dsr->caps.max_srq) { in pvrdma_create_qp()
228 if (!atomic_add_unless(&dev->num_qps, 1, dev->dsr->caps.max_qp)) in pvrdma_create_qp()
402 dev->qp_tbl[qp->qp_handle % dev->dsr->caps.max_qp] = qp; in pvrdma_create_qp()
567 if (attr->pkey_index >= dev->dsr->caps.max_pkeys) { in pvrdma_modify_qp()
Dpvrdma_cq.c126 if (entries < 1 || entries > dev->dsr->caps.max_cqe) in pvrdma_create_cq()
129 if (!atomic_add_unless(&dev->num_cqs, 1, dev->dsr->caps.max_cq)) in pvrdma_create_cq()
199 dev->cq_tbl[cq->cq_handle % dev->dsr->caps.max_cq] = cq; in pvrdma_create_cq()
Dpvrdma_doorbell.c54 u32 num = dev->dsr->caps.max_uar; in pvrdma_uar_table_init()
/drivers/misc/sgi-gru/
Dgrukservices.c255 static int gru_get_cpu_resources(int dsr_bytes, void **cb, void **dsr) in gru_get_cpu_resources() argument
265 *dsr = bs->kernel_dsr + lcpu * GRU_NUM_KERNEL_DSR_BYTES; in gru_get_cpu_resources()
272 static void gru_free_cpu_resources(void *cb, void *dsr) in gru_free_cpu_resources() argument
359 void gru_lock_async_resource(unsigned long han, void **cb, void **dsr) in gru_lock_async_resource() argument
369 if (dsr) in gru_lock_async_resource()
370 *dsr = bs->kernel_dsr + ncpus * GRU_NUM_KERNEL_DSR_BYTES; in gru_lock_async_resource()
801 void *dsr; in gru_send_message_gpa() local
808 if (gru_get_cpu_resources(bytes, &cb, &dsr)) in gru_send_message_gpa()
810 memcpy(dsr, mesg, bytes); in gru_send_message_gpa()
811 mhdr = dsr; in gru_send_message_gpa()
[all …]
Dgrukservices.h191 extern void gru_lock_async_resource(unsigned long han, void **cb, void **dsr);
Dgrumain.c784 int ctxnum, ctxnum0, flag = 0, cbr, dsr; in gru_steal_context() local
791 dsr = gts->ts_dsr_au_count; in gru_steal_context()
806 if (check_gru_resources(gru, cbr, dsr, GRU_NUM_CCH)) in gru_steal_context()
846 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context()
/drivers/mtd/lpddr/
Dlpddr_cmds.c97 static void print_drs_error(unsigned int dsr) in print_drs_error() argument
99 int prog_status = (dsr & DSR_RPS) >> 8; in print_drs_error()
101 if (!(dsr & DSR_AVAILABLE)) in print_drs_error()
109 if (!(dsr & DSR_READY_STATUS)) in print_drs_error()
111 if (dsr & DSR_ESS) in print_drs_error()
113 if (dsr & DSR_ERASE_STATUS) in print_drs_error()
115 if (dsr & DSR_PROGRAM_STATUS) in print_drs_error()
117 if (dsr & DSR_VPPS) in print_drs_error()
119 if (dsr & DSR_PSS) in print_drs_error()
121 if (dsr & DSR_DPS) in print_drs_error()
[all …]
Dqinfo_probe.c65 unsigned int dsr, val; in lpddr_info_query() local
81 dsr = CMDVAL(map_read(map, map->pfow_base + PFOW_DSR)); in lpddr_info_query()
82 if (dsr & DSR_READY_STATUS) in lpddr_info_query()
/drivers/parport/
Dparport_ip32.c157 void __iomem *dsr; member
406 unsigned int dsr = readb(priv->regs.dsr); in parport_ip32_dump_state() local
407 printk(KERN_DEBUG PPIP32 " dsr=0x%02x", dsr); in parport_ip32_dump_state()
408 if (!(dsr & DSR_nBUSY)) in parport_ip32_dump_state()
410 if (dsr & DSR_nACK) in parport_ip32_dump_state()
412 if (dsr & DSR_PERROR) in parport_ip32_dump_state()
414 if (dsr & DSR_SELECT) in parport_ip32_dump_state()
416 if (dsr & DSR_nFAULT) in parport_ip32_dump_state()
418 if (!(dsr & DSR_nPRINT)) in parport_ip32_dump_state()
420 if (dsr & DSR_TIMEOUT) in parport_ip32_dump_state()
[all …]
/drivers/pinctrl/meson/
Dpinctrl-meson.h145 dsr, dsb) \ argument
158 [REG_DS] = { dsr, dsb }, \
/drivers/usb/serial/
Dgeneric.c518 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in usb_serial_generic_msr_changed()
559 icount->dsr = cnow.dsr; in usb_serial_generic_get_icount()
Dkeyspan_usa28msg.h152 dsr, // (not used in all products) member
Dkeyspan_usa26msg.h213 dsr, // USA17: reports DSR pin member
Dkeyspan_usa49msg.h244 dsr, // reports DSR pin member
Dkeyspan_usa90msg.h159 dsr, // reports DSR pin member
/drivers/tty/
Damiserial.c319 icount->dsr++; in check_modem_status()
1093 icount->dsr = cnow.dsr; in rs_get_icount()
1147 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in rs_ioctl()
1153 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in rs_ioctl()
/drivers/mfd/
Dtc6393xb.c438 u8 dsr; in __tc6393xb_gpio_set() local
440 dsr = tmio_ioread8(tc6393xb->scr + SCR_GPO_DSR(offset / 8)); in __tc6393xb_gpio_set()
442 dsr |= TC_GPIO_BIT(offset); in __tc6393xb_gpio_set()
444 dsr &= ~TC_GPIO_BIT(offset); in __tc6393xb_gpio_set()
446 tmio_iowrite8(dsr, tc6393xb->scr + SCR_GPO_DSR(offset / 8)); in __tc6393xb_gpio_set()
/drivers/mmc/core/
Dhost.c423 host->dsr_req = !device_property_read_u32(dev, "dsr", &host->dsr); in mmc_of_parse()
424 if (host->dsr_req && (host->dsr & ~0xffff)) { in mmc_of_parse()
427 host->dsr); in mmc_of_parse()
/drivers/media/i2c/
Dtvaudio.c959 int dsr,nsr,mode; in tda9874a_getrxsubchans() local
964 dsr = chip_read2(chip, TDA9874A_DSR); in tda9874a_getrxsubchans()
965 if (dsr < 0) in tda9874a_getrxsubchans()
975 chip->shadow.bytes[MAXREGS-2] = dsr; in tda9874a_getrxsubchans()
992 if(dsr & 0x02) /* DSR.IDSTE=1 */ in tda9874a_getrxsubchans()
994 if(dsr & 0x04) /* DSR.IDDUA=1 */ in tda9874a_getrxsubchans()
1000 dsr, nsr, necr, mode); in tda9874a_getrxsubchans()
/drivers/staging/greybus/
Duart.c652 if ((arg & TIOCM_DSR) && (old.dsr != new.dsr)) in wait_serial_change()
680 icount->dsr = gb_tty->iocount.dsr; in gb_tty_get_icount()

1234