Home
last modified time | relevance | path

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

12345678910>>...47

/openbmc/linux/drivers/bcma/
H A Ddriver_chipcommon.c91 ticks = bcma_chipco_watchdog_timer_set(cc, cc->ticks_per_ms * ms); in bcma_chipco_watchdog_timer_set_ms_wdt()
125 wdt.driver_data = cc; in bcma_chipco_watchdog_register()
129 bcma_chipco_watchdog_get_max_timer(cc) / cc->ticks_per_ms; in bcma_chipco_watchdog_register()
137 cc->watchdog = pdev; in bcma_chipco_watchdog_register()
179 cc->status = bcma_cc_read32(cc, BCMA_CC_CHIPSTAT); in bcma_core_chipcommon_early_init()
180 cc->capabilities = bcma_cc_read32(cc, BCMA_CC_CAP); in bcma_core_chipcommon_early_init()
182 cc->capabilities_ext = bcma_cc_read32(cc, BCMA_CC_CAP_EXT); in bcma_core_chipcommon_early_init()
198 if (cc->setup_done) in bcma_core_chipcommon_init()
216 bcma_pmu_init(cc); in bcma_core_chipcommon_init()
230 cc->ticks_per_ms = bcma_chipco_watchdog_ticks_per_ms(cc); in bcma_core_chipcommon_init()
[all …]
H A Ddriver_chipcommon_pmu.c142 if (cc->pmu.rev >= 2) in bcma_pmu2_pll_init0()
157 bcma_pmu2_pll_init0(cc, xtalfreq); in bcma_pmu_pll_init()
279 if (cc->core->id.rev >= 35 && in bcma_pmu_early_init()
282 if (!cc->pmu.core) in bcma_pmu_early_init()
285 if (!cc->pmu.core) in bcma_pmu_early_init()
286 cc->pmu.core = cc->core; in bcma_pmu_early_init()
297 if (cc->pmu.rev == 1) in bcma_pmu_init()
304 bcma_pmu_pll_init(cc); in bcma_pmu_init()
305 bcma_pmu_resources_init(cc); in bcma_pmu_init()
306 bcma_pmu_workarounds(cc); in bcma_pmu_init()
[all …]
H A Ddriver_gpio.c110 struct bcma_drv_cc *cc = dev_id; in bcma_gpio_irq_handler() local
111 struct gpio_chip *gc = &cc->gpio; in bcma_gpio_irq_handler()
130 struct gpio_chip *chip = &cc->gpio; in bcma_gpio_irq_init()
137 hwirq = bcma_core_irq(cc->core, 0); in bcma_gpio_irq_init()
139 cc); in bcma_gpio_irq_init()
163 free_irq(bcma_core_irq(cc->core, 0), cc); in bcma_gpio_irq_exit()
218 err = bcma_gpio_irq_init(cc); in bcma_gpio_init()
222 err = gpiochip_add_data(chip, cc); in bcma_gpio_init()
224 bcma_gpio_irq_exit(cc); in bcma_gpio_init()
233 bcma_gpio_irq_exit(cc); in bcma_gpio_unregister()
[all …]
H A Ddriver_chipcommon_nflash.c28 int bcma_nflash_init(struct bcma_drv_cc *cc) in bcma_nflash_init() argument
30 struct bcma_bus *bus = cc->core->bus; in bcma_nflash_init()
34 cc->core->id.rev != 38) { in bcma_nflash_init()
39 if (!(cc->capabilities & BCMA_CC_CAP_NFLASH)) { in bcma_nflash_init()
44 cc->nflash.present = true; in bcma_nflash_init()
45 if (cc->core->id.rev == 38 && in bcma_nflash_init()
46 (cc->status & BCMA_CC_CHIPST_5357_NAND_BOOT)) { in bcma_nflash_init()
47 cc->nflash.boot = true; in bcma_nflash_init()
52 cc->nflash.brcmnand_info.ecc_stepsize = 512; in bcma_nflash_init()
53 cc->nflash.brcmnand_info.ecc_strength = 1; in bcma_nflash_init()
[all …]
H A Dbcma_private.h46 void bcma_core_chipcommon_init(struct bcma_drv_cc *cc);
49 void bcma_chipco_serial_init(struct bcma_drv_cc *cc);
57 void bcma_pmu_early_init(struct bcma_drv_cc *cc);
58 void bcma_pmu_init(struct bcma_drv_cc *cc);
59 u32 bcma_pmu_get_alp_clock(struct bcma_drv_cc *cc);
60 u32 bcma_pmu_get_cpu_clock(struct bcma_drv_cc *cc);
68 int bcma_pflash_init(struct bcma_drv_cc *cc);
79 int bcma_sflash_init(struct bcma_drv_cc *cc);
91 int bcma_nflash_init(struct bcma_drv_cc *cc);
202 int bcma_gpio_init(struct bcma_drv_cc *cc);
[all …]
/openbmc/linux/drivers/ssb/
H A Ddriver_chipcommon.c270 cc->fast_pwrup_delay = pmu_fast_powerup_delay(cc); in calc_fast_powerup_delay()
329 ticks = ssb_chipco_watchdog_timer_set(cc, cc->ticks_per_ms * ms); in ssb_chipco_watchdog_timer_set_ms()
350 if (!cc->dev) in ssb_chipcommon_init()
356 cc->status = chipco_read32(cc, SSB_CHIPCO_CHIPSTAT); in ssb_chipcommon_init()
357 dev_dbg(cc->dev->dev, "chipcommon status is 0x%x\n", cc->status); in ssb_chipcommon_init()
364 ssb_pmu_init(cc); in ssb_chipcommon_init()
370 cc->ticks_per_ms = ssb_chipco_watchdog_ticks_per_ms(cc); in ssb_chipcommon_init()
371 cc->max_timer_ms = ssb_chipco_watchdog_get_max_timer(cc) / cc->ticks_per_ms; in ssb_chipcommon_init()
377 if (!cc->dev) in ssb_chipco_suspend()
384 if (!cc->dev) in ssb_chipco_resume()
[all …]
H A Ddriver_chipcommon_pmu.c93 struct ssb_bus *bus = cc->dev->bus; in ssb_pmu0_pllinit_r0()
104 cc->pmu.crystalfreq = e->freq; in ssb_pmu0_pllinit_r0()
233 cc->pmu.crystalfreq = 20000; in ssb_pmu1_pllinit_r0()
243 cc->pmu.crystalfreq = e->freq; in ssb_pmu1_pllinit_r0()
344 if (cc->pmu.rev == 2) { in ssb_pmu_pll_init()
528 cc->pmu.rev, pmucap); in ssb_pmu_init()
530 if (cc->pmu.rev == 1) in ssb_pmu_init()
536 ssb_pmu_pll_init(cc); in ssb_pmu_init()
537 ssb_pmu_resources_init(cc); in ssb_pmu_init()
708 dev_err(cc->dev->dev, in ssb_pmu_spuravoid_pllupdate()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-crypt.c1269 u8 *ptr = iv_of_dmreq(cc, dmreq) + cc->iv_size + cc->iv_size; in org_sector_of_dmreq()
1682 struct crypt_config *cc = io->cc; in crypt_alloc_buffer() local
1769 io->cc = cc; in crypt_io_init()
1794 struct crypt_config *cc = io->cc; in crypt_dec_pending() local
2681 if (cc->key_size && hex2bin(cc->key, key, cc->key_size) < 0) in crypt_set_key()
2704 r = cc->iv_gen_ops->wipe(cc); in crypt_wipe_key()
2788 cc->iv_gen_ops->dtr(cc); in crypt_dtr()
2823 cc->iv_size = max(cc->iv_size, in crypt_ctr_ivmode()
2864 cc->key_extra_size = cc->key_size / cc->key_parts; in crypt_ctr_ivmode()
2977 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_new()
[all …]
/openbmc/linux/arch/s390/pci/
H A Dpci_insn.c23 u8 cc; member
41 .insn = insn, .cc = cc, .status = status, in zpci_err_insn_req()
51 .insn = insn, .cc = cc, .status = status, in zpci_err_insn_addr()
107 : [cc] "=d" (cc), [fn] "+d" (fn) in __rpcit()
209 return (cc > 0) ? -EIO : cc; in __zpci_load()
253 return (cc > 0) ? -EIO : cc; in zpci_load()
298 return (cc > 0) ? -EIO : cc; in __zpci_store()
341 return (cc > 0) ? -EIO : cc; in zpci_store()
356 : [cc] "+d" (cc), [req] "+d" (req) in __pcistb()
385 return (cc > 0) ? -EIO : cc; in __zpci_store_block()
[all …]
/openbmc/linux/mm/
H A Dcompaction.c538 if (cc->mode == MIGRATE_ASYNC && !cc->contended) { in compact_lock_irqsave()
1185 !cc->finish_pageblock && !cc->contended) { in isolate_migratepages_block()
1428 if (cc->nr_freepages >= cc->nr_migratepages) in fast_isolate_around()
1461 cc->search_order = cc->order - 1; in next_search_order()
1496 distance = (cc->free_pfn - cc->migrate_pfn); in fast_isolate_freepages()
1507 cc->search_order = min_t(unsigned int, cc->order - 1, cc->search_order); in fast_isolate_freepages()
1584 if (cc->nr_freepages >= cc->nr_migratepages) in fast_isolate_freepages()
1720 if (cc->nr_freepages >= cc->nr_migratepages) { in isolate_freepages()
1834 cc->migrate_pfn = cc->fast_start_pfn; in reinit_migrate_pfn()
2415 if (!compaction_suitable(cc->zone, cc->order, in compact_zone()
[all …]
/openbmc/linux/fs/f2fs/
H A Dcompress.c148 cc->rpages = page_array_alloc(cc->inode, cc->cluster_size); in f2fs_init_compress_ctx()
154 page_array_free(cc->inode, cc->rpages, cc->cluster_size); in f2fs_destroy_compress_ctx()
198 ret = lzo1x_1_compress(cc->rbuf, cc->rlen, cc->cbuf->cdata, in lzo_compress_pages()
199 &cc->clen, cc->private); in lzo_compress_pages()
275 cc->clen, cc->private); in lz4_compress_pages()
278 len = LZ4_compress_HC(cc->rbuf, cc->cbuf->cdata, cc->rlen, in lz4_compress_pages()
646 cc->cpages = page_array_alloc(cc->inode, cc->nr_cpages); in f2fs_compress_pages()
655 cc->rbuf = f2fs_vmap(cc->rpages, cc->cluster_size); in f2fs_compress_pages()
661 cc->cbuf = f2fs_vmap(cc->cpages, cc->nr_cpages); in f2fs_compress_pages()
721 page_array_free(cc->inode, cc->cpages, cc->nr_cpages); in f2fs_compress_pages()
[all …]
/openbmc/qemu/hw/core/
H A Dcpu-sysemu.c28 CPUClass *cc = CPU_GET_CLASS(cpu); in cpu_paging_enabled() local
30 if (cc->sysemu_ops->get_paging_enabled) { in cpu_paging_enabled()
40 CPUClass *cc = CPU_GET_CLASS(cpu); in cpu_get_memory_mapping() local
53 CPUClass *cc = CPU_GET_CLASS(cpu); in cpu_get_phys_page_attrs_debug() local
84 CPUClass *cc = CPU_GET_CLASS(cpu); in cpu_write_elf32_qemunote() local
95 CPUClass *cc = CPU_GET_CLASS(cpu); in cpu_write_elf32_note() local
106 CPUClass *cc = CPU_GET_CLASS(cpu); in cpu_write_elf64_qemunote() local
117 CPUClass *cc = CPU_GET_CLASS(cpu); in cpu_write_elf64_note() local
127 CPUClass *cc = CPU_GET_CLASS(cpu); in cpu_virtio_is_big_endian() local
137 CPUClass *cc = CPU_GET_CLASS(cpu); in cpu_get_crash_info() local
[all …]
/openbmc/linux/drivers/s390/cio/
H A Dtrace.h44 __field(int, cc)
63 __entry->cc = cc;
121 __field(int, cc)
135 __entry->cc = cc;
156 __field(int, cc)
166 __entry->cc = cc;
167 if (cc != 0)
208 __entry->cc = cc;
228 __entry->cc = cc;
294 __entry->cc = cc;
[all …]
/openbmc/qemu/tests/tcg/s390x/
H A Dadd-logical-with-carry.c42 unsigned long c, int *cc) in test32rm() argument
50 : [a] "+&r" (a32), [cc] "+&r" (*cc) in test32rm()
53 *cc >>= 28; in test32rm()
68 : [a] "+&r" (a32), [c] "+&r" (c32), [cc] "+&r" (*cc) in test32mr()
71 *cc >>= 28; in test32mr()
84 : [a] "+&r" (a), [cc] "+&r" (*cc) in test64rm()
87 *cc >>= 28; in test64rm()
99 : [a] "+&r" (a), [c] "+&r" (c), [cc] "+&r" (*cc) in test64mr()
102 *cc >>= 28; in test64mr()
132 int cc; in main() local
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-security/nmap/files/
H A D0001-Include-time.h-header-to-pass-clang-compilation.patch10 nping/EchoServer.cc | 1 +
15 diff --git a/nmap_error.cc b/nmap_error.cc
17 --- a/nmap_error.cc
18 +++ b/nmap_error.cc
37 diff --git a/nping/EchoServer.cc b/nping/EchoServer.cc
49 diff --git a/osscan2.cc b/osscan2.cc
51 --- a/osscan2.cc
52 +++ b/osscan2.cc
61 diff --git a/service_scan.cc b/service_scan.cc
63 --- a/service_scan.cc
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Drmwcc.h13 #define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \ argument
16 asm goto (fullop "; j" #cc " %l[cc_label]" \
32 asm volatile (fullop CC_SET(cc) \
33 : [var] "+m" (_var), CC_OUT(cc) (c) \
40 #define GEN_UNARY_RMWcc_4(op, var, cc, arg0) \ argument
41 __GEN_RMWcc(op " " arg0, var, cc, __CLOBBERS_MEM())
43 #define GEN_UNARY_RMWcc_3(op, var, cc) \ argument
44 GEN_UNARY_RMWcc_4(op, var, cc, "%[var]")
49 __GEN_RMWcc(op " %[val], " arg0, var, cc, \
53 GEN_BINARY_RMWcc_6(op, var, cc, vcon, val, "%[var]")
[all …]
/openbmc/linux/kernel/time/
H A Dtimecounter.c9 const struct cyclecounter *cc, in timecounter_init() argument
12 tc->cc = cc; in timecounter_init()
13 tc->cycle_last = cc->read(cc); in timecounter_init()
15 tc->mask = (1ULL << cc->shift) - 1; in timecounter_init()
37 cycle_now = tc->cc->read(tc->cc); in timecounter_read_delta()
40 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc->mask; in timecounter_read_delta()
43 ns_offset = cyclecounter_cyc2ns(tc->cc, cycle_delta, in timecounter_read_delta()
74 ns = ((ns * cc->mult) - frac) >> cc->shift; in cc_cyc2ns_backwards()
82 u64 delta = (cycle_tstamp - tc->cycle_last) & tc->cc->mask; in timecounter_cyc2time()
90 if (delta > tc->cc->mask / 2) { in timecounter_cyc2time()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dops_bcm4706.c67 if (bcma_cc_read32(cc, BCMA_CC_NFLASH_CTL) & in bcm47xxnflash_ops_bcm4706_poll()
116 if (bcm47xxnflash_ops_bcm4706_poll(b47n->cc)) in bcm47xxnflash_ops_bcm4706_read()
124 if (bcm47xxnflash_ops_bcm4706_ctl_cmd(b47n->cc, in bcm47xxnflash_ops_bcm4706_read()
140 struct bcma_drv_cc *cc = b47n->cc; in bcm47xxnflash_ops_bcm4706_write() local
215 struct bcma_drv_cc *cc = b47n->cc; in bcm47xxnflash_ops_bcm4706_cmdfunc() local
271 bcma_cc_write32(cc, BCMA_CC_NFLASH_ROW_ADDR, in bcm47xxnflash_ops_bcm4706_cmdfunc()
282 bcma_cc_write32(cc, BCMA_CC_NFLASH_COL_ADDR, in bcm47xxnflash_ops_bcm4706_cmdfunc()
284 bcma_cc_write32(cc, BCMA_CC_NFLASH_ROW_ADDR, in bcm47xxnflash_ops_bcm4706_cmdfunc()
297 if (bcm47xxnflash_ops_bcm4706_poll(cc)) in bcm47xxnflash_ops_bcm4706_cmdfunc()
311 struct bcma_drv_cc *cc = b47n->cc; in bcm47xxnflash_ops_bcm4706_read_byte() local
[all …]
/openbmc/linux/drivers/clk/sprd/
H A Dcomposite.c15 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_determine_rate() local
17 return divider_determine_rate(hw, req, NULL, cc->div.width, 0); in sprd_comp_determine_rate()
23 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_recalc_rate() local
25 return sprd_div_helper_recalc_rate(&cc->common, &cc->div, parent_rate); in sprd_comp_recalc_rate()
31 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_set_rate() local
33 return sprd_div_helper_set_rate(&cc->common, &cc->div, in sprd_comp_set_rate()
39 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_get_parent() local
41 return sprd_mux_helper_get_parent(&cc->common, &cc->mux); in sprd_comp_get_parent()
46 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_set_parent() local
48 return sprd_mux_helper_set_parent(&cc->common, &cc->mux, index); in sprd_comp_set_parent()
/openbmc/linux/sound/core/
H A Dump_convert.c293 if (cc->rpn_set) { in fill_rpn()
297 cc->rpn_set = 0; in fill_rpn()
298 cc->cc_rpn_msb = cc->cc_rpn_lsb = 0; in fill_rpn()
303 cc->nrpn_set = 0; in fill_rpn()
304 cc->cc_nrpn_msb = cc->cc_nrpn_lsb = 0; in fill_rpn()
308 cc->cc_data_msb = cc->cc_data_lsb = 0; in fill_rpn()
361 cc->rpn_set = 1; in cvt_legacy_cmd_to_ump()
365 cc->rpn_set = 1; in cvt_legacy_cmd_to_ump()
369 cc->nrpn_set = 1; in cvt_legacy_cmd_to_ump()
389 if (cc->rpn_set || cc->nrpn_set) in cvt_legacy_cmd_to_ump()
[all …]
/openbmc/linux/scripts/
H A DMakefile.extrawarn18 KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
55 KBUILD_CFLAGS += $(call cc-option, -Wcast-function-type)
81 KBUILD_CFLAGS += $(call cc-option,-Wenum-conversion)
99 KBUILD_CFLAGS += $(call cc-option, -Wrestrict)
106 KBUILD_CFLAGS += $(call cc-option, -Wpacked-not-aligned)
107 KBUILD_CFLAGS += $(call cc-option, -Wformat-overflow)
108 KBUILD_CFLAGS += $(call cc-option, -Wformat-truncation)
109 KBUILD_CFLAGS += $(call cc-option, -Wstringop-overflow)
121 KBUILD_CFLAGS += $(call cc-disable-warning, restrict)
159 KBUILD_CFLAGS += $(call cc-option, -Wlogical-op)
[all …]
/openbmc/linux/arch/s390/include/asm/
H A Dcpu_mf.h184 int cc; in lcctl() local
191 return cc; in lcctl()
198 int cc; in __ecctr() local
206 return cc; in __ecctr()
213 int cc; in ecctr() local
216 if (!cc) in ecctr()
218 return cc; in ecctr()
233 int cc; in stcctm() local
242 return cc; in stcctm()
262 int cc; in lsctl() local
[all …]
/openbmc/linux/arch/m68k/
H A DMakefile19 CROSS_COMPILE := $(call cc-cross-prefix, \
42 cpuflags-$(CONFIG_M54xx) = $(call cc-option,-mcpu=5475,-m5200)
43 cpuflags-$(CONFIG_M5407) = $(call cc-option,-mcpu=5407,-m5200)
44 cpuflags-$(CONFIG_M532x) = $(call cc-option,-mcpu=532x,-m5307)
45 cpuflags-$(CONFIG_M537x) = $(call cc-option,-mcpu=537x,-m5307)
46 cpuflags-$(CONFIG_M5307) = $(call cc-option,-mcpu=5307,-m5200)
47 cpuflags-$(CONFIG_M528x) = $(call cc-option,-mcpu=528x,-m5307)
48 cpuflags-$(CONFIG_M5275) = $(call cc-option,-mcpu=5275,-m5307)
49 cpuflags-$(CONFIG_M5272) = $(call cc-option,-mcpu=5272,-m5307)
50 cpuflags-$(CONFIG_M5271) = $(call cc-option,-mcpu=5271,-m5307)
[all …]
/openbmc/qemu/backends/
H A Dcryptodev-vhost.c61 crypto->cc = options->cc; in cryptodev_vhost_init()
124 if (!cc) { in cryptodev_get_vhost()
128 switch (cc->type) { in cryptodev_get_vhost()
157 cc->vring_enable = enable; in vhost_set_vring_enable()
181 CryptoDevBackendClient *cc; in cryptodev_vhost_start() local
189 cc = b->conf.peers.ccs[i]; in cryptodev_vhost_start()
219 if (cc->vring_enable) { in cryptodev_vhost_start()
221 r = vhost_set_vring_enable(cc, b, i, cc->vring_enable); in cryptodev_vhost_start()
253 CryptoDevBackendClient *cc; in cryptodev_vhost_stop() local
278 CryptoDevBackendClient *cc; in cryptodev_vhost_virtqueue_mask() local
[all …]
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6dsp-lpass-clocks.c113 struct q6dsp_cc *cc = data; in q6dsp_of_clk_hw_get() local
122 if (cc->clks[idx]) { in q6dsp_of_clk_hw_get()
123 cc->clks[idx]->attributes = attr; in q6dsp_of_clk_hw_get()
124 return &cc->clks[idx]->hw; in q6dsp_of_clk_hw_get()
132 struct q6dsp_cc *cc; in q6dsp_clock_dev_probe() local
138 cc = devm_kzalloc(dev, sizeof(*cc), GFP_KERNEL); in q6dsp_clock_dev_probe()
139 if (!cc) in q6dsp_clock_dev_probe()
146 cc->desc = desc; in q6dsp_clock_dev_probe()
147 cc->dev = dev; in q6dsp_clock_dev_probe()
171 cc->clks[id] = clk; in q6dsp_clock_dev_probe()
[all …]

12345678910>>...47