/linux-6.1.9/kernel/ |
D | smp.c | 81 call_single_data_t csd; member 216 static void __csd_lock_record(struct __call_single_data *csd) in __csd_lock_record() argument 218 if (!csd) { in __csd_lock_record() 223 __this_cpu_write(cur_csd_func, csd->func); in __csd_lock_record() 224 __this_cpu_write(cur_csd_info, csd->info); in __csd_lock_record() 226 __this_cpu_write(cur_csd, csd); in __csd_lock_record() 231 static __always_inline void csd_lock_record(struct __call_single_data *csd) in csd_lock_record() argument 234 __csd_lock_record(csd); in csd_lock_record() 237 static int csd_lock_wait_getcpu(struct __call_single_data *csd) in csd_lock_wait_getcpu() argument 241 csd_type = CSD_TYPE(csd); in csd_lock_wait_getcpu() [all …]
|
D | up.c | 28 int smp_call_function_single_async(int cpu, struct __call_single_data *csd) in smp_call_function_single_async() argument 33 csd->func(csd->info); in smp_call_function_single_async()
|
/linux-6.1.9/drivers/mmc/core/ |
D | sd.c | 118 struct mmc_csd *csd = &card->csd; in mmc_decode_csd() local 128 csd->taac_ns = (taac_exp[e] * taac_mant[m] + 9) / 10; in mmc_decode_csd() 129 csd->taac_clks = UNSTUFF_BITS(resp, 104, 8) * 100; in mmc_decode_csd() 133 csd->max_dtr = tran_exp[e] * tran_mant[m]; in mmc_decode_csd() 134 csd->cmdclass = UNSTUFF_BITS(resp, 84, 12); in mmc_decode_csd() 138 csd->capacity = (1 + m) << (e + 2); in mmc_decode_csd() 140 csd->read_blkbits = UNSTUFF_BITS(resp, 80, 4); in mmc_decode_csd() 141 csd->read_partial = UNSTUFF_BITS(resp, 79, 1); in mmc_decode_csd() 142 csd->write_misalign = UNSTUFF_BITS(resp, 78, 1); in mmc_decode_csd() 143 csd->read_misalign = UNSTUFF_BITS(resp, 77, 1); in mmc_decode_csd() [all …]
|
D | mmc.c | 85 switch (card->csd.mmca_vsn) { in mmc_decode_cid() 122 mmc_hostname(card->host), card->csd.mmca_vsn); in mmc_decode_cid() 134 card->erase_size = card->csd.erase_size; in mmc_set_erase_size() 144 struct mmc_csd *csd = &card->csd; in mmc_decode_csd() local 153 csd->structure = UNSTUFF_BITS(resp, 126, 2); in mmc_decode_csd() 154 if (csd->structure == 0) { in mmc_decode_csd() 156 mmc_hostname(card->host), csd->structure); in mmc_decode_csd() 160 csd->mmca_vsn = UNSTUFF_BITS(resp, 122, 4); in mmc_decode_csd() 163 csd->taac_ns = (taac_exp[e] * taac_mant[m] + 9) / 10; in mmc_decode_csd() 164 csd->taac_clks = UNSTUFF_BITS(resp, 104, 8) * 100; in mmc_decode_csd() [all …]
|
D | core.c | 672 mult <<= card->csd.r2w_factor; in mmc_set_data_timeout() 674 data->timeout_ns = card->csd.taac_ns * mult; in mmc_set_data_timeout() 675 data->timeout_clks = card->csd.taac_clks * mult; in mmc_set_data_timeout() 1467 sz = (card->csd.capacity << (card->csd.read_blkbits - 9)) >> 11; in mmc_init_erase() 1508 unsigned int mult = (10 << card->csd.r2w_factor); in mmc_mmc_erase_timeout() 1509 unsigned int timeout_clks = card->csd.taac_clks * mult; in mmc_mmc_erase_timeout() 1513 if (card->csd.taac_ns < 1000000) in mmc_mmc_erase_timeout() 1514 timeout_us = (card->csd.taac_ns * mult) / 1000; in mmc_mmc_erase_timeout() 1516 timeout_us = (card->csd.taac_ns / 1000) * mult; in mmc_mmc_erase_timeout() 1761 if (!(card->csd.cmdclass & CCC_ERASE)) in mmc_erase() [all …]
|
D | mmc_ops.h | 33 int mmc_send_csd(struct mmc_card *card, u32 *csd);
|
D | mmc_ops.c | 353 int mmc_send_csd(struct mmc_card *card, u32 *csd) in mmc_send_csd() argument 356 return mmc_spi_send_cxd(card->host, csd, MMC_SEND_CSD); in mmc_send_csd() 358 return mmc_send_cxd_native(card->host, card->rca << 16, csd, in mmc_send_csd() 940 return (card && card->csd.mmca_vsn > CSD_SPEC_VER_3); in mmc_can_ext_csd()
|
D | mmc_test.c | 615 return card->csd.capacity << (card->csd.read_blkbits - 9); in mmc_test_capacity() 1107 if (!test->card->csd.write_partial) in mmc_test_pow2_write() 1125 if (!test->card->csd.read_partial) in mmc_test_pow2_read() 1143 if (!test->card->csd.write_partial) in mmc_test_weird_write() 1161 if (!test->card->csd.read_partial) in mmc_test_weird_read()
|
/linux-6.1.9/drivers/bus/ |
D | qcom-ebi2.c | 232 const struct cs_data *csd; in qcom_ebi2_setup_chipselect() local 238 csd = &cs_info[csindex]; in qcom_ebi2_setup_chipselect() 240 val |= csd->enable_mask; in qcom_ebi2_setup_chipselect() 287 writel(slowcfg, ebi2_xmem + csd->slow_cfg); in qcom_ebi2_setup_chipselect() 289 writel(fastcfg, ebi2_xmem + csd->fast_cfg); in qcom_ebi2_setup_chipselect()
|
/linux-6.1.9/drivers/input/keyboard/ |
D | qt1050.c | 102 unsigned int csd; member 129 .csd = QT1050_CSD_0, 134 .csd = QT1050_CSD_1, 139 .csd = QT1050_CSD_2, 144 .csd = QT1050_CSD_3, 149 .csd = QT1050_CSD_4, 330 err = regmap_write(map, key_regs->csd, button->charge_delay); in qt1050_apply_fw_data()
|
/linux-6.1.9/arch/x86/kernel/ |
D | cpuid.c | 77 call_single_data_t csd; in cpuid_read() local 79 INIT_CSD(&csd, cpuid_smp_cpuid, &cmd); in cpuid_read() 84 err = smp_call_function_single_async(cpu, &csd); in cpuid_read()
|
/linux-6.1.9/drivers/cpuidle/ |
D | coupled.c | 334 call_single_data_t *csd = &per_cpu(cpuidle_coupled_poke_cb, cpu); in cpuidle_coupled_poke() local 337 smp_call_function_single_async(cpu, csd); in cpuidle_coupled_poke() 646 call_single_data_t *csd; in cpuidle_coupled_register_device() local 676 csd = &per_cpu(cpuidle_coupled_poke_cb, dev->cpu); in cpuidle_coupled_register_device() 677 INIT_CSD(csd, cpuidle_coupled_handle_poke, (void *)(unsigned long)dev->cpu); in cpuidle_coupled_register_device()
|
/linux-6.1.9/drivers/clocksource/ |
D | ingenic-timer.c | 116 call_single_data_t *csd; in ingenic_tcu_cevt_cb() local 121 csd = &per_cpu(ingenic_cevt_csd, timer->cpu); in ingenic_tcu_cevt_cb() 122 csd->info = (void *) &timer->cevt; in ingenic_tcu_cevt_cb() 123 csd->func = ingenic_per_cpu_event_handler; in ingenic_tcu_cevt_cb() 124 smp_call_function_single_async(timer->cpu, csd); in ingenic_tcu_cevt_cb()
|
/linux-6.1.9/drivers/media/platform/qcom/camss/ |
D | camss.c | 1035 struct camss_async_subdev *csd) in camss_of_parse_endpoint_node() argument 1037 struct csiphy_lanes_cfg *lncfg = &csd->interface.csi2.lane_cfg; in camss_of_parse_endpoint_node() 1044 csd->interface.csiphy_id = vep.base.port; in camss_of_parse_endpoint_node() 1080 struct camss_async_subdev *csd; in camss_of_parse_ports() local 1092 csd = v4l2_async_nf_add_fwnode(&camss->notifier, in camss_of_parse_ports() 1096 if (IS_ERR(csd)) { in camss_of_parse_ports() 1097 ret = PTR_ERR(csd); in camss_of_parse_ports() 1101 ret = camss_of_parse_endpoint_node(dev, node, csd); in camss_of_parse_ports() 1389 struct camss_async_subdev *csd = in camss_subdev_notifier_bound() local 1391 u8 id = csd->interface.csiphy_id; in camss_subdev_notifier_bound() [all …]
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | process.c | 313 call_single_data_t *csd; in raise_backtrace() local 329 csd = &per_cpu(backtrace_csd, cpu); in raise_backtrace() 330 csd->func = handle_backtrace; in raise_backtrace() 331 smp_call_function_single_async(cpu, csd); in raise_backtrace()
|
/linux-6.1.9/arch/x86/lib/ |
D | msr-smp.c | 172 call_single_data_t csd; in rdmsr_safe_on_cpu() local 175 INIT_CSD(&csd, __rdmsr_safe_on_cpu, &rv); in rdmsr_safe_on_cpu() 181 err = smp_call_function_single_async(cpu, &csd); in rdmsr_safe_on_cpu()
|
/linux-6.1.9/arch/s390/pci/ |
D | pci_irq.c | 178 call_single_data_t csd; member 215 INIT_CSD(&cpu_data->csd, zpci_handle_remote_irq, &cpu_data->scheduled); in zpci_handle_fallback_irq() 216 smp_call_function_single_async(cpu, &cpu_data->csd); in zpci_handle_fallback_irq()
|
/linux-6.1.9/arch/mips/kernel/ |
D | smp.c | 705 call_single_data_t *csd; in tick_broadcast() local 709 csd = &per_cpu(tick_broadcast_csd, cpu); in tick_broadcast() 710 smp_call_function_single_async(cpu, csd); in tick_broadcast()
|
D | process.c | 732 call_single_data_t *csd; in raise_backtrace() local 748 csd = &per_cpu(backtrace_csd, cpu); in raise_backtrace() 749 smp_call_function_single_async(cpu, csd); in raise_backtrace()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | nettest.c | 1506 int lsd, csd = -1; in do_server() local 1576 csd = accept(lsd, (void *) addr, &alen); in do_server() 1577 if (csd < 0) { in do_server() 1582 rc = show_sockstat(csd, args); in do_server() 1586 rc = check_device(csd, args); in do_server() 1591 rc = msg_loop(0, csd, (void *) addr, alen, args); in do_server() 1592 close(csd); in do_server()
|
/linux-6.1.9/include/linux/ |
D | smp.h | 56 int smp_call_function_single_async(int cpu, struct __call_single_data *csd);
|
/linux-6.1.9/kernel/debug/ |
D | debug_core.c | 243 call_single_data_t *csd; in kgdb_roundup_cpus() local 253 csd = &per_cpu(kgdb_roundup_csd, cpu); in kgdb_roundup_cpus() 267 ret = smp_call_function_single_async(cpu, csd); in kgdb_roundup_cpus()
|
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_droq.h | 323 call_single_data_t csd; member
|
/linux-6.1.9/include/linux/mmc/ |
D | card.h | 312 struct mmc_csd csd; /* card specific */ member
|
/linux-6.1.9/Documentation/driver-api/mmc/ |
D | mmc-dev-attrs.rst | 21 csd Card Specific Data Register
|