Home
last modified time | relevance | path

Searched refs:ctype (Results 1 – 25 of 67) sorted by relevance

123

/linux-6.1.9/drivers/clk/versatile/
Dclk-icst.c53 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 == ICST_INTEGRATOR_CP_CM_CORE) { in icst_round_rate()
253 if (icst->ctype == ICST_INTEGRATOR_CP_CM_MEM) { in icst_round_rate()
[all …]
Dclk-icst.h41 enum icst_control_type ctype);
/linux-6.1.9/arch/mips/sgi-ip22/
Dip22-setup.c33 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()
/linux-6.1.9/arch/mips/alchemy/common/
Dplatform.c101 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][1]; in alchemy_setup_usb()
260 if (ctype == ALCHEMY_CPU_AU1300) { in alchemy_setup_usb()
[all …]
Dclock.c151 int ctype) in alchemy_clk_setup_cpu() argument
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 == ALCHEMY_CPU_AU1300) { in alchemy_clk_init()
[all …]
/linux-6.1.9/arch/s390/kernel/
Dcache.c130 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()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npa.c87 inst.ctype = req->ctype; in rvu_npa_aq_enq_inst()
109 if (req->ctype == NPA_AQ_CTYPE_AURA) { in rvu_npa_aq_enq_inst()
120 if (req->ctype == NPA_AQ_CTYPE_AURA) { in rvu_npa_aq_enq_inst()
156 if (req->ctype == NPA_AQ_CTYPE_AURA) { in rvu_npa_aq_enq_inst()
171 if (req->ctype == NPA_AQ_CTYPE_POOL) { in rvu_npa_aq_enq_inst()
189 if (req->ctype == NPA_AQ_CTYPE_AURA) in rvu_npa_aq_enq_inst()
215 if (req->ctype == NPA_AQ_CTYPE_POOL) { in npa_lf_hwctx_disable()
220 } else if (req->ctype == NPA_AQ_CTYPE_AURA) { in npa_lf_hwctx_disable()
229 aq_req.ctype = req->ctype; in npa_lf_hwctx_disable()
240 (req->ctype == NPA_AQ_CTYPE_AURA) ? in npa_lf_hwctx_disable()
[all …]
Drvu_nix.c32 static const char *nix_get_ctx_name(int ctype);
852 if (!((!rsp && req->ctype == NIX_AQ_CTYPE_MCE) || in rvu_nix_blk_aq_enq_inst()
853 (req->ctype == NIX_AQ_CTYPE_BANDPROF && !pcifunc))) { in rvu_nix_blk_aq_enq_inst()
858 switch (req->ctype) { in rvu_nix_blk_aq_enq_inst()
906 if (req->ctype == NIX_AQ_CTYPE_SQ && in rvu_nix_blk_aq_enq_inst()
918 inst.ctype = req->ctype; in rvu_nix_blk_aq_enq_inst()
939 if (req->ctype == NIX_AQ_CTYPE_RQ) in rvu_nix_blk_aq_enq_inst()
942 else if (req->ctype == NIX_AQ_CTYPE_SQ) in rvu_nix_blk_aq_enq_inst()
945 else if (req->ctype == NIX_AQ_CTYPE_CQ) in rvu_nix_blk_aq_enq_inst()
948 else if (req->ctype == NIX_AQ_CTYPE_RSS) in rvu_nix_blk_aq_enq_inst()
[all …]
Drvu_debugfs.c1160 static int rvu_dbg_npa_ctx_display(struct seq_file *m, void *unused, int ctype) in rvu_dbg_npa_ctx_display() argument
1173 switch (ctype) { in rvu_dbg_npa_ctx_display()
1193 if (ctype == NPA_AQ_CTYPE_AURA && !pfvf->aura_ctx) { in rvu_dbg_npa_ctx_display()
1196 } else if (ctype == NPA_AQ_CTYPE_POOL && !pfvf->pool_ctx) { in rvu_dbg_npa_ctx_display()
1203 aq_req.ctype = ctype; in rvu_dbg_npa_ctx_display()
1205 if (ctype == NPA_AQ_CTYPE_AURA) { in rvu_dbg_npa_ctx_display()
1215 (ctype == NPA_AQ_CTYPE_AURA) ? "aura" : "pool", in rvu_dbg_npa_ctx_display()
1228 (ctype == NPA_AQ_CTYPE_AURA) ? "AURA" : "POOL", in rvu_dbg_npa_ctx_display()
1241 int npalf, int id, int ctype) in write_npa_ctx() argument
1252 if (ctype == NPA_AQ_CTYPE_AURA) { in write_npa_ctx()
[all …]
Drvu_npc_hash.c363 static u64 rvu_exact_prepare_mdata(u8 *mac, u16 chan, u16 ctype, u64 mask) in rvu_exact_prepare_mdata() argument
371 ldata |= ((u64)ctype << 60); in rvu_exact_prepare_mdata()
388 static u32 rvu_exact_calculate_hash(struct rvu *rvu, u16 chan, u16 ctype, u8 *mac, in rvu_exact_calculate_hash() argument
404 ldata = rvu_exact_prepare_mdata(mac, chan, ctype, mask); in rvu_exact_calculate_hash()
550 u8 ctype, u16 chan, u8 *mac_addr) in rvu_exact_prepare_table_entry() argument
559 mdata |= FIELD_PREP(GENMASK_ULL(61, 60), ctype); in rvu_exact_prepare_table_entry()
748 u8 ctype, u32 *seq_id, bool cmd, u32 mcam_idx, u16 pcifunc) in rvu_npc_exact_add_to_list() argument
801 entry->ctype = ctype; in rvu_npc_exact_add_to_list()
935 static int rvu_npc_exact_alloc_table_entry(struct rvu *rvu, char *mac, u16 chan, u8 ctype, in rvu_npc_exact_alloc_table_entry() argument
945 hash = rvu_exact_calculate_hash(rvu, chan, ctype, mac, table->mem_table.mask, in rvu_npc_exact_alloc_table_entry()
[all …]
/linux-6.1.9/arch/m68k/include/asm/
Dbootstd.h85 #define _bsc3(type,name,atype,a,btype,b,ctype,c) \ argument
86 type name(atype a, btype b, ctype c) \
100 #define _bsc4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ argument
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) \ argument
117 type name(atype a, btype b, ctype c, dtype d, etype e) \
/linux-6.1.9/arch/arm64/kernel/
Dcacheinfo.c48 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()
/linux-6.1.9/arch/riscv/include/asm/
Dio.h61 #define __io_reads_ins(port, ctype, len, bfence, afence) \ argument
68 ctype *buf = buffer; \
71 ctype x = __raw_read ## len(addr); \
78 #define __io_writes_outs(port, ctype, len, bfence, afence) \ argument
85 const ctype *buf = buffer; \
/linux-6.1.9/drivers/media/firewire/
Dfiredtv-avc.c75 u8 ctype; member
145 static const char *debug_fcp_ctype(unsigned int ctype) in debug_fcp_ctype() argument
155 const char *ret = ctype < ARRAY_SIZE(ctypes) ? ctypes[ctype] : NULL; in debug_fcp_ctype()
591 c->ctype = AVC_CTYPE_CONTROL; in avc_tuner_dsd()
633 c->ctype = AVC_CTYPE_CONTROL; in avc_tuner_set_pids()
676 c->ctype = AVC_CTYPE_CONTROL; in avc_tuner_get_ts()
717 c->ctype = AVC_CTYPE_CONTROL; in avc_identify_subunit()
757 c->ctype = AVC_CTYPE_CONTROL; in avc_tuner_status()
838 c->ctype = AVC_CTYPE_CONTROL; in avc_lnb_control()
882 c->ctype = AVC_CTYPE_NOTIFY; in avc_register_remote_control()
[all …]
/linux-6.1.9/arch/mips/sni/
Dsetup.c61 char *ctype; in sni_console_setup() local
69 ctype = prom_getenv("console"); in sni_console_setup()
70 switch (*ctype) { in sni_console_setup()
/linux-6.1.9/arch/riscv/purgatory/
DMakefile4 purgatory-y := purgatory.o sha256.o entry.o string.o ctype.o memcpy.o memset.o
12 $(obj)/ctype.o: $(srctree)/lib/ctype.c FORCE
/linux-6.1.9/drivers/fpga/
Dstratix10-soc.c180 struct stratix10_svc_command_config_type ctype; in s10_ops_write_init() local
185 ctype.flags = 0; in s10_ops_write_init()
188 ctype.flags |= BIT(COMMAND_RECONFIG_FLAG_PARTIAL); in s10_ops_write_init()
195 &ctype, sizeof(ctype)); in s10_ops_write_init()
/linux-6.1.9/drivers/isdn/hardware/mISDN/
Dhfcmulti.c950 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 != HFC_TYPE_XHFC) in init_chip()
[all …]
/linux-6.1.9/tools/firewire/
Ddecode-fcp.c140 uint32_t ctype:4; member
164 ctype_names[frame->ctype], subunit_type_names[frame->subunit_type], in decode_avc()
/linux-6.1.9/drivers/net/wwan/iosm/
Diosm_ipc_imem.h252 enum ipc_ctype ctype; member
473 enum ipc_ctype ctype);
587 void ipc_imem_channel_init(struct iosm_imem *ipc_imem, enum ipc_ctype ctype,
Diosm_ipc_imem.c20 return chnl->ctype == IPC_CTYPE_WWAN && in ipc_imem_check_wwan_ips()
307 switch (pipe->channel->ctype) { in ipc_imem_dl_skb_process()
1039 enum ipc_ctype ctype) in ipc_imem_channel_alloc() argument
1047 if (channel->ctype == ctype && channel->index == index) in ipc_imem_channel_alloc()
1054 ctype); in ipc_imem_channel_alloc()
1063 if (channel->ctype == IPC_CTYPE_WWAN && in ipc_imem_channel_alloc()
1073 void ipc_imem_channel_init(struct iosm_imem *ipc_imem, enum ipc_ctype ctype, in ipc_imem_channel_init() argument
1092 channel->ctype = ctype; in ipc_imem_channel_init()
/linux-6.1.9/tools/perf/
Dcheck-headers.sh153 check include/linux/ctype.h '-I "isdigit("'
154 check lib/ctype.c '-I "^EXPORT_SYMBOL" -I "^#include <linux/export.h>" -B'
/linux-6.1.9/tools/lib/traceevent/
Dparse-filter.c424 create_arg_cmp(enum tep_filter_cmp_type ctype) in create_arg_cmp() argument
434 arg->num.type = ctype; in create_arg_cmp()
652 enum tep_filter_cmp_type *ctype, in process_op() argument
657 *ctype = TEP_FILTER_CMP_NONE; in process_op()
698 *ctype = TEP_FILTER_CMP_EQ; in process_op()
700 *ctype = TEP_FILTER_CMP_NE; in process_op()
702 *ctype = TEP_FILTER_CMP_LT; in process_op()
704 *ctype = TEP_FILTER_CMP_GT; in process_op()
706 *ctype = TEP_FILTER_CMP_LE; in process_op()
708 *ctype = TEP_FILTER_CMP_GE; in process_op()
[all …]
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dcbnl.c167 cn10k_sq_aq->ctype = NIX_AQ_CTYPE_SQ; in otx2_pfc_update_sq_smq_mapping()
182 sq_aq->ctype = NIX_AQ_CTYPE_SQ; in otx2_pfc_update_sq_smq_mapping()
365 aq->ctype = NIX_AQ_CTYPE_CQ; in otx2_update_bpid_in_rqctx()
380 npa_aq->ctype = NPA_AQ_CTYPE_AURA; in otx2_update_bpid_in_rqctx()
/linux-6.1.9/tools/bpf/resolve_btfids/
DBuild5 resolve_btfids-y += ctype.o

123