Searched refs:ofst (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/media/platform/mediatek/mdp3/ |
| H A D | mtk-img-ipi.h | 124 #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 D | irq-mbigen.c | 95 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 D | chcr_algo.h | 121 #define FILL_SEC_CPL_OP_IVINSR(id, len, ofst) \ argument 129 CPL_TX_SEC_PDU_IVINSRTOFST_V((ofst)))
|
| /linux/drivers/nvme/target/ |
| H A D | pci-epf.c | 796 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 D | mrvl_cn10k_dpi.c | 56 #define DPI_DMA_CONTROL_WQECSOFF(ofst) (((u64)ofst) << 40) argument
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | t4_hw.c | 5942 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 D | cxgb4_debugfs.c | 1635 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()
|