Home
last modified time | relevance | path

Searched refs:ofst (Results 1 – 9 of 9) sorted by relevance

/drivers/fpga/
Ddfl.c916 u32 ofst = FIELD_GET(DFH_NEXT_HDR_OFST, value); in feature_size() local
918 return ofst ? ofst : 4096; in feature_size()
938 resource_size_t ofst, u16 fid, in parse_feature_irqs() argument
941 void __iomem *base = binfo->ioaddr + ofst; in parse_feature_irqs()
1018 resource_size_t ofst, resource_size_t size, u16 fid) in create_feature_instance() argument
1027 v = readq(binfo->ioaddr + ofst); in create_feature_instance()
1035 if (binfo->len - ofst < size) in create_feature_instance()
1038 ret = parse_feature_irqs(binfo, ofst, fid, &irq_base, &nr_irqs); in create_feature_instance()
1048 finfo->mmio_res.start = binfo->start + ofst; in create_feature_instance()
1061 resource_size_t ofst) in parse_feature_port_afu() argument
[all …]
/drivers/irqchip/
Dirq-mbigen.c82 unsigned int nid, irq_ofst, ofst; in get_mbigen_type_reg() local
89 ofst = irq_ofst / 32 * 4; in get_mbigen_type_reg()
91 *addr = ofst + nid * MBIGEN_NODE_OFFSET in get_mbigen_type_reg()
98 unsigned int ofst = (hwirq / 32) * 4; in get_mbigen_clear_reg() local
101 *addr = ofst + REG_MBIGEN_CLEAR_OFFSET; in get_mbigen_clear_reg()
/drivers/nvme/target/
Dtrace.c142 u32 ofst = get_unaligned_le32(spc + 4); in nvmet_trace_fabrics_property_set() local
146 attrib, ofst, value); in nvmet_trace_fabrics_property_set()
172 u32 ofst = get_unaligned_le32(spc + 4); in nvmet_trace_fabrics_property_get() local
174 trace_seq_printf(p, "attrib=%u, ofst=0x%x", attrib, ofst); in nvmet_trace_fabrics_property_get()
/drivers/nvme/host/
Dtrace.c255 u32 ofst = get_unaligned_le32(spc + 4); in nvme_trace_fabrics_property_set() local
259 attrib, ofst, value); in nvme_trace_fabrics_property_set()
283 u32 ofst = get_unaligned_le32(spc + 4); in nvme_trace_fabrics_property_get() local
285 trace_seq_printf(p, "attrib=%u, ofst=0x%x", attrib, ofst); in nvme_trace_fabrics_property_get()
/drivers/crypto/chelsio/
Dchcr_algo.h121 #define FILL_SEC_CPL_OP_IVINSR(id, len, ofst) \ argument
129 CPL_TX_SEC_PDU_IVINSRTOFST_V((ofst)))
/drivers/scsi/csiostor/
Dcsio_init.c80 int ret, ofst; in csio_mem_read() local
92 ofst = pos % sizeof(data); in csio_mem_read()
93 len = min(count, sizeof(data) - ofst); in csio_mem_read()
94 if (copy_to_user(buf, (u8 *)data + ofst, len)) in csio_mem_read()
/drivers/crypto/stm32/
Dstm32-cryp.c217 static inline u32 stm32_cryp_read(struct stm32_cryp *cryp, u32 ofst) in stm32_cryp_read() argument
219 return readl_relaxed(cryp->regs + ofst); in stm32_cryp_read()
222 static inline void stm32_cryp_write(struct stm32_cryp *cryp, u32 ofst, u32 val) in stm32_cryp_write() argument
224 writel_relaxed(val, cryp->regs + ofst); in stm32_cryp_write()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c5942 int i, ofst = idx * 4; in t4_set_trace_filter() local
5946 t4_write_reg(adap, MPS_TRC_FILTER_MATCH_CTL_A_A + ofst, 0); in t4_set_trace_filter()
5973 t4_write_reg(adap, MPS_TRC_FILTER_MATCH_CTL_A_A + ofst, 0); in t4_set_trace_filter()
5983 t4_write_reg(adap, MPS_TRC_FILTER_MATCH_CTL_B_A + ofst, in t4_set_trace_filter()
5986 t4_write_reg(adap, MPS_TRC_FILTER_MATCH_CTL_A_A + ofst, in t4_set_trace_filter()
6009 int i, ofst = idx * 4; in t4_get_trace_filter() local
6012 ctla = t4_read_reg(adap, MPS_TRC_FILTER_MATCH_CTL_A_A + ofst); in t4_get_trace_filter()
6013 ctlb = t4_read_reg(adap, MPS_TRC_FILTER_MATCH_CTL_B_A + ofst); in t4_get_trace_filter()
6029 ofst = (MPS_TRC_FILTER1_MATCH_A - MPS_TRC_FILTER0_MATCH_A) * idx; in t4_get_trace_filter()
6030 data_reg = MPS_TRC_FILTER0_MATCH_A + ofst; in t4_get_trace_filter()
[all …]
Dcxgb4_debugfs.c1635 int ret, ofst; in flash_read() local
1638 ofst = pos & 3; in flash_read()
1639 len = min(count + ofst, sizeof(data)); in flash_read()
1640 ret = t4_read_flash(adap, pos - ofst, (len + 3) / 4, in flash_read()
1645 len -= ofst; in flash_read()
1646 if (copy_to_user(buf, data + ofst, len)) in flash_read()