/openbmc/linux/drivers/rtc/ |
H A D | rtc-imxdi.c | 114 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 …]
|
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_verbs.c | 74 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 …]
|
H A D | pvrdma_main.c | 105 (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 …]
|
H A D | pvrdma_srq.c | 127 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()
|
H A D | pvrdma_dev_api.h | 143 _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) && \
|
H A D | pvrdma_qp.c | 134 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()
|
H A D | pvrdma_cq.c | 126 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()
|
/openbmc/u-boot/drivers/rtc/ |
H A D | imxdi.c | 31 u32 dsr; /* Status Reg */ member 75 __raw_writel(DSR_WEF, &data.regs->dsr); in clear_write_error() 79 if ((__raw_readl(&data.regs->dsr) & DSR_WEF) == 0) in clear_write_error() 106 if ((__raw_readl(&data.regs->dsr) & (DSR_WCF | DSR_WEF)) != 0) { in di_write_wait() 117 if (__raw_readl(&data.regs->dsr) & DSR_WEF) { in di_write_wait() 138 if (__raw_readl(&data.regs->dsr) & DSR_NVF) { in di_init() 139 rc = DI_WRITE_WAIT(DSR_NVF | DSR_SVF, dsr); in di_init() 153 if (__raw_readl(&data.regs->dsr) & DSR_CAF) { in di_init() 154 rc = DI_WRITE_WAIT(DSR_CAF, dsr); in di_init()
|
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | grukservices.c | 255 static int gru_get_cpu_resources(int dsr_bytes, void **cb, void **dsr) in gru_get_cpu_resources() argument 264 *dsr = bs->kernel_dsr + lcpu * GRU_NUM_KERNEL_DSR_BYTES; in gru_get_cpu_resources() 271 static void gru_free_cpu_resources(void *cb, void *dsr) in gru_free_cpu_resources() argument 357 void gru_lock_async_resource(unsigned long han, void **cb, void **dsr) in gru_lock_async_resource() argument 367 if (dsr) in gru_lock_async_resource() 368 *dsr = bs->kernel_dsr + ncpus * GRU_NUM_KERNEL_DSR_BYTES; in gru_lock_async_resource() 799 void *dsr; in gru_send_message_gpa() local 806 if (gru_get_cpu_resources(bytes, &cb, &dsr)) in gru_send_message_gpa() 808 memcpy(dsr, mesg, bytes); in gru_send_message_gpa() 809 mhdr = dsr; in gru_send_message_gpa() [all …]
|
H A D | grukservices.h | 191 extern void gru_lock_async_resource(unsigned long han, void **cb, void **dsr);
|
/openbmc/linux/include/linux/ |
H A D | parport_pc.h | 90 unsigned char dsr = inb (STATUS (p)); in dump_parport_state() local 117 if (!(dsr & 0x80)) printk ("BUSY"); in dump_parport_state() 118 if (dsr & 0x40) printk (",N-ACK"); in dump_parport_state() 119 if (dsr & 0x20) printk (",PERROR"); in dump_parport_state() 120 if (dsr & 0x10) printk (",SELECT"); in dump_parport_state() 121 if (dsr & 0x08) printk (",N-FAULT"); in dump_parport_state()
|
H A D | serial.h | 41 __u32 cts, dsr, rng, dcd, tx, rx; member
|
/openbmc/linux/drivers/mtd/lpddr/ |
H A D | lpddr_cmds.c | 97 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 …]
|
H A D | qinfo_probe.c | 65 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()
|
/openbmc/linux/drivers/parport/ |
H A D | parport_ip32.c | 157 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 …]
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | fsl_rmu.c | 136 u32 dsr; member 295 int dsr; in fsl_rio_dbell_handler() local 299 dsr = in_be32(&fsl_dbell->dbell_regs->dsr); in fsl_rio_dbell_handler() 301 if (dsr & DOORBELL_DSR_TE) { in fsl_rio_dbell_handler() 303 out_be32(&fsl_dbell->dbell_regs->dsr, DOORBELL_DSR_TE); in fsl_rio_dbell_handler() 307 if (dsr & DOORBELL_DSR_QFI) { in fsl_rio_dbell_handler() 309 out_be32(&fsl_dbell->dbell_regs->dsr, DOORBELL_DSR_QFI); in fsl_rio_dbell_handler() 313 if (dsr & DOORBELL_DSR_DIQI) { in fsl_rio_dbell_handler() 355 out_be32(&fsl_dbell->dbell_regs->dsr, DOORBELL_DSR_DIQI); in fsl_rio_dbell_handler() 374 out_be32(&dbell->dbell_regs->dsr, IDSR_CLEAR); in msg_unit_error_handler() [all …]
|
/openbmc/linux/arch/mips/boot/dts/cavium-octeon/ |
H A D | dlink_dsr-500n.dts | 12 model = "dlink,dsr-500n"; 13 compatible = "dlink,dsr-500n", "cavium,octeon-3860";
|
/openbmc/linux/Documentation/devicetree/bindings/serial/ |
H A D | cirrus,clps711x-uart.txt | 11 - {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD 29 dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
|
/openbmc/linux/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.h | 147 dsr, dsb) \ argument 160 [MESON_REG_DS] = { dsr, dsb }, \
|
/openbmc/u-boot/drivers/mmc/ |
H A D | mmc_legacy.c | 137 .dsr = 0xffffffff, 189 mmc->dsr = 0xffffffff; in mmc_create()
|
/openbmc/linux/arch/sh/include/uapi/asm/ |
H A D | ptrace_32.h | 71 unsigned long dsr; member
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am335x-netcom-plus-2xx.dts | 61 dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; 72 dsr-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
|
/openbmc/linux/drivers/usb/serial/ |
H A D | keyspan_usa28msg.h | 152 dsr, // (not used in all products) member
|
H A D | generic.c | 518 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in usb_serial_generic_msr_changed() 559 icount->dsr = cnow.dsr; in usb_serial_generic_get_icount()
|
/openbmc/u-boot/doc/device-tree-bindings/serial/ |
H A D | snps-dw-apb-uart.txt | 30 - dsr-override : Override the DTS modem status signal. This signal will always 50 dsr-override;
|