Home
last modified time | relevance | path

Searched refs:csd (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.6.21/kernel/
Dsmp.c40 call_single_data_t __percpu *csd; member
65 cfd->csd = alloc_percpu(call_single_data_t); in smpcfd_prepare_cpu()
66 if (!cfd->csd) { in smpcfd_prepare_cpu()
81 free_percpu(cfd->csd); in smpcfd_dead_cpu()
130 csd_do_func(smp_call_func_t func, void *info, struct __call_single_data *csd) in csd_do_func() argument
132 trace_csd_function_entry(func, csd); in csd_do_func()
134 trace_csd_function_exit(func, csd); in csd_do_func()
179 static void __csd_lock_record(struct __call_single_data *csd) in __csd_lock_record() argument
181 if (!csd) { in __csd_lock_record()
186 __this_cpu_write(cur_csd_func, csd->func); in __csd_lock_record()
[all …]
Dup.c28 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.6.21/include/trace/events/
Dcsd.h3 #define TRACE_SYSTEM csd
15 struct __call_single_data *csd),
17 TP_ARGS(cpu, callsite, func, csd),
23 __field(void *, csd)
30 __entry->csd = csd;
34 __entry->cpu, __entry->callsite, __entry->func, __entry->csd)
42 TP_PROTO(smp_call_func_t func, struct __call_single_data *csd),
44 TP_ARGS(func, csd),
48 __field(void *, csd)
53 __entry->csd = csd;
[all …]
/linux-6.6.21/drivers/mmc/core/
Dsd.c118 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 …]
Dmmc.c85 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 …]
Dcore.c676 mult <<= card->csd.r2w_factor; in mmc_set_data_timeout()
678 data->timeout_ns = card->csd.taac_ns * mult; in mmc_set_data_timeout()
679 data->timeout_clks = card->csd.taac_clks * mult; in mmc_set_data_timeout()
1471 sz = (card->csd.capacity << (card->csd.read_blkbits - 9)) >> 11; in mmc_init_erase()
1512 unsigned int mult = (10 << card->csd.r2w_factor); in mmc_mmc_erase_timeout()
1513 unsigned int timeout_clks = card->csd.taac_clks * mult; in mmc_mmc_erase_timeout()
1517 if (card->csd.taac_ns < 1000000) in mmc_mmc_erase_timeout()
1518 timeout_us = (card->csd.taac_ns * mult) / 1000; in mmc_mmc_erase_timeout()
1520 timeout_us = (card->csd.taac_ns / 1000) * mult; in mmc_mmc_erase_timeout()
1765 if (!(card->csd.cmdclass & CCC_ERASE)) in mmc_erase()
[all …]
Dmmc_ops.h33 int mmc_send_csd(struct mmc_card *card, u32 *csd);
Dmmc_ops.c353 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()
941 return (card && card->csd.mmca_vsn > CSD_SPEC_VER_3); in mmc_can_ext_csd()
/linux-6.6.21/drivers/bus/
Dqcom-ebi2.c232 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.6.21/drivers/input/keyboard/
Dqt1050.c102 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.6.21/arch/x86/kernel/
Dcpuid.c76 call_single_data_t csd; in cpuid_read() local
78 INIT_CSD(&csd, cpuid_smp_cpuid, &cmd); in cpuid_read()
83 err = smp_call_function_single_async(cpu, &csd); in cpuid_read()
/linux-6.6.21/arch/arm/kernel/
Dmachine_kexec.c104 call_single_data_t *csd; in crash_smp_send_stop() local
115 csd = &per_cpu(cpu_stop_csd, cpu); in crash_smp_send_stop()
116 smp_call_function_single_async(cpu, csd); in crash_smp_send_stop()
/linux-6.6.21/drivers/cpuidle/
Dcoupled.c334 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.6.21/drivers/clocksource/
Dingenic-timer.c115 call_single_data_t *csd; in ingenic_tcu_cevt_cb() local
120 csd = &per_cpu(ingenic_cevt_csd, timer->cpu); in ingenic_tcu_cevt_cb()
121 csd->info = (void *) &timer->cevt; in ingenic_tcu_cevt_cb()
122 csd->func = ingenic_per_cpu_event_handler; in ingenic_tcu_cevt_cb()
123 smp_call_function_single_async(timer->cpu, csd); in ingenic_tcu_cevt_cb()
/linux-6.6.21/drivers/media/platform/qcom/camss/
Dcamss.c1035 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.6.21/arch/loongarch/kernel/
Dprocess.c330 call_single_data_t *csd; in raise_backtrace() local
346 csd = &per_cpu(backtrace_csd, cpu); in raise_backtrace()
347 csd->func = handle_backtrace; in raise_backtrace()
348 smp_call_function_single_async(cpu, csd); in raise_backtrace()
/linux-6.6.21/arch/x86/lib/
Dmsr-smp.c172 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.6.21/arch/mips/kernel/
Dsmp.c731 call_single_data_t *csd; in tick_broadcast() local
735 csd = &per_cpu(tick_broadcast_csd, cpu); in tick_broadcast()
736 smp_call_function_single_async(cpu, csd); in tick_broadcast()
Dprocess.c733 call_single_data_t *csd; in raise_backtrace() local
749 csd = &per_cpu(backtrace_csd, cpu); in raise_backtrace()
750 smp_call_function_single_async(cpu, csd); in raise_backtrace()
/linux-6.6.21/arch/s390/pci/
Dpci_irq.c178 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.6.21/tools/testing/selftests/net/
Dnettest.c1568 int lsd, csd = -1; in do_server() local
1638 csd = accept(lsd, (void *) addr, &alen); in do_server()
1639 if (csd < 0) { in do_server()
1644 rc = show_sockstat(csd, args); in do_server()
1648 rc = check_device(csd, args); in do_server()
1653 rc = msg_loop(0, csd, (void *) addr, alen, args); in do_server()
1654 close(csd); in do_server()
/linux-6.6.21/include/linux/
Dsmp.h56 int smp_call_function_single_async(int cpu, struct __call_single_data *csd);
/linux-6.6.21/kernel/debug/
Ddebug_core.c243 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.6.21/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.h323 call_single_data_t csd; member
/linux-6.6.21/include/linux/mmc/
Dcard.h315 struct mmc_csd csd; /* card specific */ member

12