/kernel/linux/linux-5.10/drivers/clk/versatile/ |
H A D | clk-icst.c | 43 * @ctype: the type of control register for the ICST 52 enum icst_control_type ctype; member 79 if (icst->ctype == ICST_INTEGRATOR_AP_CM) { in vco_get() 94 if (icst->ctype == ICST_INTEGRATOR_AP_SYS) { in vco_get() 109 if (icst->ctype == ICST_INTEGRATOR_AP_PCI) { in vco_get() 126 if (icst->ctype == ICST_INTEGRATOR_CP_CM_CORE) { in vco_get() 133 if (icst->ctype == ICST_INTEGRATOR_CP_CM_MEM) { in vco_get() 158 switch (icst->ctype) { in vco_set() 242 if (icst->ctype == ICST_INTEGRATOR_AP_CM || in icst_round_rate() 243 icst->ctype in icst_round_rate() 335 icst_clk_setup(struct device *dev, const struct clk_icst_desc *desc, const char *name, const char *parent_name, struct regmap *map, enum icst_control_type ctype) icst_clk_setup() argument 489 enum icst_control_type ctype; of_syscon_icst_setup() local [all...] |
/kernel/linux/linux-6.6/drivers/clk/versatile/ |
H A D | clk-icst.c | 44 * @ctype: the type of control register for the ICST 53 enum icst_control_type ctype; member 80 if (icst->ctype == ICST_INTEGRATOR_AP_CM) { in vco_get() 95 if (icst->ctype == ICST_INTEGRATOR_AP_SYS) { in vco_get() 110 if (icst->ctype == ICST_INTEGRATOR_AP_PCI) { in vco_get() 127 if (icst->ctype == ICST_INTEGRATOR_CP_CM_CORE) { in vco_get() 134 if (icst->ctype == ICST_INTEGRATOR_CP_CM_MEM) { in vco_get() 159 switch (icst->ctype) { in vco_set() 243 if (icst->ctype == ICST_INTEGRATOR_AP_CM || in icst_round_rate() 244 icst->ctype in icst_round_rate() 336 icst_clk_setup(struct device *dev, const struct clk_icst_desc *desc, const char *name, const char *parent_name, struct regmap *map, enum icst_control_type ctype) icst_clk_setup() argument 490 enum icst_control_type ctype; of_syscon_icst_setup() local [all...] |
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/ |
H A D | ip22-setup.c | 33 char *ctype; in plat_mem_setup() local 63 ctype = ArcGetEnvironmentVariable("console"); in plat_mem_setup() 66 if ((ctype && *ctype == 'd') || (cserial && *cserial == 's')) { in plat_mem_setup() 71 add_preferred_console("ttyS", *(ctype + 1) == '2' ? 1 : 0, in plat_mem_setup() 73 } else if (!ctype || *ctype != 'g') { in plat_mem_setup()
|
/kernel/linux/linux-6.6/arch/mips/sgi-ip22/ |
H A D | ip22-setup.c | 33 char *ctype; in plat_mem_setup() local 63 ctype = ArcGetEnvironmentVariable("console"); in plat_mem_setup() 66 if ((ctype && *ctype == 'd') || (cserial && *cserial == 's')) { in plat_mem_setup() 71 add_preferred_console("ttyS", *(ctype + 1) == '2' ? 1 : 0, in plat_mem_setup() 73 } else if (!ctype || *ctype != 'g') { in plat_mem_setup()
|
/kernel/linux/linux-5.10/arch/mips/alchemy/common/ |
H A D | platform.c | 101 static void __init alchemy_setup_uarts(int ctype) in alchemy_setup_uarts() argument 105 int c = alchemy_get_uarts(ctype); in alchemy_setup_uarts() 123 memcpy(ports, au1x00_uart_data[ctype], s * c); in alchemy_setup_uarts() 215 static void __init alchemy_setup_usb(int ctype) in alchemy_setup_usb() argument 224 res[0].start = alchemy_ohci_data[ctype][0]; in alchemy_setup_usb() 227 res[1].start = alchemy_ohci_data[ctype][1]; in alchemy_setup_usb() 240 if ((ctype == ALCHEMY_CPU_AU1200) || (ctype == ALCHEMY_CPU_AU1300)) { in alchemy_setup_usb() 244 res[0].start = alchemy_ehci_data[ctype][0]; in alchemy_setup_usb() 247 res[1].start = alchemy_ehci_data[ctype][ in alchemy_setup_usb() 396 alchemy_setup_macs(int ctype) alchemy_setup_macs() argument 449 int ctype = alchemy_get_cputype(); au1xxx_platform_init() local [all...] |
H A D | clock.c | 151 int ctype) in alchemy_clk_setup_cpu() 750 static int __init alchemy_clk_init_fgens(int ctype) in alchemy_clk_init_fgens() argument 758 switch (ctype) { in alchemy_clk_init_fgens() 795 if (ctype == ALCHEMY_CPU_AU1300) { in alchemy_clk_init_fgens() 956 static int __init alchemy_clk_setup_imux(int ctype) in alchemy_clk_setup_imux() argument 971 switch (ctype) { in alchemy_clk_setup_imux() 1048 int ctype = alchemy_get_cputype(), ret, i; in alchemy_clk_init() local 1058 c = alchemy_clk_setup_cpu(ALCHEMY_ROOT_CLK, ctype); in alchemy_clk_init() 1062 i = (ctype == ALCHEMY_CPU_AU1300) ? 84 : 63; in alchemy_clk_init() 1067 if (ctype in alchemy_clk_init() 150 alchemy_clk_setup_cpu(const char *parent_name, int ctype) alchemy_clk_setup_cpu() argument [all...] |
/kernel/linux/linux-6.6/arch/mips/alchemy/common/ |
H A D | platform.c | 101 static void __init alchemy_setup_uarts(int ctype) in alchemy_setup_uarts() argument 105 int c = alchemy_get_uarts(ctype); in alchemy_setup_uarts() 123 memcpy(ports, au1x00_uart_data[ctype], s * c); in alchemy_setup_uarts() 221 static void __init alchemy_setup_usb(int ctype) in alchemy_setup_usb() argument 230 res[0].start = alchemy_ohci_data[ctype][0]; in alchemy_setup_usb() 233 res[1].start = alchemy_ohci_data[ctype][1]; in alchemy_setup_usb() 246 if ((ctype == ALCHEMY_CPU_AU1200) || (ctype == ALCHEMY_CPU_AU1300)) { in alchemy_setup_usb() 250 res[0].start = alchemy_ehci_data[ctype][0]; in alchemy_setup_usb() 253 res[1].start = alchemy_ehci_data[ctype][ in alchemy_setup_usb() 402 alchemy_setup_macs(int ctype) alchemy_setup_macs() argument 455 int ctype = alchemy_get_cputype(); au1xxx_platform_init() local [all...] |
H A D | clock.c | 151 int ctype) in alchemy_clk_setup_cpu() 750 static int __init alchemy_clk_init_fgens(int ctype) in alchemy_clk_init_fgens() argument 758 switch (ctype) { in alchemy_clk_init_fgens() 795 if (ctype == ALCHEMY_CPU_AU1300) { in alchemy_clk_init_fgens() 956 static int __init alchemy_clk_setup_imux(int ctype) in alchemy_clk_setup_imux() argument 971 switch (ctype) { in alchemy_clk_setup_imux() 1047 int ctype = alchemy_get_cputype(), ret, i; in alchemy_clk_init() local 1057 c = alchemy_clk_setup_cpu(ALCHEMY_ROOT_CLK, ctype); in alchemy_clk_init() 1061 i = (ctype == ALCHEMY_CPU_AU1300) ? 84 : 63; in alchemy_clk_init() 1066 if (ctype in alchemy_clk_init() 150 alchemy_clk_setup_cpu(const char *parent_name, int ctype) alchemy_clk_setup_cpu() argument [all...] |
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | cache.c | 133 enum cache_type ctype; in init_cache_level() local 141 ctype = get_cache_type(&ct.ci[0], level); in init_cache_level() 142 if (ctype == CACHE_TYPE_NOCACHE) in init_cache_level() 145 leaves += (ctype == CACHE_TYPE_SEPARATE) ? 2 : 1; in init_cache_level() 158 enum cache_type ctype; in populate_cache_leaves() local 168 ctype = get_cache_type(&ct.ci[0], level); in populate_cache_leaves() 169 if (ctype == CACHE_TYPE_SEPARATE) { in populate_cache_leaves() 173 ci_leaf_init(this_leaf++, pvt, ctype, level, cpu); in populate_cache_leaves()
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | cache.c | 130 enum cache_type ctype; in init_cache_level() local 136 ctype = get_cache_type(&ct.ci[0], level); in init_cache_level() 137 if (ctype == CACHE_TYPE_NOCACHE) in init_cache_level() 140 leaves += (ctype == CACHE_TYPE_SEPARATE) ? 2 : 1; in init_cache_level() 153 enum cache_type ctype; in populate_cache_leaves() local 161 ctype = get_cache_type(&ct.ci[0], level); in populate_cache_leaves() 162 if (ctype == CACHE_TYPE_SEPARATE) { in populate_cache_leaves() 166 ci_leaf_init(this_leaf++, pvt, ctype, level, cpu); in populate_cache_leaves()
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
H A D | bootstd.h | 85 #define _bsc3(type,name,atype,a,btype,b,ctype,c) \ 86 type name(atype a, btype b, ctype c) \ 100 #define _bsc4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ 101 type name(atype a, btype b, ctype c, dtype d) \ 116 #define _bsc5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ 117 type name(atype a, btype b, ctype c, dtype d, etype e) \
|
/kernel/linux/linux-6.6/arch/m68k/include/asm/ |
H A D | bootstd.h | 85 #define _bsc3(type,name,atype,a,btype,b,ctype,c) \ 86 type name(atype a, btype b, ctype c) \ 100 #define _bsc4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ 101 type name(atype a, btype b, ctype c, dtype d) \ 116 #define _bsc5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ 117 type name(atype a, btype b, ctype c, dtype d, etype e) \
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npa.c | 90 inst.ctype = req->ctype; in rvu_npa_aq_enq_inst() 112 if (req->ctype == NPA_AQ_CTYPE_AURA) { in rvu_npa_aq_enq_inst() 123 if (req->ctype == NPA_AQ_CTYPE_AURA) { in rvu_npa_aq_enq_inst() 159 if (req->ctype == NPA_AQ_CTYPE_AURA) { in rvu_npa_aq_enq_inst() 174 if (req->ctype == NPA_AQ_CTYPE_POOL) { in rvu_npa_aq_enq_inst() 192 if (req->ctype == NPA_AQ_CTYPE_AURA) in rvu_npa_aq_enq_inst() 218 if (req->ctype == NPA_AQ_CTYPE_POOL) { in npa_lf_hwctx_disable() 223 } else if (req->ctype == NPA_AQ_CTYPE_AURA) { in npa_lf_hwctx_disable() 232 aq_req.ctype in npa_lf_hwctx_disable() [all...] |
H A D | rvu_debugfs.c | 560 static int rvu_dbg_npa_ctx_display(struct seq_file *m, void *unused, int ctype) in rvu_dbg_npa_ctx_display() argument 573 switch (ctype) { in rvu_dbg_npa_ctx_display() 593 if (ctype == NPA_AQ_CTYPE_AURA && !pfvf->aura_ctx) { in rvu_dbg_npa_ctx_display() 596 } else if (ctype == NPA_AQ_CTYPE_POOL && !pfvf->pool_ctx) { in rvu_dbg_npa_ctx_display() 603 aq_req.ctype = ctype; in rvu_dbg_npa_ctx_display() 605 if (ctype == NPA_AQ_CTYPE_AURA) { in rvu_dbg_npa_ctx_display() 615 (ctype == NPA_AQ_CTYPE_AURA) ? "aura" : "pool", in rvu_dbg_npa_ctx_display() 628 (ctype == NPA_AQ_CTYPE_AURA) ? "AURA" : "POOL", in rvu_dbg_npa_ctx_display() 641 int npalf, int id, int ctype) in write_npa_ctx() 640 write_npa_ctx(struct rvu *rvu, bool all, int npalf, int id, int ctype) write_npa_ctx() argument 729 rvu_dbg_npa_ctx_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos, int ctype) rvu_dbg_npa_ctx_write() argument 791 ndc_cache_stats(struct seq_file *s, int blk_addr, int ctype, int transaction) ndc_cache_stats() argument 1055 rvu_dbg_nix_queue_ctx_display(struct seq_file *filp, void *unused, int ctype) rvu_dbg_nix_queue_ctx_display() argument 1143 write_nix_queue_ctx(struct rvu *rvu, bool all, int nixlf, int id, int ctype, char *ctype_string) write_nix_queue_ctx() argument 1204 rvu_dbg_nix_queue_ctx_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos, int ctype) rvu_dbg_nix_queue_ctx_write() argument [all...] |
H A D | rvu_nix.c | 655 if (!(!rsp && req->ctype == NIX_AQ_CTYPE_MCE)) { in rvu_nix_aq_enq_inst() 660 switch (req->ctype) { in rvu_nix_aq_enq_inst() 702 if (req->ctype == NIX_AQ_CTYPE_SQ && in rvu_nix_aq_enq_inst() 714 inst.ctype = req->ctype; in rvu_nix_aq_enq_inst() 735 if (req->ctype == NIX_AQ_CTYPE_RQ) in rvu_nix_aq_enq_inst() 738 else if (req->ctype == NIX_AQ_CTYPE_SQ) in rvu_nix_aq_enq_inst() 741 else if (req->ctype == NIX_AQ_CTYPE_CQ) in rvu_nix_aq_enq_inst() 744 else if (req->ctype == NIX_AQ_CTYPE_RSS) in rvu_nix_aq_enq_inst() 747 else if (req->ctype in rvu_nix_aq_enq_inst() 846 nix_get_ctx_name(int ctype) nix_get_ctx_name() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npa.c | 96 inst.ctype = req->ctype; in rvu_npa_aq_enq_inst() 118 if (req->ctype == NPA_AQ_CTYPE_AURA) { in rvu_npa_aq_enq_inst() 129 if (req->ctype == NPA_AQ_CTYPE_AURA) { in rvu_npa_aq_enq_inst() 165 if (req->ctype == NPA_AQ_CTYPE_AURA) { in rvu_npa_aq_enq_inst() 180 if (req->ctype == NPA_AQ_CTYPE_POOL) { in rvu_npa_aq_enq_inst() 198 if (req->ctype == NPA_AQ_CTYPE_AURA) in rvu_npa_aq_enq_inst() 224 if (req->ctype == NPA_AQ_CTYPE_POOL) { in npa_lf_hwctx_disable() 229 } else if (req->ctype == NPA_AQ_CTYPE_AURA) { in npa_lf_hwctx_disable() 238 aq_req.ctype in npa_lf_hwctx_disable() [all...] |
H A D | rvu_debugfs.c | 1158 static int rvu_dbg_npa_ctx_display(struct seq_file *m, void *unused, int ctype) in rvu_dbg_npa_ctx_display() argument 1171 switch (ctype) { in rvu_dbg_npa_ctx_display() 1191 if (ctype == NPA_AQ_CTYPE_AURA && !pfvf->aura_ctx) { in rvu_dbg_npa_ctx_display() 1194 } else if (ctype == NPA_AQ_CTYPE_POOL && !pfvf->pool_ctx) { in rvu_dbg_npa_ctx_display() 1201 aq_req.ctype = ctype; in rvu_dbg_npa_ctx_display() 1203 if (ctype == NPA_AQ_CTYPE_AURA) { in rvu_dbg_npa_ctx_display() 1213 (ctype == NPA_AQ_CTYPE_AURA) ? "aura" : "pool", in rvu_dbg_npa_ctx_display() 1227 if (ctype == NPA_AQ_CTYPE_POOL && !test_bit(aura, pfvf->pool_bmap)) in rvu_dbg_npa_ctx_display() 1231 (ctype in rvu_dbg_npa_ctx_display() 1243 write_npa_ctx(struct rvu *rvu, bool all, int npalf, int id, int ctype) write_npa_ctx() argument 1332 rvu_dbg_npa_ctx_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos, int ctype) rvu_dbg_npa_ctx_write() argument 1394 ndc_cache_stats(struct seq_file *s, int blk_addr, int ctype, int transaction) ndc_cache_stats() argument 1855 rvu_dbg_nix_queue_ctx_display(struct seq_file *filp, void *unused, int ctype) rvu_dbg_nix_queue_ctx_display() argument 1944 write_nix_queue_ctx(struct rvu *rvu, bool all, int nixlf, int id, int ctype, char *ctype_string, struct seq_file *m) write_nix_queue_ctx() argument 2007 rvu_dbg_nix_queue_ctx_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos, int ctype) rvu_dbg_nix_queue_ctx_write() argument [all...] |
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | cacheinfo.c | 48 unsigned int ctype, level, leaves; in init_cache_level() local 53 ctype = get_cache_type(level); in init_cache_level() 54 if (ctype == CACHE_TYPE_NOCACHE) { in init_cache_level() 59 leaves += (ctype == CACHE_TYPE_SEPARATE) ? 2 : 1; in init_cache_level()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | cacheinfo.c | 43 unsigned int ctype, level, leaves; in detect_cache_level() local 46 ctype = get_cache_type(level); in detect_cache_level() 47 if (ctype == CACHE_TYPE_NOCACHE) { in detect_cache_level() 52 leaves += (ctype == CACHE_TYPE_SEPARATE) ? 2 : 1; in detect_cache_level()
|
/kernel/linux/linux-6.6/arch/riscv/kernel/pi/ |
H A D | Makefile | 35 $(obj)/ctype.o: $(srctree)/lib/ctype.c FORCE 38 obj-y := cmdline_early.pi.o fdt_early.pi.o string.pi.o ctype.pi.o lib-fdt.pi.o lib-fdt_ro.pi.o
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
H A D | io.h | 74 #define __io_reads_ins(port, ctype, len, bfence, afence) \ 81 ctype *buf = buffer; \ 84 ctype x = __raw_read ## len(addr); \ 91 #define __io_writes_outs(port, ctype, len, bfence, afence) \ 98 const ctype *buf = buffer; \
|
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | io.h | 61 #define __io_reads_ins(port, ctype, len, bfence, afence) \ 68 ctype *buf = buffer; \ 71 ctype x = __raw_read ## len(addr); \ 78 #define __io_writes_outs(port, ctype, len, bfence, afence) \ 85 const ctype *buf = buffer; \
|
/kernel/linux/linux-5.10/arch/mips/sni/ |
H A D | setup.c | 61 char *ctype; in sni_console_setup() local 69 ctype = prom_getenv("console"); in sni_console_setup() 70 switch (*ctype) { in sni_console_setup()
|
/kernel/linux/linux-6.6/arch/mips/sni/ |
H A D | setup.c | 61 char *ctype; in sni_console_setup() local 69 ctype = prom_getenv("console"); in sni_console_setup() 70 switch (*ctype) { in sni_console_setup()
|
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/ |
H A D | hfcmulti.c | 950 if (hc->ctype == HFC_TYPE_E1) { in hfcmulti_resync() 971 if (hc->ctype == HFC_TYPE_E1 in hfcmulti_resync() 984 if (hc->ctype == HFC_TYPE_E1) { in hfcmulti_resync() 995 "enabled by HFC-%dS\n", hc->ctype); in hfcmulti_resync() 1136 val, rev, (rev == 0 && (hc->ctype != HFC_TYPE_XHFC)) ? in init_chip() 1138 if (hc->ctype != HFC_TYPE_XHFC && rev == 0) { in init_chip() 1180 if (hc->ctype == HFC_TYPE_XHFC) { in init_chip() 1272 if (hc->ctype == HFC_TYPE_XHFC) in init_chip() 1278 if (hc->ctype == HFC_TYPE_XHFC) in init_chip() 1288 if (hc->ctype ! in init_chip() [all...] |