/Linux-v4.19/kernel/ |
D | smp.c | 31 call_single_data_t __percpu *csd; member 54 cfd->csd = alloc_percpu(call_single_data_t); in smpcfd_prepare_cpu() 55 if (!cfd->csd) { in smpcfd_prepare_cpu() 70 free_percpu(cfd->csd); in smpcfd_dead_cpu() 106 static __always_inline void csd_lock_wait(call_single_data_t *csd) in csd_lock_wait() argument 108 smp_cond_load_acquire(&csd->flags, !(VAL & CSD_FLAG_LOCK)); in csd_lock_wait() 111 static __always_inline void csd_lock(call_single_data_t *csd) in csd_lock() argument 113 csd_lock_wait(csd); in csd_lock() 114 csd->flags |= CSD_FLAG_LOCK; in csd_lock() 124 static __always_inline void csd_unlock(call_single_data_t *csd) in csd_unlock() argument [all …]
|
D | up.c | 26 int smp_call_function_single_async(int cpu, call_single_data_t *csd) in smp_call_function_single_async() argument 31 csd->func(csd->info); in smp_call_function_single_async()
|
/Linux-v4.19/drivers/mmc/core/ |
D | sd.c | 104 struct mmc_csd *csd = &card->csd; in mmc_decode_csd() local 114 csd->taac_ns = (taac_exp[e] * taac_mant[m] + 9) / 10; in mmc_decode_csd() 115 csd->taac_clks = UNSTUFF_BITS(resp, 104, 8) * 100; in mmc_decode_csd() 119 csd->max_dtr = tran_exp[e] * tran_mant[m]; in mmc_decode_csd() 120 csd->cmdclass = UNSTUFF_BITS(resp, 84, 12); in mmc_decode_csd() 124 csd->capacity = (1 + m) << (e + 2); in mmc_decode_csd() 126 csd->read_blkbits = UNSTUFF_BITS(resp, 80, 4); in mmc_decode_csd() 127 csd->read_partial = UNSTUFF_BITS(resp, 79, 1); in mmc_decode_csd() 128 csd->write_misalign = UNSTUFF_BITS(resp, 78, 1); in mmc_decode_csd() 129 csd->read_misalign = UNSTUFF_BITS(resp, 77, 1); in mmc_decode_csd() [all …]
|
D | mmc.c | 78 switch (card->csd.mmca_vsn) { in mmc_decode_cid() 115 mmc_hostname(card->host), card->csd.mmca_vsn); in mmc_decode_cid() 127 card->erase_size = card->csd.erase_size; in mmc_set_erase_size() 137 struct mmc_csd *csd = &card->csd; in mmc_decode_csd() local 146 csd->structure = UNSTUFF_BITS(resp, 126, 2); in mmc_decode_csd() 147 if (csd->structure == 0) { in mmc_decode_csd() 149 mmc_hostname(card->host), csd->structure); in mmc_decode_csd() 153 csd->mmca_vsn = UNSTUFF_BITS(resp, 122, 4); in mmc_decode_csd() 156 csd->taac_ns = (taac_exp[e] * taac_mant[m] + 9) / 10; in mmc_decode_csd() 157 csd->taac_clks = UNSTUFF_BITS(resp, 104, 8) * 100; in mmc_decode_csd() [all …]
|
D | mmc_ops.c | 295 static int mmc_spi_send_csd(struct mmc_card *card, u32 *csd) in mmc_spi_send_csd() argument 309 csd[i] = be32_to_cpu(csd_tmp[i]); in mmc_spi_send_csd() 316 int mmc_send_csd(struct mmc_card *card, u32 *csd) in mmc_send_csd() argument 319 return mmc_spi_send_csd(card, csd); in mmc_send_csd() 321 return mmc_send_cxd_native(card->host, card->rca << 16, csd, in mmc_send_csd() 897 return (card && card->csd.mmca_vsn > CSD_SPEC_VER_3); in mmc_can_ext_csd()
|
D | core.c | 690 mult <<= card->csd.r2w_factor; in mmc_set_data_timeout() 692 data->timeout_ns = card->csd.taac_ns * mult; in mmc_set_data_timeout() 693 data->timeout_clks = card->csd.taac_clks * mult; in mmc_set_data_timeout() 1846 sz = (card->csd.capacity << (card->csd.read_blkbits - 9)) >> 11; in mmc_init_erase() 1882 unsigned int mult = (10 << card->csd.r2w_factor); in mmc_mmc_erase_timeout() 1883 unsigned int timeout_clks = card->csd.taac_clks * mult; in mmc_mmc_erase_timeout() 1887 if (card->csd.taac_ns < 1000000) in mmc_mmc_erase_timeout() 1888 timeout_us = (card->csd.taac_ns * mult) / 1000; in mmc_mmc_erase_timeout() 1890 timeout_us = (card->csd.taac_ns / 1000) * mult; in mmc_mmc_erase_timeout() 2175 !(card->csd.cmdclass & CCC_ERASE)) in mmc_erase() [all …]
|
D | mmc_ops.h | 26 int mmc_send_csd(struct mmc_card *card, u32 *csd);
|
D | mmc_test.c | 618 return card->csd.capacity << (card->csd.read_blkbits - 9); in mmc_test_capacity() 1121 if (!test->card->csd.write_partial) in mmc_test_pow2_write() 1139 if (!test->card->csd.read_partial) in mmc_test_pow2_read() 1157 if (!test->card->csd.write_partial) in mmc_test_weird_write() 1175 if (!test->card->csd.read_partial) in mmc_test_weird_read()
|
D | block.c | 2283 !(card->csd.cmdclass & CCC_BLOCK_WRITE); in mmc_blk_readonly() 2392 card->csd.mmca_vsn >= CSD_SPEC_VER_3) || in mmc_blk_alloc_req() 2432 size = (typeof(sector_t))card->csd.capacity in mmc_blk_alloc() 2433 << (card->csd.read_blkbits - 9); in mmc_blk_alloc() 2921 if (!(card->csd.cmdclass & CCC_BLOCK_READ)) in mmc_blk_probe()
|
/Linux-v4.19/drivers/media/platform/qcom/camss/ |
D | camss.c | 428 struct camss_async_subdev *csd) in camss_of_parse_endpoint_node() argument 430 struct csiphy_lanes_cfg *lncfg = &csd->interface.csi2.lane_cfg; in camss_of_parse_endpoint_node() 437 csd->interface.csiphy_id = vep.base.port; in camss_of_parse_endpoint_node() 487 struct camss_async_subdev *csd; in camss_of_parse_ports() local 492 csd = devm_kzalloc(dev, sizeof(*csd), GFP_KERNEL); in camss_of_parse_ports() 493 if (!csd) { in camss_of_parse_ports() 499 notifier->subdevs[i++] = &csd->asd; in camss_of_parse_ports() 501 ret = camss_of_parse_endpoint_node(dev, node, csd); in camss_of_parse_ports() 514 csd->asd.match_type = V4L2_ASYNC_MATCH_FWNODE; in camss_of_parse_ports() 515 csd->asd.match.fwnode = of_fwnode_handle(remote); in camss_of_parse_ports() [all …]
|
/Linux-v4.19/drivers/bus/ |
D | qcom-ebi2.c | 236 const struct cs_data *csd; in qcom_ebi2_setup_chipselect() local 242 csd = &cs_info[csindex]; in qcom_ebi2_setup_chipselect() 244 val |= csd->enable_mask; in qcom_ebi2_setup_chipselect() 291 writel(slowcfg, ebi2_xmem + csd->slow_cfg); in qcom_ebi2_setup_chipselect() 293 writel(fastcfg, ebi2_xmem + csd->fast_cfg); in qcom_ebi2_setup_chipselect()
|
/Linux-v4.19/drivers/cpuidle/ |
D | coupled.c | 342 call_single_data_t *csd = &per_cpu(cpuidle_coupled_poke_cb, cpu); in cpuidle_coupled_poke() local 345 smp_call_function_single_async(cpu, csd); in cpuidle_coupled_poke() 654 call_single_data_t *csd; in cpuidle_coupled_register_device() local 684 csd = &per_cpu(cpuidle_coupled_poke_cb, dev->cpu); in cpuidle_coupled_register_device() 685 csd->func = cpuidle_coupled_handle_poke; in cpuidle_coupled_register_device() 686 csd->info = (void *)(unsigned long)dev->cpu; in cpuidle_coupled_register_device()
|
/Linux-v4.19/arch/mips/kernel/ |
D | smp.c | 668 call_single_data_t *csd; in tick_broadcast() local 673 csd = &per_cpu(tick_broadcast_csd, cpu); in tick_broadcast() 676 smp_call_function_single_async(cpu, csd); in tick_broadcast() 689 call_single_data_t *csd; in tick_broadcast_init() local 693 csd = &per_cpu(tick_broadcast_csd, cpu); in tick_broadcast_init() 694 csd->func = tick_broadcast_callee; in tick_broadcast_init()
|
D | process.c | 696 call_single_data_t *csd; in raise_backtrace() local 712 csd = &per_cpu(backtrace_csd, cpu); in raise_backtrace() 713 csd->func = handle_backtrace; in raise_backtrace() 714 smp_call_function_single_async(cpu, csd); in raise_backtrace()
|
/Linux-v4.19/arch/x86/kernel/ |
D | cpuid.c | 82 call_single_data_t csd = { in cpuid_read() local 90 err = smp_call_function_single_async(cpu, &csd); in cpuid_read()
|
/Linux-v4.19/arch/x86/lib/ |
D | msr-smp.c | 172 call_single_data_t csd = { in rdmsr_safe_on_cpu() local 182 err = smp_call_function_single_async(cpu, &csd); in rdmsr_safe_on_cpu()
|
/Linux-v4.19/drivers/block/ |
D | null_blk.h | 16 struct __call_single_data csd; member
|
/Linux-v4.19/include/linux/ |
D | smp.h | 56 int smp_call_function_single_async(int cpu, call_single_data_t *csd);
|
/Linux-v4.19/block/ |
D | blk-softirq.c | 64 call_single_data_t *data = &rq->csd; in raise_blk_irq()
|
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_droq.h | 326 call_single_data_t csd; member
|
D | lio_core.c | 750 call_single_data_t *csd = &droq->csd; in liquidio_napi_drv_callback() local 752 csd->func = napi_schedule_wrapper; in liquidio_napi_drv_callback() 753 csd->info = &droq->napi; in liquidio_napi_drv_callback() 754 csd->flags = 0; in liquidio_napi_drv_callback() 756 smp_call_function_single_async(droq->cpu_id, csd); in liquidio_napi_drv_callback()
|
/Linux-v4.19/include/linux/mmc/ |
D | card.h | 287 struct mmc_csd csd; /* card specific */ member
|
/Linux-v4.19/Documentation/mmc/ |
D | mmc-dev-attrs.txt | 17 csd Card Specific Data Register
|
/Linux-v4.19/arch/ia64/kernel/ |
D | minstate.h | 110 mov r9=ar.csd; \
|
D | relocate_kernel.S | 308 mov r5 = ar.csd
|