Home
last modified time | relevance | path

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

123

/linux/drivers/clk/versatile/
H A 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/arch/mips/alchemy/common/
H A 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 …]
H A 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/arch/mips/sgi-ip22/
H A Dip22-setup.c31 char *ctype; in plat_mem_setup() local
61 ctype = ArcGetEnvironmentVariable("console"); in plat_mem_setup()
64 if ((ctype && *ctype == 'd') || (cserial && *cserial == 's')) { in plat_mem_setup()
69 add_preferred_console("ttyS", *(ctype + 1) == '2' ? 1 : 0, in plat_mem_setup()
71 } else if (!ctype || *ctype != 'g') { in plat_mem_setup()
/linux/arch/s390/kernel/
H A 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/drivers/net/ethernet/marvell/octeontx2/af/
H A 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 …]
H A 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 …]
H A Drvu_debugfs.c1159 static int rvu_dbg_npa_ctx_display(struct seq_file *m, void *unused, int ctype) in rvu_dbg_npa_ctx_display() argument
1172 switch (ctype) { in rvu_dbg_npa_ctx_display()
1192 if (ctype == NPA_AQ_CTYPE_AURA && !pfvf->aura_ctx) { in rvu_dbg_npa_ctx_display()
1195 } else if (ctype == NPA_AQ_CTYPE_POOL && !pfvf->pool_ctx) { in rvu_dbg_npa_ctx_display()
1202 aq_req.ctype = ctype; in rvu_dbg_npa_ctx_display()
1204 if (ctype == NPA_AQ_CTYPE_AURA) { in rvu_dbg_npa_ctx_display()
1214 (ctype == NPA_AQ_CTYPE_AURA) ? "aura" : "pool", in rvu_dbg_npa_ctx_display()
1228 if (ctype == NPA_AQ_CTYPE_POOL && !test_bit(aura, pfvf->pool_bmap)) in rvu_dbg_npa_ctx_display()
1232 (ctype == NPA_AQ_CTYPE_AURA) ? "AURA" : "POOL", in rvu_dbg_npa_ctx_display()
1245 int npalf, int id, int ctype) in write_npa_ctx() argument
[all …]
H A Drvu_nix.c33 static const char *nix_get_ctx_name(int ctype);
1008 if (!((!rsp && req->ctype == NIX_AQ_CTYPE_MCE) || in rvu_nix_blk_aq_enq_inst()
1009 (req->ctype == NIX_AQ_CTYPE_BANDPROF && !pcifunc))) { in rvu_nix_blk_aq_enq_inst()
1014 switch (req->ctype) { in rvu_nix_blk_aq_enq_inst()
1063 if (req->ctype == NIX_AQ_CTYPE_SQ && in rvu_nix_blk_aq_enq_inst()
1075 inst.ctype = req->ctype; in rvu_nix_blk_aq_enq_inst()
1096 if (req->ctype == NIX_AQ_CTYPE_RQ) in rvu_nix_blk_aq_enq_inst()
1099 else if (req->ctype == NIX_AQ_CTYPE_SQ) in rvu_nix_blk_aq_enq_inst()
1102 else if (req->ctype == NIX_AQ_CTYPE_CQ) in rvu_nix_blk_aq_enq_inst()
1105 else if (req->ctype == NIX_AQ_CTYPE_RSS) in rvu_nix_blk_aq_enq_inst()
[all …]
/linux/arch/m68k/include/asm/
H A 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/arch/arm64/kernel/
H A 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/arch/riscv/include/asm/
H A 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/drivers/media/firewire/
H A 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/arch/riscv/kernel/pi/
H A DMakefile32 $(obj)/ctype.o: $(srctree)/lib/ctype.c FORCE
35 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/arch/mips/sni/
H A Dsetup.c63 char *ctype; in sni_console_setup() local
71 ctype = prom_getenv("console"); in sni_console_setup()
72 switch (*ctype) { in sni_console_setup()
/linux/drivers/isdn/hardware/mISDN/
H A Dhfcmulti.c920 if (hc->ctype == HFC_TYPE_E1) { in hfcmulti_resync()
941 if (hc->ctype == HFC_TYPE_E1 in hfcmulti_resync()
954 if (hc->ctype == HFC_TYPE_E1) { in hfcmulti_resync()
965 "enabled by HFC-%dS\n", hc->ctype); in hfcmulti_resync()
1106 val, rev, (rev == 0 && (hc->ctype != HFC_TYPE_XHFC)) ? in init_chip()
1108 if (hc->ctype != HFC_TYPE_XHFC && rev == 0) { in init_chip()
1150 if (hc->ctype == HFC_TYPE_XHFC) { in init_chip()
1242 if (hc->ctype == HFC_TYPE_XHFC) in init_chip()
1248 if (hc->ctype == HFC_TYPE_XHFC) in init_chip()
1258 if (hc->ctype != HFC_TYPE_XHFC) in init_chip()
[all …]
/linux/drivers/fpga/
H A 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/arch/riscv/purgatory/
H A DMakefile3 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/drivers/net/wwan/iosm/
H A 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,
H A 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/net/sunrpc/auth_gss/
H A 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/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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()
/linux/tools/firewire/
H A Ddecode-fcp.c140 uint32_t ctype:4; member
164 ctype_names[frame->ctype], subunit_type_names[frame->subunit_type], in decode_avc()
/linux/tools/perf/
H A Dcheck-headers.sh170 check include/linux/ctype.h '-I "isdigit("'
171 check lib/ctype.c '-I "^EXPORT_SYMBOL" -I "^#include <linux/export.h>" -B'
/linux/drivers/gpu/drm/msm/registers/
H A Dgen_header.py75 def ctype(self, var_name): member in Field
134 # indices - array of (ctype, stride, __offsets_NAME)
139 return ", ".join(["%s i%d" % (ctype, idx)
140 for (idx, (ctype, stride, offset)) in enumerate(indices)])
146 for (idx, (ctype, stride, offset)) in enumerate(indices)])
171 type, val = f.ctype("fields.%s" % field_name(reg, f))
187 type, val = f.ctype("fields.%s" % field_name(reg, f))
220 type, val = f.ctype("var")
271 type, val = f.ctype("val")
318 # Generate array of (ctype, strid
[all...]

123