Home
last modified time | relevance | path

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

123

/linux-6.6.21/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 …]
/linux-6.6.21/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.6.21/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()
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][1]; in alchemy_setup_usb()
266 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.6.21/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.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npa.c96 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 = req->ctype; in npa_lf_hwctx_disable()
249 (req->ctype == NPA_AQ_CTYPE_AURA) ? in npa_lf_hwctx_disable()
[all …]
Drvu_debugfs.c1158 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 == NPA_AQ_CTYPE_AURA) ? "AURA" : "POOL", in rvu_dbg_npa_ctx_display()
1244 int npalf, int id, int ctype) in write_npa_ctx() argument
[all …]
Drvu_nix.c33 static const char *nix_get_ctx_name(int ctype);
895 if (!((!rsp && req->ctype == NIX_AQ_CTYPE_MCE) || in rvu_nix_blk_aq_enq_inst()
896 (req->ctype == NIX_AQ_CTYPE_BANDPROF && !pcifunc))) { in rvu_nix_blk_aq_enq_inst()
901 switch (req->ctype) { in rvu_nix_blk_aq_enq_inst()
950 if (req->ctype == NIX_AQ_CTYPE_SQ && in rvu_nix_blk_aq_enq_inst()
962 inst.ctype = req->ctype; in rvu_nix_blk_aq_enq_inst()
983 if (req->ctype == NIX_AQ_CTYPE_RQ) in rvu_nix_blk_aq_enq_inst()
986 else if (req->ctype == NIX_AQ_CTYPE_SQ) in rvu_nix_blk_aq_enq_inst()
989 else if (req->ctype == NIX_AQ_CTYPE_CQ) in rvu_nix_blk_aq_enq_inst()
992 else if (req->ctype == NIX_AQ_CTYPE_RSS) in rvu_nix_blk_aq_enq_inst()
[all …]
Drvu_npc_hash.c401 static u64 rvu_exact_prepare_mdata(u8 *mac, u16 chan, u16 ctype, u64 mask) in rvu_exact_prepare_mdata() argument
409 ldata |= ((u64)ctype << 60); in rvu_exact_prepare_mdata()
426 static u32 rvu_exact_calculate_hash(struct rvu *rvu, u16 chan, u16 ctype, u8 *mac, in rvu_exact_calculate_hash() argument
442 ldata = rvu_exact_prepare_mdata(mac, chan, ctype, mask); in rvu_exact_calculate_hash()
588 u8 ctype, u16 chan, u8 *mac_addr) in rvu_exact_prepare_table_entry() argument
597 mdata |= FIELD_PREP(GENMASK_ULL(61, 60), ctype); in rvu_exact_prepare_table_entry()
786 u8 ctype, u32 *seq_id, bool cmd, u32 mcam_idx, u16 pcifunc) in rvu_npc_exact_add_to_list() argument
839 entry->ctype = ctype; in rvu_npc_exact_add_to_list()
973 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
983 hash = rvu_exact_calculate_hash(rvu, chan, ctype, mac, table->mem_table.mask, in rvu_npc_exact_alloc_table_entry()
[all …]
/linux-6.6.21/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.6.21/arch/arm64/kernel/
Dcacheinfo.c43 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()
/linux-6.6.21/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.6.21/arch/riscv/kernel/pi/
DMakefile35 $(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
/linux-6.6.21/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()
635 c->ctype = AVC_CTYPE_CONTROL; in avc_tuner_set_pids()
678 c->ctype = AVC_CTYPE_CONTROL; in avc_tuner_get_ts()
719 c->ctype = AVC_CTYPE_CONTROL; in avc_identify_subunit()
759 c->ctype = AVC_CTYPE_CONTROL; in avc_tuner_status()
840 c->ctype = AVC_CTYPE_CONTROL; in avc_lnb_control()
884 c->ctype = AVC_CTYPE_NOTIFY; in avc_register_remote_control()
[all …]
/linux-6.6.21/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.6.21/arch/riscv/purgatory/
DMakefile4 purgatory-y := purgatory.o sha256.o entry.o string.o ctype.o memcpy.o memset.o
13 $(obj)/ctype.o: $(srctree)/lib/ctype.c FORCE
/linux-6.6.21/drivers/fpga/
Dstratix10-soc.c181 struct stratix10_svc_command_config_type ctype; in s10_ops_write_init() local
186 ctype.flags = 0; in s10_ops_write_init()
189 ctype.flags |= BIT(COMMAND_RECONFIG_FLAG_PARTIAL); in s10_ops_write_init()
196 &ctype, sizeof(ctype)); in s10_ops_write_init()
/linux-6.6.21/drivers/isdn/hardware/mISDN/
Dhfcmulti.c919 if (hc->ctype == HFC_TYPE_E1) { in hfcmulti_resync()
940 if (hc->ctype == HFC_TYPE_E1 in hfcmulti_resync()
953 if (hc->ctype == HFC_TYPE_E1) { in hfcmulti_resync()
964 "enabled by HFC-%dS\n", hc->ctype); in hfcmulti_resync()
1105 val, rev, (rev == 0 && (hc->ctype != HFC_TYPE_XHFC)) ? in init_chip()
1107 if (hc->ctype != HFC_TYPE_XHFC && rev == 0) { in init_chip()
1149 if (hc->ctype == HFC_TYPE_XHFC) { in init_chip()
1241 if (hc->ctype == HFC_TYPE_XHFC) in init_chip()
1247 if (hc->ctype == HFC_TYPE_XHFC) in init_chip()
1257 if (hc->ctype != HFC_TYPE_XHFC) in init_chip()
[all …]
/linux-6.6.21/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.6.21/drivers/net/wwan/iosm/
Diosm_ipc_imem.h239 enum ipc_ctype ctype; member
460 enum ipc_ctype ctype);
574 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()
1061 enum ipc_ctype ctype) in ipc_imem_channel_alloc() argument
1069 if (channel->ctype == ctype && channel->index == index) in ipc_imem_channel_alloc()
1076 ctype); in ipc_imem_channel_alloc()
1085 if (channel->ctype == IPC_CTYPE_WWAN && in ipc_imem_channel_alloc()
1095 void ipc_imem_channel_init(struct iosm_imem *ipc_imem, enum ipc_ctype ctype, in ipc_imem_channel_init() argument
1114 channel->ctype = ctype; in ipc_imem_channel_init()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dqos_sq.c179 cn10k_sq_aq->ctype = NIX_AQ_CTYPE_SQ; in otx2_qos_ctx_disable()
188 sq_aq->ctype = NIX_AQ_CTYPE_SQ; in otx2_qos_ctx_disable()
201 aura_aq->ctype = NPA_AQ_CTYPE_AURA; in otx2_qos_ctx_disable()
214 pool_aq->ctype = NPA_AQ_CTYPE_POOL; in otx2_qos_ctx_disable()
Dotx2_dcbnl.c160 cn10k_sq_aq->ctype = NIX_AQ_CTYPE_SQ; in otx2_pfc_update_sq_smq_mapping()
175 sq_aq->ctype = NIX_AQ_CTYPE_SQ; in otx2_pfc_update_sq_smq_mapping()
358 aq->ctype = NIX_AQ_CTYPE_CQ; in otx2_update_bpid_in_rqctx()
373 npa_aq->ctype = NPA_AQ_CTYPE_AURA; in otx2_update_bpid_in_rqctx()
/linux-6.6.21/net/sunrpc/auth_gss/
Dgss_krb5_mech.c40 .ctype = CKSUMTYPE_HMAC_SHA1_96_AES128,
69 .ctype = CKSUMTYPE_HMAC_SHA1_96_AES256,
101 .ctype = CKSUMTYPE_CMAC_CAMELLIA128,
127 .ctype = CKSUMTYPE_CMAC_CAMELLIA256,
156 .ctype = CKSUMTYPE_HMAC_SHA256_128_AES128,
182 .ctype = CKSUMTYPE_HMAC_SHA384_192_AES256,
/linux-6.6.21/tools/perf/
Dcheck-headers.sh168 check include/linux/ctype.h '-I "isdigit("'
169 check lib/ctype.c '-I "^EXPORT_SYMBOL" -I "^#include <linux/export.h>" -B'

123