/drivers/bcma/ |
H A D | driver_chipcommon.c | 18 static inline u32 bcma_cc_write32_masked(struct bcma_drv_cc *cc, u16 offset, argument 22 value |= bcma_cc_read32(cc, offset) & ~mask; 23 bcma_cc_write32(cc, offset, value); 28 u32 bcma_chipco_get_alp_clock(struct bcma_drv_cc *cc) argument 30 if (cc->capabilities & BCMA_CC_CAP_PMU) 31 return bcma_pmu_get_alp_clock(cc); 37 static u32 bcma_chipco_watchdog_get_max_timer(struct bcma_drv_cc *cc) argument 39 struct bcma_bus *bus = cc->core->bus; 42 if (cc->capabilities & BCMA_CC_CAP_PMU) { 45 else if (cc 61 struct bcma_drv_cc *cc = bcm47xx_wdt_get_drvdata(wdt); local 69 struct bcma_drv_cc *cc = bcm47xx_wdt_get_drvdata(wdt); local 76 bcma_chipco_watchdog_ticks_per_ms(struct bcma_drv_cc *cc) argument 92 bcma_chipco_watchdog_register(struct bcma_drv_cc *cc) argument 113 bcma_core_chipcommon_early_init(struct bcma_drv_cc *cc) argument 132 bcma_core_chipcommon_init(struct bcma_drv_cc *cc) argument 175 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks) argument 198 bcma_chipco_irq_mask(struct bcma_drv_cc *cc, u32 mask, u32 value) argument 203 bcma_chipco_irq_status(struct bcma_drv_cc *cc, u32 mask) argument 208 bcma_chipco_gpio_in(struct bcma_drv_cc *cc, u32 mask) argument 213 bcma_chipco_gpio_out(struct bcma_drv_cc *cc, u32 mask, u32 value) argument 226 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value) argument 243 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value) argument 256 bcma_chipco_gpio_intmask(struct bcma_drv_cc *cc, u32 mask, u32 value) argument 268 bcma_chipco_gpio_polarity(struct bcma_drv_cc *cc, u32 mask, u32 value) argument 280 bcma_chipco_gpio_pullup(struct bcma_drv_cc *cc, u32 mask, u32 value) argument 295 bcma_chipco_gpio_pulldown(struct bcma_drv_cc *cc, u32 mask, u32 value) argument 311 bcma_chipco_serial_init(struct bcma_drv_cc *cc) argument [all...] |
H A D | driver_chipcommon_nflash.c | 19 int bcma_nflash_init(struct bcma_drv_cc *cc) argument 21 struct bcma_bus *bus = cc->core->bus; 24 cc->core->id.rev != 38) { 29 if (!(cc->capabilities & BCMA_CC_CAP_NFLASH)) { 34 cc->nflash.present = true; 35 if (cc->core->id.rev == 38 && 36 (cc->status & BCMA_CC_CHIPST_5357_NAND_BOOT)) 37 cc->nflash.boot = true; 41 bcma_nflash_dev.dev.platform_data = &cc->nflash;
|
H A D | driver_gpio.c | 27 struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip); local 29 return !!bcma_chipco_gpio_in(cc, 1 << gpio); 35 struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip); local 37 bcma_chipco_gpio_out(cc, 1 << gpio, value ? 1 << gpio : 0); 42 struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip); local 44 bcma_chipco_gpio_outen(cc, 1 << gpio, 0); 51 struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip); local 53 bcma_chipco_gpio_outen(cc, 1 << gpio, 1 << gpio); 54 bcma_chipco_gpio_out(cc, 1 << gpio, value ? 1 << gpio : 0); 60 struct bcma_drv_cc *cc local 73 struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip); local 82 struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip); local 92 struct bcma_drv_cc *cc = irq_data_get_irq_chip_data(d); local 102 struct bcma_drv_cc *cc = irq_data_get_irq_chip_data(d); local 116 struct bcma_drv_cc *cc = dev_id; local 133 bcma_gpio_irq_domain_init(struct bcma_drv_cc *cc) argument 177 bcma_gpio_irq_domain_exit(struct bcma_drv_cc *cc) argument 195 bcma_gpio_irq_domain_init(struct bcma_drv_cc *cc) argument 200 bcma_gpio_irq_domain_exit(struct bcma_drv_cc *cc) argument 205 bcma_gpio_init(struct bcma_drv_cc *cc) argument 255 bcma_gpio_unregister(struct bcma_drv_cc *cc) argument [all...] |
H A D | driver_chipcommon_pmu.c | 16 u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset) argument 18 bcma_cc_write32(cc, BCMA_CC_PLLCTL_ADDR, offset); 19 bcma_cc_read32(cc, BCMA_CC_PLLCTL_ADDR); 20 return bcma_cc_read32(cc, BCMA_CC_PLLCTL_DATA); 24 void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset, u32 value) argument 26 bcma_cc_write32(cc, BCMA_CC_PLLCTL_ADDR, offset); 27 bcma_cc_read32(cc, BCMA_CC_PLLCTL_ADDR); 28 bcma_cc_write32(cc, BCMA_CC_PLLCTL_DATA, value); 32 void bcma_chipco_pll_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, argument 35 bcma_cc_write32(cc, BCMA_CC_PLLCTL_ADD 41 bcma_chipco_chipctl_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, u32 set) argument 50 bcma_chipco_regctl_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, u32 set) argument 59 bcma_pmu_xtalfreq(struct bcma_drv_cc *cc) argument 80 bcma_pmu2_pll_init0(struct bcma_drv_cc *cc, u32 xtalfreq) argument 148 bcma_pmu_pll_init(struct bcma_drv_cc *cc) argument 162 bcma_pmu_resources_init(struct bcma_drv_cc *cc) argument 210 bcma_chipco_bcm4331_ext_pa_lines_ctl(struct bcma_drv_cc *cc, bool enable) argument 230 bcma_pmu_workarounds(struct bcma_drv_cc *cc) argument 270 bcma_pmu_early_init(struct bcma_drv_cc *cc) argument 281 bcma_pmu_init(struct bcma_drv_cc *cc) argument 295 bcma_pmu_get_alp_clock(struct bcma_drv_cc *cc) argument 339 bcma_pmu_pll_clock(struct bcma_drv_cc *cc, u32 pll0, u32 m) argument 375 bcma_pmu_pll_clock_bcm4706(struct bcma_drv_cc *cc, u32 pll0, u32 m) argument 406 bcma_pmu_get_bus_clock(struct bcma_drv_cc *cc) argument 438 bcma_pmu_get_cpu_clock(struct bcma_drv_cc *cc) argument 472 bcma_pmu_spuravoid_pll_write(struct bcma_drv_cc *cc, u32 offset, u32 value) argument 479 bcma_pmu_spuravoid_pllupdate(struct bcma_drv_cc *cc, int spuravoid) argument [all...] |
H A D | bcma_private.h | 49 void bcma_chipco_serial_init(struct bcma_drv_cc *cc); 58 u32 bcma_pmu_get_alp_clock(struct bcma_drv_cc *cc); 59 u32 bcma_pmu_get_cpu_clock(struct bcma_drv_cc *cc); 63 int bcma_sflash_init(struct bcma_drv_cc *cc); 66 static inline int bcma_sflash_init(struct bcma_drv_cc *cc) argument 68 bcma_err(cc->core->bus, "Serial flash not supported\n"); 75 int bcma_nflash_init(struct bcma_drv_cc *cc); 78 static inline int bcma_nflash_init(struct bcma_drv_cc *cc) argument 80 bcma_err(cc->core->bus, "NAND flash not supported\n"); 108 extern int bcma_chipco_watchdog_register(struct bcma_drv_cc *cc); 120 bcma_gpio_init(struct bcma_drv_cc *cc) argument 124 bcma_gpio_unregister(struct bcma_drv_cc *cc) argument [all...] |
H A D | driver_chipcommon_sflash.c | 73 static void bcma_sflash_cmd(struct bcma_drv_cc *cc, u32 opcode) argument 76 bcma_cc_write32(cc, BCMA_CC_FLASHCTL, 79 if (!(bcma_cc_read32(cc, BCMA_CC_FLASHCTL) & 84 bcma_err(cc->core->bus, "SFLASH control command failed (timeout)!\n"); 88 int bcma_sflash_init(struct bcma_drv_cc *cc) argument 90 struct bcma_bus *bus = cc->core->bus; 91 struct bcma_sflash *sflash = &cc->sflash; 95 switch (cc->capabilities & BCMA_CC_CAP_FLASHT) { 97 bcma_sflash_cmd(cc, BCMA_CC_FLASHCTL_ST_DP); 99 bcma_cc_write32(cc, BCMA_CC_FLASHADD [all...] |
H A D | driver_mips.c | 242 struct bcma_drv_cc *cc = &bus->drv_cc; local 243 u8 cc_rev = cc->core->id.rev; 263 if (cc->status & BCMA_CC_CHIPST_5357_NAND_BOOT) 265 else if (cc->status & BIT(5)) 269 if ((cc->capabilities & BCMA_CC_CAP_FLASHT) == 282 struct bcma_drv_cc *cc = &bus->drv_cc; local 283 struct bcma_pflash *pflash = &cc->pflash; 286 switch (cc->capabilities & BCMA_CC_CAP_FLASHT) { 290 bcma_sflash_init(cc); 298 if ((bcma_read32(cc [all...] |
/drivers/ssb/ |
H A D | driver_chipcommon.c | 32 static inline u32 chipco_write32_masked(struct ssb_chipcommon *cc, u16 offset, argument 36 value |= chipco_read32(cc, offset) & ~mask; 37 chipco_write32(cc, offset, value); 42 void ssb_chipco_set_clockmode(struct ssb_chipcommon *cc, argument 45 struct ssb_device *ccdev = cc->dev; 57 if (cc->capabilities & SSB_CHIPCO_CAP_PMU) 69 if (!(cc->capabilities & SSB_CHIPCO_CAP_PCTL)) 74 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); 76 chipco_write32(cc, SSB_CHIPCO_SLOWCLKCTL, tmp); 81 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCT 119 chipco_pctl_get_slowclksrc(struct ssb_chipcommon *cc) argument 150 chipco_pctl_clockfreqlimit(struct ssb_chipcommon *cc, int get_max) argument 211 chipco_powercontrol_init(struct ssb_chipcommon *cc) argument 242 pmu_fast_powerup_delay(struct ssb_chipcommon *cc) argument 259 calc_fast_powerup_delay(struct ssb_chipcommon *cc) argument 285 ssb_chipco_alp_clock(struct ssb_chipcommon *cc) argument 293 ssb_chipco_watchdog_get_max_timer(struct ssb_chipcommon *cc) argument 313 struct ssb_chipcommon *cc = bcm47xx_wdt_get_drvdata(wdt); local 323 struct ssb_chipcommon *cc = bcm47xx_wdt_get_drvdata(wdt); local 333 ssb_chipco_watchdog_ticks_per_ms(struct ssb_chipcommon *cc) argument 348 ssb_chipcommon_init(struct ssb_chipcommon *cc) argument 375 ssb_chipco_suspend(struct ssb_chipcommon *cc) argument 382 ssb_chipco_resume(struct ssb_chipcommon *cc) argument 391 ssb_chipco_get_clockcpu(struct ssb_chipcommon *cc, u32 *plltype, u32 *n, u32 *m) argument 414 ssb_chipco_get_clockcontrol(struct ssb_chipcommon *cc, u32 *plltype, u32 *n, u32 *m) argument 434 ssb_chipco_timing_init(struct ssb_chipcommon *cc, unsigned long ns) argument 471 ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, u32 ticks) argument 494 ssb_chipco_irq_mask(struct ssb_chipcommon *cc, u32 mask, u32 value) argument 499 ssb_chipco_irq_status(struct ssb_chipcommon *cc, u32 mask) argument 504 ssb_chipco_gpio_in(struct ssb_chipcommon *cc, u32 mask) argument 509 ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value) argument 521 ssb_chipco_gpio_outen(struct ssb_chipcommon *cc, u32 mask, u32 value) argument 533 ssb_chipco_gpio_control(struct ssb_chipcommon *cc, u32 mask, u32 value) argument 546 ssb_chipco_gpio_intmask(struct ssb_chipcommon *cc, u32 mask, u32 value) argument 558 ssb_chipco_gpio_polarity(struct ssb_chipcommon *cc, u32 mask, u32 value) argument 570 ssb_chipco_gpio_pullup(struct ssb_chipcommon *cc, u32 mask, u32 value) argument 585 ssb_chipco_gpio_pulldown(struct ssb_chipcommon *cc, u32 mask, u32 value) argument 601 ssb_chipco_serial_init(struct ssb_chipcommon *cc, struct ssb_serial_port *ports) argument [all...] |
H A D | driver_chipcommon_pmu.c | 22 static u32 ssb_chipco_pll_read(struct ssb_chipcommon *cc, u32 offset) argument 24 chipco_write32(cc, SSB_CHIPCO_PLLCTL_ADDR, offset); 25 return chipco_read32(cc, SSB_CHIPCO_PLLCTL_DATA); 28 static void ssb_chipco_pll_write(struct ssb_chipcommon *cc, argument 31 chipco_write32(cc, SSB_CHIPCO_PLLCTL_ADDR, offset); 32 chipco_write32(cc, SSB_CHIPCO_PLLCTL_DATA, value); 35 static void ssb_chipco_regctl_maskset(struct ssb_chipcommon *cc, argument 40 chipco_read32(cc, SSB_CHIPCO_REGCTL_ADDR); 41 chipco_write32(cc, SSB_CHIPCO_REGCTL_ADDR, offset); 42 chipco_read32(cc, SSB_CHIPCO_REGCTL_ADD 90 ssb_pmu0_pllinit_r0(struct ssb_chipcommon *cc, u32 crystalfreq) argument 221 ssb_pmu1_pllinit_r0(struct ssb_chipcommon *cc, u32 crystalfreq) argument 317 ssb_pmu_pll_init(struct ssb_chipcommon *cc) argument 423 ssb_pmu_resources_init(struct ssb_chipcommon *cc) argument 517 ssb_pmu_init(struct ssb_chipcommon *cc) argument 540 ssb_pmu_set_ldo_voltage(struct ssb_chipcommon *cc, enum ssb_pmu_ldo_volt_id id, u32 voltage) argument 590 ssb_pmu_set_ldo_paref(struct ssb_chipcommon *cc, bool on) argument 619 ssb_pmu_get_alp_clock_clk0(struct ssb_chipcommon *cc) argument 631 ssb_pmu_get_alp_clock(struct ssb_chipcommon *cc) argument 645 ssb_pmu_get_cpu_clock(struct ssb_chipcommon *cc) argument 660 ssb_pmu_get_controlclock(struct ssb_chipcommon *cc) argument 674 ssb_pmu_spuravoid_pllupdate(struct ssb_chipcommon *cc, int spuravoid) argument [all...] |
H A D | driver_chipcommon_sflash.c | 72 static void ssb_sflash_cmd(struct ssb_chipcommon *cc, u32 opcode) argument 75 chipco_write32(cc, SSB_CHIPCO_FLASHCTL, 78 if (!(chipco_read32(cc, SSB_CHIPCO_FLASHCTL) & 87 int ssb_sflash_init(struct ssb_chipcommon *cc) argument 89 struct ssb_sflash *sflash = &cc->dev->bus->mipscore.sflash; 93 switch (cc->capabilities & SSB_CHIPCO_CAP_FLASHT) { 95 ssb_sflash_cmd(cc, SSB_CHIPCO_FLASHCTL_ST_DP); 97 chipco_write32(cc, SSB_CHIPCO_FLASHADDR, 0); 98 ssb_sflash_cmd(cc, SSB_CHIPCO_FLASHCTL_ST_RES); 99 id = chipco_read32(cc, SSB_CHIPCO_FLASHDAT [all...] |
/drivers/md/ |
H A D | dm-crypt.c | 52 struct crypt_config *cc; member in struct:dm_crypt_io 74 int (*ctr)(struct crypt_config *cc, struct dm_target *ti, 76 void (*dtr)(struct crypt_config *cc); 77 int (*init)(struct crypt_config *cc); 78 int (*wipe)(struct crypt_config *cc); 79 int (*generator)(struct crypt_config *cc, u8 *iv, 81 int (*post)(struct crypt_config *cc, u8 *iv, 181 static u8 *iv_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq); 186 static struct crypto_ablkcipher *any_tfm(struct crypt_config *cc) argument 188 return cc 238 crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) argument 247 crypt_iv_plain64_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) argument 257 crypt_iv_essiv_init(struct crypt_config *cc) argument 284 crypt_iv_essiv_wipe(struct crypt_config *cc) argument 302 setup_essiv_cpu(struct crypt_config *cc, struct dm_target *ti, u8 *salt, unsigned saltsize) argument 334 crypt_iv_essiv_dtr(struct crypt_config *cc) argument 353 crypt_iv_essiv_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) argument 401 crypt_iv_essiv_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) argument 413 crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) argument 437 crypt_iv_benbi_dtr(struct crypt_config *cc) argument 441 crypt_iv_benbi_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) argument 454 crypt_iv_null_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) argument 462 crypt_iv_lmk_dtr(struct crypt_config *cc) argument 474 crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) argument 501 crypt_iv_lmk_init(struct crypt_config *cc) argument 514 crypt_iv_lmk_wipe(struct crypt_config *cc) argument 524 crypt_iv_lmk_one(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq, u8 *data) argument 573 crypt_iv_lmk_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) argument 589 crypt_iv_lmk_post(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) argument 609 crypt_iv_tcw_dtr(struct crypt_config *cc) argument 623 crypt_iv_tcw_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) argument 650 crypt_iv_tcw_init(struct crypt_config *cc) argument 662 crypt_iv_tcw_wipe(struct crypt_config *cc) argument 672 crypt_iv_tcw_whitening(struct crypt_config *cc, struct dm_crypt_request *dmreq, u8 *data) argument 712 crypt_iv_tcw_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) argument 736 crypt_iv_tcw_post(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) argument 797 crypt_convert_init(struct crypt_config *cc, struct convert_context *ctx, struct bio *bio_out, struct bio *bio_in, sector_t sector) argument 812 dmreq_of_req(struct crypt_config *cc, struct ablkcipher_request *req) argument 818 req_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) argument 824 iv_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) argument 831 crypt_convert_block(struct crypt_config *cc, struct convert_context *ctx, struct ablkcipher_request *req) argument 880 crypt_alloc_req(struct crypt_config *cc, struct convert_context *ctx) argument 894 crypt_free_req(struct crypt_config *cc, struct ablkcipher_request *req, struct bio *base_bio) argument 906 crypt_convert(struct crypt_config *cc, struct convert_context *ctx) argument 958 struct crypt_config *cc = io->cc; local 1004 crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone) argument 1016 crypt_io_init(struct dm_crypt_io *io, struct crypt_config *cc, struct bio *bio, sector_t sector) argument 1040 struct crypt_config *cc = io->cc; local 1082 struct crypt_config *cc = io->cc; local 1109 struct crypt_config *cc = io->cc; local 1119 struct crypt_config *cc = io->cc; local 1162 struct crypt_config *cc = io->cc; local 1171 struct crypt_config *cc = io->cc; local 1193 struct crypt_config *cc = io->cc; local 1292 struct crypt_config *cc = io->cc; local 1316 struct crypt_config *cc = io->cc; local 1352 struct crypt_config *cc = io->cc; local 1382 crypt_free_tfms(struct crypt_config *cc) argument 1399 crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode) argument 1421 crypt_setkey_allcpus(struct crypt_config *cc) argument 1440 crypt_set_key(struct crypt_config *cc, char *key) argument 1467 crypt_wipe_key(struct crypt_config *cc) argument 1477 struct crypt_config *cc = ti->private; local 1517 struct crypt_config *cc = ti->private; local 1681 struct crypt_config *cc; local 1830 struct crypt_config *cc = ti->private; local 1861 struct crypt_config *cc = ti->private; local 1890 struct crypt_config *cc = ti->private; local 1897 struct crypt_config *cc = ti->private; local 1909 struct crypt_config *cc = ti->private; local 1920 struct crypt_config *cc = ti->private; local 1957 struct crypt_config *cc = ti->private; local 1972 struct crypt_config *cc = ti->private; local [all...] |
/drivers/mtd/nand/bcm47xxnflash/ |
H A D | ops_bcm4706.c | 47 static int bcm47xxnflash_ops_bcm4706_ctl_cmd(struct bcma_drv_cc *cc, u32 code) argument 51 bcma_cc_write32(cc, BCMA_CC_NFLASH_CTL, NCTL_START | code); 53 if (!(bcma_cc_read32(cc, BCMA_CC_NFLASH_CTL) & NCTL_START)) { 65 static int bcm47xxnflash_ops_bcm4706_poll(struct bcma_drv_cc *cc) argument 70 if (bcma_cc_read32(cc, BCMA_CC_NFLASH_CTL) & NCTL_READY) { 71 if (bcma_cc_read32(cc, BCMA_CC_NFLASH_CTL) & 109 bcma_cc_write32(b47n->cc, BCMA_CC_NFLASH_COL_ADDR, 111 bcma_cc_write32(b47n->cc, BCMA_CC_NFLASH_ROW_ADDR, 118 if (bcm47xxnflash_ops_bcm4706_ctl_cmd(b47n->cc, ctlcode)) 120 if (bcm47xxnflash_ops_bcm4706_poll(b47n->cc)) 144 struct bcma_drv_cc *cc = b47n->cc; local 221 struct bcma_drv_cc *cc = b47n->cc; local 317 struct bcma_drv_cc *cc = b47n->cc; local [all...] |
H A D | bcm47xxnflash.h | 12 struct bcma_drv_cc *cc; member in struct:bcm47xxnflash
|
H A D | main.c | 39 b47n->cc = container_of(nflash, struct bcma_drv_cc, nflash); 41 if (b47n->cc->core->bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) {
|
/drivers/net/wireless/ath/ |
H A D | hw.c | 180 struct ath_cycle_counters *cc = &common->cc_ani; local 183 listen_time = (cc->cycles - cc->rx_frame - cc->tx_frame) / 186 memset(cc, 0, sizeof(*cc));
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | aiutils.c | 444 ai_buscore_setup(struct si_info *sii, struct bcma_device *cc) argument 447 if (cc->bus->nr_cores == 0) 451 sii->pub.ccrev = cc->id.rev; 454 sii->chipst = bcma_read32(cc, CHIPCREGOFFS(chipstatus)); 457 sii->pub.cccaps = bcma_read32(cc, CHIPCREGOFFS(capabilities)); 461 sii->pub.pmucaps = bcma_read32(cc, 473 struct bcma_device *cc; local 479 cc = pbus->drv_cc.core; 487 if (!ai_buscore_setup(sii, cc)) 491 bcma_write32(cc, CHIPCREGOFF 545 struct bcma_device *cc; local 563 ai_slowclk_src(struct si_pub *sih, struct bcma_device *cc) argument 572 ai_slowclk_freq(struct si_pub *sih, bool max_freq, struct bcma_device *cc) argument 584 ai_clkctl_setdelay(struct si_pub *sih, struct bcma_device *cc) argument 616 struct bcma_device *cc; local 639 struct bcma_device *cc; local 673 struct bcma_device *cc; local 686 struct bcma_device *cc; local [all...] |
/drivers/firmware/efi/libstub/ |
H A D | Makefile | 18 $(call cc-option,-ffreestanding) \ 19 $(call cc-option,-fno-stack-protector)
|
/drivers/media/pci/ivtv/ |
H A D | ivtv-vbi.c | 44 static void ivtv_set_cc(struct ivtv *itv, int mode, const struct vbi_cc *cc) argument 53 data.data[0] = cc->odd[0]; 54 data.data[1] = cc->odd[1]; 58 data.data[0] = cc->even[0]; 59 data.data[1] = cc->even[1]; 97 struct vbi_cc *cc, int *found_cc) 103 cc->even[0] = d->data[0]; 104 cc->even[1] = d->data[1]; 106 cc->odd[0] = d->data[0]; 107 cc 95 ivtv_write_vbi_line(struct ivtv *itv, const struct v4l2_sliced_vbi_data *d, struct vbi_cc *cc, int *found_cc) argument 133 ivtv_write_vbi_cc_lines(struct ivtv *itv, const struct vbi_cc *cc) argument 149 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } }; local 165 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } }; local 466 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } }; local 478 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } }; local [all...] |
/drivers/clk/qcom/ |
H A D | common.c | 71 struct qcom_cc *cc; local 75 cc = devm_kzalloc(dev, sizeof(*cc) + sizeof(*clks) * num_clks, 77 if (!cc) 80 clks = cc->clks; 81 data = &cc->data; 100 reset = &cc->reset;
|
/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ptp.c | 125 static cycle_t xgbe_cc_read(const struct cyclecounter *cc) argument 127 struct xgbe_prv_data *pdata = container_of(cc, 236 struct cyclecounter *cc = &pdata->tstamp_cc; local 266 cc->read = xgbe_cc_read; 267 cc->mask = CLOCKSOURCE_MASK(64); 268 cc->mult = 1; 269 cc->shift = 0;
|
/drivers/s390/cio/ |
H A D | ioasm.h | 41 : "cc"); 56 : "cc"); 73 : "cc"); 88 : "cc"); 105 : "cc", "memory"); 120 : "cc"); 134 : "cc"); 141 int cc; local 147 : "=d" (cc), "=m" (*(addr_type *) chsc_area) 149 : "cc"); [all...] |
/drivers/media/platform/vivid/ |
H A D | vivid-vbi-gen.c | 81 static void cc_insert(u8 *cc, u8 ch) argument 87 cc[2 * i] = cc[2 * i + 1] = (ch & (1 << i)) ? 1 : 0; 88 tot += cc[2 * i]; 90 cc[14] = cc[15] = !(tot & 1); 100 u8 cc[CC_PREAMBLE_BITS + 2 * 16] = { local 110 cc_insert(cc + CC_PREAMBLE_BITS, data->data[0]); 111 cc_insert(cc + CC_PREAMBLE_BITS + 16, data->data[1]); 113 for (i = 0, bit = 0; bit < sizeof(cc); bi [all...] |
/drivers/usb/host/ |
H A D | fhci-q.c | 221 u32 cc = td->status; local 227 cc == USB_TD_RX_DATA_UNDERUN)) 228 cc = USB_TD_OK; 238 status_to_error(cc); 253 cc == USB_TD_RX_DATA_UNDERUN) { 255 cc = USB_TD_OK; 257 if (cc != USB_TD_OK) { 259 urb->status = status_to_error(cc);
|
/drivers/s390/block/ |
H A D | xpram.c | 92 int cc = 2; /* return unused cc 2 if pgin traps */ local 100 : "+d" (cc) : "a" (__pa(page_addr)), "d" (xpage_index) : "cc"); 101 if (cc == 3) 103 if (cc == 2) 105 if (cc == 1) 122 int cc = 2; /* return unused cc 2 if pgin traps */ local 130 : "+d" (cc) [all...] |
/drivers/net/ethernet/freescale/ |
H A D | fec_ptp.c | 191 * is bigger than fep->cc.mask would be a error. 193 val &= fep->cc.mask; 197 fep->next_counter = (val + fep->reload_period) & fep->cc.mask; 216 fep->next_counter = (fep->next_counter + fep->reload_period) & fep->cc.mask; 229 * @cc: the cyclecounter structure 235 static cycle_t fec_ptp_read(const struct cyclecounter *cc) argument 238 container_of(cc, struct fec_enet_private, cc); 281 memset(&fep->cc, 0, sizeof(fep->cc)); [all...] |