Home
last modified time | relevance | path

Searched refs:cc (Results 1 - 25 of 804) sorted by relevance

12345678910>>...33

/kernel/linux/linux-5.10/drivers/ssb/
H A 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_SLOWCLKCT in ssb_chipco_set_clockmode()
119 chipco_pctl_get_slowclksrc(struct ssb_chipcommon *cc) chipco_pctl_get_slowclksrc() argument
150 chipco_pctl_clockfreqlimit(struct ssb_chipcommon *cc, int get_max) chipco_pctl_clockfreqlimit() argument
211 chipco_powercontrol_init(struct ssb_chipcommon *cc) chipco_powercontrol_init() argument
242 pmu_fast_powerup_delay(struct ssb_chipcommon *cc) pmu_fast_powerup_delay() argument
259 calc_fast_powerup_delay(struct ssb_chipcommon *cc) calc_fast_powerup_delay() argument
285 ssb_chipco_alp_clock(struct ssb_chipcommon *cc) ssb_chipco_alp_clock() argument
293 ssb_chipco_watchdog_get_max_timer(struct ssb_chipcommon *cc) ssb_chipco_watchdog_get_max_timer() argument
313 struct ssb_chipcommon *cc = bcm47xx_wdt_get_drvdata(wdt); ssb_chipco_watchdog_timer_set_wdt() local
323 struct ssb_chipcommon *cc = bcm47xx_wdt_get_drvdata(wdt); ssb_chipco_watchdog_timer_set_ms() local
333 ssb_chipco_watchdog_ticks_per_ms(struct ssb_chipcommon *cc) ssb_chipco_watchdog_ticks_per_ms() argument
348 ssb_chipcommon_init(struct ssb_chipcommon *cc) ssb_chipcommon_init() argument
375 ssb_chipco_suspend(struct ssb_chipcommon *cc) ssb_chipco_suspend() argument
382 ssb_chipco_resume(struct ssb_chipcommon *cc) ssb_chipco_resume() argument
391 ssb_chipco_get_clockcpu(struct ssb_chipcommon *cc, u32 *plltype, u32 *n, u32 *m) ssb_chipco_get_clockcpu() argument
414 ssb_chipco_get_clockcontrol(struct ssb_chipcommon *cc, u32 *plltype, u32 *n, u32 *m) ssb_chipco_get_clockcontrol() argument
434 ssb_chipco_timing_init(struct ssb_chipcommon *cc, unsigned long ns) ssb_chipco_timing_init() argument
471 ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, u32 ticks) ssb_chipco_watchdog_timer_set() argument
494 ssb_chipco_irq_mask(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_irq_mask() argument
499 ssb_chipco_irq_status(struct ssb_chipcommon *cc, u32 mask) ssb_chipco_irq_status() argument
504 ssb_chipco_gpio_in(struct ssb_chipcommon *cc, u32 mask) ssb_chipco_gpio_in() argument
509 ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_out() argument
521 ssb_chipco_gpio_outen(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_outen() argument
533 ssb_chipco_gpio_control(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_control() argument
546 ssb_chipco_gpio_intmask(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_intmask() argument
558 ssb_chipco_gpio_polarity(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_polarity() argument
570 ssb_chipco_gpio_pullup(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_pullup() argument
585 ssb_chipco_gpio_pulldown(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_pulldown() argument
601 ssb_chipco_serial_init(struct ssb_chipcommon *cc, struct ssb_serial_port *ports) ssb_chipco_serial_init() argument
[all...]
H A 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_ADD in ssb_chipco_regctl_maskset()
90 ssb_pmu0_pllinit_r0(struct ssb_chipcommon *cc, u32 crystalfreq) ssb_pmu0_pllinit_r0() argument
221 ssb_pmu1_pllinit_r0(struct ssb_chipcommon *cc, u32 crystalfreq) ssb_pmu1_pllinit_r0() argument
317 ssb_pmu_pll_init(struct ssb_chipcommon *cc) ssb_pmu_pll_init() argument
423 ssb_pmu_resources_init(struct ssb_chipcommon *cc) ssb_pmu_resources_init() argument
517 ssb_pmu_init(struct ssb_chipcommon *cc) ssb_pmu_init() argument
540 ssb_pmu_set_ldo_voltage(struct ssb_chipcommon *cc, enum ssb_pmu_ldo_volt_id id, u32 voltage) ssb_pmu_set_ldo_voltage() argument
590 ssb_pmu_set_ldo_paref(struct ssb_chipcommon *cc, bool on) ssb_pmu_set_ldo_paref() argument
619 ssb_pmu_get_alp_clock_clk0(struct ssb_chipcommon *cc) ssb_pmu_get_alp_clock_clk0() argument
631 ssb_pmu_get_alp_clock(struct ssb_chipcommon *cc) ssb_pmu_get_alp_clock() argument
645 ssb_pmu_get_cpu_clock(struct ssb_chipcommon *cc) ssb_pmu_get_cpu_clock() argument
660 ssb_pmu_get_controlclock(struct ssb_chipcommon *cc) ssb_pmu_get_controlclock() argument
674 ssb_pmu_spuravoid_pllupdate(struct ssb_chipcommon *cc, int spuravoid) ssb_pmu_spuravoid_pllupdate() argument
[all...]
/kernel/linux/linux-6.6/drivers/ssb/
H A 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_SLOWCLKCT in ssb_chipco_set_clockmode()
119 chipco_pctl_get_slowclksrc(struct ssb_chipcommon *cc) chipco_pctl_get_slowclksrc() argument
150 chipco_pctl_clockfreqlimit(struct ssb_chipcommon *cc, int get_max) chipco_pctl_clockfreqlimit() argument
211 chipco_powercontrol_init(struct ssb_chipcommon *cc) chipco_powercontrol_init() argument
242 pmu_fast_powerup_delay(struct ssb_chipcommon *cc) pmu_fast_powerup_delay() argument
259 calc_fast_powerup_delay(struct ssb_chipcommon *cc) calc_fast_powerup_delay() argument
285 ssb_chipco_alp_clock(struct ssb_chipcommon *cc) ssb_chipco_alp_clock() argument
293 ssb_chipco_watchdog_get_max_timer(struct ssb_chipcommon *cc) ssb_chipco_watchdog_get_max_timer() argument
313 struct ssb_chipcommon *cc = bcm47xx_wdt_get_drvdata(wdt); ssb_chipco_watchdog_timer_set_wdt() local
323 struct ssb_chipcommon *cc = bcm47xx_wdt_get_drvdata(wdt); ssb_chipco_watchdog_timer_set_ms() local
333 ssb_chipco_watchdog_ticks_per_ms(struct ssb_chipcommon *cc) ssb_chipco_watchdog_ticks_per_ms() argument
348 ssb_chipcommon_init(struct ssb_chipcommon *cc) ssb_chipcommon_init() argument
375 ssb_chipco_suspend(struct ssb_chipcommon *cc) ssb_chipco_suspend() argument
382 ssb_chipco_resume(struct ssb_chipcommon *cc) ssb_chipco_resume() argument
391 ssb_chipco_get_clockcpu(struct ssb_chipcommon *cc, u32 *plltype, u32 *n, u32 *m) ssb_chipco_get_clockcpu() argument
414 ssb_chipco_get_clockcontrol(struct ssb_chipcommon *cc, u32 *plltype, u32 *n, u32 *m) ssb_chipco_get_clockcontrol() argument
434 ssb_chipco_timing_init(struct ssb_chipcommon *cc, unsigned long ns) ssb_chipco_timing_init() argument
471 ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, u32 ticks) ssb_chipco_watchdog_timer_set() argument
494 ssb_chipco_irq_mask(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_irq_mask() argument
499 ssb_chipco_irq_status(struct ssb_chipcommon *cc, u32 mask) ssb_chipco_irq_status() argument
504 ssb_chipco_gpio_in(struct ssb_chipcommon *cc, u32 mask) ssb_chipco_gpio_in() argument
509 ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_out() argument
521 ssb_chipco_gpio_outen(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_outen() argument
533 ssb_chipco_gpio_control(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_control() argument
546 ssb_chipco_gpio_intmask(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_intmask() argument
558 ssb_chipco_gpio_polarity(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_polarity() argument
570 ssb_chipco_gpio_pullup(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_pullup() argument
585 ssb_chipco_gpio_pulldown(struct ssb_chipcommon *cc, u32 mask, u32 value) ssb_chipco_gpio_pulldown() argument
601 ssb_chipco_serial_init(struct ssb_chipcommon *cc, struct ssb_serial_port *ports) ssb_chipco_serial_init() argument
[all...]
H A 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_ADD in ssb_chipco_regctl_maskset()
90 ssb_pmu0_pllinit_r0(struct ssb_chipcommon *cc, u32 crystalfreq) ssb_pmu0_pllinit_r0() argument
221 ssb_pmu1_pllinit_r0(struct ssb_chipcommon *cc, u32 crystalfreq) ssb_pmu1_pllinit_r0() argument
317 ssb_pmu_pll_init(struct ssb_chipcommon *cc) ssb_pmu_pll_init() argument
423 ssb_pmu_resources_init(struct ssb_chipcommon *cc) ssb_pmu_resources_init() argument
517 ssb_pmu_init(struct ssb_chipcommon *cc) ssb_pmu_init() argument
540 ssb_pmu_set_ldo_voltage(struct ssb_chipcommon *cc, enum ssb_pmu_ldo_volt_id id, u32 voltage) ssb_pmu_set_ldo_voltage() argument
590 ssb_pmu_set_ldo_paref(struct ssb_chipcommon *cc, bool on) ssb_pmu_set_ldo_paref() argument
619 ssb_pmu_get_alp_clock_clk0(struct ssb_chipcommon *cc) ssb_pmu_get_alp_clock_clk0() argument
631 ssb_pmu_get_alp_clock(struct ssb_chipcommon *cc) ssb_pmu_get_alp_clock() argument
645 ssb_pmu_get_cpu_clock(struct ssb_chipcommon *cc) ssb_pmu_get_cpu_clock() argument
660 ssb_pmu_get_controlclock(struct ssb_chipcommon *cc) ssb_pmu_get_controlclock() argument
674 ssb_pmu_spuravoid_pllupdate(struct ssb_chipcommon *cc, int spuravoid) ssb_pmu_spuravoid_pllupdate() argument
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-crypt.c74 struct crypt_config *cc; member
102 int (*ctr)(struct crypt_config *cc, struct dm_target *ti,
104 void (*dtr)(struct crypt_config *cc);
105 int (*init)(struct crypt_config *cc);
106 int (*wipe)(struct crypt_config *cc);
107 int (*generator)(struct crypt_config *cc, u8 *iv,
109 int (*post)(struct crypt_config *cc, u8 *iv,
244 static struct scatterlist *crypt_get_sg_data(struct crypt_config *cc,
247 static bool crypt_integrity_aead(struct crypt_config *cc);
252 static struct crypto_skcipher *any_tfm(struct crypt_config *cc) in any_tfm() argument
257 any_tfm_aead(struct crypt_config *cc) any_tfm_aead() argument
318 crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_plain_gen() argument
327 crypt_iv_plain64_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_plain64_gen() argument
336 crypt_iv_plain64be_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_plain64be_gen() argument
346 crypt_iv_essiv_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_essiv_gen() argument
359 crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) crypt_iv_benbi_ctr() argument
390 crypt_iv_benbi_dtr(struct crypt_config *cc) crypt_iv_benbi_dtr() argument
394 crypt_iv_benbi_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_benbi_gen() argument
407 crypt_iv_null_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_null_gen() argument
415 crypt_iv_lmk_dtr(struct crypt_config *cc) crypt_iv_lmk_dtr() argument
427 crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) crypt_iv_lmk_ctr() argument
460 crypt_iv_lmk_init(struct crypt_config *cc) crypt_iv_lmk_init() argument
473 crypt_iv_lmk_wipe(struct crypt_config *cc) crypt_iv_lmk_wipe() argument
483 crypt_iv_lmk_one(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq, u8 *data) crypt_iv_lmk_one() argument
531 crypt_iv_lmk_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_lmk_gen() argument
549 crypt_iv_lmk_post(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_lmk_post() argument
571 crypt_iv_tcw_dtr(struct crypt_config *cc) crypt_iv_tcw_dtr() argument
585 crypt_iv_tcw_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) crypt_iv_tcw_ctr() argument
618 crypt_iv_tcw_init(struct crypt_config *cc) crypt_iv_tcw_init() argument
630 crypt_iv_tcw_wipe(struct crypt_config *cc) crypt_iv_tcw_wipe() argument
640 crypt_iv_tcw_whitening(struct crypt_config *cc, struct dm_crypt_request *dmreq, u8 *data) crypt_iv_tcw_whitening() argument
678 crypt_iv_tcw_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_tcw_gen() argument
704 crypt_iv_tcw_post(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_tcw_post() argument
723 crypt_iv_random_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_random_gen() argument
731 crypt_iv_eboiv_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) crypt_iv_eboiv_ctr() argument
747 crypt_iv_eboiv_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_eboiv_gen() argument
781 crypt_iv_elephant_dtr(struct crypt_config *cc) crypt_iv_elephant_dtr() argument
789 crypt_iv_elephant_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) crypt_iv_elephant_ctr() argument
953 crypt_iv_elephant(struct crypt_config *cc, struct dm_crypt_request *dmreq) crypt_iv_elephant() argument
1026 crypt_iv_elephant_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_elephant_gen() argument
1040 crypt_iv_elephant_post(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_elephant_post() argument
1049 crypt_iv_elephant_init(struct crypt_config *cc) crypt_iv_elephant_init() argument
1057 crypt_iv_elephant_wipe(struct crypt_config *cc) crypt_iv_elephant_wipe() argument
1131 crypt_integrity_aead(struct crypt_config *cc) crypt_integrity_aead() argument
1136 crypt_integrity_hmac(struct crypt_config *cc) crypt_integrity_hmac() argument
1142 crypt_get_sg_data(struct crypt_config *cc, struct scatterlist *sg) crypt_get_sg_data() argument
1176 crypt_integrity_ctr(struct crypt_config *cc, struct dm_target *ti) crypt_integrity_ctr() argument
1223 crypt_convert_init(struct crypt_config *cc, struct convert_context *ctx, struct bio *bio_out, struct bio *bio_in, sector_t sector) crypt_convert_init() argument
1238 dmreq_of_req(struct crypt_config *cc, void *req) dmreq_of_req() argument
1244 req_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) req_of_dmreq() argument
1249 iv_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) iv_of_dmreq() argument
1260 org_iv_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) org_iv_of_dmreq() argument
1266 org_sector_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) org_sector_of_dmreq() argument
1274 org_tag_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) org_tag_of_dmreq() argument
1283 tag_from_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) tag_from_dmreq() argument
1293 iv_tag_from_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) iv_tag_from_dmreq() argument
1299 crypt_convert_block_aead(struct crypt_config *cc, struct convert_context *ctx, struct aead_request *req, unsigned int tag_offset) crypt_convert_block_aead() argument
1401 crypt_convert_block_skcipher(struct crypt_config *cc, struct convert_context *ctx, struct skcipher_request *req, unsigned int tag_offset) crypt_convert_block_skcipher() argument
1480 crypt_alloc_req_skcipher(struct crypt_config *cc, struct convert_context *ctx) crypt_alloc_req_skcipher() argument
1504 crypt_alloc_req_aead(struct crypt_config *cc, struct convert_context *ctx) crypt_alloc_req_aead() argument
1526 crypt_alloc_req(struct crypt_config *cc, struct convert_context *ctx) crypt_alloc_req() argument
1535 crypt_free_req_skcipher(struct crypt_config *cc, struct skcipher_request *req, struct bio *base_bio) crypt_free_req_skcipher() argument
1544 crypt_free_req_aead(struct crypt_config *cc, struct aead_request *req, struct bio *base_bio) crypt_free_req_aead() argument
1553 crypt_free_req(struct crypt_config *cc, void *req, struct bio *base_bio) crypt_free_req() argument
1564 crypt_convert(struct crypt_config *cc, struct convert_context *ctx, bool atomic, bool reset_pending) crypt_convert() argument
1682 struct crypt_config *cc = io->cc; crypt_alloc_buffer() local
1749 crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone) crypt_free_buffer_pages() argument
1766 crypt_io_init(struct dm_crypt_io *io, struct crypt_config *cc, struct bio *bio, sector_t sector) crypt_io_init() argument
1794 struct crypt_config *cc = io->cc; crypt_dec_pending() local
1843 struct crypt_config *cc = io->cc; crypt_endio() local
1875 struct crypt_config *cc = io->cc; kcryptd_io_read() local
1932 struct crypt_config *cc = io->cc; kcryptd_queue_read() local
1949 struct crypt_config *cc = data; dmcrypt_write() local
2003 struct crypt_config *cc = io->cc; kcryptd_crypt_write_io_submit() local
2044 kcryptd_crypt_write_inline(struct crypt_config *cc, struct convert_context *ctx) kcryptd_crypt_write_inline() argument
2068 struct crypt_config *cc = io->cc; kcryptd_crypt_write_continue() local
2098 struct crypt_config *cc = io->cc; kcryptd_crypt_write_convert() local
2176 struct crypt_config *cc = io->cc; kcryptd_crypt_read_continue() local
2194 struct crypt_config *cc = io->cc; kcryptd_crypt_read_convert() local
2233 struct crypt_config *cc = io->cc; kcryptd_async_done() local
2296 struct crypt_config *cc = io->cc; kcryptd_queue_crypt() local
2315 crypt_free_tfms_aead(struct crypt_config *cc) crypt_free_tfms_aead() argument
2329 crypt_free_tfms_skcipher(struct crypt_config *cc) crypt_free_tfms_skcipher() argument
2346 crypt_free_tfms(struct crypt_config *cc) crypt_free_tfms() argument
2354 crypt_alloc_tfms_skcipher(struct crypt_config *cc, char *ciphermode) crypt_alloc_tfms_skcipher() argument
2385 crypt_alloc_tfms_aead(struct crypt_config *cc, char *ciphermode) crypt_alloc_tfms_aead() argument
2406 crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode) crypt_alloc_tfms() argument
2414 crypt_subkey_size(struct crypt_config *cc) crypt_subkey_size() argument
2419 crypt_authenckey_size(struct crypt_config *cc) crypt_authenckey_size() argument
2446 crypt_setkey(struct crypt_config *cc) crypt_setkey() argument
2495 set_key_user(struct crypt_config *cc, struct key *key) set_key_user() argument
2511 set_key_encrypted(struct crypt_config *cc, struct key *key) set_key_encrypted() argument
2527 set_key_trusted(struct crypt_config *cc, struct key *key) set_key_trusted() argument
2543 crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) crypt_set_keyring_key() argument
2646 crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) crypt_set_keyring_key() argument
2658 crypt_set_key(struct crypt_config *cc, char *key) crypt_set_key() argument
2695 crypt_wipe_key(struct crypt_config *cc) crypt_wipe_key() argument
2732 struct crypt_config *cc = pool_data; crypt_page_alloc() local
2753 struct crypt_config *cc = pool_data; crypt_page_free() local
2761 struct crypt_config *cc = ti->private; crypt_dtr() local
2814 struct crypt_config *cc = ti->private; crypt_ctr_ivmode() local
2887 crypt_ctr_auth_cipher(struct crypt_config *cc, char *cipher_api) crypt_ctr_auth_cipher() argument
2924 struct crypt_config *cc = ti->private; crypt_ctr_cipher_new() local
2997 struct crypt_config *cc = ti->private; crypt_ctr_cipher_old() local
3081 struct crypt_config *cc = ti->private; crypt_ctr_cipher() local
3137 struct crypt_config *cc = ti->private; crypt_ctr_optional() local
3218 struct crypt_config *cc = ti->private; crypt_report_zones() local
3234 struct crypt_config *cc; crypt_ctr() local
3450 struct crypt_config *cc = ti->private; crypt_map() local
3524 struct crypt_config *cc = ti->private; crypt_status() local
3613 struct crypt_config *cc = ti->private; crypt_postsuspend() local
3620 struct crypt_config *cc = ti->private; crypt_preresume() local
3632 struct crypt_config *cc = ti->private; crypt_resume() local
3644 struct crypt_config *cc = ti->private; crypt_message() local
3685 struct crypt_config *cc = ti->private; crypt_iterate_devices() local
3692 struct crypt_config *cc = ti->private; crypt_io_hints() local
[all...]
/kernel/linux/linux-5.10/drivers/bcma/
H A 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 bool bcma_core_cc_has_pmu_watchdog(struct bcma_drv_cc *cc) in bcma_core_cc_has_pmu_watchdog() argument
39 struct bcma_bus *bus = cc->core->bus; in bcma_core_cc_has_pmu_watchdog()
41 if (cc->capabilities & BCMA_CC_CAP_PMU) { in bcma_core_cc_has_pmu_watchdog()
56 static u32 bcma_chipco_watchdog_get_max_timer(struct bcma_drv_cc *cc) in bcma_chipco_watchdog_get_max_timer() argument
80 struct bcma_drv_cc *cc = bcm47xx_wdt_get_drvdata(wdt); bcma_chipco_watchdog_timer_set_wdt() local
88 struct bcma_drv_cc *cc = bcm47xx_wdt_get_drvdata(wdt); bcma_chipco_watchdog_timer_set_ms_wdt() local
95 bcma_chipco_watchdog_ticks_per_ms(struct bcma_drv_cc *cc) bcma_chipco_watchdog_ticks_per_ms() argument
113 bcma_chipco_watchdog_register(struct bcma_drv_cc *cc) bcma_chipco_watchdog_register() argument
142 bcma_core_chipcommon_flash_detect(struct bcma_drv_cc *cc) bcma_core_chipcommon_flash_detect() argument
169 bcma_core_chipcommon_early_init(struct bcma_drv_cc *cc) bcma_core_chipcommon_early_init() argument
193 bcma_core_chipcommon_init(struct bcma_drv_cc *cc) bcma_core_chipcommon_init() argument
236 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks) bcma_chipco_watchdog_timer_set() argument
264 bcma_chipco_irq_mask(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_irq_mask() argument
269 bcma_chipco_irq_status(struct bcma_drv_cc *cc, u32 mask) bcma_chipco_irq_status() argument
274 bcma_chipco_gpio_in(struct bcma_drv_cc *cc, u32 mask) bcma_chipco_gpio_in() argument
279 bcma_chipco_gpio_out(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_out() argument
292 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_outen() argument
309 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_control() argument
322 bcma_chipco_gpio_intmask(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_intmask() argument
334 bcma_chipco_gpio_polarity(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_polarity() argument
346 bcma_chipco_gpio_pullup(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_pullup() argument
361 bcma_chipco_gpio_pulldown(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_pulldown() argument
377 bcma_chipco_serial_init(struct bcma_drv_cc *cc) bcma_chipco_serial_init() argument
[all...]
H A Ddriver_chipcommon_pmu.c16 u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset) in bcma_chipco_pll_read() argument
18 bcma_pmu_write32(cc, BCMA_CC_PMU_PLLCTL_ADDR, offset); in bcma_chipco_pll_read()
19 bcma_pmu_read32(cc, BCMA_CC_PMU_PLLCTL_ADDR); in bcma_chipco_pll_read()
20 return bcma_pmu_read32(cc, BCMA_CC_PMU_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_pmu_write32(cc, BCMA_CC_PMU_PLLCTL_ADDR, offset); in bcma_chipco_pll_write()
27 bcma_pmu_read32(cc, BCMA_CC_PMU_PLLCTL_ADDR); in bcma_chipco_pll_write()
28 bcma_pmu_write32(cc, BCMA_CC_PMU_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_pmu_write32(cc, BCMA_CC_PMU_PLLCTL_ADD in bcma_chipco_pll_maskset()
41 bcma_chipco_chipctl_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, u32 set) bcma_chipco_chipctl_maskset() argument
50 bcma_chipco_regctl_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, u32 set) bcma_chipco_regctl_maskset() argument
59 bcma_pmu_xtalfreq(struct bcma_drv_cc *cc) bcma_pmu_xtalfreq() argument
80 bcma_pmu2_pll_init0(struct bcma_drv_cc *cc, u32 xtalfreq) bcma_pmu2_pll_init0() argument
148 bcma_pmu_pll_init(struct bcma_drv_cc *cc) bcma_pmu_pll_init() argument
162 bcma_pmu_resources_init(struct bcma_drv_cc *cc) bcma_pmu_resources_init() argument
210 bcma_chipco_bcm4331_ext_pa_lines_ctl(struct bcma_drv_cc *cc, bool enable) bcma_chipco_bcm4331_ext_pa_lines_ctl() argument
230 bcma_pmu_workarounds(struct bcma_drv_cc *cc) bcma_pmu_workarounds() argument
274 bcma_pmu_early_init(struct bcma_drv_cc *cc) bcma_pmu_early_init() argument
295 bcma_pmu_init(struct bcma_drv_cc *cc) bcma_pmu_init() argument
309 bcma_pmu_get_alp_clock(struct bcma_drv_cc *cc) bcma_pmu_get_alp_clock() argument
353 bcma_pmu_pll_clock(struct bcma_drv_cc *cc, u32 pll0, u32 m) bcma_pmu_pll_clock() argument
389 bcma_pmu_pll_clock_bcm4706(struct bcma_drv_cc *cc, u32 pll0, u32 m) bcma_pmu_pll_clock_bcm4706() argument
420 bcma_pmu_get_bus_clock(struct bcma_drv_cc *cc) bcma_pmu_get_bus_clock() argument
452 bcma_pmu_get_cpu_clock(struct bcma_drv_cc *cc) bcma_pmu_get_cpu_clock() argument
486 bcma_pmu_spuravoid_pll_write(struct bcma_drv_cc *cc, u32 offset, u32 value) bcma_pmu_spuravoid_pll_write() argument
493 bcma_pmu_spuravoid_pllupdate(struct bcma_drv_cc *cc, int spuravoid) bcma_pmu_spuravoid_pllupdate() argument
[all...]
H A Ddriver_gpio.c22 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_get_value() local
24 return !!bcma_chipco_gpio_in(cc, 1 << gpio); in bcma_gpio_get_value()
30 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_set_value() local
32 bcma_chipco_gpio_out(cc, 1 << gpio, value ? 1 << gpio : 0); in bcma_gpio_set_value()
37 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_direction_input() local
39 bcma_chipco_gpio_outen(cc, 1 << gpio, 0); in bcma_gpio_direction_input()
46 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_direction_output() local
48 bcma_chipco_gpio_outen(cc, 1 << gpio, 1 << gpio); in bcma_gpio_direction_output()
49 bcma_chipco_gpio_out(cc, 1 << gpio, value ? 1 << gpio : 0); in bcma_gpio_direction_output()
55 struct bcma_drv_cc *cc in bcma_gpio_request() local
68 struct bcma_drv_cc *cc = gpiochip_get_data(chip); bcma_gpio_free() local
79 struct bcma_drv_cc *cc = gpiochip_get_data(gc); bcma_gpio_irq_unmask() local
90 struct bcma_drv_cc *cc = gpiochip_get_data(gc); bcma_gpio_irq_mask() local
104 struct bcma_drv_cc *cc = dev_id; bcma_gpio_irq_handler() local
122 bcma_gpio_irq_init(struct bcma_drv_cc *cc) bcma_gpio_irq_init() argument
151 bcma_gpio_irq_exit(struct bcma_drv_cc *cc) bcma_gpio_irq_exit() argument
160 bcma_gpio_irq_init(struct bcma_drv_cc *cc) bcma_gpio_irq_init() argument
165 bcma_gpio_irq_exit(struct bcma_drv_cc *cc) bcma_gpio_irq_exit() argument
170 bcma_gpio_init(struct bcma_drv_cc *cc) bcma_gpio_init() argument
227 bcma_gpio_unregister(struct bcma_drv_cc *cc) bcma_gpio_unregister() argument
[all...]
/kernel/linux/linux-6.6/drivers/bcma/
H A 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 bool bcma_core_cc_has_pmu_watchdog(struct bcma_drv_cc *cc) in bcma_core_cc_has_pmu_watchdog() argument
39 struct bcma_bus *bus = cc->core->bus; in bcma_core_cc_has_pmu_watchdog()
41 if (cc->capabilities & BCMA_CC_CAP_PMU) { in bcma_core_cc_has_pmu_watchdog()
56 static u32 bcma_chipco_watchdog_get_max_timer(struct bcma_drv_cc *cc) in bcma_chipco_watchdog_get_max_timer() argument
80 struct bcma_drv_cc *cc = bcm47xx_wdt_get_drvdata(wdt); bcma_chipco_watchdog_timer_set_wdt() local
88 struct bcma_drv_cc *cc = bcm47xx_wdt_get_drvdata(wdt); bcma_chipco_watchdog_timer_set_ms_wdt() local
95 bcma_chipco_watchdog_ticks_per_ms(struct bcma_drv_cc *cc) bcma_chipco_watchdog_ticks_per_ms() argument
113 bcma_chipco_watchdog_register(struct bcma_drv_cc *cc) bcma_chipco_watchdog_register() argument
142 bcma_core_chipcommon_flash_detect(struct bcma_drv_cc *cc) bcma_core_chipcommon_flash_detect() argument
169 bcma_core_chipcommon_early_init(struct bcma_drv_cc *cc) bcma_core_chipcommon_early_init() argument
193 bcma_core_chipcommon_init(struct bcma_drv_cc *cc) bcma_core_chipcommon_init() argument
236 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks) bcma_chipco_watchdog_timer_set() argument
264 bcma_chipco_irq_mask(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_irq_mask() argument
269 bcma_chipco_irq_status(struct bcma_drv_cc *cc, u32 mask) bcma_chipco_irq_status() argument
274 bcma_chipco_gpio_in(struct bcma_drv_cc *cc, u32 mask) bcma_chipco_gpio_in() argument
279 bcma_chipco_gpio_out(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_out() argument
292 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_outen() argument
309 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_control() argument
322 bcma_chipco_gpio_intmask(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_intmask() argument
334 bcma_chipco_gpio_polarity(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_polarity() argument
346 bcma_chipco_gpio_pullup(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_pullup() argument
361 bcma_chipco_gpio_pulldown(struct bcma_drv_cc *cc, u32 mask, u32 value) bcma_chipco_gpio_pulldown() argument
377 bcma_chipco_serial_init(struct bcma_drv_cc *cc) bcma_chipco_serial_init() argument
[all...]
H A Ddriver_chipcommon_pmu.c16 u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset) in bcma_chipco_pll_read() argument
18 bcma_pmu_write32(cc, BCMA_CC_PMU_PLLCTL_ADDR, offset); in bcma_chipco_pll_read()
19 bcma_pmu_read32(cc, BCMA_CC_PMU_PLLCTL_ADDR); in bcma_chipco_pll_read()
20 return bcma_pmu_read32(cc, BCMA_CC_PMU_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_pmu_write32(cc, BCMA_CC_PMU_PLLCTL_ADDR, offset); in bcma_chipco_pll_write()
27 bcma_pmu_read32(cc, BCMA_CC_PMU_PLLCTL_ADDR); in bcma_chipco_pll_write()
28 bcma_pmu_write32(cc, BCMA_CC_PMU_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_pmu_write32(cc, BCMA_CC_PMU_PLLCTL_ADD in bcma_chipco_pll_maskset()
41 bcma_chipco_chipctl_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, u32 set) bcma_chipco_chipctl_maskset() argument
50 bcma_chipco_regctl_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, u32 set) bcma_chipco_regctl_maskset() argument
59 bcma_pmu_xtalfreq(struct bcma_drv_cc *cc) bcma_pmu_xtalfreq() argument
80 bcma_pmu2_pll_init0(struct bcma_drv_cc *cc, u32 xtalfreq) bcma_pmu2_pll_init0() argument
148 bcma_pmu_pll_init(struct bcma_drv_cc *cc) bcma_pmu_pll_init() argument
162 bcma_pmu_resources_init(struct bcma_drv_cc *cc) bcma_pmu_resources_init() argument
210 bcma_chipco_bcm4331_ext_pa_lines_ctl(struct bcma_drv_cc *cc, bool enable) bcma_chipco_bcm4331_ext_pa_lines_ctl() argument
230 bcma_pmu_workarounds(struct bcma_drv_cc *cc) bcma_pmu_workarounds() argument
274 bcma_pmu_early_init(struct bcma_drv_cc *cc) bcma_pmu_early_init() argument
295 bcma_pmu_init(struct bcma_drv_cc *cc) bcma_pmu_init() argument
309 bcma_pmu_get_alp_clock(struct bcma_drv_cc *cc) bcma_pmu_get_alp_clock() argument
353 bcma_pmu_pll_clock(struct bcma_drv_cc *cc, u32 pll0, u32 m) bcma_pmu_pll_clock() argument
389 bcma_pmu_pll_clock_bcm4706(struct bcma_drv_cc *cc, u32 pll0, u32 m) bcma_pmu_pll_clock_bcm4706() argument
420 bcma_pmu_get_bus_clock(struct bcma_drv_cc *cc) bcma_pmu_get_bus_clock() argument
452 bcma_pmu_get_cpu_clock(struct bcma_drv_cc *cc) bcma_pmu_get_cpu_clock() argument
486 bcma_pmu_spuravoid_pll_write(struct bcma_drv_cc *cc, u32 offset, u32 value) bcma_pmu_spuravoid_pll_write() argument
493 bcma_pmu_spuravoid_pllupdate(struct bcma_drv_cc *cc, int spuravoid) bcma_pmu_spuravoid_pllupdate() argument
[all...]
H A Ddriver_gpio.c24 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_get_value() local
26 return !!bcma_chipco_gpio_in(cc, 1 << gpio); in bcma_gpio_get_value()
32 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_set_value() local
34 bcma_chipco_gpio_out(cc, 1 << gpio, value ? 1 << gpio : 0); in bcma_gpio_set_value()
39 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_direction_input() local
41 bcma_chipco_gpio_outen(cc, 1 << gpio, 0); in bcma_gpio_direction_input()
48 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_direction_output() local
50 bcma_chipco_gpio_outen(cc, 1 << gpio, 1 << gpio); in bcma_gpio_direction_output()
51 bcma_chipco_gpio_out(cc, 1 << gpio, value ? 1 << gpio : 0); in bcma_gpio_direction_output()
57 struct bcma_drv_cc *cc in bcma_gpio_request() local
70 struct bcma_drv_cc *cc = gpiochip_get_data(chip); bcma_gpio_free() local
81 struct bcma_drv_cc *cc = gpiochip_get_data(gc); bcma_gpio_irq_unmask() local
93 struct bcma_drv_cc *cc = gpiochip_get_data(gc); bcma_gpio_irq_mask() local
110 struct bcma_drv_cc *cc = dev_id; bcma_gpio_irq_handler() local
128 bcma_gpio_irq_init(struct bcma_drv_cc *cc) bcma_gpio_irq_init() argument
157 bcma_gpio_irq_exit(struct bcma_drv_cc *cc) bcma_gpio_irq_exit() argument
166 bcma_gpio_irq_init(struct bcma_drv_cc *cc) bcma_gpio_irq_init() argument
171 bcma_gpio_irq_exit(struct bcma_drv_cc *cc) bcma_gpio_irq_exit() argument
176 bcma_gpio_init(struct bcma_drv_cc *cc) bcma_gpio_init() argument
231 bcma_gpio_unregister(struct bcma_drv_cc *cc) bcma_gpio_unregister() argument
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-crypt.c67 struct crypt_config *cc; member
95 int (*ctr)(struct crypt_config *cc, struct dm_target *ti,
97 void (*dtr)(struct crypt_config *cc);
98 int (*init)(struct crypt_config *cc);
99 int (*wipe)(struct crypt_config *cc);
100 int (*generator)(struct crypt_config *cc, u8 *iv,
102 int (*post)(struct crypt_config *cc, u8 *iv,
237 static struct scatterlist *crypt_get_sg_data(struct crypt_config *cc,
240 static bool crypt_integrity_aead(struct crypt_config *cc);
245 static struct crypto_skcipher *any_tfm(struct crypt_config *cc) in any_tfm() argument
250 any_tfm_aead(struct crypt_config *cc) any_tfm_aead() argument
311 crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_plain_gen() argument
320 crypt_iv_plain64_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_plain64_gen() argument
329 crypt_iv_plain64be_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_plain64be_gen() argument
339 crypt_iv_essiv_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_essiv_gen() argument
352 crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) crypt_iv_benbi_ctr() argument
382 crypt_iv_benbi_dtr(struct crypt_config *cc) crypt_iv_benbi_dtr() argument
386 crypt_iv_benbi_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_benbi_gen() argument
399 crypt_iv_null_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_null_gen() argument
407 crypt_iv_lmk_dtr(struct crypt_config *cc) crypt_iv_lmk_dtr() argument
419 crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) crypt_iv_lmk_ctr() argument
452 crypt_iv_lmk_init(struct crypt_config *cc) crypt_iv_lmk_init() argument
465 crypt_iv_lmk_wipe(struct crypt_config *cc) crypt_iv_lmk_wipe() argument
475 crypt_iv_lmk_one(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq, u8 *data) crypt_iv_lmk_one() argument
523 crypt_iv_lmk_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_lmk_gen() argument
541 crypt_iv_lmk_post(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_lmk_post() argument
563 crypt_iv_tcw_dtr(struct crypt_config *cc) crypt_iv_tcw_dtr() argument
577 crypt_iv_tcw_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) crypt_iv_tcw_ctr() argument
610 crypt_iv_tcw_init(struct crypt_config *cc) crypt_iv_tcw_init() argument
622 crypt_iv_tcw_wipe(struct crypt_config *cc) crypt_iv_tcw_wipe() argument
632 crypt_iv_tcw_whitening(struct crypt_config *cc, struct dm_crypt_request *dmreq, u8 *data) crypt_iv_tcw_whitening() argument
670 crypt_iv_tcw_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_tcw_gen() argument
696 crypt_iv_tcw_post(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_tcw_post() argument
715 crypt_iv_random_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_random_gen() argument
723 crypt_iv_eboiv_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) crypt_iv_eboiv_ctr() argument
740 crypt_iv_eboiv_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_eboiv_gen() argument
766 crypt_iv_elephant_dtr(struct crypt_config *cc) crypt_iv_elephant_dtr() argument
774 crypt_iv_elephant_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) crypt_iv_elephant_ctr() argument
938 crypt_iv_elephant(struct crypt_config *cc, struct dm_crypt_request *dmreq) crypt_iv_elephant() argument
1011 crypt_iv_elephant_gen(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_elephant_gen() argument
1025 crypt_iv_elephant_post(struct crypt_config *cc, u8 *iv, struct dm_crypt_request *dmreq) crypt_iv_elephant_post() argument
1034 crypt_iv_elephant_init(struct crypt_config *cc) crypt_iv_elephant_init() argument
1042 crypt_iv_elephant_wipe(struct crypt_config *cc) crypt_iv_elephant_wipe() argument
1116 crypt_integrity_aead(struct crypt_config *cc) crypt_integrity_aead() argument
1121 crypt_integrity_hmac(struct crypt_config *cc) crypt_integrity_hmac() argument
1127 crypt_get_sg_data(struct crypt_config *cc, struct scatterlist *sg) crypt_get_sg_data() argument
1162 crypt_integrity_ctr(struct crypt_config *cc, struct dm_target *ti) crypt_integrity_ctr() argument
1209 crypt_convert_init(struct crypt_config *cc, struct convert_context *ctx, struct bio *bio_out, struct bio *bio_in, sector_t sector) crypt_convert_init() argument
1224 dmreq_of_req(struct crypt_config *cc, void *req) dmreq_of_req() argument
1230 req_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) req_of_dmreq() argument
1235 iv_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) iv_of_dmreq() argument
1246 org_iv_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) org_iv_of_dmreq() argument
1252 org_sector_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) org_sector_of_dmreq() argument
1259 org_tag_of_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) org_tag_of_dmreq() argument
1267 tag_from_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) tag_from_dmreq() argument
1277 iv_tag_from_dmreq(struct crypt_config *cc, struct dm_crypt_request *dmreq) iv_tag_from_dmreq() argument
1283 crypt_convert_block_aead(struct crypt_config *cc, struct convert_context *ctx, struct aead_request *req, unsigned int tag_offset) crypt_convert_block_aead() argument
1379 crypt_convert_block_skcipher(struct crypt_config *cc, struct convert_context *ctx, struct skcipher_request *req, unsigned int tag_offset) crypt_convert_block_skcipher() argument
1459 crypt_alloc_req_skcipher(struct crypt_config *cc, struct convert_context *ctx) crypt_alloc_req_skcipher() argument
1483 crypt_alloc_req_aead(struct crypt_config *cc, struct convert_context *ctx) crypt_alloc_req_aead() argument
1505 crypt_alloc_req(struct crypt_config *cc, struct convert_context *ctx) crypt_alloc_req() argument
1514 crypt_free_req_skcipher(struct crypt_config *cc, struct skcipher_request *req, struct bio *base_bio) crypt_free_req_skcipher() argument
1523 crypt_free_req_aead(struct crypt_config *cc, struct aead_request *req, struct bio *base_bio) crypt_free_req_aead() argument
1532 crypt_free_req(struct crypt_config *cc, void *req, struct bio *base_bio) crypt_free_req() argument
1543 crypt_convert(struct crypt_config *cc, struct convert_context *ctx, bool atomic, bool reset_pending) crypt_convert() argument
1658 struct crypt_config *cc = io->cc; crypt_alloc_buffer() local
1706 crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone) crypt_free_buffer_pages() argument
1717 crypt_io_init(struct dm_crypt_io *io, struct crypt_config *cc, struct bio *bio, sector_t sector) crypt_io_init() argument
1748 struct crypt_config *cc = io->cc; crypt_dec_pending() local
1802 struct crypt_config *cc = io->cc; crypt_endio() local
1828 struct crypt_config *cc = io->cc; clone_init() local
1838 struct crypt_config *cc = io->cc; kcryptd_io_read() local
1878 struct crypt_config *cc = io->cc; kcryptd_queue_read() local
1895 struct crypt_config *cc = data; dmcrypt_write() local
1949 struct crypt_config *cc = io->cc; kcryptd_crypt_write_io_submit() local
1990 kcryptd_crypt_write_inline(struct crypt_config *cc, struct convert_context *ctx) kcryptd_crypt_write_inline() argument
2015 struct crypt_config *cc = io->cc; kcryptd_crypt_write_continue() local
2045 struct crypt_config *cc = io->cc; kcryptd_crypt_write_convert() local
2109 struct crypt_config *cc = io->cc; kcryptd_crypt_read_continue() local
2127 struct crypt_config *cc = io->cc; kcryptd_crypt_read_convert() local
2161 struct crypt_config *cc = io->cc; kcryptd_async_done() local
2223 struct crypt_config *cc = io->cc; kcryptd_queue_crypt() local
2247 crypt_free_tfms_aead(struct crypt_config *cc) crypt_free_tfms_aead() argument
2261 crypt_free_tfms_skcipher(struct crypt_config *cc) crypt_free_tfms_skcipher() argument
2278 crypt_free_tfms(struct crypt_config *cc) crypt_free_tfms() argument
2286 crypt_alloc_tfms_skcipher(struct crypt_config *cc, char *ciphermode) crypt_alloc_tfms_skcipher() argument
2317 crypt_alloc_tfms_aead(struct crypt_config *cc, char *ciphermode) crypt_alloc_tfms_aead() argument
2338 crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode) crypt_alloc_tfms() argument
2346 crypt_subkey_size(struct crypt_config *cc) crypt_subkey_size() argument
2351 crypt_authenckey_size(struct crypt_config *cc) crypt_authenckey_size() argument
2378 crypt_setkey(struct crypt_config *cc) crypt_setkey() argument
2427 set_key_user(struct crypt_config *cc, struct key *key) set_key_user() argument
2444 set_key_encrypted(struct crypt_config *cc, struct key *key) set_key_encrypted() argument
2461 crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) crypt_set_keyring_key() argument
2561 crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) crypt_set_keyring_key() argument
2573 crypt_set_key(struct crypt_config *cc, char *key) crypt_set_key() argument
2610 crypt_wipe_key(struct crypt_config *cc) crypt_wipe_key() argument
2647 struct crypt_config *cc = pool_data; crypt_page_alloc() local
2668 struct crypt_config *cc = pool_data; crypt_page_free() local
2676 struct crypt_config *cc = ti->private; crypt_dtr() local
2727 struct crypt_config *cc = ti->private; crypt_ctr_ivmode() local
2800 crypt_ctr_auth_cipher(struct crypt_config *cc, char *cipher_api) crypt_ctr_auth_cipher() argument
2837 struct crypt_config *cc = ti->private; crypt_ctr_cipher_new() local
2910 struct crypt_config *cc = ti->private; crypt_ctr_cipher_old() local
2994 struct crypt_config *cc = ti->private; crypt_ctr_cipher() local
3050 struct crypt_config *cc = ti->private; crypt_ctr_optional() local
3132 struct crypt_config *cc = ti->private; crypt_report_zones() local
3148 struct crypt_config *cc; crypt_ctr() local
3348 struct crypt_config *cc = ti->private; crypt_map() local
3419 struct crypt_config *cc = ti->private; crypt_status() local
3481 struct crypt_config *cc = ti->private; crypt_postsuspend() local
3488 struct crypt_config *cc = ti->private; crypt_preresume() local
3500 struct crypt_config *cc = ti->private; crypt_resume() local
3512 struct crypt_config *cc = ti->private; crypt_message() local
3553 struct crypt_config *cc = ti->private; crypt_iterate_devices() local
3560 struct crypt_config *cc = ti->private; crypt_io_hints() local
[all...]
/kernel/linux/linux-6.6/arch/s390/pci/
H A Dpci_insn.c23 u8 cc; member
37 static inline void zpci_err_insn_req(int lvl, u8 insn, u8 cc, u8 status, in zpci_err_insn_req() argument
41 .insn = insn, .cc = cc, .status = status, in zpci_err_insn_req()
47 static inline void zpci_err_insn_addr(int lvl, u8 insn, u8 cc, u8 status, in zpci_err_insn_addr() argument
51 .insn = insn, .cc = cc, .status = status, in zpci_err_insn_addr()
60 u8 cc; in __mpcifc() local
64 " ipm %[cc]\n" in __mpcifc()
65 " srl %[cc],2 in __mpcifc()
75 u8 cc; zpci_mod_fc() local
101 u8 cc; __rpcit() local
117 u8 cc, status; zpci_refresh_trans() local
159 int cc = -ENXIO; ____pcilg() local
178 int cc; __pcilg() local
191 int cc; __zpci_load() local
225 int cc = -ENXIO; __pcilg_mio() local
244 int cc; zpci_load() local
261 int cc = -ENXIO; __pcistg() local
280 int cc; __zpci_store() local
314 int cc = -ENXIO; __pcistg_mio() local
332 int cc; zpci_store() local
348 int cc = -ENXIO; __pcistb() local
367 int cc; __zpci_store_block() local
401 int cc = -ENXIO; __pcistb_mio() local
420 int cc; zpci_write_block() local
[all...]
/kernel/linux/linux-6.6/mm/
H A Dcompaction.c215 static inline bool isolation_suitable(struct compact_control *cc, in isolation_suitable() argument
218 if (cc->ignore_skip_hint) in isolation_suitable()
447 static bool test_and_set_skip(struct compact_control *cc, struct page *page) in test_and_set_skip() argument
452 if (cc->ignore_skip_hint) in test_and_set_skip()
456 if (!skip && !cc->no_set_skip_hint) in test_and_set_skip()
462 static void update_cached_migrate(struct compact_control *cc, unsigned long pfn) in update_cached_migrate() argument
464 struct zone *zone = cc->zone; in update_cached_migrate()
467 if (cc->no_set_skip_hint) in update_cached_migrate()
475 if (cc->mode != MIGRATE_ASYNC && in update_cached_migrate()
484 static void update_pageblock_skip(struct compact_control *cc, in update_pageblock_skip() argument
498 isolation_suitable(struct compact_control *cc, struct page *page) isolation_suitable() argument
509 update_pageblock_skip(struct compact_control *cc, struct page *page, unsigned long pfn) update_pageblock_skip() argument
514 update_cached_migrate(struct compact_control *cc, unsigned long pfn) update_cached_migrate() argument
518 test_and_set_skip(struct compact_control *cc, struct page *page) test_and_set_skip() argument
561 compact_unlock_should_abort(spinlock_t *lock, unsigned long flags, bool *locked, struct compact_control *cc) compact_unlock_should_abort() argument
584 isolate_freepages_block(struct compact_control *cc, unsigned long *start_pfn, unsigned long end_pfn, struct list_head *freelist, unsigned int stride, bool strict) isolate_freepages_block() argument
722 isolate_freepages_range(struct compact_control *cc, unsigned long start_pfn, unsigned long end_pfn) isolate_freepages_range() argument
788 too_many_isolated(struct compact_control *cc) too_many_isolated() argument
838 isolate_migratepages_block(struct compact_control *cc, unsigned long low_pfn, unsigned long end_pfn, isolate_mode_t mode) isolate_migratepages_block() argument
1286 isolate_migratepages_range(struct compact_control *cc, unsigned long start_pfn, unsigned long end_pfn) isolate_migratepages_range() argument
1325 suitable_migration_source(struct compact_control *cc, struct page *page) suitable_migration_source() argument
1345 suitable_migration_target(struct compact_control *cc, struct page *page) suitable_migration_target() argument
1371 freelist_scan_limit(struct compact_control *cc) freelist_scan_limit() argument
1382 compact_scanners_met(struct compact_control *cc) compact_scanners_met() argument
1422 fast_isolate_around(struct compact_control *cc, unsigned long pfn) fast_isolate_around() argument
1451 next_search_order(struct compact_control *cc, int order) next_search_order() argument
1468 fast_isolate_freepages(struct compact_control *cc) fast_isolate_freepages() argument
1638 isolate_freepages(struct compact_control *cc) isolate_freepages() argument
1765 struct compact_control *cc = (struct compact_control *)data; compaction_alloc() local
1789 struct compact_control *cc = (struct compact_control *)data; compaction_free() local
1817 update_fast_start_pfn(struct compact_control *cc, unsigned long pfn) update_fast_start_pfn() argument
1829 reinit_migrate_pfn(struct compact_control *cc) reinit_migrate_pfn() argument
1845 fast_find_migrateblock(struct compact_control *cc) fast_find_migrateblock() argument
1967 isolate_migratepages(struct compact_control *cc) isolate_migratepages() argument
2169 __compact_finished(struct compact_control *cc) __compact_finished() argument
2266 compact_finished(struct compact_control *cc) compact_finished() argument
2381 compact_zone(struct compact_control *cc, struct capture_control *capc) compact_zone() argument
2624 struct compact_control cc = { compact_zone_order() local
2764 struct compact_control cc = { proactive_compact_node() local
2795 struct compact_control cc = { compact_node() local
2945 struct compact_control cc = { kcompactd_do_work() local
[all...]
/kernel/linux/linux-6.6/fs/f2fs/
H A Dcompress.c52 int (*init_compress_ctx)(struct compress_ctx *cc);
53 void (*destroy_compress_ctx)(struct compress_ctx *cc);
54 int (*compress_pages)(struct compress_ctx *cc);
61 static unsigned int offset_in_cluster(struct compress_ctx *cc, pgoff_t index) in offset_in_cluster() argument
63 return index & (cc->cluster_size - 1); in offset_in_cluster()
66 static pgoff_t cluster_idx(struct compress_ctx *cc, pgoff_t index) in cluster_idx() argument
68 return index >> cc->log_cluster_size; in cluster_idx()
71 static pgoff_t start_idx_of_cluster(struct compress_ctx *cc) in start_idx_of_cluster() argument
73 return cc->cluster_idx << cc in start_idx_of_cluster()
100 f2fs_drop_rpages(struct compress_ctx *cc, int len, bool unlock) f2fs_drop_rpages() argument
114 f2fs_put_rpages(struct compress_ctx *cc) f2fs_put_rpages() argument
119 f2fs_unlock_rpages(struct compress_ctx *cc, int len) f2fs_unlock_rpages() argument
124 f2fs_put_rpages_wbc(struct compress_ctx *cc, struct writeback_control *wbc, bool redirty, int unlock) f2fs_put_rpages_wbc() argument
143 f2fs_init_compress_ctx(struct compress_ctx *cc) f2fs_init_compress_ctx() argument
152 f2fs_destroy_compress_ctx(struct compress_ctx *cc, bool reuse) f2fs_destroy_compress_ctx() argument
163 f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page) f2fs_compress_ctx_add_page() argument
177 lzo_init_compress_ctx(struct compress_ctx *cc) lzo_init_compress_ctx() argument
188 lzo_destroy_compress_ctx(struct compress_ctx *cc) lzo_destroy_compress_ctx() argument
194 lzo_compress_pages(struct compress_ctx *cc) lzo_compress_pages() argument
240 lz4_init_compress_ctx(struct compress_ctx *cc) lz4_init_compress_ctx() argument
262 lz4_destroy_compress_ctx(struct compress_ctx *cc) lz4_destroy_compress_ctx() argument
268 lz4_compress_pages(struct compress_ctx *cc) lz4_compress_pages() argument
331 zstd_init_compress_ctx(struct compress_ctx *cc) zstd_init_compress_ctx() argument
367 zstd_destroy_compress_ctx(struct compress_ctx *cc) zstd_destroy_compress_ctx() argument
374 zstd_compress_pages(struct compress_ctx *cc) zstd_compress_pages() argument
508 lzorle_compress_pages(struct compress_ctx *cc) lzorle_compress_pages() argument
624 f2fs_compress_pages(struct compress_ctx *cc) f2fs_compress_pages() argument
826 is_page_in_cluster(struct compress_ctx *cc, pgoff_t index) is_page_in_cluster() argument
833 f2fs_cluster_is_empty(struct compress_ctx *cc) f2fs_cluster_is_empty() argument
838 f2fs_cluster_is_full(struct compress_ctx *cc) f2fs_cluster_is_full() argument
843 f2fs_cluster_can_merge_page(struct compress_ctx *cc, pgoff_t index) f2fs_cluster_can_merge_page() argument
850 f2fs_all_cluster_page_ready(struct compress_ctx *cc, struct page **pages, int index, int nr_pages, bool uptodate) f2fs_all_cluster_page_ready() argument
876 cluster_has_invalid_data(struct compress_ctx *cc) cluster_has_invalid_data() argument
991 f2fs_compressed_blocks(struct compress_ctx *cc) f2fs_compressed_blocks() argument
1004 cluster_may_compress(struct compress_ctx *cc) cluster_may_compress() argument
1017 set_cluster_writeback(struct compress_ctx *cc) set_cluster_writeback() argument
1027 set_cluster_dirty(struct compress_ctx *cc) set_cluster_dirty() argument
1038 prepare_compress_overwrite(struct compress_ctx *cc, struct page **pagep, pgoff_t index, void **fsdata) prepare_compress_overwrite() argument
1128 struct compress_ctx cc = { f2fs_prepare_compress_overwrite() local
1144 struct compress_ctx cc = { f2fs_compress_write_end() local
1210 f2fs_write_compressed_pages(struct compress_ctx *cc, int *submitted, struct writeback_control *wbc, enum iostat_type io_type) f2fs_write_compressed_pages() argument
1438 f2fs_write_raw_pages(struct compress_ctx *cc, int *submitted_p, struct writeback_control *wbc, enum iostat_type io_type) f2fs_write_raw_pages() argument
1522 f2fs_write_multi_pages(struct compress_ctx *cc, int *submitted, struct writeback_control *wbc, enum iostat_type io_type) f2fs_write_multi_pages() argument
1621 f2fs_alloc_dic(struct compress_ctx *cc) f2fs_alloc_dic() argument
[all...]
/kernel/linux/linux-5.10/mm/
H A Dcompaction.c222 static inline bool isolation_suitable(struct compact_control *cc, in isolation_suitable() argument
225 if (cc->ignore_skip_hint) in isolation_suitable()
405 static bool test_and_set_skip(struct compact_control *cc, struct page *page, in test_and_set_skip() argument
411 if (cc->ignore_skip_hint) in test_and_set_skip()
418 if (!skip && !cc->no_set_skip_hint) in test_and_set_skip()
424 static void update_cached_migrate(struct compact_control *cc, unsigned long pfn) in update_cached_migrate() argument
426 struct zone *zone = cc->zone; in update_cached_migrate()
431 if (cc->no_set_skip_hint) in update_cached_migrate()
436 if (cc->mode != MIGRATE_ASYNC && in update_cached_migrate()
445 static void update_pageblock_skip(struct compact_control *cc, in update_pageblock_skip() argument
463 isolation_suitable(struct compact_control *cc, struct page *page) isolation_suitable() argument
474 update_pageblock_skip(struct compact_control *cc, struct page *page, unsigned long pfn) update_pageblock_skip() argument
479 update_cached_migrate(struct compact_control *cc, unsigned long pfn) update_cached_migrate() argument
483 test_and_set_skip(struct compact_control *cc, struct page *page, unsigned long pfn) test_and_set_skip() argument
530 compact_unlock_should_abort(spinlock_t *lock, unsigned long flags, bool *locked, struct compact_control *cc) compact_unlock_should_abort() argument
553 isolate_freepages_block(struct compact_control *cc, unsigned long *start_pfn, unsigned long end_pfn, struct list_head *freelist, unsigned int stride, bool strict) isolate_freepages_block() argument
700 isolate_freepages_range(struct compact_control *cc, unsigned long start_pfn, unsigned long end_pfn) isolate_freepages_range() argument
800 isolate_migratepages_block(struct compact_control *cc, unsigned long low_pfn, unsigned long end_pfn, isolate_mode_t isolate_mode) isolate_migratepages_block() argument
1111 isolate_migratepages_range(struct compact_control *cc, unsigned long start_pfn, unsigned long end_pfn) isolate_migratepages_range() argument
1149 suitable_migration_source(struct compact_control *cc, struct page *page) suitable_migration_source() argument
1169 suitable_migration_target(struct compact_control *cc, struct page *page) suitable_migration_target() argument
1195 freelist_scan_limit(struct compact_control *cc) freelist_scan_limit() argument
1206 compact_scanners_met(struct compact_control *cc) compact_scanners_met() argument
1248 fast_isolate_around(struct compact_control *cc, unsigned long pfn) fast_isolate_around() argument
1279 next_search_order(struct compact_control *cc, int order) next_search_order() argument
1297 fast_isolate_freepages(struct compact_control *cc) fast_isolate_freepages() argument
1459 isolate_freepages(struct compact_control *cc) isolate_freepages() argument
1579 struct compact_control *cc = (struct compact_control *)data; compaction_alloc() local
1603 struct compact_control *cc = (struct compact_control *)data; compaction_free() local
1627 update_fast_start_pfn(struct compact_control *cc, unsigned long pfn) update_fast_start_pfn() argument
1639 reinit_migrate_pfn(struct compact_control *cc) reinit_migrate_pfn() argument
1655 fast_find_migrateblock(struct compact_control *cc) fast_find_migrateblock() argument
1771 isolate_migratepages(struct compact_control *cc) isolate_migratepages() argument
1949 __compact_finished(struct compact_control *cc) __compact_finished() argument
2059 compact_finished(struct compact_control *cc) compact_finished() argument
2192 compact_zone(struct compact_control *cc, struct capture_control *capc) compact_zone() argument
2409 struct compact_control cc = { compact_zone_order() local
2546 struct compact_control cc = { proactive_compact_node() local
2575 struct compact_control cc = { compact_node() local
2696 struct compact_control cc = { kcompactd_do_work() local
[all...]
/kernel/linux/linux-5.10/fs/f2fs/
H A Dcompress.c48 int (*init_compress_ctx)(struct compress_ctx *cc);
49 void (*destroy_compress_ctx)(struct compress_ctx *cc);
50 int (*compress_pages)(struct compress_ctx *cc);
56 static unsigned int offset_in_cluster(struct compress_ctx *cc, pgoff_t index) in offset_in_cluster() argument
58 return index & (cc->cluster_size - 1); in offset_in_cluster()
61 static pgoff_t cluster_idx(struct compress_ctx *cc, pgoff_t index) in cluster_idx() argument
63 return index >> cc->log_cluster_size; in cluster_idx()
66 static pgoff_t start_idx_of_cluster(struct compress_ctx *cc) in start_idx_of_cluster() argument
68 return cc->cluster_idx << cc in start_idx_of_cluster()
102 f2fs_drop_rpages(struct compress_ctx *cc, int len, bool unlock) f2fs_drop_rpages() argument
116 f2fs_put_rpages(struct compress_ctx *cc) f2fs_put_rpages() argument
121 f2fs_unlock_rpages(struct compress_ctx *cc, int len) f2fs_unlock_rpages() argument
126 f2fs_put_rpages_wbc(struct compress_ctx *cc, struct writeback_control *wbc, bool redirty, int unlock) f2fs_put_rpages_wbc() argument
145 f2fs_init_compress_ctx(struct compress_ctx *cc) f2fs_init_compress_ctx() argument
154 f2fs_destroy_compress_ctx(struct compress_ctx *cc, bool reuse) f2fs_destroy_compress_ctx() argument
164 f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page) f2fs_compress_ctx_add_page() argument
178 lzo_init_compress_ctx(struct compress_ctx *cc) lzo_init_compress_ctx() argument
189 lzo_destroy_compress_ctx(struct compress_ctx *cc) lzo_destroy_compress_ctx() argument
195 lzo_compress_pages(struct compress_ctx *cc) lzo_compress_pages() argument
241 lz4_init_compress_ctx(struct compress_ctx *cc) lz4_init_compress_ctx() argument
257 lz4_destroy_compress_ctx(struct compress_ctx *cc) lz4_destroy_compress_ctx() argument
263 lz4_compress_pages(struct compress_ctx *cc) lz4_compress_pages() argument
309 zstd_init_compress_ctx(struct compress_ctx *cc) zstd_init_compress_ctx() argument
340 zstd_destroy_compress_ctx(struct compress_ctx *cc) zstd_destroy_compress_ctx() argument
347 zstd_compress_pages(struct compress_ctx *cc) zstd_compress_pages() argument
475 lzorle_compress_pages(struct compress_ctx *cc) lzorle_compress_pages() argument
585 f2fs_compress_pages(struct compress_ctx *cc) f2fs_compress_pages() argument
798 is_page_in_cluster(struct compress_ctx *cc, pgoff_t index) is_page_in_cluster() argument
805 f2fs_cluster_is_empty(struct compress_ctx *cc) f2fs_cluster_is_empty() argument
810 f2fs_cluster_is_full(struct compress_ctx *cc) f2fs_cluster_is_full() argument
815 f2fs_cluster_can_merge_page(struct compress_ctx *cc, pgoff_t index) f2fs_cluster_can_merge_page() argument
822 __cluster_may_compress(struct compress_ctx *cc) __cluster_may_compress() argument
846 __f2fs_cluster_blocks(struct compress_ctx *cc, bool compr) __f2fs_cluster_blocks() argument
884 f2fs_compressed_blocks(struct compress_ctx *cc) f2fs_compressed_blocks() argument
890 f2fs_cluster_blocks(struct compress_ctx *cc) f2fs_cluster_blocks() argument
897 struct compress_ctx cc = { f2fs_is_compressed_cluster() local
907 cluster_may_compress(struct compress_ctx *cc) cluster_may_compress() argument
922 set_cluster_writeback(struct compress_ctx *cc) set_cluster_writeback() argument
932 set_cluster_dirty(struct compress_ctx *cc) set_cluster_dirty() argument
941 prepare_compress_overwrite(struct compress_ctx *cc, struct page **pagep, pgoff_t index, void **fsdata) prepare_compress_overwrite() argument
1055 struct compress_ctx cc = { f2fs_prepare_compress_overwrite() local
1071 struct compress_ctx cc = { f2fs_compress_write_end() local
1137 f2fs_write_compressed_pages(struct compress_ctx *cc, int *submitted, struct writeback_control *wbc, enum iostat_type io_type) f2fs_write_compressed_pages() argument
1358 f2fs_write_raw_pages(struct compress_ctx *cc, int *submitted, struct writeback_control *wbc, enum iostat_type io_type) f2fs_write_raw_pages() argument
1435 f2fs_write_multi_pages(struct compress_ctx *cc, int *submitted, struct writeback_control *wbc, enum iostat_type io_type) f2fs_write_multi_pages() argument
1468 f2fs_alloc_dic(struct compress_ctx *cc) f2fs_alloc_dic() argument
[all...]
/kernel/linux/linux-5.10/arch/s390/pci/
H A Dpci_insn.c20 static inline void zpci_err_insn(u8 cc, u8 status, u64 req, u64 offset) in zpci_err_insn() argument
25 u8 cc; in zpci_err_insn() member
27 } __packed data = {req, offset, cc, status}; in zpci_err_insn()
35 u8 cc; in __mpcifc() local
39 " ipm %[cc]\n" in __mpcifc()
40 " srl %[cc],28\n" in __mpcifc()
41 : [cc] "=d" (cc), [req] "+d" (req), [fib] "+Q" (*fib) in __mpcifc()
42 : : "cc"); in __mpcifc()
44 return cc; in __mpcifc()
49 u8 cc; zpci_mod_fc() local
68 u8 cc; __rpcit() local
83 u8 cc, status; zpci_refresh_trans() local
118 int cc = -ENXIO; ____pcilg() local
138 int cc; __pcilg() local
150 int cc; __zpci_load() local
178 int cc = -ENXIO; __pcilg_mio() local
198 int cc; zpci_load() local
216 int cc = -ENXIO; __pcistg() local
234 int cc; __zpci_store() local
262 int cc = -ENXIO; __pcistg_mio() local
280 int cc; zpci_store() local
296 int cc = -ENXIO; __pcistb() local
314 int cc; __zpci_store_block() local
341 int cc = -ENXIO; __pcistb_mio() local
360 int cc; zpci_write_block() local
[all...]
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dtrace.h25 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc),
26 TP_ARGS(schid, schib, cc),
44 __field(int, cc)
63 __entry->cc = cc;
65 TP_printk("schid=%x.%x.%04x cc=%d ena=%d st=%d dnv=%d dev=%04x "
68 __entry->cssid, __entry->ssid, __entry->schno, __entry->cc,
82 * @cc: Condition code
85 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc),
86 TP_ARGS(schid, schib, cc)
[all...]
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dtrace.h25 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc),
26 TP_ARGS(schid, schib, cc),
44 __field(int, cc)
63 __entry->cc = cc;
65 TP_printk("schid=%x.%x.%04x cc=%d ena=%d st=%d dnv=%d dev=%04x "
68 __entry->cssid, __entry->ssid, __entry->schno, __entry->cc,
82 * @cc: Condition code
85 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc),
86 TP_ARGS(schid, schib, cc)
[all...]
/kernel/linux/linux-5.10/kernel/time/
H A Dtimecounter.c9 const struct cyclecounter *cc, in timecounter_init()
12 tc->cc = cc; in timecounter_init()
13 tc->cycle_last = cc->read(cc); in timecounter_init()
15 tc->mask = (1ULL << cc->shift) - 1; in timecounter_init()
37 cycle_now = tc->cc->read(tc->cc); in timecounter_read_delta()
40 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc->mask; in timecounter_read_delta()
43 ns_offset = cyclecounter_cyc2ns(tc->cc, cycle_delt in timecounter_read_delta()
8 timecounter_init(struct timecounter *tc, const struct cyclecounter *cc, u64 start_tstamp) timecounter_init() argument
69 cc_cyc2ns_backwards(const struct cyclecounter *cc, u64 cycles, u64 mask, u64 frac) cc_cyc2ns_backwards() argument
[all...]
/kernel/linux/linux-6.6/kernel/time/
H A Dtimecounter.c9 const struct cyclecounter *cc, in timecounter_init()
12 tc->cc = cc; in timecounter_init()
13 tc->cycle_last = cc->read(cc); in timecounter_init()
15 tc->mask = (1ULL << cc->shift) - 1; in timecounter_init()
37 cycle_now = tc->cc->read(tc->cc); in timecounter_read_delta()
40 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc->mask; in timecounter_read_delta()
43 ns_offset = cyclecounter_cyc2ns(tc->cc, cycle_delt in timecounter_read_delta()
8 timecounter_init(struct timecounter *tc, const struct cyclecounter *cc, u64 start_tstamp) timecounter_init() argument
69 cc_cyc2ns_backwards(const struct cyclecounter *cc, u64 cycles, u64 mask, u64 frac) cc_cyc2ns_backwards() argument
[all...]
/kernel/linux/linux-5.10/drivers/clk/sprd/
H A Dcomposite.c15 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_round_rate() local
17 return sprd_div_helper_round_rate(&cc->common, &cc->div, in sprd_comp_round_rate()
24 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_recalc_rate() local
26 return sprd_div_helper_recalc_rate(&cc->common, &cc->div, parent_rate); in sprd_comp_recalc_rate()
32 struct sprd_comp *cc = hw_to_sprd_comp(hw); in sprd_comp_set_rate() local
34 return sprd_div_helper_set_rate(&cc->common, &cc->div, in sprd_comp_set_rate()
40 struct sprd_comp *cc in sprd_comp_get_parent() local
47 struct sprd_comp *cc = hw_to_sprd_comp(hw); sprd_comp_set_parent() local
[all...]
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Drmwcc.h13 #define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \
16 asm goto (fullop "; j" #cc " %l[cc_label]" \
29 #define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \
32 asm volatile (fullop CC_SET(cc) \
33 : [var] "+m" (_var), CC_OUT(cc) (c) \
40 #define GEN_UNARY_RMWcc_4(op, var, cc, arg0) \
41 __GEN_RMWcc(op " " arg0, var, cc, __CLOBBERS_MEM())
43 #define GEN_UNARY_RMWcc_3(op, var, cc) \
44 GEN_UNARY_RMWcc_4(op, var, cc, "%[var]")
48 #define GEN_BINARY_RMWcc_6(op, var, cc, vco
[all...]
/kernel/linux/linux-5.10/crypto/
H A Drmd160.c51 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd160_transform() local
56 cc = state[2]; in rmd160_transform()
68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform()
69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform()
70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform()
71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform()
72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform()
75 ROUND(dd, ee, aa, bb, cc, F in rmd160_transform()
[all...]

Completed in 20 milliseconds

12345678910>>...33