Home
last modified time | relevance | path

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

/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-img-ipi.h124 #define _CFG_OFST(plat, cfg, ofst) ((void *)(&((cfg)->config_##plat) + (ofst))) argument
125 #define CFG_OFST(plat, cfg, ofst) \ argument
126 (IS_ERR_OR_NULL(cfg) ? NULL : _CFG_OFST(plat, cfg, ofst))
/linux/drivers/irqchip/
H A Dirq-mbigen.c95 unsigned int nid, irq_ofst, ofst; in get_mbigen_type_reg() local
102 ofst = irq_ofst / 32 * 4; in get_mbigen_type_reg()
104 *addr = ofst + get_mbigen_node_offset(nid) + REG_MBIGEN_TYPE_OFFSET; in get_mbigen_type_reg()
110 unsigned int ofst = (hwirq / 32) * 4; in get_mbigen_clear_reg() local
113 *addr = ofst + REG_MBIGEN_CLEAR_OFFSET; in get_mbigen_clear_reg()
/linux/drivers/crypto/chelsio/
H A Dchcr_algo.h121 #define FILL_SEC_CPL_OP_IVINSR(id, len, ofst) \ argument
129 CPL_TX_SEC_PDU_IVINSRTOFST_V((ofst)))
/linux/drivers/nvme/target/
H A Dpci-epf.c796 size_t size = 0, ofst, prp_size, xfer_len; in nvmet_pci_epf_iod_parse_prp_list() local
817 ofst = nvmet_pci_epf_prp_ofst(ctrl, prp); in nvmet_pci_epf_iod_parse_prp_list()
818 nr_segs = (transfer_len + ofst + ctrl->mps - 1) >> ctrl->mps_shift; in nvmet_pci_epf_iod_parse_prp_list()
851 ofst = 0; in nvmet_pci_epf_iod_parse_prp_list()
977 size_t ofst; in nvmet_pci_epf_iod_parse_prps() local
980 ofst = nvmet_pci_epf_prp_ofst(ctrl, prp1); in nvmet_pci_epf_iod_parse_prps()
981 if (ofst & 0x3) { in nvmet_pci_epf_iod_parse_prps()
986 if (iod->data_len + ofst <= ctrl->mps * 2) in nvmet_pci_epf_iod_parse_prps()
/linux/drivers/misc/
H A Dmrvl_cn10k_dpi.c56 #define DPI_DMA_CONTROL_WQECSOFF(ofst) (((u64)ofst) << 40) argument
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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 …]
H A 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()