Home
last modified time | relevance | path

Searched refs:cc (Results 1 – 200 of 287) sorted by relevance

12

/linux-4.1.27/drivers/bcma/
Ddriver_chipcommon.c18 static inline u32 bcma_cc_write32_masked(struct bcma_drv_cc *cc, u16 offset, in bcma_cc_write32_masked() argument
22 value |= bcma_cc_read32(cc, offset) & ~mask; in bcma_cc_write32_masked()
23 bcma_cc_write32(cc, offset, value); in bcma_cc_write32_masked()
28 u32 bcma_chipco_get_alp_clock(struct bcma_drv_cc *cc) in bcma_chipco_get_alp_clock() argument
30 if (cc->capabilities & BCMA_CC_CAP_PMU) in bcma_chipco_get_alp_clock()
31 return bcma_pmu_get_alp_clock(cc); in bcma_chipco_get_alp_clock()
37 static u32 bcma_chipco_watchdog_get_max_timer(struct bcma_drv_cc *cc) in bcma_chipco_watchdog_get_max_timer() argument
39 struct bcma_bus *bus = cc->core->bus; in bcma_chipco_watchdog_get_max_timer()
42 if (cc->capabilities & BCMA_CC_CAP_PMU) { in bcma_chipco_watchdog_get_max_timer()
45 else if (cc->core->id.rev < 26) in bcma_chipco_watchdog_get_max_timer()
[all …]
Ddriver_chipcommon_pmu.c16 u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset) in bcma_chipco_pll_read() argument
18 bcma_cc_write32(cc, BCMA_CC_PLLCTL_ADDR, offset); in bcma_chipco_pll_read()
19 bcma_cc_read32(cc, BCMA_CC_PLLCTL_ADDR); in bcma_chipco_pll_read()
20 return bcma_cc_read32(cc, BCMA_CC_PLLCTL_DATA); in bcma_chipco_pll_read()
24 void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset, u32 value) in bcma_chipco_pll_write() argument
26 bcma_cc_write32(cc, BCMA_CC_PLLCTL_ADDR, offset); in bcma_chipco_pll_write()
27 bcma_cc_read32(cc, BCMA_CC_PLLCTL_ADDR); in bcma_chipco_pll_write()
28 bcma_cc_write32(cc, BCMA_CC_PLLCTL_DATA, value); in bcma_chipco_pll_write()
32 void bcma_chipco_pll_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, in bcma_chipco_pll_maskset() argument
35 bcma_cc_write32(cc, BCMA_CC_PLLCTL_ADDR, offset); in bcma_chipco_pll_maskset()
[all …]
Ddriver_gpio.c29 struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip); in bcma_gpio_get_value() local
31 return !!bcma_chipco_gpio_in(cc, 1 << gpio); in bcma_gpio_get_value()
37 struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip); in bcma_gpio_set_value() local
39 bcma_chipco_gpio_out(cc, 1 << gpio, value ? 1 << gpio : 0); in bcma_gpio_set_value()
44 struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip); in bcma_gpio_direction_input() local
46 bcma_chipco_gpio_outen(cc, 1 << gpio, 0); in bcma_gpio_direction_input()
53 struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip); in bcma_gpio_direction_output() local
55 bcma_chipco_gpio_outen(cc, 1 << gpio, 1 << gpio); in bcma_gpio_direction_output()
56 bcma_chipco_gpio_out(cc, 1 << gpio, value ? 1 << gpio : 0); in bcma_gpio_direction_output()
62 struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip); in bcma_gpio_request() local
[all …]
Ddriver_chipcommon_sflash.c73 static void bcma_sflash_cmd(struct bcma_drv_cc *cc, u32 opcode) in bcma_sflash_cmd() argument
76 bcma_cc_write32(cc, BCMA_CC_FLASHCTL, in bcma_sflash_cmd()
79 if (!(bcma_cc_read32(cc, BCMA_CC_FLASHCTL) & in bcma_sflash_cmd()
84 bcma_err(cc->core->bus, "SFLASH control command failed (timeout)!\n"); in bcma_sflash_cmd()
88 int bcma_sflash_init(struct bcma_drv_cc *cc) in bcma_sflash_init() argument
90 struct bcma_bus *bus = cc->core->bus; in bcma_sflash_init()
91 struct bcma_sflash *sflash = &cc->sflash; in bcma_sflash_init()
95 switch (cc->capabilities & BCMA_CC_CAP_FLASHT) { in bcma_sflash_init()
97 bcma_sflash_cmd(cc, BCMA_CC_FLASHCTL_ST_DP); in bcma_sflash_init()
99 bcma_cc_write32(cc, BCMA_CC_FLASHADDR, 0); in bcma_sflash_init()
[all …]
Dbcma_private.h46 void bcma_core_chipcommon_early_init(struct bcma_drv_cc *cc);
47 void bcma_core_chipcommon_init(struct bcma_drv_cc *cc);
48 void bcma_chipco_bcm4331_ext_pa_lines_ctl(struct bcma_drv_cc *cc, bool enable);
50 void bcma_chipco_serial_init(struct bcma_drv_cc *cc);
59 void bcma_pmu_early_init(struct bcma_drv_cc *cc);
60 void bcma_pmu_init(struct bcma_drv_cc *cc);
61 u32 bcma_pmu_get_alp_clock(struct bcma_drv_cc *cc);
62 u32 bcma_pmu_get_cpu_clock(struct bcma_drv_cc *cc);
66 int bcma_sflash_init(struct bcma_drv_cc *cc);
69 static inline int bcma_sflash_init(struct bcma_drv_cc *cc) in bcma_sflash_init() argument
[all …]
Ddriver_chipcommon_nflash.c19 int bcma_nflash_init(struct bcma_drv_cc *cc) in bcma_nflash_init() argument
21 struct bcma_bus *bus = cc->core->bus; in bcma_nflash_init()
24 cc->core->id.rev != 38) { in bcma_nflash_init()
29 if (!(cc->capabilities & BCMA_CC_CAP_NFLASH)) { in bcma_nflash_init()
34 cc->nflash.present = true; in bcma_nflash_init()
35 if (cc->core->id.rev == 38 && in bcma_nflash_init()
36 (cc->status & BCMA_CC_CHIPST_5357_NAND_BOOT)) in bcma_nflash_init()
37 cc->nflash.boot = true; in bcma_nflash_init()
41 bcma_nflash_dev.dev.platform_data = &cc->nflash; in bcma_nflash_init()
Ddriver_mips.c238 struct bcma_drv_cc *cc = &bus->drv_cc; in bcma_boot_dev() local
239 u8 cc_rev = cc->core->id.rev; in bcma_boot_dev()
259 if (cc->status & BCMA_CC_CHIPST_5357_NAND_BOOT) in bcma_boot_dev()
261 else if (cc->status & BIT(5)) in bcma_boot_dev()
265 if ((cc->capabilities & BCMA_CC_CAP_FLASHT) == in bcma_boot_dev()
278 struct bcma_drv_cc *cc = &bus->drv_cc; in bcma_core_mips_flash_detect() local
279 struct bcma_pflash *pflash = &cc->pflash; in bcma_core_mips_flash_detect()
282 switch (cc->capabilities & BCMA_CC_CAP_FLASHT) { in bcma_core_mips_flash_detect()
286 bcma_sflash_init(cc); in bcma_core_mips_flash_detect()
294 if ((bcma_read32(cc->core, BCMA_CC_FLASH_CFG) & in bcma_core_mips_flash_detect()
[all …]
/linux-4.1.27/drivers/ssb/
Ddriver_chipcommon.c32 static inline u32 chipco_write32_masked(struct ssb_chipcommon *cc, u16 offset, in chipco_write32_masked() argument
36 value |= chipco_read32(cc, offset) & ~mask; in chipco_write32_masked()
37 chipco_write32(cc, offset, value); in chipco_write32_masked()
42 void ssb_chipco_set_clockmode(struct ssb_chipcommon *cc, in ssb_chipco_set_clockmode() argument
45 struct ssb_device *ccdev = cc->dev; in ssb_chipco_set_clockmode()
57 if (cc->capabilities & SSB_CHIPCO_CAP_PMU) in ssb_chipco_set_clockmode()
69 if (!(cc->capabilities & SSB_CHIPCO_CAP_PCTL)) in ssb_chipco_set_clockmode()
74 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); in ssb_chipco_set_clockmode()
76 chipco_write32(cc, SSB_CHIPCO_SLOWCLKCTL, tmp); in ssb_chipco_set_clockmode()
81 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); in ssb_chipco_set_clockmode()
[all …]
Ddriver_chipcommon_pmu.c22 static u32 ssb_chipco_pll_read(struct ssb_chipcommon *cc, u32 offset) in ssb_chipco_pll_read() argument
24 chipco_write32(cc, SSB_CHIPCO_PLLCTL_ADDR, offset); in ssb_chipco_pll_read()
25 return chipco_read32(cc, SSB_CHIPCO_PLLCTL_DATA); in ssb_chipco_pll_read()
28 static void ssb_chipco_pll_write(struct ssb_chipcommon *cc, in ssb_chipco_pll_write() argument
31 chipco_write32(cc, SSB_CHIPCO_PLLCTL_ADDR, offset); in ssb_chipco_pll_write()
32 chipco_write32(cc, SSB_CHIPCO_PLLCTL_DATA, value); in ssb_chipco_pll_write()
35 static void ssb_chipco_regctl_maskset(struct ssb_chipcommon *cc, in ssb_chipco_regctl_maskset() argument
40 chipco_read32(cc, SSB_CHIPCO_REGCTL_ADDR); in ssb_chipco_regctl_maskset()
41 chipco_write32(cc, SSB_CHIPCO_REGCTL_ADDR, offset); in ssb_chipco_regctl_maskset()
42 chipco_read32(cc, SSB_CHIPCO_REGCTL_ADDR); in ssb_chipco_regctl_maskset()
[all …]
Ddriver_chipcommon_sflash.c72 static void ssb_sflash_cmd(struct ssb_chipcommon *cc, u32 opcode) in ssb_sflash_cmd() argument
75 chipco_write32(cc, SSB_CHIPCO_FLASHCTL, in ssb_sflash_cmd()
78 if (!(chipco_read32(cc, SSB_CHIPCO_FLASHCTL) & in ssb_sflash_cmd()
87 int ssb_sflash_init(struct ssb_chipcommon *cc) in ssb_sflash_init() argument
89 struct ssb_sflash *sflash = &cc->dev->bus->mipscore.sflash; in ssb_sflash_init()
93 switch (cc->capabilities & SSB_CHIPCO_CAP_FLASHT) { in ssb_sflash_init()
95 ssb_sflash_cmd(cc, SSB_CHIPCO_FLASHCTL_ST_DP); in ssb_sflash_init()
97 chipco_write32(cc, SSB_CHIPCO_FLASHADDR, 0); in ssb_sflash_init()
98 ssb_sflash_cmd(cc, SSB_CHIPCO_FLASHCTL_ST_RES); in ssb_sflash_init()
99 id = chipco_read32(cc, SSB_CHIPCO_FLASHDATA); in ssb_sflash_init()
[all …]
Dssb_private.h223 extern u32 ssb_pmu_get_cpu_clock(struct ssb_chipcommon *cc);
224 extern u32 ssb_pmu_get_controlclock(struct ssb_chipcommon *cc);
225 extern u32 ssb_pmu_get_alp_clock(struct ssb_chipcommon *cc);
233 int ssb_sflash_init(struct ssb_chipcommon *cc);
235 static inline int ssb_sflash_init(struct ssb_chipcommon *cc) in ssb_sflash_init() argument
Dscan.c276 u32 idhi, cc, rev, tmp; in ssb_bus_scan() local
291 cc = (idhi & SSB_IDHIGH_CC) >> SSB_IDHIGH_CC_SHIFT; in ssb_bus_scan()
296 if (cc == SSB_DEV_CHIPCOMMON) { in ssb_bus_scan()
/linux-4.1.27/arch/s390/pci/
Dpci_insn.c18 u8 cc; in __mpcifc() local
24 : [cc] "=d" (cc), [req] "+d" (req), [fib] "+Q" (*fib) in __mpcifc()
27 return cc; in __mpcifc()
32 u8 cc, status; in zpci_mod_fc() local
35 cc = __mpcifc(req, fib, &status); in zpci_mod_fc()
36 if (cc == 2) in zpci_mod_fc()
38 } while (cc == 2); in zpci_mod_fc()
40 if (cc) in zpci_mod_fc()
42 __func__, cc, status); in zpci_mod_fc()
43 return (cc) ? -EIO : 0; in zpci_mod_fc()
[all …]
Dpci_clp.c37 u8 cc; in clp_instr() local
43 : [cc] "=d" (cc), [ign] "=d" (ignored), "+m" (*req) in clp_instr()
46 return cc; in clp_instr()
/linux-4.1.27/drivers/md/
Ddm-crypt.c54 struct crypt_config *cc; member
77 int (*ctr)(struct crypt_config *cc, struct dm_target *ti,
79 void (*dtr)(struct crypt_config *cc);
80 int (*init)(struct crypt_config *cc);
81 int (*wipe)(struct crypt_config *cc);
82 int (*generator)(struct crypt_config *cc, u8 *iv,
84 int (*post)(struct crypt_config *cc, u8 *iv,
186 static u8 *iv_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq);
191 static struct crypto_ablkcipher *any_tfm(struct crypt_config *cc) in any_tfm() argument
193 return cc->tfms[0]; in any_tfm()
[all …]
/linux-4.1.27/mm/
Dcompaction.c201 static inline bool isolation_suitable(struct compact_control *cc, in isolation_suitable() argument
204 if (cc->ignore_skip_hint) in isolation_suitable()
262 static void update_pageblock_skip(struct compact_control *cc, in update_pageblock_skip() argument
266 struct zone *zone = cc->zone; in update_pageblock_skip()
269 if (cc->ignore_skip_hint) in update_pageblock_skip()
286 if (cc->mode != MIGRATE_ASYNC && in update_pageblock_skip()
295 static inline bool isolation_suitable(struct compact_control *cc, in isolation_suitable() argument
301 static void update_pageblock_skip(struct compact_control *cc, in update_pageblock_skip() argument
317 struct compact_control *cc) in compact_trylock_irqsave() argument
319 if (cc->mode == MIGRATE_ASYNC) { in compact_trylock_irqsave()
[all …]
Dzsmalloc.c1618 struct zs_compact_control *cc) in migrate_zspage() argument
1622 struct page *s_page = cc->s_page; in migrate_zspage()
1623 struct page *d_page = cc->d_page; in migrate_zspage()
1624 unsigned long index = cc->index; in migrate_zspage()
1663 cc->s_page = s_page; in migrate_zspage()
1664 cc->index = index; in migrate_zspage()
1665 cc->nr_migrated = nr_migrated; in migrate_zspage()
1722 struct zs_compact_control cc; in __zs_compact() local
1734 cc.index = 0; in __zs_compact()
1735 cc.s_page = src_page; in __zs_compact()
[all …]
Dinternal.h199 isolate_freepages_range(struct compact_control *cc,
202 isolate_migratepages_range(struct compact_control *cc,
/linux-4.1.27/kernel/time/
Dtimecounter.c22 const struct cyclecounter *cc, in timecounter_init() argument
25 tc->cc = cc; in timecounter_init()
26 tc->cycle_last = cc->read(cc); in timecounter_init()
28 tc->mask = (1ULL << cc->shift) - 1; in timecounter_init()
50 cycle_now = tc->cc->read(tc->cc); in timecounter_read_delta()
53 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc->mask; in timecounter_read_delta()
56 ns_offset = cyclecounter_cyc2ns(tc->cc, cycle_delta, in timecounter_read_delta()
82 static u64 cc_cyc2ns_backwards(const struct cyclecounter *cc, in cc_cyc2ns_backwards() argument
87 ns = ((ns * cc->mult) - frac) >> cc->shift; in cc_cyc2ns_backwards()
95 u64 delta = (cycle_tstamp - tc->cycle_last) & tc->cc->mask; in timecounter_cyc2time()
[all …]
/linux-4.1.27/drivers/mtd/nand/bcm47xxnflash/
Dops_bcm4706.c47 static int bcm47xxnflash_ops_bcm4706_ctl_cmd(struct bcma_drv_cc *cc, u32 code) in bcm47xxnflash_ops_bcm4706_ctl_cmd() argument
51 bcma_cc_write32(cc, BCMA_CC_NFLASH_CTL, NCTL_START | code); in bcm47xxnflash_ops_bcm4706_ctl_cmd()
53 if (!(bcma_cc_read32(cc, BCMA_CC_NFLASH_CTL) & NCTL_START)) { in bcm47xxnflash_ops_bcm4706_ctl_cmd()
65 static int bcm47xxnflash_ops_bcm4706_poll(struct bcma_drv_cc *cc) in bcm47xxnflash_ops_bcm4706_poll() argument
70 if (bcma_cc_read32(cc, BCMA_CC_NFLASH_CTL) & NCTL_READY) { in bcm47xxnflash_ops_bcm4706_poll()
71 if (bcma_cc_read32(cc, BCMA_CC_NFLASH_CTL) & in bcm47xxnflash_ops_bcm4706_poll()
109 bcma_cc_write32(b47n->cc, BCMA_CC_NFLASH_COL_ADDR, in bcm47xxnflash_ops_bcm4706_read()
111 bcma_cc_write32(b47n->cc, BCMA_CC_NFLASH_ROW_ADDR, in bcm47xxnflash_ops_bcm4706_read()
118 if (bcm47xxnflash_ops_bcm4706_ctl_cmd(b47n->cc, ctlcode)) in bcm47xxnflash_ops_bcm4706_read()
120 if (bcm47xxnflash_ops_bcm4706_poll(b47n->cc)) in bcm47xxnflash_ops_bcm4706_read()
[all …]
Dmain.c39 b47n->cc = container_of(nflash, struct bcma_drv_cc, nflash); in bcm47xxnflash_probe()
41 if (b47n->cc->core->bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) { in bcm47xxnflash_probe()
Dbcm47xxnflash.h12 struct bcma_drv_cc *cc; member
/linux-4.1.27/arch/m68k/
DMakefile21 CROSS_COMPILE := $(call cc-cross-prefix, \
44 cpuflags-$(CONFIG_M5441x) := $(call cc-option,-mcpu=54455,-mcfv4e)
45 cpuflags-$(CONFIG_M54xx) := $(call cc-option,-mcpu=5475,-m5200)
46 cpuflags-$(CONFIG_M5407) := $(call cc-option,-mcpu=5407,-m5200)
47 cpuflags-$(CONFIG_M532x) := $(call cc-option,-mcpu=532x,-m5307)
48 cpuflags-$(CONFIG_M537x) := $(call cc-option,-mcpu=537x,-m5307)
49 cpuflags-$(CONFIG_M5307) := $(call cc-option,-mcpu=5307,-m5200)
50 cpuflags-$(CONFIG_M528x) := $(call cc-option,-mcpu=528x,-m5307)
51 cpuflags-$(CONFIG_M5275) := $(call cc-option,-mcpu=5275,-m5307)
52 cpuflags-$(CONFIG_M5272) := $(call cc-option,-mcpu=5272,-m5307)
[all …]
/linux-4.1.27/crypto/
Drmd256.c52 u32 aa, bb, cc, dd, aaa, bbb, ccc, ddd, tmp; 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 …]
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 …]
Drmd320.c56 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee, tmp; 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 …]
Dtgr192.c468 u64 a, b, c, aa, bb, cc; in tgr192_transform() local
479 c = cc = tctx->c; in tgr192_transform()
491 c += cc; in tgr192_transform()
/linux-4.1.27/arch/x86/include/asm/
Drmwcc.h6 #define __GEN_RMWcc(fullop, var, cc, ...) \ argument
8 asm_volatile_goto (fullop "; j" cc " %l[cc_label]" \
16 #define GEN_UNARY_RMWcc(op, var, arg0, cc) \ argument
17 __GEN_RMWcc(op " " arg0, var, cc)
19 #define GEN_BINARY_RMWcc(op, var, vcon, val, arg0, cc) \ argument
20 __GEN_RMWcc(op " %1, " arg0, var, cc, vcon (val))
24 #define __GEN_RMWcc(fullop, var, cc, ...) \ argument
27 asm volatile (fullop "; set" cc " %1" \
33 #define GEN_UNARY_RMWcc(op, var, arg0, cc) \ argument
34 __GEN_RMWcc(op " " arg0, var, cc)
[all …]
/linux-4.1.27/fs/fuse/
Dcuse.c114 struct cuse_conn *cc = NULL, *pos; in cuse_open() local
122 cc = pos; in cuse_open()
128 if (!cc) in cuse_open()
135 rc = fuse_do_open(&cc->fc, 0, file, 0); in cuse_open()
137 fuse_conn_put(&cc->fc); in cuse_open()
156 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_ioctl() local
159 if (cc->unrestricted_ioctl) in cuse_file_ioctl()
169 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_compat_ioctl() local
172 if (cc->unrestricted_ioctl) in cuse_file_compat_ioctl()
309 struct cuse_conn *cc = fc_to_cc(fc), *pos; in cuse_process_init_reply() local
[all …]
/linux-4.1.27/scripts/
DMakefile.extrawarn23 warning-1 += $(call cc-option, -Wmissing-prototypes)
25 warning-1 += $(call cc-option, -Wmissing-include-dirs)
26 warning-1 += $(call cc-option, -Wunused-but-set-variable)
27 warning-1 += $(call cc-option, -Wunused-const-variable)
28 warning-1 += $(call cc-disable-warning, missing-field-initializers)
35 warning-2 += $(call cc-option, -Wlogical-op)
36 warning-2 += $(call cc-option, -Wmissing-field-initializers)
46 warning-3 += $(call cc-option, -Wpacked-bitfield-compat)
47 warning-3 += $(call cc-option, -Wvla)
61 KBUILD_CFLAGS += $(call cc-disable-warning, initializer-overrides)
[all …]
Drecordmcount.pl122 my ($arch, $endian, $bits, $objdump, $objcopy, $cc,
144 $cc = 'gcc' if (!$cc);
232 $cc .= " -m64";
242 $cc .= " -m32";
245 if ($cc =~ /-DCC_USING_HOTPATCH/) {
255 $cc .= " -m64";
290 $cc .= " -mconstant-gp";
310 $cc .= " -m64";
356 $cc .= " -mno-abicalls -fno-pic -mabi=" . $bits . $endian;
552 `$cc -o $mcount_o -c $mcount_s`;
DKbuild.include71 # cc-cross-prefix
72 # Usage: CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
75 cc-cross-prefix = \
110 # cc-option
111 # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
113 cc-option = $(call try-run,\
116 # cc-option-yn
117 # Usage: flag := $(call cc-option-yn,-march=winchip-c6)
118 cc-option-yn = $(call try-run,\
121 # cc-option-align
[all …]
DMakefile.kasan10 CFLAGS_KASAN := $(call cc-option, -fsanitize=kernel-address \
15 ifeq ($(call cc-option, $(CFLAGS_KASAN_MINIMAL) -Werror),)
/linux-4.1.27/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.1.27/arch/s390/include/asm/
Dcpu_mf.h166 int cc; in lcctl() local
172 : "=d" (cc) : "m" (ctl) : "cc"); in lcctl()
173 return cc; in lcctl()
180 int cc; in ecctr() local
186 : "=d" (content), "=d" (cc) : "d" (ctr) : "cc"); in ecctr()
187 if (!cc) in ecctr()
189 return cc; in ecctr()
196 int cc; in stcctm5() local
202 : "=d" (cc), "=Q" (*(addrtype *) val) : "d" (num) : "cc"); in stcctm5()
203 return cc; in stcctm5()
[all …]
Dtimex.h20 int cc; in set_tod_clock() local
26 : "=d" (cc) : "Q" (time) : "cc"); in set_tod_clock()
27 return cc; in set_tod_clock()
32 int cc; in store_tod_clock() local
38 : "=d" (cc), "=Q" (*time) : : "cc"); in store_tod_clock()
39 return cc; in store_tod_clock()
Dsigp.h43 int cc; in __pcpu_sigp() local
49 : "=d" (cc), "+d" (reg1) : "d" (addr), "a" (order) : "cc"); in __pcpu_sigp()
50 if (status && cc == 1) in __pcpu_sigp()
52 return cc; in __pcpu_sigp()
Dscsw.h42 __u32 cc : 2; member
84 u32 cc:2; member
119 u32 cc:2; member
265 return scsw->tm.cc; in scsw_cc()
267 return scsw->cmd.cc; in scsw_cc()
576 (scsw->cmd.cc != 3); in scsw_cmd_is_valid_dstat()
589 (scsw->cmd.cc != 3); in scsw_cmd_is_valid_cstat()
744 (scsw->tm.cc != 3); in scsw_tm_is_valid_dstat()
757 (scsw->tm.cc != 3); in scsw_tm_is_valid_cstat()
956 return (scsw->cmd.cc != 0) || (scsw->cmd.stctl != in scsw_cmd_is_solicited()
[all …]
Dcmpxchg.h43 int cc; \
48 : [cc] "=d" (cc), [old] "+d" (__old1), "+d" (__old2) \
52 !cc; \
Dpci_io.h93 int cc; in zpci_read_single() local
95 cc = zpci_load(&data, req, offset); in zpci_read_single()
96 if (cc) in zpci_read_single()
114 return cc; in zpci_read_single()
Dnmi.h57 __u32 cc : 1; /* 47 clock comparator validity */ member
Dptrace.h38 unsigned long long cc : 2; /* Condition Code */ member
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
Daiutils.c444 ai_buscore_setup(struct si_info *sii, struct bcma_device *cc) in ai_buscore_setup() argument
447 if (cc->bus->nr_cores == 0) in ai_buscore_setup()
451 sii->pub.ccrev = cc->id.rev; in ai_buscore_setup()
454 sii->chipst = bcma_read32(cc, CHIPCREGOFFS(chipstatus)); in ai_buscore_setup()
457 sii->pub.cccaps = bcma_read32(cc, CHIPCREGOFFS(capabilities)); in ai_buscore_setup()
461 sii->pub.pmucaps = bcma_read32(cc, in ai_buscore_setup()
473 struct bcma_device *cc; in ai_doattach() local
479 cc = pbus->drv_cc.core; in ai_doattach()
487 if (!ai_buscore_setup(sii, cc)) in ai_doattach()
491 bcma_write32(cc, CHIPCREGOFFS(gpiopullup), 0); in ai_doattach()
[all …]
/linux-4.1.27/include/linux/bcma/
Dbcma_driver_chipcommon.h654 #define bcma_cc_read32(cc, offset) \ argument
655 bcma_read32((cc)->core, offset)
656 #define bcma_cc_write32(cc, offset, val) \ argument
657 bcma_write32((cc)->core, offset, val)
659 #define bcma_cc_mask32(cc, offset, mask) \ argument
660 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) & (mask))
661 #define bcma_cc_set32(cc, offset, set) \ argument
662 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) | (set))
663 #define bcma_cc_maskset32(cc, offset, mask, set) \ argument
664 bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set))
[all …]
Dbcma.h402 static inline void bcma_mask32(struct bcma_device *cc, u16 offset, u32 mask) in bcma_mask32() argument
404 bcma_write32(cc, offset, bcma_read32(cc, offset) & mask); in bcma_mask32()
406 static inline void bcma_set32(struct bcma_device *cc, u16 offset, u32 set) in bcma_set32() argument
408 bcma_write32(cc, offset, bcma_read32(cc, offset) | set); in bcma_set32()
410 static inline void bcma_maskset32(struct bcma_device *cc, in bcma_maskset32() argument
413 bcma_write32(cc, offset, (bcma_read32(cc, offset) & mask) | set); in bcma_maskset32()
415 static inline void bcma_mask16(struct bcma_device *cc, u16 offset, u16 mask) in bcma_mask16() argument
417 bcma_write16(cc, offset, bcma_read16(cc, offset) & mask); in bcma_mask16()
419 static inline void bcma_set16(struct bcma_device *cc, u16 offset, u16 set) in bcma_set16() argument
421 bcma_write16(cc, offset, bcma_read16(cc, offset) | set); in bcma_set16()
[all …]
/linux-4.1.27/arch/m68k/ifpsp060/src/
Ditest.S174 mov.w &0x0000,%cc
179 mov.w %cc,SCCR(%a6)
198 mov.w &0x0000,%cc
203 mov.w %cc,SCCR(%a6)
221 mov.w &0x0000,%cc
226 mov.w %cc,SCCR(%a6)
244 mov.w &0x0000,%cc
249 mov.w %cc,SCCR(%a6)
268 mov.w &0x0000,%cc
273 mov.w %cc,SCCR(%a6)
[all …]
Dftest.S252 mov.w &0x0000,%cc
256 mov.w %cc,SCCR(%a6)
292 mov.w &0x0000,%cc
296 mov.w %cc,SCCR(%a6)
329 mov.w &0x0000,%cc
333 mov.w %cc,SCCR(%a6)
369 mov.w &0x0000,%cc
373 mov.w %cc,SCCR(%a6)
405 mov.w &0x0000,%cc
409 mov.w %cc,SCCR(%a6)
[all …]
Dilsp.S115 mov.w %cc,DIV64_CC(%a6)
130 mov.w %cc,DIV64_CC(%a6)
159 mov.w &0x0, %cc # clear 'X' cc bit
517 mov.w %cc,MUL64_CC(%a6) # save incoming ccodes
586 mov.w %d4,%cc
612 mov.w %d4,%cc # set 'Z' ccode bit
628 mov.w %cc,MUL64_CC(%a6) # save incoming ccodes
/linux-4.1.27/arch/x86/
DMakefile21 M16_CFLAGS := $(call cc-option, -m16, $(CODE16GCC_CFLAGS))
28 $(call cc-option, -ffreestanding) \
29 $(call cc-option, -fno-stack-protector) \
30 $(call cc-option, -mpreferred-stack-boundary=2)
47 biarch := $(call cc-option,-m32)
58 KBUILD_CFLAGS += $(call cc-option,-mpreferred-stack-boundary=2)
62 KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0400, \
63 $(call cc-option,-fno-unit-at-a-time))
81 KBUILD_CFLAGS += $(call cc-option,-mno-80387)
82 KBUILD_CFLAGS += $(call cc-option,-mno-fp-ret-in-387)
[all …]
DMakefile.um11 KBUILD_CFLAGS += $(call cc-option,-m32)
12 KBUILD_AFLAGS += $(call cc-option,-m32)
13 LINK-y += $(call cc-option,-m32)
24 cflags-y += $(call cc-option,-mpreferred-stack-boundary=2)
33 KBUILD_CFLAGS += $(shell if [ $(cc-version) -lt 0400 ] ; then \
34 echo $(call cc-option,-fno-unit-at-a-time); \
35 else echo $(call cc-option,-funit-at-a-time); fi ;)
59 KBUILD_CFLAGS += $(call cc-option,-funit-at-a-time)
DMakefile_32.cpu5 HAS_MTUNE := $(call cc-option-yn, -mtune=i386)
7 tune = $(call cc-option,-mtune=$(1),$(2))
9 tune = $(call cc-option,-mcpu=$(1),$(2))
12 align := $(cc-option-align)
26 cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8,-march=athlon)
29 cflags-$(CONFIG_MWINCHIPC6) += $(call cc-option,-march=winchip-c6,-march=i586)
30 cflags-$(CONFIG_MWINCHIP3D) += $(call cc-option,-march=winchip2,-march=i586)
31 cflags-$(CONFIG_MCYRIXIII) += $(call cc-option,-march=c3,-march=i486) $(align)-functions=0 $(align)…
32 cflags-$(CONFIG_MVIAC3_2) += $(call cc-option,-march=c3-2,-march=i686)
35 cflags-$(CONFIG_MATOM) += $(call cc-option,-march=atom,$(call cc-option,-march=core2,-march=i686))…
[all …]
/linux-4.1.27/arch/blackfin/mach-bf561/
Datomic.S47 if cc jump .Ldone_corelock;
71 if cc jump .Ldone_corelock_noflush;
127 cc = r5 == 0; define
128 if cc jump 1f;
165 cc = r5 == 0; define
166 if cc jump 1f;
235 cc = r6 == 0; define
236 if cc jump .Lcache_synced
283 cc = bittst( r3, 0 ); define
284 r3 = cc;
[all …]
Dsecondary.S180 cc = BITTST(r0, 0); define
181 if cc jump 3f;
/linux-4.1.27/arch/powerpc/
DMakefile15 HAS_BIARCH := $(call cc-option-yn, -m32)
77 KBUILD_CFLAGS_MODULE += $(call cc-option,-mno-save-toc-indirect)
79 ifeq ($(call cc-option-yn,-mbig-endian),y)
101 ifeq ($(call cc-option-yn,-mcmodel=medium),y)
118 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv2,-mcall-aixdesc)
119 AFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv2)
123 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mcmodel=medium,-mminimal-toc)
124 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mno-pointers-to-nested-functions)
128 CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=power7,-mtune=power4)
133 CFLAGS-$(CONFIG_CELL_CPU) += $(call cc-option,-mcpu=cell)
[all …]
/linux-4.1.27/drivers/media/pci/ivtv/
Divtv-vbi.c44 static void ivtv_set_cc(struct ivtv *itv, int mode, const struct vbi_cc *cc) in ivtv_set_cc() argument
53 data.data[0] = cc->odd[0]; in ivtv_set_cc()
54 data.data[1] = cc->odd[1]; in ivtv_set_cc()
58 data.data[0] = cc->even[0]; in ivtv_set_cc()
59 data.data[1] = cc->even[1]; in ivtv_set_cc()
97 struct vbi_cc *cc, int *found_cc) in ivtv_write_vbi_line() argument
103 cc->even[0] = d->data[0]; in ivtv_write_vbi_line()
104 cc->even[1] = d->data[1]; in ivtv_write_vbi_line()
106 cc->odd[0] = d->data[0]; in ivtv_write_vbi_line()
107 cc->odd[1] = d->data[1]; in ivtv_write_vbi_line()
[all …]
/linux-4.1.27/arch/blackfin/mach-bf561/include/mach/
Dmem_map.h140 if cc jump 2f; \
141 cc = preg == 0x0; \
144 if !cc jump 3f; \
147 cc = !cc; /* restore cc to 0 */ \
150 cc = preg == 0x0; \
153 if cc jump 4f; \
155 cc = !cc; /* restore cc to 1 */ \
166 cc = bittst(dreg, 0); \
167 if !cc jump 1f; \
/linux-4.1.27/arch/blackfin/mach-common/
Dentry.S56 cc = r6 == r7; define
57 if !cc jump _bfin_return_from_exception;
61 cc = R6 == R7; define
62 if cc jump _ex_dcplb_miss (BP);
65 cc = R6 == R7; define
66 if cc jump _ex_dcplb_viol (BP);
133 cc = r7 == r6; define
134 if cc jump _bfin_return_from_exception;
141 cc = bittst(r6, 4); define
142 if cc jump _bfin_return_from_exception;
[all …]
Dhead.S20 cc = r2 == 0; define
21 if cc jump .L_bss_done;
Dinterrupt.S116 cc = r0 == 0; define
117 if cc jump .Lcommon_restore_context;
Ddpmc_modes.S218 cc = BITTST(R2, 1); /* SDSRA poll self-refresh status */ define
219 if !cc jump 1b;
/linux-4.1.27/fs/hfsplus/
Dunicode.c101 static u16 *hfsplus_compose_lookup(u16 *p, u16 cc) in hfsplus_compose_lookup() argument
107 if (!e || cc < p[s * 2] || cc > p[e * 2]) in hfsplus_compose_lookup()
111 if (cc > p[i * 2]) in hfsplus_compose_lookup()
113 else if (cc < p[i * 2]) in hfsplus_compose_lookup()
128 u16 cc, c0, c1; in hfsplus_uni2asc() local
146 cc = ce1[0]; in hfsplus_uni2asc()
148 cc = 0; in hfsplus_uni2asc()
149 if (cc) { in hfsplus_uni2asc()
151 if (cc != 0xffff) in hfsplus_uni2asc()
158 cc = (c0 - Hangul_LBase) * Hangul_VCount; in hfsplus_uni2asc()
[all …]
/linux-4.1.27/arch/mips/
DMakefile47 …CROSS_COMPILE := $(call cc-cross-prefix, $(tool-archpref)-linux- $(tool-archpref)-linux-gnu- $(t…
53 ifeq ($(call cc-option-yn,-mmcount-ra-address), y)
58 cflags-y += $(call cc-option, -mno-check-zero-division)
125 cflags-$(CONFIG_SB1XXX_CORELIS) += $(call cc-option,-mno-sched-prolog) \
137 cflags-$(CONFIG_CPU_MIPS32_R1) += $(call cc-option,-march=mips32,-mips32 -U_MIPS_ISA -D_MIPS_ISA=_M…
139 cflags-$(CONFIG_CPU_MIPS32_R2) += $(call cc-option,-march=mips32r2,-mips32r2 -U_MIPS_ISA -D_MIPS_IS…
142 cflags-$(CONFIG_CPU_MIPS64_R1) += $(call cc-option,-march=mips64,-mips64 -U_MIPS_ISA -D_MIPS_ISA=_M…
144 cflags-$(CONFIG_CPU_MIPS64_R2) += $(call cc-option,-march=mips64r2,-mips64r2 -U_MIPS_ISA -D_MIPS_IS…
148 cflags-$(CONFIG_CPU_R5432) += $(call cc-option,-march=r5400,-march=r5000) \
150 cflags-$(CONFIG_CPU_R5500) += $(call cc-option,-march=r5500,-march=r5000) \
[all …]
/linux-4.1.27/include/linux/
Dtimecounter.h40 cycle_t (*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.1.27/arch/blackfin/lib/
Ddivsi3.S48 cc = r0 < r1; define
49 if cc jump .Lret_zero;
51 cc = r2; define
52 if cc jump .Lidents;
54 cc = r2 <= r0; define
55 if cc jump .Lidents;
79 cc = bittst(r3, 30); define
80 if cc r0 = r1;
140 cc = bittst(r3,30); define
142 if !cc r0 = r2;
Dsmulsi3_highpart.S23 cc = ac0; define
24 R2 = cc;
27 cc = ac0; define
32 R2 = cc;
Dstrncmp.S34 if ! cc jump 3f; /* not equal, break out */
36 if ! cc jump 4f; /* yes, all done */
39 if ! cc jump 1b (bp); /* more to do, keep going */
Dstrcmp.S34 if ! cc jump 2f; /* not equal, break out */
36 if cc jump 1b (bp); /* no, keep going */
Dumulsi3_highpart.S25 cc = ac0; define
26 R1 = cc;
Dstrcpy.S32 if cc jump 1b (bp);
/linux-4.1.27/arch/alpha/kernel/
Dtime.c291 validate_cc_value(unsigned long cc) in validate_cc_value() argument
326 return cc; in validate_cc_value()
330 return cc; in validate_cc_value()
332 if (cc < cpu_hz[index].min - deviation in validate_cc_value()
333 || cc > cpu_hz[index].max + deviation) in validate_cc_value()
336 return cc; in validate_cc_value()
351 int cc, count = 0; in calibrate_cc_with_pit() local
367 cc = rpcc(); in calibrate_cc_with_pit()
371 cc = rpcc() - cc; in calibrate_cc_with_pit()
377 return ((long)cc * PIT_TICK_RATE) / (CALIBRATE_LATCH + 1); in calibrate_cc_with_pit()
Dsys_jensen.c148 unsigned int cc; in jensen_device_interrupt()
150 __asm __volatile("rpcc %0" : "=r"(cc)); in jensen_device_interrupt()
153 if (cc - last_msg > ((JENSEN_CYCLES_PER_SEC) * 3) || in jensen_device_interrupt()
156 irq, count, cc-last_cc, get_irq_regs()->pc); in jensen_device_interrupt()
158 last_msg = cc; in jensen_device_interrupt()
161 last_cc = cc; in jensen_device_interrupt()
/linux-4.1.27/scripts/kconfig/lxdialog/
Dcheck-lxdialog.sh11 $cc -print-file-name=lib${lib}.${ext} | grep -q /
48 $cc -x c - -o $tmp 2>/dev/null <<'EOF'
72 cc=""
76 cc="$@"
84 cc="$@"
/linux-4.1.27/arch/sh/
DMakefile14 …CROSS_COMPILE := $(call cc-cross-prefix, $(UTS_MACHINE)-linux- $(UTS_MACHINE)-linux-gnu- $(UTS_M…
33 cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,)
34 cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \
35 $(call cc-option,-m2a-nofpu,) \
36 $(call cc-option,-m4-nofpu,)
37 cflags-$(CONFIG_CPU_SH3) := $(call cc-option,-m3,)
38 cflags-$(CONFIG_CPU_SH4) := $(call cc-option,-m4,) \
39 $(call cc-option,-mno-implicit-fp,-m4-nofpu)
40 cflags-$(CONFIG_CPU_SH4A) += $(call cc-option,-m4a,) \
41 $(call cc-option,-m4a-nofpu,)
[all …]
/linux-4.1.27/drivers/net/wireless/ath/
Dhw.c180 struct ath_cycle_counters *cc = &common->cc_ani; in ath_hw_get_listen_time() local
183 listen_time = (cc->cycles - cc->rx_frame - cc->tx_frame) / in ath_hw_get_listen_time()
186 memset(cc, 0, sizeof(*cc)); in ath_hw_get_listen_time()
Dregd.c551 u16 cc = rd & ~COUNTRY_ERD_FLAG; in ath_regd_is_eeprom_valid() local
556 if (allCountries[i].countryCode == cc) in ath_regd_is_eeprom_valid()
603 u16 cc = rd & ~COUNTRY_ERD_FLAG; in ath_regd_get_default_country() local
605 country = ath_regd_find_country(cc); in ath_regd_get_default_country()
607 return cc; in ath_regd_get_default_country()
/linux-4.1.27/arch/arm/
DMakefile27 KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
36 KBUILD_CFLAGS += $(call cc-option,-mno-unaligned-access)
59 KBUILD_CFLAGS += $(call cc-option,-fno-ipa-sra)
66 arch-$(CONFIG_CPU_32v7) =-D__LINUX_ARM_ARCH__=7 $(call cc-option,-march=armv7-a,-march=armv5t -Wa$…
67 arch-$(CONFIG_CPU_32v6) =-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6,-march=armv5t -Wa$(c…
71 arch-$(CONFIG_CPU_32v6K) =-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6k,-march=armv5t -Wa$(…
73 arch-$(CONFIG_CPU_32v5) =-D__LINUX_ARM_ARCH__=5 $(call cc-option,-march=armv5te,-march=armv4t)
87 tune-$(CONFIG_CPU_ARM946E) =$(call cc-option,-mtune=arm9e,-mtune=arm9tdmi)
95 tune-$(CONFIG_CPU_XSCALE) =$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
96 tune-$(CONFIG_CPU_XSC3) =$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
[all …]
/linux-4.1.27/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.1.27/drivers/clk/qcom/
Dcommon.c83 struct qcom_cc *cc; in qcom_cc_really_probe() local
87 cc = devm_kzalloc(dev, sizeof(*cc) + sizeof(*clks) * num_clks, in qcom_cc_really_probe()
89 if (!cc) in qcom_cc_really_probe()
92 clks = cc->clks; in qcom_cc_really_probe()
93 data = &cc->data; in qcom_cc_really_probe()
112 reset = &cc->reset; in qcom_cc_really_probe()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dfec_ptp.c193 val &= fep->cc.mask; in fec_ptp_enable_pps()
197 fep->next_counter = (val + fep->reload_period) & fep->cc.mask; in fec_ptp_enable_pps()
216 fep->next_counter = (fep->next_counter + fep->reload_period) & fep->cc.mask; in fec_ptp_enable_pps()
235 static cycle_t fec_ptp_read(const struct cyclecounter *cc) in fec_ptp_read() argument
238 container_of(cc, struct fec_enet_private, cc); in fec_ptp_read()
281 memset(&fep->cc, 0, sizeof(fep->cc)); in fec_ptp_start_cyclecounter()
282 fep->cc.read = fec_ptp_read; in fec_ptp_start_cyclecounter()
283 fep->cc.mask = CLOCKSOURCE_MASK(31); in fec_ptp_start_cyclecounter()
284 fep->cc.shift = 31; in fec_ptp_start_cyclecounter()
285 fep->cc.mult = FEC_CC_MULT; in fec_ptp_start_cyclecounter()
[all …]
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c125 static cycle_t xgbe_cc_read(const struct cyclecounter *cc) in xgbe_cc_read() argument
127 struct xgbe_prv_data *pdata = container_of(cc, in xgbe_cc_read()
231 struct cyclecounter *cc = &pdata->tstamp_cc; in xgbe_ptp_register() local
261 cc->read = xgbe_cc_read; in xgbe_ptp_register()
262 cc->mask = CLOCKSOURCE_MASK(64); in xgbe_ptp_register()
263 cc->mult = 1; in xgbe_ptp_register()
264 cc->shift = 0; in xgbe_ptp_register()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-vbi-gen.c81 static void cc_insert(u8 *cc, u8 ch) in cc_insert() argument
87 cc[2 * i] = cc[2 * i + 1] = (ch & (1 << i)) ? 1 : 0; in cc_insert()
88 tot += cc[2 * i]; in cc_insert()
90 cc[14] = cc[15] = !(tot & 1); in cc_insert()
100 u8 cc[CC_PREAMBLE_BITS + 2 * 16] = { in vivid_vbi_gen_cc_raw() local
110 cc_insert(cc + CC_PREAMBLE_BITS, data->data[0]); in vivid_vbi_gen_cc_raw()
111 cc_insert(cc + CC_PREAMBLE_BITS + 16, data->data[1]); in vivid_vbi_gen_cc_raw()
113 for (i = 0, bit = 0; bit < sizeof(cc); bit++) { in vivid_vbi_gen_cc_raw()
117 buf[i++] = cc[bit] ? 0xc0 : 0x10; in vivid_vbi_gen_cc_raw()
/linux-4.1.27/arch/blackfin/kernel/
Dftrace-entry.S88 cc = r2 == r3; define
89 if ! cc jump .Ldo_trace;
98 cc = r2 == r3; define
99 if ! cc jump _ftrace_graph_caller;
109 cc = r2 == r3; define
110 if ! cc jump _ftrace_graph_caller;
Dentry.S51 cc = p1 == 0; define
52 if cc jump .Lfork;
/linux-4.1.27/drivers/s390/block/
Dxpram.c92 int cc = 2; /* return unused cc 2 if pgin traps */ in xpram_page_in() local
100 : "+d" (cc) : "a" (__pa(page_addr)), "d" (xpage_index) : "cc"); in xpram_page_in()
101 if (cc == 3) in xpram_page_in()
103 if (cc == 2) in xpram_page_in()
105 if (cc == 1) in xpram_page_in()
122 int cc = 2; /* return unused cc 2 if pgin traps */ in xpram_page_out() local
130 : "+d" (cc) : "a" (__pa(page_addr)), "d" (xpage_index) : "cc"); in xpram_page_out()
131 if (cc == 3) in xpram_page_out()
133 if (cc == 2) in xpram_page_out()
135 if (cc == 1) in xpram_page_out()
/linux-4.1.27/arch/openrisc/
DMakefile30 KBUILD_CFLAGS += $(call cc-option,-mhard-mul)
32 KBUILD_CFLAGS += $(call cc-option,-msoft-mul)
36 KBUILD_CFLAGS += $(call cc-option,-mhard-div)
38 KBUILD_CFLAGS += $(call cc-option,-msoft-div)
/linux-4.1.27/drivers/media/pci/cx88/
Dcx88-video.c623 const struct cx88_ctrl *cc = ctrl->priv; in cx8800_s_vid_ctrl() local
626 mask = cc->mask; in cx8800_s_vid_ctrl()
631 value = ((ctrl->val - cc->off) << cc->shift) & cc->mask; in cx8800_s_vid_ctrl()
649 value = ((ctrl->val - cc->off) << cc->shift) & cc->mask; in cx8800_s_vid_ctrl()
652 value = ((ctrl->val - cc->off) << cc->shift) & cc->mask; in cx8800_s_vid_ctrl()
656 ctrl->id, ctrl->name, ctrl->val, cc->reg, value, in cx8800_s_vid_ctrl()
657 mask, cc->sreg ? " [shadowed]" : ""); in cx8800_s_vid_ctrl()
658 if (cc->sreg) in cx8800_s_vid_ctrl()
659 cx_sandor(cc->sreg, cc->reg, mask, value); in cx8800_s_vid_ctrl()
661 cx_andor(cc->reg, mask, value); in cx8800_s_vid_ctrl()
[all …]
/linux-4.1.27/arch/xtensa/include/asm/
Dcoprocessor.h115 #define XCHAL_SA_REG(list,cc,abi,type,y,name,z,align,size,...) \ argument
116 __REG ## list (cc, abi, type, name, size, align)
118 #define __REG0(cc,abi,t,name,s,a) __REG0_ ## cc (abi,name) argument
119 #define __REG1(cc,abi,t,name,s,a) __REG1_ ## cc (name) argument
120 #define __REG2(cc,abi,type,...) __REG2_ ## type (__VA_ARGS__) argument
/linux-4.1.27/
DMakefile612 KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,)
615 KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,)
621 KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0)
628 KBUILD_CFLAGS += $(call cc-option,-fno-reorder-blocks,) \
629 $(call cc-option,-fno-ipa-cp-clone,) \
630 $(call cc-option,-fno-partial-inlining)
634 KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN})
656 ifeq ($(call cc-option, $(stackp-flag)),)
663 ifeq ($(call cc-option, $(stackp-flag)),)
669 stackp-flag := $(call cc-option, -fno-stack-protector)
[all …]
/linux-4.1.27/arch/s390/
DMakefile56 ifeq ($(call cc-option-yn,-mkernel-backchain),y)
62 ifeq ($(call cc-option-yn,-mpacked-stack),y)
67 ifeq ($(call cc-option-yn,-mstack-size=8192 -mstack-guard=128),y)
69 ifneq ($(call cc-option-yn,-mstack-size=8192),y)
74 ifeq ($(call cc-option-yn,-mwarn-dynamicstack),y)
81 ifeq ($(call cc-option-yn,$(cc_hotpatch)),y)
/linux-4.1.27/drivers/usb/host/
Dfhci-q.c221 u32 cc = td->status; in fhci_done_td() local
227 cc == USB_TD_RX_DATA_UNDERUN)) in fhci_done_td()
228 cc = USB_TD_OK; in fhci_done_td()
238 status_to_error(cc); in fhci_done_td()
253 cc == USB_TD_RX_DATA_UNDERUN) { in fhci_done_td()
255 cc = USB_TD_OK; in fhci_done_td()
257 if (cc != USB_TD_OK) { in fhci_done_td()
259 urb->status = status_to_error(cc); in fhci_done_td()
Dohci-q.c756 int cc = 0; in td_done() local
770 cc = (tdPSW >> 12) & 0xF; in td_done()
778 if (cc == TD_DATAUNDERRUN) in td_done()
779 cc = TD_CC_NOERROR; in td_done()
784 urb->iso_frame_desc [td->index].status = cc_to_error [cc]; in td_done()
786 if (cc != TD_CC_NOERROR) in td_done()
789 urb, td, 1 + td->index, dlen, cc); in td_done()
799 cc = TD_CC_GET (tdINFO); in td_done()
802 if (cc == TD_DATAUNDERRUN in td_done()
804 cc = TD_CC_NOERROR; in td_done()
[all …]
Disp116x-hcd.c355 u8 cc; in postproc_atl_queue() local
363 cc = PTD_GET_CC(ptd); in postproc_atl_queue()
372 if (cc == TD_DATAUNDERRUN) { in postproc_atl_queue()
376 cc = TD_CC_NOERROR; in postproc_atl_queue()
389 if (cc != TD_CC_NOERROR && cc != TD_NOTACCESSED in postproc_atl_queue()
390 && (++ep->error_count >= 3 || cc == TD_CC_STALL in postproc_atl_queue()
391 || cc == TD_DATAOVERRUN)) { in postproc_atl_queue()
392 status = cc_to_error[cc]; in postproc_atl_queue()
408 && (cc == TD_CC_NOERROR || cc == TD_NOTACCESSED)) in postproc_atl_queue()
425 || (cc != TD_CC_NOERROR && cc < 0x0E)) in postproc_atl_queue()
[all …]
Dimx21-dbg.c44 int frame, struct td *td, int cc, int len) {} in debug_isoc_completed() argument
145 int frame, struct td *td, int cc, int len) in debug_isoc_completed() argument
156 trace->cc = cc; in debug_isoc_completed()
163 if (found && cc) { in debug_isoc_completed()
396 trace->cc, in debug_isoc_show_one()
Dimx21-hcd.c643 int cc; in isoc_etd_done() local
648 cc = (etd_readl(imx21, etd_num, 3) >> DW3_COMPCODE0) & 0xf; in isoc_etd_done()
654 if (dir_in && (cc == TD_DATAUNDERRUN)) in isoc_etd_done()
655 cc = TD_CC_NOERROR; in isoc_etd_done()
657 if (cc == TD_NOTACCESSED) in isoc_etd_done()
661 imx21_hc_get_frame(hcd), td, cc, bytes_xfrd); in isoc_etd_done()
662 if (cc) { in isoc_etd_done()
667 cc, imx21_hc_get_frame(hcd), td->frame, in isoc_etd_done()
681 urb->iso_frame_desc[isoc_index].status = cc_to_error[cc]; in isoc_etd_done()
1051 int cc; in nonisoc_etd_done() local
[all …]
/linux-4.1.27/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.1.27/drivers/net/ethernet/ti/
Dcpts.c104 static cycle_t cpts_systim_read(const struct cyclecounter *cc) in cpts_systim_read() argument
109 struct cpts *cpts = container_of(cc, struct cpts, cc); in cpts_systim_read()
151 cpts->cc.mult = neg_adj ? mult - diff : mult + diff; in cpts_ptp_adjfreq()
195 timecounter_init(&cpts->tc, &cpts->cc, ns); in cpts_ptp_settime()
371 cpts->cc.read = cpts_systim_read; in cpts_register()
372 cpts->cc.mask = CLOCKSOURCE_MASK(32); in cpts_register()
374 cpts->cc.mult = mult; in cpts_register()
375 cpts->cc.shift = shift; in cpts_register()
387 timecounter_init(&cpts->tc, &cpts->cc, ktime_to_ns(ktime_get_real())); in cpts_register()
Dcpts.h119 struct cyclecounter cc; member
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dlink.c508 struct ath_cycle_counters *cc = &common->cc_survey; in ath_update_survey_stats() local
518 if (cc->cycles > 0) { in ath_update_survey_stats()
523 survey->time += cc->cycles / div; in ath_update_survey_stats()
524 survey->time_busy += cc->rx_busy / div; in ath_update_survey_stats()
525 survey->time_rx += cc->rx_frame / div; in ath_update_survey_stats()
526 survey->time_tx += cc->tx_frame / div; in ath_update_survey_stats()
529 if (cc->cycles < div) in ath_update_survey_stats()
532 if (cc->cycles > 0) in ath_update_survey_stats()
533 ret = cc->rx_busy * 100 / cc->cycles; in ath_update_survey_stats()
535 memset(cc, 0, sizeof(*cc)); in ath_update_survey_stats()
/linux-4.1.27/arch/hexagon/
DMakefile18 cflags-y += $(call cc-option,-mv${CONFIG_HEXAGON_ARCH_VERSION})
19 aflags-y += $(call cc-option,-mv${CONFIG_HEXAGON_ARCH_VERSION})
20 ldflags-y += $(call cc-option,-mv${CONFIG_HEXAGON_ARCH_VERSION})
/linux-4.1.27/sound/aoa/fabrics/
Dlayout.c768 struct codec_connection *cc; in check_codec() local
795 cc = cci->connections; in check_codec()
796 if (!cc) in check_codec()
802 codec->fabric_data = cc; in check_codec()
804 while (cc->connected) { in check_codec()
805 codec->connected |= 1<<cc->codec_bit; in check_codec()
806 cc++; in check_codec()
891 struct codec_connection *cc; in layout_attached_codec() local
898 cc = codec->fabric_data; in layout_attached_codec()
910 while (cc->connected) { in layout_attached_codec()
[all …]
/linux-4.1.27/sound/isa/sb/
Demu8000_patch.c89 unsigned char cc; in read_word() local
90 get_user(cc, (unsigned char __user *)buf + offset); in read_word()
91 c = cc << 8; /* convert 8bit -> 16bit */ in read_word()
96 unsigned short cc; in read_word()
97 get_user(cc, (unsigned short __user *)buf + offset); in read_word()
98 c = swab16(cc); in read_word()
/linux-4.1.27/drivers/s390/cio/
Dqdio_main.c40 int cc; in do_siga_sync() local
46 : "=d" (cc) in do_siga_sync()
48 return cc; in do_siga_sync()
57 int cc; in do_siga_input() local
63 : "=d" (cc) in do_siga_input()
65 return cc; in do_siga_input()
86 int cc; in do_siga_output() local
92 : "=d" (cc), "+d" (__fc), "+d" (__aob) in do_siga_output()
96 return cc; in do_siga_output()
289 int cc; in qdio_siga_sync() local
[all …]
Dioasm.h141 int cc; in chsc() local
147 : "=d" (cc), "=m" (*(addr_type *) chsc_area) in chsc()
150 return cc; in chsc()
Deadm_sch.c67 int cc; in eadm_subchannel_start() local
77 cc = ssch(sch->schid, orb); in eadm_subchannel_start()
78 switch (cc) { in eadm_subchannel_start()
93 int cc; in eadm_subchannel_clear() local
95 cc = csch(sch->schid); in eadm_subchannel_clear()
96 if (cc) in eadm_subchannel_clear()
Dcio.c725 int retry, cc; in __disable_subchannel_easy() local
727 cc = 0; in __disable_subchannel_easy()
730 cc = msch_err(schid, schib); in __disable_subchannel_easy()
731 if (cc) in __disable_subchannel_easy()
732 return (cc==3?-ENODEV:-EBUSY); in __disable_subchannel_easy()
976 int cc; in cio_tm_start_key() local
985 cc = ssch(sch->schid, orb); in cio_tm_start_key()
986 switch (cc) { in cio_tm_start_key()
1006 int cc; in cio_tm_intrg() local
1010 cc = xsch(sch->schid); in cio_tm_intrg()
[all …]
Dchsc_sch.c129 int cc; in chsc_subchannel_prepare() local
136 cc = stsch_err(sch->schid, &schib); in chsc_subchannel_prepare()
137 if (!cc && scsw_stctl(&schib.scsw)) in chsc_subchannel_prepare()
245 int cc; in chsc_async() local
263 cc = chsc(chsc_area); in chsc_async()
264 snprintf(dbf, sizeof(dbf), "cc:%d", cc); in chsc_async()
266 switch (cc) { in chsc_async()
283 sch->schid.ssid, sch->schid.sch_no, cc); in chsc_async()
Dccwreq.c182 if (scsw->cc == 3 || scsw->pno) in ccwreq_status()
222 if (scsw->cc == 1 && (scsw->stctl & SCSW_STCTL_ALERT_STATUS)) in ccwreq_status()
Dchsc.c309 u8 cc; /* content code */ member
322 u8 cc; /* content code */ member
493 switch (sei_area->cc) { in chsc_process_sei_nt2()
502 sei_area->cc); in chsc_process_sei_nt2()
510 switch (sei_area->cc) { in chsc_process_sei_nt0()
531 sei_area->cc); in chsc_process_sei_nt0()
Ddevice_fsm.c42 int cc; in ccw_timeout_log() local
47 cc = stsch_err(sch->schid, &schib); in ccw_timeout_log()
82 printk(KERN_WARNING "cio: store subchannel returned: cc=%d\n", cc); in ccw_timeout_log()
503 scsw->cc = 1; in create_fake_irb()
510 scsw->cc = 1; in create_fake_irb()
/linux-4.1.27/tools/power/cpupower/
DMakefile114 cc-supports = ${shell if $(CC) ${1} -S -o /dev/null -x c /dev/null > /dev/null 2>&1; then echo "$(1…
117 OPTIMIZATION := $(call cc-supports,-Os,-O2)
120 WARNINGS += $(call cc-supports,-Wno-pointer-sign)
121 WARNINGS += $(call cc-supports,-Wdeclaration-after-statement)
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c122 int shift = adapter->cc.shift; in ixgbe_ptp_setup_sdp()
192 static cycle_t ixgbe_ptp_read(const struct cyclecounter *cc) in ixgbe_ptp_read() argument
195 container_of(cc, struct ixgbe_adapter, cc); in ixgbe_ptp_read()
318 timecounter_init(&adapter->tc, &adapter->cc, ns); in ixgbe_ptp_settime()
791 memset(&adapter->cc, 0, sizeof(adapter->cc)); in ixgbe_ptp_start_cyclecounter()
792 adapter->cc.read = ixgbe_ptp_read; in ixgbe_ptp_start_cyclecounter()
793 adapter->cc.mask = CYCLECOUNTER_MASK(64); in ixgbe_ptp_start_cyclecounter()
794 adapter->cc.shift = shift; in ixgbe_ptp_start_cyclecounter()
795 adapter->cc.mult = 1; in ixgbe_ptp_start_cyclecounter()
830 timecounter_init(&adapter->tc, &adapter->cc, in ixgbe_ptp_reset()
/linux-4.1.27/drivers/net/wireless/b43/
Dphy_lcn.c589 struct bcma_drv_cc *cc = &dev->dev->bdev->bus->drv_cc; in b43_phy_lcn_set_channel_tweaks() local
595 bcma_chipco_pll_write(cc, 0x2, 0x03000c04); in b43_phy_lcn_set_channel_tweaks()
596 bcma_chipco_pll_maskset(cc, 0x3, 0x00ffffff, 0x0); in b43_phy_lcn_set_channel_tweaks()
597 bcma_chipco_pll_write(cc, 0x4, 0x200005c0); in b43_phy_lcn_set_channel_tweaks()
599 bcma_cc_set32(cc, BCMA_CC_PMU_CTL, 0x400); in b43_phy_lcn_set_channel_tweaks()
607 bcma_chipco_pll_write(cc, 0x2, 0x03140c04); in b43_phy_lcn_set_channel_tweaks()
608 bcma_chipco_pll_maskset(cc, 0x3, 0x00ffffff, 0x333333); in b43_phy_lcn_set_channel_tweaks()
609 bcma_chipco_pll_write(cc, 0x4, 0x202c2820); in b43_phy_lcn_set_channel_tweaks()
611 bcma_cc_set32(cc, BCMA_CC_PMU_CTL, 0x400); in b43_phy_lcn_set_channel_tweaks()
700 struct bcma_drv_cc *cc = &dev->dev->bdev->bus->drv_cc; in b43_phy_lcn_op_init() local
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_ptp.c80 static cycle_t igb_ptp_read_82576(const struct cyclecounter *cc) in igb_ptp_read_82576() argument
82 struct igb_adapter *igb = container_of(cc, struct igb_adapter, cc); in igb_ptp_read_82576()
97 static cycle_t igb_ptp_read_82580(const struct cyclecounter *cc) in igb_ptp_read_82580() argument
99 struct igb_adapter *igb = container_of(cc, struct igb_adapter, cc); in igb_ptp_read_82580()
333 timecounter_init(&igb->tc, &igb->cc, ns); in igb_ptp_settime_82576()
994 adapter->cc.read = igb_ptp_read_82576; in igb_ptp_init()
995 adapter->cc.mask = CYCLECOUNTER_MASK(64); in igb_ptp_init()
996 adapter->cc.mult = 1; in igb_ptp_init()
997 adapter->cc.shift = IGB_82576_TSYNC_SHIFT; in igb_ptp_init()
1014 adapter->cc.read = igb_ptp_read_82580; in igb_ptp_init()
[all …]
/linux-4.1.27/arch/mips/bcm47xx/
Dserial.c55 struct bcma_drv_cc *cc = &(bcm47xx_bus.bcma.bus.drv_cc); in uart8250_init_bcma() local
59 for (i = 0; i < cc->nr_serial_ports && in uart8250_init_bcma()
63 bcma_port = &(cc->serial_ports[i]); in uart8250_init_bcma()
/linux-4.1.27/arch/arm/probes/kprobes/
Dtest-arm.c1179 #define COPROCESSOR_INSTRUCTIONS_ST_LD(two,cc) \ in kprobe_arm_test_cases() argument
1211 TEST_UNSUPPORTED(__inst_arm(0x##cc##daf0001) " @ stc"two" 0, cr0, [r15, #4]!") \ in kprobe_arm_test_cases()
1212 TEST_UNSUPPORTED(__inst_arm(0x##cc##d2f0001) " @ stc"two" 0, cr0, [r15, #-4]!") \ in kprobe_arm_test_cases()
1213 TEST_UNSUPPORTED(__inst_arm(0x##cc##caf0001) " @ stc"two" 0, cr0, [r15], #4") \ in kprobe_arm_test_cases()
1214 TEST_UNSUPPORTED(__inst_arm(0x##cc##c2f0001) " @ stc"two" 0, cr0, [r15], #-4") \ in kprobe_arm_test_cases()
1218 TEST_UNSUPPORTED(__inst_arm(0x##cc##def0001) " @ stc"two"l 0, cr0, [r15, #4]!") \ in kprobe_arm_test_cases()
1219 TEST_UNSUPPORTED(__inst_arm(0x##cc##d6f0001) " @ stc"two"l 0, cr0, [r15, #-4]!") \ in kprobe_arm_test_cases()
1220 TEST_UNSUPPORTED(__inst_arm(0x##cc##cef0001) " @ stc"two"l 0, cr0, [r15], #4") \ in kprobe_arm_test_cases()
1221 TEST_UNSUPPORTED(__inst_arm(0x##cc##c6f0001) " @ stc"two"l 0, cr0, [r15], #-4") \ in kprobe_arm_test_cases()
1225 TEST_UNSUPPORTED(__inst_arm(0x##cc##dbf0001) " @ ldc"two" 0, cr0, [r15, #4]!") \ in kprobe_arm_test_cases()
[all …]
Dactions-thumb.c74 int cc = (insn >> 22) & 0xf; in t32_decode_cond_branch() local
75 asi->insn_check_cc = probes_condition_checks[cc]; in t32_decode_cond_branch()
428 int cc = (insn >> 8) & 0xf; in t16_decode_cond_branch() local
429 asi->insn_check_cc = probes_condition_checks[cc]; in t16_decode_cond_branch()
Dtest-core.c1063 static unsigned long test_check_cc(int cc, unsigned long cpsr) in test_check_cc() argument
1065 int ret = arm_check_condition(cc << 28, cpsr); in test_check_cc()
1087 int cc = current_instruction >> 28; in test_context_cpsr() local
1089 probe_should_run = test_check_cc(cc, cpsr) != 0; in test_context_cpsr()
1096 int cc = (current_instruction >> kprobe_test_cc_position) & 0xf; in test_context_cpsr() local
1097 probe_should_run = test_check_cc(cc, cpsr) != 0; in test_context_cpsr()
/linux-4.1.27/tools/power/acpi/
DMakefile63 cc-supports = ${shell if $(CC) ${1} -S -o /dev/null -x c /dev/null > /dev/null 2>&1; then echo "$(1…
66 OPTIMIZATION := $(call cc-supports,-Os,-O2)
69 WARNINGS += $(call cc-supports,-Wstrict-prototypes)
70 WARNINGS += $(call cc-supports,-Wdeclaration-after-statement)
/linux-4.1.27/arch/um/
DMakefile121 CFLAGS_NO_HARDENING := $(call cc-option, -fno-PIC,) $(call cc-option, -fno-pic,) \
122 $(call cc-option, -fno-stack-protector,) \
123 $(call cc-option, -fno-stack-protector-all,)
/linux-4.1.27/drivers/s390/char/
Dvmur.c369 int cc; in get_urd_class() local
374 cc = diag210(&ur_diag210); in get_urd_class()
375 switch (cc) { in get_urd_class()
468 int cc; in diag_position_to_record() local
470 cc = diag14(record, devno, 0x28); in diag_position_to_record()
471 switch (cc) { in diag_position_to_record()
493 int cc; in diag_read_file() local
495 cc = diag14((unsigned long) buf, devno, 0x00); in diag_read_file()
496 switch (cc) { in diag_read_file()
586 int cc; in diag_read_next_file_info() local
[all …]
Dsclp.c154 int cc = 4; /* Initialize for program check handling */ in sclp_service_call() local
163 : "+&d" (cc) : "d" (command), "a" (__pa(sccb)) in sclp_service_call()
165 if (cc == 4) in sclp_service_call()
167 if (cc == 3) in sclp_service_call()
169 if (cc == 2) in sclp_service_call()
/linux-4.1.27/arch/mips/netlogic/
DPlatform10 cflags-$(CONFIG_CPU_XLR) += $(call cc-option,-march=xlr,-march=mips64)
11 cflags-$(CONFIG_CPU_XLP) += $(call cc-option,-march=xlp,-march=mips64r2)
/linux-4.1.27/arch/powerpc/xmon/
Dppc-dis.c156 int cc; in print_insn_powerpc() local
161 cc = value & 3; in print_insn_powerpc()
162 printf("%s", cbnames[cc]); in print_insn_powerpc()
/linux-4.1.27/arch/arm/vdso/
DMakefile15 VDSO_LDFLAGS += $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
16 VDSO_LDFLAGS += $(call cc-ldoption, -Wl$(comma)--build-id)
17 VDSO_LDFLAGS += $(call cc-ldoption, -fuse-ld=bfd)
/linux-4.1.27/arch/x86/math-emu/
Dstatus_w.h51 static inline void setcc(int cc) in setcc() argument
54 partial_status |= (cc) & (SW_C0 | SW_C1 | SW_C2 | SW_C3); in setcc()
Dfpu_trig.c792 int cc; in do_fprem() local
801 cc = 0; in do_fprem()
862 cc |= SW_C0; in do_fprem()
864 cc |= SW_C3; in do_fprem()
866 cc |= SW_C1; in do_fprem()
924 cc = SW_C2; in do_fprem()
936 setcc(cc); in do_fprem()
949 setcc(cc); in do_fprem()
/linux-4.1.27/arch/arc/
DMakefile28 upto_gcc44 := $(call cc-ifversion, -le, 0404, y)
29 atleast_gcc44 := $(call cc-ifversion, -ge, 0404, y)
30 atleast_gcc48 := $(call cc-ifversion, -ge, 0408, y)
/linux-4.1.27/Documentation/
Dpreempt-locking.txt94 cpucache_t *cc; /* this is per-CPU */
96 cc = cc_data(searchp);
97 if (cc && cc->avail) {
98 __free_block(searchp, cc_entry(cc), cc->avail);
99 cc->avail = 0;
Dkasan.txt78 Redzone ffff8800693bc5d8: cc cc cc cc cc cc cc cc ........
/linux-4.1.27/arch/unicore32/
DMakefile15 CROSS_COMPILE := $(call cc-cross-prefix, unicore32-linux-)
24 KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
/linux-4.1.27/arch/s390/mm/
Dpageattr.c158 int cc; in kernel_page_present() local
165 : "=d" (cc), "+a" (addr) : : "cc"); in kernel_page_present()
166 return cc == 0; in kernel_page_present()
/linux-4.1.27/drivers/media/dvb-frontends/
Dix2505v.c140 u8 gain, cc, ref, psc, local_osc, lpf; in ix2505v_set_params() local
154 cc = state->config->tuner_chargepump; in ix2505v_set_params()
156 cc = 0x3; in ix2505v_set_params()
168 data[2] = 0x81 | ((cc & 0x3) << 5) ; /*PD5,PD4 & TM = 0|C1,C0|REF=1*/ in ix2505v_set_params()
/linux-4.1.27/arch/s390/kernel/
Dsmp.c109 int cc; in __pcpu_sigp_relax() local
112 cc = __pcpu_sigp(addr, order, parm, NULL); in __pcpu_sigp_relax()
113 if (cc != SIGP_CC_BUSY) in __pcpu_sigp_relax()
114 return cc; in __pcpu_sigp_relax()
121 int cc, retry; in pcpu_sigp_retry() local
124 cc = __pcpu_sigp(pcpu->address, order, parm, NULL); in pcpu_sigp_retry()
125 if (cc != SIGP_CC_BUSY) in pcpu_sigp_retry()
130 return cc; in pcpu_sigp_retry()
315 int cc; in pcpu_set_smt() local
323 : "=d" (cc) : "d" (reg1), "K" (SIGP_SET_MULTI_THREADING) in pcpu_set_smt()
[all …]
Duprobes.c210 psw_bits((regs)->psw).cc = 1; \
212 psw_bits((regs)->psw).cc = 2; \
214 psw_bits((regs)->psw).cc = 0; \
/linux-4.1.27/arch/x86/vdso/
DMakefile70 $(filter -g%,$(KBUILD_CFLAGS)) $(call cc-option, -fno-stack-protector) \
156 KBUILD_CFLAGS_32 += $(call cc-option, -fno-stack-protector)
157 KBUILD_CFLAGS_32 += $(call cc-option, -foptimize-sibling-calls)
178 VDSO_LDFLAGS = -fPIC -shared $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) \
179 $(call cc-ldoption, -Wl$(comma)--build-id) -Wl,-Bsymbolic $(LTO_CFLAGS)
/linux-4.1.27/drivers/firmware/efi/libstub/
DMakefile18 $(call cc-option,-ffreestanding) \
19 $(call cc-option,-fno-stack-protector)
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c666 struct ath_cycle_counters *cc = &common->cc_survey; in ath5k_get_survey() local
674 if (cc->cycles > 0) { in ath5k_get_survey()
675 ah->survey.time += cc->cycles / div; in ath5k_get_survey()
676 ah->survey.time_busy += cc->rx_busy / div; in ath5k_get_survey()
677 ah->survey.time_rx += cc->rx_frame / div; in ath5k_get_survey()
678 ah->survey.time_tx += cc->tx_frame / div; in ath5k_get_survey()
680 memset(cc, 0, sizeof(*cc)); in ath5k_get_survey()
/linux-4.1.27/arch/mips/loongson/
DPlatform8 $(call cc-option,-march=loongson2e,-march=r4600)
10 $(call cc-option,-march=loongson2f,-march=r4600)
/linux-4.1.27/arch/x86/kernel/cpu/
Dcentaur.c116 u32 aa, bb, cc, dd; in init_centaur() local
182 cpuid(0x80000005, &aa, &bb, &cc, &dd); in init_centaur()
184 c->x86_cache_size = (cc>>24)+(dd>>24); in init_centaur()
/linux-4.1.27/arch/s390/lib/
Dstring.c257 int cc; in strstr() local
263 : "=&d" (cc), "+a" (r2), "+a" (r3), in strstr()
265 if (!cc) in strstr()
/linux-4.1.27/Documentation/usb/
Dwusb-cbaf42 set-cc DEVICE
63 $ $progname set-cc ''
108 set-cc)
/linux-4.1.27/arch/powerpc/platforms/powermac/
Dsmp.c571 struct device_node *cc = NULL; in smp_core99_setup_i2c_hwsync() local
578 for_each_node_by_name(cc, "i2c-hwclock") { in smp_core99_setup_i2c_hwsync()
579 p = of_get_parent(cc); in smp_core99_setup_i2c_hwsync()
585 pmac_tb_clock_chip_host = pmac_i2c_find_bus(cc); in smp_core99_setup_i2c_hwsync()
588 reg = of_get_property(cc, "reg", NULL); in smp_core99_setup_i2c_hwsync()
593 if (of_device_is_compatible(cc,"pulsar-legacy-slewing")) { in smp_core99_setup_i2c_hwsync()
597 } else if (of_device_is_compatible(cc, "cy28508")) { in smp_core99_setup_i2c_hwsync()
/linux-4.1.27/Documentation/kbuild/
Dmakefiles.txt290 are assigned. They are used for all the normal cc, as and ld
438 cc-ldoption
439 cc-ldoption is used to check if $(CC) when used to link object files
445 vsyscall-flags += $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
458 cc-option
459 cc-option is used to check if $(CC) supports a given option, and if
464 cflags-y += $(call cc-option,-march=pentium-mmx,-march=i586)
468 The second argument to cc-option is optional, and if omitted,
470 Note: cc-option uses KBUILD_CFLAGS for $(CC) options
472 cc-option-yn
[all …]
/linux-4.1.27/drivers/isdn/isdnloop/
Disdnloop.c668 isdnloop_card *cc = cards; in isdnloop_try_call() local
677 while (cc) { in isdnloop_try_call()
680 if ((cc == card) && (ch == lch)) in isdnloop_try_call()
683 switch (cc->ptype) { in isdnloop_try_call()
686 if (!(strcmp(cc->s0num[i], cmd->parm.setup.phone))) in isdnloop_try_call()
690 e = cc->eazlist[ch]; in isdnloop_try_call()
692 sprintf(nbuf, "%s%c", cc->s0num[0], *e); in isdnloop_try_call()
701 if (!(cc->rcard[ch])) { in isdnloop_try_call()
703 if (!(si2bit[cmd->parm.setup.si1] & cc->sil[ch])) { in isdnloop_try_call()
708 cc->rcard[ch] = card; in isdnloop_try_call()
[all …]
/linux-4.1.27/drivers/ata/
Dacard-ahci.c213 u16 cc; in acard_ahci_pci_print_info() local
216 pci_read_config_word(pdev, 0x0a, &cc); in acard_ahci_pci_print_info()
217 if (cc == PCI_CLASS_STORAGE_IDE) in acard_ahci_pci_print_info()
219 else if (cc == PCI_CLASS_STORAGE_SATA) in acard_ahci_pci_print_info()
221 else if (cc == PCI_CLASS_STORAGE_RAID) in acard_ahci_pci_print_info()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Ddevice.c233 int cc; in dump_qp() local
253 cc = snprintf(qpd->buf + qpd->pos, space, in dump_qp()
277 cc = snprintf(qpd->buf + qpd->pos, space, in dump_qp()
293 cc = snprintf(qpd->buf + qpd->pos, space, in dump_qp()
298 if (cc < space) in dump_qp()
299 qpd->pos += cc; in dump_qp()
365 int cc; in dump_stag() local
380 cc = snprintf(stagd->buf + stagd->pos, space, in dump_stag()
392 if (cc < space) in dump_stag()
393 stagd->pos += cc; in dump_stag()
[all …]
/linux-4.1.27/drivers/s390/scsi/
Dzfcp_qdio.c382 int cc; in zfcp_qdio_open() local
416 for (cc = 0; cc < QDIO_MAX_BUFFERS_PER_Q; cc++) { in zfcp_qdio_open()
417 sbale = &(qdio->res_q[cc]->element[0]); in zfcp_qdio_open()
/linux-4.1.27/arch/s390/net/
Dbpf_jit.S91 ltgr %r2,%r2 # Set cc to (%r2 != 0)
92 br %r6 # Return cc
/linux-4.1.27/drivers/input/mouse/
Dcypress_ps2.h9 #define ENCODE_CMD(aa, bb, cc, dd) \ argument
10 (COMPOSIT((aa), 6) | COMPOSIT((bb), 4) | COMPOSIT((cc), 2) | COMPOSIT((dd), 0))
/linux-4.1.27/virt/kvm/arm/
Darch_timer.c37 return timecounter->cc->read(timecounter->cc); in kvm_phys_timer_read()
182 ns = cyclecounter_cyc2ns(timecounter->cc, cval - now, timecounter->mask, in kvm_timer_sync_hwstate()
/linux-4.1.27/arch/x86/um/vdso/
DMakefile41 $(filter -g%,$(KBUILD_CFLAGS)) $(call cc-option, -fno-stack-protector) \
77 VDSO_LDFLAGS = -fPIC -shared $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
/linux-4.1.27/drivers/tty/vt/
Dvt_ioctl.c825 ushort ll,cc; in vt_ioctl() local
829 get_user(cc, &vtsizes->v_cols)) in vt_ioctl()
839 vc_resize(vc_cons[i].d, cc, ll); in vt_ioctl()
850 ushort ll,cc,vlin,clin,vcol,ccol; in vt_ioctl() local
860 __get_user(cc, &vtconsize->v_cols); in vt_ioctl()
877 if (cc) { in vt_ioctl()
878 if (cc != vcol/ccol) { in vt_ioctl()
883 cc = vcol/ccol; in vt_ioctl()
900 vc_resize(vc_cons[i].d, cc, ll); in vt_ioctl()
/linux-4.1.27/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c124 int cc; /* MuxCounter - will increment on EVERY MUX PACKET */ member
562 u16 csum = 0, cc; in ttusb_process_muxpack() local
580 cc = (muxpack[len - 4] << 8) | muxpack[len - 3]; in ttusb_process_muxpack()
581 cc &= 0x7FFF; in ttusb_process_muxpack()
582 if ((cc != ttusb->cc) && (ttusb->cc != -1)) in ttusb_process_muxpack()
584 __func__, (cc - ttusb->cc) & 0x7FFF); in ttusb_process_muxpack()
585 ttusb->cc = (cc + 1) & 0x7FFF; in ttusb_process_muxpack()
851 ttusb->cc = -1; in ttusb_start_iso_xfer()
/linux-4.1.27/arch/x86/lguest/
DMakefile2 CFLAGS_boot.o := $(call cc-option, -fno-stack-protector)
/linux-4.1.27/arch/s390/boot/compressed/
DMakefile14 KBUILD_CFLAGS += $(call cc-option,-mpacked-stack)
15 KBUILD_CFLAGS += $(call cc-option,-ffreestanding)
/linux-4.1.27/mm/kasan/
DMakefile6 CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector)
/linux-4.1.27/arch/x86/power/
DMakefile3 nostackp := $(call cc-option, -fno-stack-protector)
/linux-4.1.27/arch/blackfin/include/asm/
Dentry.h42 cc = dreg == dreg; \
45 if cc jump 1f; \
/linux-4.1.27/kernel/gcov/
DMakefile6 obj-$(CONFIG_GCOV_FORMAT_AUTODETECT) += $(call cc-ifversion, -lt, 0407, \
/linux-4.1.27/drivers/media/usb/s2255/
Ds2255drv.c272 u32 cc; /* current channel */ member
1733 vc = &dev->vc[dev->cc]; in save_frame()
1738 unsigned int cc; in save_frame() local
1751 cc = le32_to_cpu(pdword[1]); in save_frame()
1752 if (cc >= MAX_CHANNELS) { in save_frame()
1758 dev->cc = G_chnmap[cc]; in save_frame()
1759 vc = &dev->vc[dev->cc]; in save_frame()
1775 cc = G_chnmap[le32_to_cpu(pdword[1])]; in save_frame()
1776 if (cc >= MAX_CHANNELS) in save_frame()
1778 vc = &dev->vc[cc]; in save_frame()
[all …]
/linux-4.1.27/arch/mips/loongson1/
DPlatform2 $(call cc-option,-march=mips32r2,-mips32r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \
/linux-4.1.27/arch/ia64/kernel/
Dmca_drv.c402 if (psp->tc || psp->cc || psp->rc || psp->uc) in is_mca_global()
605 } else if (psp->cc && !psp->bc) { /* Cache error */ in recover_from_platform_error()
679 if (psp->tc && !(psp->cc || psp->bc || psp->rc || psp->uc)) in recover_from_processor_error()
690 if (psp->cc == 0 && (psp->bc == 0 || pbci == NULL)) in recover_from_processor_error()
DMakefile.gate13 $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
/linux-4.1.27/arch/m68k/include/asm/
Dm68360_pram.h179 unsigned short cc[8]; /* Rx control characters */ member
223 unsigned short cc[8]; /* Rx control characters */ member
/linux-4.1.27/arch/s390/include/uapi/asm/
Dvtoc.h23 __u16 cc; member
30 __u16 cc; member
/linux-4.1.27/arch/m68k/fpsp040/
Dx_unsupp.S70 andl #0x0FFF40FF,%d1 |clear all but cc's, snan bit, aexcs, and qbyte
/linux-4.1.27/drivers/block/paride/
Depat.c253 { int k, j, f, cc; in epat_test_proto() local
257 cc = RR(0xd); in epat_test_proto()
284 pi->device,pi->port,pi->mode,cc,e[0],e[1],f); in epat_test_proto()
/linux-4.1.27/Documentation/EDID/
DMakefile16 @cc -c $^
/linux-4.1.27/drivers/media/i2c/
Dsaa7127.c385 u16 cc = data->data[1] << 8 | data->data[0]; in saa7127_set_cc() local
400 v4l2_dbg(2, debug, sd, "CC data: %04x\n", cc); in saa7127_set_cc()
401 saa7127_write(sd, SAA7127_REG_LINE_21_ODD_0, cc & 0xff); in saa7127_set_cc()
402 saa7127_write(sd, SAA7127_REG_LINE_21_ODD_1, cc >> 8); in saa7127_set_cc()
403 state->cc_data = cc; in saa7127_set_cc()
/linux-4.1.27/scripts/kconfig/
DPOTFILES.in12 scripts/kconfig/qconf.cc
/linux-4.1.27/arch/powerpc/crypto/
Daes-tab-4k.S57 .long R(f5, f7, f7, 02), R(83, cc, cc, 4f)
105 .long R(88, 44, 44, cc), R(2e, 17, 17, 39)
143 .long R(71, b5, b5, c4), R(cc, 66, 66, aa)
174 .long R(88, cc, 76, 91), R(f5, 02, 4c, 25)
214 .long R(89, 40, 43, cc), R(67, d9, 9e, 77)
254 .long R(6a, 5f, cc, 9b), R(54, 7e, 46, 62)
274 .long R(cc, aa, 4d, 54), R(e4, 96, 04, df)
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dchip.c937 struct brcmf_core_priv *cc; in brcmf_chip_setup() local
943 cc = list_first_entry(&chip->cores, struct brcmf_core_priv, list); in brcmf_chip_setup()
944 base = cc->pub.base; in brcmf_chip_setup()
959 cc->pub.rev, pub->pmurev, pub->pmucaps); in brcmf_chip_setup()
1043 struct brcmf_core_priv *cc; in brcmf_chip_get_chipcommon() local
1046 cc = list_first_entry(&chip->cores, struct brcmf_core_priv, list); in brcmf_chip_get_chipcommon()
1047 if (WARN_ON(!cc || cc->pub.id != BCMA_CORE_CHIPCOMMON)) in brcmf_chip_get_chipcommon()
1049 return &cc->pub; in brcmf_chip_get_chipcommon()
/linux-4.1.27/fs/ncpfs/
Dncplib_kernel.c1107 const unsigned char *iname, unsigned int ilen, int cc) in ncp__io2vol() argument
1168 if (cc) { in ncp__io2vol()
1185 const unsigned char *vname, unsigned int vlen, int cc) in ncp__vol2io() argument
1197 if (cc) { in ncp__vol2io()
1264 if (cc) in ncp__vol2io()
1273 const unsigned char *iname, unsigned int ilen, int cc) in ncp__io2vol() argument
1280 if (cc) in ncp__io2vol()
1298 const unsigned char *vname, unsigned int vlen, int cc) in ncp__vol2io() argument
1305 if (cc) in ncp__vol2io()
/linux-4.1.27/arch/x86/boot/compressed/
DMakefile31 KBUILD_CFLAGS += $(call cc-option,-ffreestanding)
32 KBUILD_CFLAGS += $(call cc-option,-fno-stack-protector)
/linux-4.1.27/arch/tile/kernel/vdso/
DMakefile57 $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
116 $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
/linux-4.1.27/arch/microblaze/kernel/
Dtimer.c206 .cc = NULL,
209 static cycle_t xilinx_cc_read(const struct cyclecounter *cc) in xilinx_cc_read() argument
/linux-4.1.27/arch/x86/xen/
DMakefile9 nostackp := $(call cc-option, -fno-stack-protector)
/linux-4.1.27/fs/reiserfs/
DMakefile34 ccflags-$(CONFIG_PPC32) := $(call cc-ifversion, -lt, 0400, -O1)
/linux-4.1.27/arch/blackfin/
DMakefile16 KBUILD_CFLAGS += $(call cc-option,-mno-fdpic)
20 KBUILD_AFLAGS += $(call cc-option,-mno-fdpic)
/linux-4.1.27/drivers/media/dvb-core/
Ddvb_filter.c564 p2ts->cc=0; in dvb_filter_pes2ts_init()
583 buf[3]=0x10|((p2ts->cc++)&0x0f); in dvb_filter_pes2ts()
592 buf[3]=0x30|((p2ts->cc++)&0x0f); in dvb_filter_pes2ts()
Ddvb_demux.h92 int cc; member
Ddvb_demux.c295 u8 cc; in dvb_dmx_swfilter_section_packet() local
304 cc = buf[3] & 0x0f; in dvb_dmx_swfilter_section_packet()
305 ccok = ((feed->cc + 1) & 0x0f) == cc; in dvb_dmx_swfilter_section_packet()
306 feed->cc = cc; in dvb_dmx_swfilter_section_packet()
/linux-4.1.27/drivers/media/pci/saa7164/
Dsaa7164-core.c120 u8 cc, a; in saa7164_ts_verifier() local
134 cc = *(bufcpu + i + 3) & 0x0f; in saa7164_ts_verifier()
138 if (a != cc) { in saa7164_ts_verifier()
140 port->last_v_cc, cc, i); in saa7164_ts_verifier()
144 port->last_v_cc = cc; in saa7164_ts_verifier()
148 if (a != cc) { in saa7164_ts_verifier()
150 port->last_a_cc, cc, i); in saa7164_ts_verifier()
154 port->last_a_cc = cc; in saa7164_ts_verifier()
/linux-4.1.27/arch/alpha/
DMakefile16 cflags-y += $(call cc-option, -fno-jump-tables)
/linux-4.1.27/arch/x86/mm/
DMakefile5 nostackp := $(call cc-option, -fno-stack-protector)
/linux-4.1.27/arch/sh/kernel/vsyscall/
DMakefile18 $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
/linux-4.1.27/arch/powerpc/kernel/vdso64/
DMakefile14 $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
/linux-4.1.27/drivers/media/usb/au0828/
Dau0828-video.c1515 struct v4l2_cropcap *cc) in vidioc_cropcap() argument
1519 if (cc->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in vidioc_cropcap()
1525 cc->bounds.left = 0; in vidioc_cropcap()
1526 cc->bounds.top = 0; in vidioc_cropcap()
1527 cc->bounds.width = dev->width; in vidioc_cropcap()
1528 cc->bounds.height = dev->height; in vidioc_cropcap()
1530 cc->defrect = cc->bounds; in vidioc_cropcap()
1532 cc->pixelaspect.numerator = 54; in vidioc_cropcap()
1533 cc->pixelaspect.denominator = 59; in vidioc_cropcap()
/linux-4.1.27/Documentation/i2c/busses/
Di2c-via7 Author: Kyösti Mälkki <kmalkki@cc.hut.fi>
/linux-4.1.27/arch/powerpc/kernel/vdso32/
DMakefile21 $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
/linux-4.1.27/arch/s390/kernel/vdso32/
DMakefile16 $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
/linux-4.1.27/arch/s390/kernel/vdso64/
DMakefile16 $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
/linux-4.1.27/drivers/staging/rtl8723au/
DMakefile52 ccflags-y += $(call cc-option,-Wtype-limits,)
/linux-4.1.27/arch/arm64/kernel/vdso/
DMakefile16 $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
/linux-4.1.27/arch/sparc/
DMakefile43 KBUILD_CFLAGS += $(call cc-option,-mtune=ultrasparc3)
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dwmi.c1855 struct wmi_connect_cmd *cc; in ath6kl_wmi_connect_cmd() local
1877 cc = (struct wmi_connect_cmd *) skb->data; in ath6kl_wmi_connect_cmd()
1880 memcpy(cc->ssid, ssid, ssid_len); in ath6kl_wmi_connect_cmd()
1882 cc->ssid_len = ssid_len; in ath6kl_wmi_connect_cmd()
1883 cc->nw_type = nw_type; in ath6kl_wmi_connect_cmd()
1884 cc->dot11_auth_mode = dot11_auth_mode; in ath6kl_wmi_connect_cmd()
1885 cc->auth_mode = auth_mode; in ath6kl_wmi_connect_cmd()
1886 cc->prwise_crypto_type = pairwise_crypto; in ath6kl_wmi_connect_cmd()
1887 cc->prwise_crypto_len = pairwise_crypto_len; in ath6kl_wmi_connect_cmd()
1888 cc->grp_crypto_type = group_crypto; in ath6kl_wmi_connect_cmd()
[all …]
/linux-4.1.27/arch/s390/kvm/
Dkvm-s390.h139 static inline void kvm_s390_set_psw_cc(struct kvm_vcpu *vcpu, unsigned long cc) in kvm_s390_set_psw_cc() argument
142 vcpu->arch.sie_block->gpsw.mask |= cc << 44; in kvm_s390_set_psw_cc()
/linux-4.1.27/block/partitions/
Dibm.c38 cyl |= ptr->cc; in cchh2blk()
56 cyl |= ptr->cc; in cchhb2blk()
/linux-4.1.27/drivers/media/usb/cx231xx/
Dcx231xx-video.c1440 struct v4l2_cropcap *cc) in vidioc_cropcap() argument
1445 if (cc->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in vidioc_cropcap()
1448 cc->bounds.left = 0; in vidioc_cropcap()
1449 cc->bounds.top = 0; in vidioc_cropcap()
1450 cc->bounds.width = dev->width; in vidioc_cropcap()
1451 cc->bounds.height = dev->height; in vidioc_cropcap()
1452 cc->defrect = cc->bounds; in vidioc_cropcap()
1453 cc->pixelaspect.numerator = 54; /* 4:3 FIXME: remove magic numbers */ in vidioc_cropcap()
1454 cc->pixelaspect.denominator = 59; in vidioc_cropcap()

12