Home
last modified time | relevance | path

Searched refs:cc (Results 1 – 25 of 63) sorted by relevance

123

/linux-4.19.296/drivers/s390/cio/
Dtrace.h25 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc),
26 TP_ARGS(schid, schib, cc),
44 __field(int, cc)
63 __entry->cc = cc;
68 __entry->cssid, __entry->ssid, __entry->schno, __entry->cc,
85 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc),
86 TP_ARGS(schid, schib, cc)
96 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc),
97 TP_ARGS(schid, schib, cc)
107 TP_PROTO(struct subchannel_id schid, struct irb *irb, int cc),
[all …]
Dqdio_main.c37 int cc; in do_siga_sync() local
47 : [cc] "=&d" (cc) in do_siga_sync()
51 return cc; in do_siga_sync()
57 int cc; in do_siga_input() local
66 : [cc] "=&d" (cc) in do_siga_input()
69 return cc; in do_siga_input()
87 int cc; in do_siga_output() local
98 : [cc] "=&d" (cc), [fc] "+&d" (fc) in do_siga_output()
102 return cc; in do_siga_output()
286 int cc; in qdio_siga_sync() local
[all …]
Dioasm.c169 int cc = -EIO; in chsc() local
177 : "+d" (cc), "=m" (*(addr_type *) chsc_area) in chsc()
180 trace_s390_cio_chsc(chsc_area, cc); in chsc()
182 return cc; in chsc()
Deadm_sch.c62 int cc; in eadm_subchannel_start() local
72 cc = ssch(sch->schid, orb); in eadm_subchannel_start()
73 switch (cc) { in eadm_subchannel_start()
88 int cc; in eadm_subchannel_clear() local
90 cc = csch(sch->schid); in eadm_subchannel_clear()
91 if (cc) in eadm_subchannel_clear()
/linux-4.19.296/drivers/clk/sprd/
Dcomposite.c15 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_round_rate() local
17 return sprd_div_helper_round_rate(&cc->common, &cc->div, in sprd_comp_round_rate()
24 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_recalc_rate() local
26 return sprd_div_helper_recalc_rate(&cc->common, &cc->div, parent_rate); in sprd_comp_recalc_rate()
32 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_set_rate() local
34 return sprd_div_helper_set_rate(&cc->common, &cc->div, in sprd_comp_set_rate()
40 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_get_parent() local
42 return sprd_mux_helper_get_parent(&cc->common, &cc->mux); in sprd_comp_get_parent()
47 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_set_parent() local
49 return sprd_mux_helper_set_parent(&cc->common, &cc->mux, index); in sprd_comp_set_parent()
/linux-4.19.296/crypto/
Drmd256.c52 u32 aa, bb, cc, dd, aaa, bbb, ccc, ddd; in rmd256_transform() local
57 cc = state[2]; in rmd256_transform()
67 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd256_transform()
68 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd256_transform()
69 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd256_transform()
70 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd256_transform()
71 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd256_transform()
72 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd256_transform()
73 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd256_transform()
74 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd256_transform()
[all …]
Drmd128.c52 u32 aa, bb, cc, dd, aaa, bbb, ccc, ddd; in rmd128_transform() local
57 cc = state[2]; in rmd128_transform()
67 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd128_transform()
68 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd128_transform()
69 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd128_transform()
70 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd128_transform()
71 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd128_transform()
72 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd128_transform()
73 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd128_transform()
74 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd128_transform()
[all …]
Drmd320.c56 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd320_transform() local
61 cc = state[2]; in rmd320_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd320_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd320_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd320_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd320_transform()
77 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd320_transform()
78 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd320_transform()
79 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd320_transform()
80 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd320_transform()
[all …]
Drmd160.c56 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd160_transform() local
61 cc = state[2]; in rmd160_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform()
77 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform()
78 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform()
79 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform()
80 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd160_transform()
[all …]
/linux-4.19.296/fs/fuse/
Dcuse.c115 struct cuse_conn *cc = NULL, *pos; in cuse_open() local
123 cc = pos; in cuse_open()
129 if (!cc) in cuse_open()
136 rc = fuse_do_open(&cc->fc, 0, file, 0); in cuse_open()
138 fuse_conn_put(&cc->fc); in cuse_open()
157 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_ioctl() local
160 if (cc->unrestricted_ioctl) in cuse_file_ioctl()
170 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_compat_ioctl() local
173 if (cc->unrestricted_ioctl) in cuse_file_compat_ioctl()
310 struct cuse_conn *cc = fc_to_cc(fc), *pos; in cuse_process_init_reply() local
[all …]
/linux-4.19.296/include/linux/bcma/
Dbcma_driver_chipcommon.h658 #define bcma_cc_read32(cc, offset) \ argument
659 bcma_read32((cc)->core, offset)
660 #define bcma_cc_write32(cc, offset, val) \ argument
661 bcma_write32((cc)->core, offset, val)
663 #define bcma_cc_mask32(cc, offset, mask) \ argument
664 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) & (mask))
665 #define bcma_cc_set32(cc, offset, set) \ argument
666 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) | (set))
667 #define bcma_cc_maskset32(cc, offset, mask, set) \ argument
668 bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set))
[all …]
Dbcma.h422 static inline void bcma_mask32(struct bcma_device *cc, u16 offset, u32 mask) in bcma_mask32() argument
424 bcma_write32(cc, offset, bcma_read32(cc, offset) & mask); in bcma_mask32()
426 static inline void bcma_set32(struct bcma_device *cc, u16 offset, u32 set) in bcma_set32() argument
428 bcma_write32(cc, offset, bcma_read32(cc, offset) | set); in bcma_set32()
430 static inline void bcma_maskset32(struct bcma_device *cc, in bcma_maskset32() argument
433 bcma_write32(cc, offset, (bcma_read32(cc, offset) & mask) | set); in bcma_maskset32()
435 static inline void bcma_mask16(struct bcma_device *cc, u16 offset, u16 mask) in bcma_mask16() argument
437 bcma_write16(cc, offset, bcma_read16(cc, offset) & mask); in bcma_mask16()
439 static inline void bcma_set16(struct bcma_device *cc, u16 offset, u16 set) in bcma_set16() argument
441 bcma_write16(cc, offset, bcma_read16(cc, offset) | set); in bcma_set16()
[all …]
/linux-4.19.296/include/linux/ssb/
Dssb_driver_chipcommon.h600 static inline bool ssb_chipco_available(struct ssb_chipcommon *cc) in ssb_chipco_available() argument
602 return (cc->dev != NULL); in ssb_chipco_available()
606 #define chipco_read32(cc, offset) ssb_read32((cc)->dev, offset) argument
607 #define chipco_write32(cc, offset, val) ssb_write32((cc)->dev, offset, val) argument
609 #define chipco_mask32(cc, offset, mask) \ argument
610 chipco_write32(cc, offset, chipco_read32(cc, offset) & (mask))
611 #define chipco_set32(cc, offset, set) \ argument
612 chipco_write32(cc, offset, chipco_read32(cc, offset) | (set))
613 #define chipco_maskset32(cc, offset, mask, set) \ argument
614 chipco_write32(cc, offset, (chipco_read32(cc, offset) & (mask)) | (set))
[all …]
/linux-4.19.296/include/linux/
Dtimecounter.h40 u64 (*read)(const struct cyclecounter *cc);
65 const struct cyclecounter *cc; member
79 static inline u64 cyclecounter_cyc2ns(const struct cyclecounter *cc, in cyclecounter_cyc2ns() argument
84 ns = (ns * cc->mult) + *frac; in cyclecounter_cyc2ns()
86 return ns >> cc->shift; in cyclecounter_cyc2ns()
109 const struct cyclecounter *cc,
/linux-4.19.296/fs/hfsplus/
Dunicode.c102 static u16 *hfsplus_compose_lookup(u16 *p, u16 cc) in hfsplus_compose_lookup() argument
108 if (!e || cc < p[s * 2] || cc > p[e * 2]) in hfsplus_compose_lookup()
112 if (cc > p[i * 2]) in hfsplus_compose_lookup()
114 else if (cc < p[i * 2]) in hfsplus_compose_lookup()
129 u16 cc, c0, c1; in hfsplus_uni2asc() local
147 cc = ce1[0]; in hfsplus_uni2asc()
149 cc = 0; in hfsplus_uni2asc()
150 if (cc) { in hfsplus_uni2asc()
152 if (cc != 0xffff) in hfsplus_uni2asc()
159 cc = (c0 - Hangul_LBase) * Hangul_VCount; in hfsplus_uni2asc()
[all …]
/linux-4.19.296/drivers/clk/qcom/
Dcommon.c212 struct qcom_cc *cc = data; in qcom_cc_clk_hw_get() local
215 if (idx >= cc->num_rclks) { in qcom_cc_clk_hw_get()
220 return cc->rclks[idx] ? &cc->rclks[idx]->hw : ERR_PTR(-ENOENT); in qcom_cc_clk_hw_get()
229 struct qcom_cc *cc; in qcom_cc_really_probe() local
234 cc = devm_kzalloc(dev, sizeof(*cc), GFP_KERNEL); in qcom_cc_really_probe()
235 if (!cc) in qcom_cc_really_probe()
238 reset = &cc->reset; in qcom_cc_really_probe()
266 cc->rclks = rclks; in qcom_cc_really_probe()
267 cc->num_rclks = num_clks; in qcom_cc_really_probe()
278 ret = devm_of_clk_add_hw_provider(dev, qcom_cc_clk_hw_get, cc); in qcom_cc_really_probe()
Dclk-spmi-pmic-div.c194 struct spmi_pmic_div_clk_cc *cc = data; in spmi_pmic_div_clk_hw_get() local
197 if (idx < 0 || idx >= cc->nclks) { in spmi_pmic_div_clk_hw_get()
199 __func__, clkspec->args[0], cc->nclks); in spmi_pmic_div_clk_hw_get()
203 return &cc->clks[idx].hw; in spmi_pmic_div_clk_hw_get()
208 struct spmi_pmic_div_clk_cc *cc; in spmi_pmic_clkdiv_probe() local
242 cc = devm_kzalloc(dev, struct_size(cc, clks, nclks), GFP_KERNEL); in spmi_pmic_clkdiv_probe()
243 if (!cc) in spmi_pmic_clkdiv_probe()
245 cc->nclks = nclks; in spmi_pmic_clkdiv_probe()
268 for (i = 0, clkdiv = cc->clks; i < nclks; i++) { in spmi_pmic_clkdiv_probe()
282 return devm_of_clk_add_hw_provider(dev, spmi_pmic_div_clk_hw_get, cc); in spmi_pmic_clkdiv_probe()
/linux-4.19.296/drivers/cpufreq/
Dbmips-cpufreq.c166 struct cpufreq_compat *cc; in bmips_cpufreq_probe() local
169 for (cc = bmips_cpufreq_compat; cc->compatible; cc++) { in bmips_cpufreq_probe()
170 np = of_find_compatible_node(NULL, "cpu", cc->compatible); in bmips_cpufreq_probe()
173 priv = cc; in bmips_cpufreq_probe()
179 if (!cc->compatible) in bmips_cpufreq_probe()
/linux-4.19.296/fs/ubifs/
Dcompress.c110 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, in ubifs_compress()
173 err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, in ubifs_decompress()
194 compr->cc = crypto_alloc_comp(compr->capi_name, 0, 0); in compr_init()
195 if (IS_ERR(compr->cc)) { in compr_init()
197 current->pid, compr->name, PTR_ERR(compr->cc)); in compr_init()
198 return PTR_ERR(compr->cc); in compr_init()
213 crypto_free_comp(compr->cc); in compr_exit()
/linux-4.19.296/drivers/s390/block/
Dxpram.c93 int cc = 2; /* return unused cc 2 if pgin traps */ in xpram_page_in() local
101 : "+d" (cc) : "a" (__pa(page_addr)), "d" (xpage_index) : "cc"); in xpram_page_in()
102 if (cc == 3) in xpram_page_in()
104 if (cc == 2) in xpram_page_in()
106 if (cc == 1) in xpram_page_in()
123 int cc = 2; /* return unused cc 2 if pgin traps */ in xpram_page_out() local
131 : "+d" (cc) : "a" (__pa(page_addr)), "d" (xpage_index) : "cc"); in xpram_page_out()
132 if (cc == 3) in xpram_page_out()
134 if (cc == 2) in xpram_page_out()
136 if (cc == 1) in xpram_page_out()
/linux-4.19.296/lib/fonts/
Dfonts.c119 int i, c, cc; in get_default_font() local
123 cc = -10000; in get_default_font()
144 if (c > cc) { in get_default_font()
145 cc = c; in get_default_font()
/linux-4.19.296/drivers/char/tpm/
Dtpm2-space.c244 static int tpm2_map_command(struct tpm_chip *chip, u32 cc, u8 *cmd) in tpm2_map_command() argument
252 i = tpm2_find_cc(chip, cc); in tpm2_map_command()
270 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u32 cc, in tpm2_prepare_space() argument
293 rc = tpm2_map_command(chip, cc, cmd); in tpm2_prepare_space()
338 static int tpm2_map_response_header(struct tpm_chip *chip, u32 cc, u8 *rsp, in tpm2_map_response_header() argument
352 i = tpm2_find_cc(chip, cc); in tpm2_map_response_header()
398 static int tpm2_map_response_body(struct tpm_chip *chip, u32 cc, u8 *rsp, in tpm2_map_response_body() argument
410 if (cc != TPM2_CC_GET_CAPABILITY || in tpm2_map_response_body()
500 u32 cc, u8 *buf, size_t *bufsiz) in tpm2_commit_space() argument
508 rc = tpm2_map_response_header(chip, cc, buf, *bufsiz); in tpm2_commit_space()
[all …]
/linux-4.19.296/drivers/s390/char/
Dvmur.c371 int cc; in get_urd_class() local
376 cc = diag210(&ur_diag210); in get_urd_class()
377 switch (cc) { in get_urd_class()
470 int cc; in diag_position_to_record() local
472 cc = diag14(record, devno, 0x28); in diag_position_to_record()
473 switch (cc) { in diag_position_to_record()
495 int cc; in diag_read_file() local
497 cc = diag14((unsigned long) buf, devno, 0x00); in diag_read_file()
498 switch (cc) { in diag_read_file()
588 int cc; in diag_read_next_file_info() local
[all …]
Dsclp.h284 int cc = 4; /* Initialize for program check handling */ in sclp_service_call() local
293 : "+&d" (cc) : "d" (command), "a" ((unsigned long)sccb) in sclp_service_call()
295 if (cc == 4) in sclp_service_call()
297 if (cc == 3) in sclp_service_call()
299 if (cc == 2) in sclp_service_call()
/linux-4.19.296/drivers/media/dvb-core/
Ddvb_demux.c119 u8 cc; in dvb_dmx_swfilter_payload() local
126 cc = buf[3] & 0x0f; in dvb_dmx_swfilter_payload()
127 ccok = ((feed->cc + 1) & 0x0f) == cc; in dvb_dmx_swfilter_payload()
131 cc, (feed->cc + 1) & 0x0f); in dvb_dmx_swfilter_payload()
133 feed->cc = cc; in dvb_dmx_swfilter_payload()
302 u8 cc; in dvb_dmx_swfilter_section_packet() local
311 cc = buf[3] & 0x0f; in dvb_dmx_swfilter_section_packet()
312 ccok = ((feed->cc + 1) & 0x0f) == cc; in dvb_dmx_swfilter_section_packet()
325 cc); in dvb_dmx_swfilter_section_packet()
330 cc, (feed->cc + 1) & 0x0f, count + 4); in dvb_dmx_swfilter_section_packet()
[all …]

123