Home
last modified time | relevance | path

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

12

/linux/kernel/
A Dsmp.c67 if (!cfd->csd) { in smpcfd_prepare_cpu()
182 if (!csd) { in __csd_lock_record()
278 cpu, csd->func, csd->info); in csd_lock_wait_toolong()
431 csd_unlock(csd); in generic_exec_single()
440 csd_unlock(csd); in generic_exec_single()
508 csd->func); in __flush_smp_call_function_queue()
586 csd = llist_entry(entry, typeof(*csd), node.llist); in __flush_smp_call_function_queue()
666 csd_lock(csd); in smp_call_function_single()
835 call_single_data_t *csd = per_cpu_ptr(cfd->csd, cpu); in smp_call_function_many_cond() local
842 csd_lock(csd); in smp_call_function_many_cond()
[all …]
A Dup.c28 int smp_call_function_single_async(int cpu, call_single_data_t *csd) in smp_call_function_single_async() argument
33 csd->func(csd->info); in smp_call_function_single_async()
/linux/include/trace/events/
A Dcsd.h3 #define TRACE_SYSTEM csd
15 call_single_data_t *csd),
17 TP_ARGS(cpu, callsite, func, csd),
23 __field(void *, csd)
30 __entry->csd = csd;
42 TP_PROTO(smp_call_func_t func, call_single_data_t *csd),
44 TP_ARGS(func, csd),
48 __field(void *, csd)
53 __entry->csd = csd;
61 TP_ARGS(func, csd)
[all …]
/linux/drivers/mmc/core/
A Dsd.c105 struct mmc_csd *csd = &card->csd; in mmc_decode_csd() local
137 csd->erase_size = 1; in mmc_decode_csd()
140 csd->erase_size <<= csd->write_blkbits - 9; in mmc_decode_csd()
165 if (csd->c_size >= 0xFFFF) in mmc_decode_csd()
171 csd->read_blkbits = 9; in mmc_decode_csd()
172 csd->read_partial = 0; in mmc_decode_csd()
173 csd->write_misalign = 0; in mmc_decode_csd()
174 csd->read_misalign = 0; in mmc_decode_csd()
176 csd->write_blkbits = 9; in mmc_decode_csd()
177 csd->write_partial = 0; in mmc_decode_csd()
[all …]
A Dmmc.c71 switch (card->csd.mmca_vsn) { in mmc_decode_cid()
133 (card->csd.wp_grp_size + 1); in mmc_set_wp_grp_size()
141 struct mmc_csd *csd = &card->csd; in mmc_decode_csd() local
151 if (csd->structure == 0) { in mmc_decode_csd()
170 csd->capacity = (1 + m) << (e + 2); in mmc_decode_csd()
181 if (csd->write_blkbits >= 9) { in mmc_decode_csd()
184 csd->erase_size = (a + 1) * (b + 1); in mmc_decode_csd()
185 csd->erase_size <<= csd->write_blkbits - 9; in mmc_decode_csd()
377 if (card->csd.structure == 3) { in mmc_decode_ext_csd()
988 else if (max_dtr > card->csd.max_dtr) in mmc_set_bus_speed()
[all …]
A 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 …]
A 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()
A Dmmc_ops.h33 int mmc_send_csd(struct mmc_card *card, u32 *csd);
/linux/drivers/staging/media/starfive/camss/
A Dstf-camss.c70 struct stfcamss_async_subdev *csd) in stfcamss_of_parse_endpoint_node() argument
81 csd->port = vep.base.port; in stfcamss_of_parse_endpoint_node()
98 struct stfcamss_async_subdev *csd; in stfcamss_of_parse_ports() local
103 csd = v4l2_async_nf_add_fwnode_remote(&stfcamss->notifier, in stfcamss_of_parse_ports()
106 if (IS_ERR(csd)) { in stfcamss_of_parse_ports()
107 ret = PTR_ERR(csd); in stfcamss_of_parse_ports()
112 ret = stfcamss_of_parse_endpoint_node(stfcamss, node, csd); in stfcamss_of_parse_ports()
181 struct stfcamss_async_subdev *csd = in stfcamss_subdev_notifier_bound() local
183 enum stf_port_num port = csd->port; in stfcamss_subdev_notifier_bound()
/linux/drivers/bus/
A 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/arch/arm/kernel/
A 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/drivers/input/keyboard/
A 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,
335 err = regmap_write(map, key_regs->csd, button->charge_delay); in qt1050_apply_fw_data()
/linux/arch/x86/kernel/
A 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/drivers/cpuidle/
A 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()
639 call_single_data_t *csd; in cpuidle_coupled_register_device() local
669 csd = &per_cpu(cpuidle_coupled_poke_cb, dev->cpu); in cpuidle_coupled_register_device()
670 INIT_CSD(csd, cpuidle_coupled_handle_poke, (void *)(unsigned long)dev->cpu); in cpuidle_coupled_register_device()
/linux/drivers/clocksource/
A 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/arch/loongarch/kernel/
A Dprocess.c332 call_single_data_t *csd; in raise_backtrace() local
348 csd = &per_cpu(backtrace_csd, cpu); in raise_backtrace()
349 csd->func = handle_backtrace; in raise_backtrace()
350 smp_call_function_single_async(cpu, csd); in raise_backtrace()
/linux/drivers/media/platform/qcom/camss/
A Dcamss.c1692 struct camss_async_subdev *csd) in camss_of_parse_endpoint_node() argument
1694 struct csiphy_lanes_cfg *lncfg = &csd->interface.csi2.lane_cfg; in camss_of_parse_endpoint_node()
1704 csd->interface.csiphy_id = vep.base.port; in camss_of_parse_endpoint_node()
1740 struct camss_async_subdev *csd; in camss_of_parse_ports() local
1752 csd = v4l2_async_nf_add_fwnode(&camss->notifier, in camss_of_parse_ports()
1756 if (IS_ERR(csd)) { in camss_of_parse_ports()
1757 ret = PTR_ERR(csd); in camss_of_parse_ports()
1761 ret = camss_of_parse_endpoint_node(dev, node, csd); in camss_of_parse_ports()
2024 struct camss_async_subdev *csd = in camss_subdev_notifier_bound() local
2026 u8 id = csd->interface.csiphy_id; in camss_subdev_notifier_bound()
[all …]
/linux/arch/x86/lib/
A Dmsr-smp.c170 call_single_data_t csd; in rdmsr_safe_on_cpu() local
173 INIT_CSD(&csd, __rdmsr_safe_on_cpu, &rv); in rdmsr_safe_on_cpu()
179 err = smp_call_function_single_async(cpu, &csd); in rdmsr_safe_on_cpu()
/linux/arch/mips/kernel/
A Dsmp.c732 call_single_data_t *csd; in tick_broadcast() local
736 csd = &per_cpu(tick_broadcast_csd, cpu); in tick_broadcast()
737 smp_call_function_single_async(cpu, csd); in tick_broadcast()
A 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/arch/s390/pci/
A 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/tools/testing/selftests/net/
A 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/include/linux/
A Dsmp.h56 int smp_call_function_single_async(int cpu, call_single_data_t *csd);
/linux/kernel/debug/
A 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/drivers/net/ethernet/cavium/liquidio/
A Docteon_droq.h323 call_single_data_t csd; member

Completed in 61 milliseconds

12