/linux-6.1.9/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-comp.h | 12 #define MM_REG_WRITE_MASK(cmd, id, base, ofst, val, mask, ...) \ argument 14 (base) + (ofst), (val), (mask), ##__VA_ARGS__) 16 #define MM_REG_WRITE(cmd, id, base, ofst, val, mask, ...) \ argument 19 MM_REG_WRITE_MASK(cmd, id, base, ofst, val, \ 20 (((m) & (ofst##_MASK)) == (ofst##_MASK)) ? \ 52 #define MM_REG_POLL_MASK(cmd, id, base, ofst, val, _mask, ...) \ argument 56 (base) + (ofst), (val), (_m), ##__VA_ARGS__); \ 59 #define MM_REG_POLL(cmd, id, base, ofst, val, mask, ...) \ argument 62 MM_REG_POLL_MASK((cmd), id, base, ofst, val, \ 63 (((m) & (ofst##_MASK)) == (ofst##_MASK)) ? \
|
/linux-6.1.9/drivers/fpga/ |
D | dfl.c | 916 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() 1024 resource_size_t ofst, resource_size_t size, u16 fid) in create_feature_instance() argument 1033 v = readq(binfo->ioaddr + ofst); in create_feature_instance() 1041 if (binfo->len - ofst < size) in create_feature_instance() 1044 ret = parse_feature_irqs(binfo, ofst, fid, &irq_base, &nr_irqs); in create_feature_instance() 1054 finfo->mmio_res.start = binfo->start + ofst; in create_feature_instance() 1067 resource_size_t ofst) in parse_feature_port_afu() argument [all …]
|
/linux-6.1.9/drivers/irqchip/ |
D | irq-mbigen.c | 82 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()
|
/linux-6.1.9/drivers/nvme/target/ |
D | trace.c | 142 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()
|
/linux-6.1.9/drivers/nvme/host/ |
D | trace.c | 255 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()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/ |
D | phy.c | 898 s8 ofst; in rtw89_phy_cfg_bb_rpl_ofst() local 911 ofst = (s8)(data & 0xff); in rtw89_phy_cfg_bb_rpl_ofst() 912 gain->rpl_ofst_40[gband][path][rxsc] = ofst; in rtw89_phy_cfg_bb_rpl_ofst() 922 ofst = (s8)(data & 0xff); in rtw89_phy_cfg_bb_rpl_ofst() 923 gain->rpl_ofst_80[gband][path][rxsc] = ofst; in rtw89_phy_cfg_bb_rpl_ofst() 928 ofst = (s8)(data & 0xff); in rtw89_phy_cfg_bb_rpl_ofst() 929 gain->rpl_ofst_80[gband][path][rxsc] = ofst; in rtw89_phy_cfg_bb_rpl_ofst() 939 ofst = (s8)(data & 0xff); in rtw89_phy_cfg_bb_rpl_ofst() 940 gain->rpl_ofst_160[gband][path][rxsc] = ofst; in rtw89_phy_cfg_bb_rpl_ofst() 945 ofst = (s8)(data & 0xff); in rtw89_phy_cfg_bb_rpl_ofst() [all …]
|
D | rtw8852a.c | 494 struct rtw8852a_tssi_offset *ofst[] = {&map->path_a_tssi, &map->path_b_tssi}; in rtw8852a_efuse_parsing_tssi() local 501 memcpy(tssi->tssi_cck[i], ofst[i]->cck_tssi, in rtw8852a_efuse_parsing_tssi() 502 sizeof(ofst[i]->cck_tssi)); in rtw8852a_efuse_parsing_tssi() 509 memcpy(tssi->tssi_mcs[i], ofst[i]->bw40_tssi, in rtw8852a_efuse_parsing_tssi() 510 sizeof(ofst[i]->bw40_tssi)); in rtw8852a_efuse_parsing_tssi() 512 ofst[i]->bw40_1s_tssi_5g, sizeof(ofst[i]->bw40_1s_tssi_5g)); in rtw8852a_efuse_parsing_tssi() 551 u32 ofst; in rtw8852a_phycap_parsing_tssi() local 557 ofst = tssi_trim_addr[i] - addr - j; in rtw8852a_phycap_parsing_tssi() 558 tssi->tssi_trim[i][j] = phycap_map[ofst]; in rtw8852a_phycap_parsing_tssi() 560 if (phycap_map[ofst] != 0xff) in rtw8852a_phycap_parsing_tssi()
|
D | rtw8852c.c | 353 struct rtw8852c_tssi_offset *ofst[] = {&map->path_a_tssi, &map->path_b_tssi}; in rtw8852c_efuse_parsing_tssi() local 361 memcpy(tssi->tssi_cck[i], ofst[i]->cck_tssi, in rtw8852c_efuse_parsing_tssi() 362 sizeof(ofst[i]->cck_tssi)); in rtw8852c_efuse_parsing_tssi() 369 memcpy(tssi->tssi_mcs[i], ofst[i]->bw40_tssi, in rtw8852c_efuse_parsing_tssi() 370 sizeof(ofst[i]->bw40_tssi)); in rtw8852c_efuse_parsing_tssi() 372 ofst[i]->bw40_1s_tssi_5g, sizeof(ofst[i]->bw40_1s_tssi_5g)); in rtw8852c_efuse_parsing_tssi() 450 u32 ofst; in rtw8852c_phycap_parsing_tssi() local 456 ofst = tssi_trim_addr[i] - addr - j; in rtw8852c_phycap_parsing_tssi() 457 tssi->tssi_trim[i][j] = phycap_map[ofst]; in rtw8852c_phycap_parsing_tssi() 459 if (phycap_map[ofst] != 0xff) in rtw8852c_phycap_parsing_tssi() [all …]
|
/linux-6.1.9/drivers/crypto/chelsio/ |
D | chcr_algo.h | 121 #define FILL_SEC_CPL_OP_IVINSR(id, len, ofst) \ argument 129 CPL_TX_SEC_PDU_IVINSRTOFST_V((ofst)))
|
/linux-6.1.9/drivers/scsi/csiostor/ |
D | csio_init.c | 80 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()
|
/linux-6.1.9/drivers/crypto/stm32/ |
D | stm32-cryp.c | 217 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()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 5940 int i, ofst = idx * 4; in t4_set_trace_filter() local 5944 t4_write_reg(adap, MPS_TRC_FILTER_MATCH_CTL_A_A + ofst, 0); in t4_set_trace_filter() 5971 t4_write_reg(adap, MPS_TRC_FILTER_MATCH_CTL_A_A + ofst, 0); in t4_set_trace_filter() 5981 t4_write_reg(adap, MPS_TRC_FILTER_MATCH_CTL_B_A + ofst, in t4_set_trace_filter() 5984 t4_write_reg(adap, MPS_TRC_FILTER_MATCH_CTL_A_A + ofst, in t4_set_trace_filter() 6007 int i, ofst = idx * 4; in t4_get_trace_filter() local 6010 ctla = t4_read_reg(adap, MPS_TRC_FILTER_MATCH_CTL_A_A + ofst); in t4_get_trace_filter() 6011 ctlb = t4_read_reg(adap, MPS_TRC_FILTER_MATCH_CTL_B_A + ofst); in t4_get_trace_filter() 6027 ofst = (MPS_TRC_FILTER1_MATCH_A - MPS_TRC_FILTER0_MATCH_A) * idx; in t4_get_trace_filter() 6028 data_reg = MPS_TRC_FILTER0_MATCH_A + ofst; in t4_get_trace_filter() [all …]
|
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()
|