/kernel/linux/linux-5.10/arch/powerpc/crypto/ |
D | crct10dif-vpmsum_asm.S | 21 /* x^261184 mod p(x), x^261120 mod p(x) */ 24 /* x^260160 mod p(x), x^260096 mod p(x) */ 27 /* x^259136 mod p(x), x^259072 mod p(x) */ 30 /* x^258112 mod p(x), x^258048 mod p(x) */ 33 /* x^257088 mod p(x), x^257024 mod p(x) */ 36 /* x^256064 mod p(x), x^256000 mod p(x) */ 39 /* x^255040 mod p(x), x^254976 mod p(x) */ 42 /* x^254016 mod p(x), x^253952 mod p(x) */ 45 /* x^252992 mod p(x), x^252928 mod p(x) */ 48 /* x^251968 mod p(x), x^251904 mod p(x) */ [all …]
|
D | crc32c-vpmsum_asm.S | 17 /* x^261120 mod p(x)` << 1, x^261184 mod p(x)` << 1 */ 20 /* x^260096 mod p(x)` << 1, x^260160 mod p(x)` << 1 */ 23 /* x^259072 mod p(x)` << 1, x^259136 mod p(x)` << 1 */ 26 /* x^258048 mod p(x)` << 1, x^258112 mod p(x)` << 1 */ 29 /* x^257024 mod p(x)` << 1, x^257088 mod p(x)` << 1 */ 32 /* x^256000 mod p(x)` << 1, x^256064 mod p(x)` << 1 */ 35 /* x^254976 mod p(x)` << 1, x^255040 mod p(x)` << 1 */ 38 /* x^253952 mod p(x)` << 1, x^254016 mod p(x)` << 1 */ 41 /* x^252928 mod p(x)` << 1, x^252992 mod p(x)` << 1 */ 44 /* x^251904 mod p(x)` << 1, x^251968 mod p(x)` << 1 */ [all …]
|
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/ |
D | av7110_ipack.c | 8 void av7110_ipack_reset(struct ipack *p) in av7110_ipack_reset() argument 10 p->found = 0; in av7110_ipack_reset() 11 p->cid = 0; in av7110_ipack_reset() 12 p->plength = 0; in av7110_ipack_reset() 13 p->flag1 = 0; in av7110_ipack_reset() 14 p->flag2 = 0; in av7110_ipack_reset() 15 p->hlength = 0; in av7110_ipack_reset() 16 p->mpeg = 0; in av7110_ipack_reset() 17 p->check = 0; in av7110_ipack_reset() 18 p->which = 0; in av7110_ipack_reset() [all …]
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfs3xdr.c | 35 encode_time3(__be32 *p, struct timespec64 *time) in encode_time3() argument 37 *p++ = htonl((u32) time->tv_sec); *p++ = htonl(time->tv_nsec); in encode_time3() 38 return p; in encode_time3() 42 decode_time3(__be32 *p, struct timespec64 *time) in decode_time3() argument 44 time->tv_sec = ntohl(*p++); in decode_time3() 45 time->tv_nsec = ntohl(*p++); in decode_time3() 46 return p; in decode_time3() 50 decode_fh(__be32 *p, struct svc_fh *fhp) in decode_fh() argument 54 size = ntohl(*p++); in decode_fh() 58 memcpy(&fhp->fh_handle.fh_base, p, size); in decode_fh() [all …]
|
D | nfsxdr.c | 29 decode_fh(__be32 *p, struct svc_fh *fhp) in decode_fh() argument 32 memcpy(&fhp->fh_handle.fh_base, p, NFS_FHSIZE); in decode_fh() 37 return p + (NFS_FHSIZE >> 2); in decode_fh() 41 __be32 *nfs2svc_decode_fh(__be32 *p, struct svc_fh *fhp) in nfs2svc_decode_fh() argument 43 return decode_fh(p, fhp); in nfs2svc_decode_fh() 47 encode_fh(__be32 *p, struct svc_fh *fhp) in encode_fh() argument 49 memcpy(p, &fhp->fh_handle.fh_base, NFS_FHSIZE); in encode_fh() 50 return p + (NFS_FHSIZE>> 2); in encode_fh() 58 decode_filename(__be32 *p, char **namp, unsigned int *lenp) in decode_filename() argument 63 if ((p = xdr_decode_string_inplace(p, namp, lenp, NFS_MAXNAMLEN)) != NULL) { in decode_filename() [all …]
|
/kernel/linux/linux-5.10/fs/lockd/ |
D | xdr4.c | 47 nlm4_decode_cookie(__be32 *p, struct nlm_cookie *c) in nlm4_decode_cookie() argument 51 len = ntohl(*p++); in nlm4_decode_cookie() 61 memcpy(c->data, p, len); in nlm4_decode_cookie() 62 p+=XDR_QUADLEN(len); in nlm4_decode_cookie() 71 return p; in nlm4_decode_cookie() 75 nlm4_encode_cookie(__be32 *p, struct nlm_cookie *c) in nlm4_encode_cookie() argument 77 *p++ = htonl(c->len); in nlm4_encode_cookie() 78 memcpy(p, c->data, c->len); in nlm4_encode_cookie() 79 p+=XDR_QUADLEN(c->len); in nlm4_encode_cookie() 80 return p; in nlm4_encode_cookie() [all …]
|
D | xdr.c | 47 static __be32 *nlm_decode_cookie(__be32 *p, struct nlm_cookie *c) in nlm_decode_cookie() argument 51 len = ntohl(*p++); in nlm_decode_cookie() 61 memcpy(c->data, p, len); in nlm_decode_cookie() 62 p+=XDR_QUADLEN(len); in nlm_decode_cookie() 71 return p; in nlm_decode_cookie() 75 nlm_encode_cookie(__be32 *p, struct nlm_cookie *c) in nlm_encode_cookie() argument 77 *p++ = htonl(c->len); in nlm_encode_cookie() 78 memcpy(p, c->data, c->len); in nlm_encode_cookie() 79 p+=XDR_QUADLEN(c->len); in nlm_encode_cookie() 80 return p; in nlm_encode_cookie() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_sgmac.c | 14 static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val) in xgene_enet_wr_csr() argument 16 iowrite32(val, p->eth_csr_addr + offset); in xgene_enet_wr_csr() 19 static void xgene_enet_wr_clkrst_csr(struct xgene_enet_pdata *p, u32 offset, in xgene_enet_wr_clkrst_csr() argument 22 iowrite32(val, p->base_addr + offset); in xgene_enet_wr_clkrst_csr() 25 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *p, in xgene_enet_wr_ring_if() argument 28 iowrite32(val, p->eth_ring_if_addr + offset); in xgene_enet_wr_ring_if() 31 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *p, in xgene_enet_wr_diag_csr() argument 34 iowrite32(val, p->eth_diag_csr_addr + offset); in xgene_enet_wr_diag_csr() 45 static u32 xgene_enet_rd_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_csr() argument 47 return ioread32(p->eth_csr_addr + offset); in xgene_enet_rd_csr() [all …]
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | libata-trace.c | 14 libata_trace_parse_status(struct trace_seq *p, unsigned char status) in libata_trace_parse_status() argument 16 const char *ret = trace_seq_buffer_ptr(p); in libata_trace_parse_status() 18 trace_seq_printf(p, "{ "); in libata_trace_parse_status() 20 trace_seq_printf(p, "BUSY "); in libata_trace_parse_status() 22 trace_seq_printf(p, "DRDY "); in libata_trace_parse_status() 24 trace_seq_printf(p, "DF "); in libata_trace_parse_status() 26 trace_seq_printf(p, "DSC "); in libata_trace_parse_status() 28 trace_seq_printf(p, "DRQ "); in libata_trace_parse_status() 30 trace_seq_printf(p, "CORR "); in libata_trace_parse_status() 32 trace_seq_printf(p, "SENSE "); in libata_trace_parse_status() [all …]
|
/kernel/linux/linux-5.10/arch/s390/boot/ |
D | pgm_check_info.c | 33 char *p; in print_pgm_check_info() local 40 p = add_str(buf, "Kernel fault: interruption code "); in print_pgm_check_info() 41 p = add_val_as_hex(buf + strlen(buf), S390_lowcore.pgm_code); in print_pgm_check_info() 42 p = add_str(p, " ilc:"); in print_pgm_check_info() 43 *p++ = hex_asc_lo(ilc); in print_pgm_check_info() 44 add_str(p, "\n"); in print_pgm_check_info() 48 p = add_str(buf, "Kernel random base: "); in print_pgm_check_info() 49 p = add_val_as_hex(p, __kaslr_offset); in print_pgm_check_info() 50 add_str(p, "\n"); in print_pgm_check_info() 54 p = add_str(buf, "PSW : "); in print_pgm_check_info() [all …]
|
/kernel/linux/linux-5.10/sound/isa/sb/ |
D | sb16_csp.c | 38 #define CSP__HEADER CSP_HDR_VALUE('C', 'S', 'P', ' ') 78 static int snd_sb_csp_riff_load(struct snd_sb_csp * p, 80 static int snd_sb_csp_unload(struct snd_sb_csp * p); 81 static int snd_sb_csp_load_user(struct snd_sb_csp * p, const unsigned char __user *buf, int size, i… 82 static int snd_sb_csp_autoload(struct snd_sb_csp * p, snd_pcm_format_t pcm_sfmt, int play_rec_mode); 83 static int snd_sb_csp_check_version(struct snd_sb_csp * p); 85 static int snd_sb_csp_use(struct snd_sb_csp * p); 86 static int snd_sb_csp_unuse(struct snd_sb_csp * p); 87 static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels); 88 static int snd_sb_csp_stop(struct snd_sb_csp * p); [all …]
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
D | decode.h | 15 * void **p pointer to position pointer 19 static inline u64 ceph_decode_64(void **p) in ceph_decode_64() argument 21 u64 v = get_unaligned_le64(*p); in ceph_decode_64() 22 *p += sizeof(u64); in ceph_decode_64() 25 static inline u32 ceph_decode_32(void **p) in ceph_decode_32() argument 27 u32 v = get_unaligned_le32(*p); in ceph_decode_32() 28 *p += sizeof(u32); in ceph_decode_32() 31 static inline u16 ceph_decode_16(void **p) in ceph_decode_16() argument 33 u16 v = get_unaligned_le16(*p); in ceph_decode_16() 34 *p += sizeof(u16); in ceph_decode_16() [all …]
|
/kernel/linux/linux-5.10/drivers/pnp/pnpbios/ |
D | rsparser.c | 81 unsigned char *p, in pnpbios_parse_allocated_resource_data() 87 if (!p) in pnpbios_parse_allocated_resource_data() 94 while ((char *)p < (char *)end) { in pnpbios_parse_allocated_resource_data() 97 if (p[0] & LARGE_TAG) { /* large tag */ in pnpbios_parse_allocated_resource_data() 98 len = (p[2] << 8) | p[1]; in pnpbios_parse_allocated_resource_data() 99 tag = p[0]; in pnpbios_parse_allocated_resource_data() 101 len = p[0] & 0x07; in pnpbios_parse_allocated_resource_data() 102 tag = ((p[0] >> 3) & 0x0f); in pnpbios_parse_allocated_resource_data() 110 io = *(short *)&p[4]; in pnpbios_parse_allocated_resource_data() 111 size = *(short *)&p[10]; in pnpbios_parse_allocated_resource_data() [all …]
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
D | tlbex.c | 205 static void uasm_bgezl_hazard(u32 **p, struct uasm_reloc **r, int instance) in uasm_bgezl_hazard() argument 209 uasm_il_bgezl(p, r, 0, label_tlbw_hazard_0 + instance); in uasm_bgezl_hazard() 216 static void uasm_bgezl_label(struct uasm_label **l, u32 **p, int instance) in uasm_bgezl_label() argument 220 uasm_build_label(l, *p, label_tlbw_hazard_0 + instance); in uasm_bgezl_label() 273 pr_debug("\t.word\t0x%08x\t\t# %p\n", handler[i], &handler[i]); in dump_handler() 359 static struct work_registers build_get_work_registers(u32 **p) in build_get_work_registers() argument 365 UASM_i_MTC0(p, 1, c0_kscratch(), scratch_reg); in build_get_work_registers() 374 UASM_i_CPUID_MFC0(p, K0, SMP_CPUID_REG); in build_get_work_registers() 375 UASM_i_SRL_SAFE(p, K0, K0, SMP_CPUID_REGSHIFT); in build_get_work_registers() 378 UASM_i_SLL(p, K0, K0, ilog2(sizeof(struct tlb_reg_save))); in build_get_work_registers() [all …]
|
/kernel/linux/linux-5.10/drivers/rtc/ |
D | rtc-bq4802.c | 30 static u8 bq4802_read_io(struct bq4802 *p, int off) in bq4802_read_io() argument 32 return inb(p->ioport + off); in bq4802_read_io() 35 static void bq4802_write_io(struct bq4802 *p, int off, u8 val) in bq4802_write_io() argument 37 outb(val, p->ioport + off); in bq4802_write_io() 40 static u8 bq4802_read_mem(struct bq4802 *p, int off) in bq4802_read_mem() argument 42 return readb(p->regs + off); in bq4802_read_mem() 45 static void bq4802_write_mem(struct bq4802 *p, int off, u8 val) in bq4802_write_mem() argument 47 writeb(val, p->regs + off); in bq4802_write_mem() 52 struct bq4802 *p = dev_get_drvdata(dev); in bq4802_read_time() local 57 spin_lock_irqsave(&p->lock, flags); in bq4802_read_time() [all …]
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_stp.c | 29 void br_set_state(struct net_bridge_port *p, unsigned int state) in br_set_state() argument 32 .orig_dev = p->dev, in br_set_state() 42 if (p->flags & BR_MRP_AWARE) in br_set_state() 45 p->state = state; in br_set_state() 46 err = switchdev_port_attr_set(p->dev, &attr); in br_set_state() 48 br_warn(p->br, "error setting offload STP state on port %u(%s)\n", in br_set_state() 49 (unsigned int) p->port_no, p->dev->name); in br_set_state() 51 br_info(p->br, "port %u(%s) entered %s state\n", in br_set_state() 52 (unsigned int) p->port_no, p->dev->name, in br_set_state() 53 br_port_state_names[p->state]); in br_set_state() [all …]
|
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
D | iscsi_target_parameters.h | 173 #define IS_USE_LEADING_ONLY(p) ((p)->use & USE_LEADING_ONLY) argument 174 #define IS_USE_INITIAL_ONLY(p) ((p)->use & USE_INITIAL_ONLY) argument 175 #define IS_USE_ALL(p) ((p)->use & USE_ALL) argument 177 #define SET_USE_INITIAL_ONLY(p) ((p)->use |= USE_INITIAL_ONLY) argument 188 #define IS_SENDER_INITIATOR(p) ((p)->sender & SENDER_INITIATOR) argument 189 #define IS_SENDER_TARGET(p) ((p)->sender & SENDER_TARGET) argument 190 #define IS_SENDER_BOTH(p) ((p)->sender & SENDER_BOTH) argument 198 #define IS_SCOPE_CONNECTION_ONLY(p) ((p)->scope & SCOPE_CONNECTION_ONLY) argument 199 #define IS_SCOPE_SESSION_WIDE(p) ((p)->scope & SCOPE_SESSION_WIDE) argument 209 #define IS_PHASE_SECURITY(p) ((p)->phase & PHASE_SECURITY) argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_desc.c | 23 static void sxgbe_init_tx_desc(struct sxgbe_tx_norm_desc *p) in sxgbe_init_tx_desc() argument 25 p->tdes23.tx_rd_des23.own_bit = 0; in sxgbe_init_tx_desc() 28 static void sxgbe_tx_desc_enable_tse(struct sxgbe_tx_norm_desc *p, u8 is_tse, in sxgbe_tx_desc_enable_tse() argument 32 p->tdes23.tx_rd_des23.tse_bit = is_tse; in sxgbe_tx_desc_enable_tse() 33 p->tdes23.tx_rd_des23.buf1_size = total_hdr_len; in sxgbe_tx_desc_enable_tse() 34 p->tdes23.tx_rd_des23.tcp_hdr_len = tcp_hdr_len / 4; in sxgbe_tx_desc_enable_tse() 35 p->tdes23.tx_rd_des23.tx_pkt_len.tcp_payload_len = tcp_payload_len; in sxgbe_tx_desc_enable_tse() 39 static void sxgbe_prepare_tx_desc(struct sxgbe_tx_norm_desc *p, u8 is_fd, in sxgbe_prepare_tx_desc() argument 42 p->tdes23.tx_rd_des23.first_desc = is_fd; in sxgbe_prepare_tx_desc() 43 p->tdes23.tx_rd_des23.buf1_size = buf1_len; in sxgbe_prepare_tx_desc() [all …]
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | trace.c | 10 static const char *nvme_trace_delete_sq(struct trace_seq *p, u8 *cdw10) in nvme_trace_delete_sq() argument 12 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_delete_sq() 15 trace_seq_printf(p, "sqid=%u", sqid); in nvme_trace_delete_sq() 16 trace_seq_putc(p, 0); in nvme_trace_delete_sq() 21 static const char *nvme_trace_create_sq(struct trace_seq *p, u8 *cdw10) in nvme_trace_create_sq() argument 23 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_create_sq() 30 trace_seq_printf(p, "sqid=%u, qsize=%u, sq_flags=0x%x, cqid=%u", in nvme_trace_create_sq() 32 trace_seq_putc(p, 0); in nvme_trace_create_sq() 37 static const char *nvme_trace_delete_cq(struct trace_seq *p, u8 *cdw10) in nvme_trace_delete_cq() argument 39 const char *ret = trace_seq_buffer_ptr(p); in nvme_trace_delete_cq() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | dwxgmac2_descs.c | 12 struct dma_desc *p, void __iomem *ioaddr) in dwxgmac2_get_tx_status() argument 14 unsigned int tdes3 = le32_to_cpu(p->des3); in dwxgmac2_get_tx_status() 26 struct dma_desc *p) in dwxgmac2_get_rx_status() argument 28 unsigned int rdes3 = le32_to_cpu(p->des3); in dwxgmac2_get_rx_status() 42 static int dwxgmac2_get_tx_len(struct dma_desc *p) in dwxgmac2_get_tx_len() argument 44 return (le32_to_cpu(p->des2) & XGMAC_TDES2_B1L); in dwxgmac2_get_tx_len() 47 static int dwxgmac2_get_tx_owner(struct dma_desc *p) in dwxgmac2_get_tx_owner() argument 49 return (le32_to_cpu(p->des3) & XGMAC_TDES3_OWN) > 0; in dwxgmac2_get_tx_owner() 52 static void dwxgmac2_set_tx_owner(struct dma_desc *p) in dwxgmac2_set_tx_owner() argument 54 p->des3 |= cpu_to_le32(XGMAC_TDES3_OWN); in dwxgmac2_set_tx_owner() [all …]
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | iTCO_wdt.c | 73 #define TCOBASE(p) ((p)->tco_res->start) argument 75 #define SMI_EN(p) ((p)->smi_res->start) argument 77 #define TCO_RLD(p) (TCOBASE(p) + 0x00) /* TCO Timer Reload/Curr. Value */ argument 78 #define TCOv1_TMR(p) (TCOBASE(p) + 0x01) /* TCOv1 Timer Initial Value*/ argument 79 #define TCO_DAT_IN(p) (TCOBASE(p) + 0x02) /* TCO Data In Register */ argument 80 #define TCO_DAT_OUT(p) (TCOBASE(p) + 0x03) /* TCO Data Out Register */ argument 81 #define TCO1_STS(p) (TCOBASE(p) + 0x04) /* TCO1 Status Register */ argument 82 #define TCO2_STS(p) (TCOBASE(p) + 0x06) /* TCO2 Status Register */ argument 83 #define TCO1_CNT(p) (TCOBASE(p) + 0x08) /* TCO1 Control Register */ argument 84 #define TCO2_CNT(p) (TCOBASE(p) + 0x0a) /* TCO2 Control Register */ argument [all …]
|
/kernel/linux/linux-5.10/arch/mips/kvm/ |
D | entry.c | 152 static void kvm_mips_build_save_scratch(u32 **p, unsigned int tmp, in kvm_mips_build_save_scratch() argument 156 UASM_i_MFC0(p, tmp, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_save_scratch() 157 UASM_i_SW(p, tmp, offsetof(struct pt_regs, cp0_epc), frame); in kvm_mips_build_save_scratch() 161 UASM_i_MFC0(p, tmp, scratch_tmp[0], scratch_tmp[1]); in kvm_mips_build_save_scratch() 162 UASM_i_SW(p, tmp, offsetof(struct pt_regs, cp0_cause), frame); in kvm_mips_build_save_scratch() 166 static void kvm_mips_build_restore_scratch(u32 **p, unsigned int tmp, in kvm_mips_build_restore_scratch() argument 173 UASM_i_LW(p, tmp, offsetof(struct pt_regs, cp0_epc), frame); in kvm_mips_build_restore_scratch() 174 UASM_i_MTC0(p, tmp, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_restore_scratch() 177 UASM_i_LW(p, tmp, offsetof(struct pt_regs, cp0_cause), frame); in kvm_mips_build_restore_scratch() 178 UASM_i_MTC0(p, tmp, scratch_tmp[0], scratch_tmp[1]); in kvm_mips_build_restore_scratch() [all …]
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | rc80211_minstrel_ht_debugfs.c | 32 minstrel_ht_stats_dump(struct minstrel_ht_sta *mi, int i, char *p) in minstrel_ht_stats_dump() argument 41 return p; in minstrel_ht_stats_dump() 63 p += sprintf(p, "HT%c0 ", htmode); in minstrel_ht_stats_dump() 64 p += sprintf(p, "%cGI ", gimode); in minstrel_ht_stats_dump() 65 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 67 p += sprintf(p, "VHT%c0 ", htmode); in minstrel_ht_stats_dump() 68 p += sprintf(p, "%cGI ", gimode); in minstrel_ht_stats_dump() 69 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 71 p += sprintf(p, "CCK "); in minstrel_ht_stats_dump() 72 p += sprintf(p, "%cP ", j < 4 ? 'L' : 'S'); in minstrel_ht_stats_dump() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/mt7621-pinctrl/ |
D | pinctrl-rt2880.c | 48 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_get_group_count() local 50 return p->group_count; in rt2880_get_group_count() 56 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_get_group_name() local 58 return (group >= p->group_count) ? NULL : p->group_names[group]; in rt2880_get_group_name() 66 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_get_group_pins() local 68 if (group >= p->group_count) in rt2880_get_group_pins() 71 *pins = p->groups[group].func[0].pins; in rt2880_get_group_pins() 72 *num_pins = p->groups[group].func[0].pin_count; in rt2880_get_group_pins() 87 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_pmx_func_count() local 89 return p->func_count; in rt2880_pmx_func_count() [all …]
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
D | em_sti.c | 53 static inline unsigned long em_sti_read(struct em_sti_priv *p, int offs) in em_sti_read() argument 55 return ioread32(p->base + offs); in em_sti_read() 58 static inline void em_sti_write(struct em_sti_priv *p, int offs, in em_sti_write() argument 61 iowrite32(value, p->base + offs); in em_sti_write() 64 static int em_sti_enable(struct em_sti_priv *p) in em_sti_enable() argument 69 ret = clk_enable(p->clk); in em_sti_enable() 71 dev_err(&p->pdev->dev, "cannot enable clock\n"); in em_sti_enable() 76 em_sti_write(p, STI_SET_H, 0x40000000); in em_sti_enable() 77 em_sti_write(p, STI_SET_L, 0x00000000); in em_sti_enable() 80 em_sti_write(p, STI_INTENCLR, 3); in em_sti_enable() [all …]
|