Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/kernel/
A Dsmp.c218 if (!csd) { in __csd_lock_record()
361 cpu, csd->func, csd->info); in csd_lock_wait_toolong()
518 csd_unlock(csd); in generic_exec_single()
527 csd_unlock(csd); in generic_exec_single()
598 csd->func); in __flush_smp_call_function_queue()
760 csd = &csd_stack; in smp_call_function_single()
763 csd_lock(csd); in smp_call_function_single()
766 csd->func = func; in smp_call_function_single()
933 call_single_data_t *csd = &pcpu->csd; in smp_call_function_many_cond() local
938 csd_lock(csd); in smp_call_function_many_cond()
[all …]
A 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.3-rc2/drivers/mmc/core/
A Dsd.c118 struct mmc_csd *csd = &card->csd; in mmc_decode_csd() local
150 csd->erase_size = 1; in mmc_decode_csd()
153 csd->erase_size <<= csd->write_blkbits - 9; in mmc_decode_csd()
178 if (csd->c_size >= 0xFFFF) in mmc_decode_csd()
184 csd->read_blkbits = 9; in mmc_decode_csd()
185 csd->read_partial = 0; in mmc_decode_csd()
186 csd->write_misalign = 0; in mmc_decode_csd()
187 csd->read_misalign = 0; in mmc_decode_csd()
189 csd->write_blkbits = 9; in mmc_decode_csd()
190 csd->write_partial = 0; in mmc_decode_csd()
[all …]
A Dmmc.c85 switch (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
154 if (csd->structure == 0) { in mmc_decode_csd()
173 csd->capacity = (1 + m) << (e + 2); in mmc_decode_csd()
184 if (csd->write_blkbits >= 9) { in mmc_decode_csd()
187 csd->erase_size = (a + 1) * (b + 1); in mmc_decode_csd()
188 csd->erase_size <<= csd->write_blkbits - 9; in mmc_decode_csd()
379 if (card->csd.structure == 3) { in mmc_decode_ext_csd()
994 else if (max_dtr > card->csd.max_dtr) in mmc_set_bus_speed()
[all …]
A Dcore.c671 mult <<= card->csd.r2w_factor; in mmc_set_data_timeout()
673 data->timeout_ns = card->csd.taac_ns * mult; in mmc_set_data_timeout()
674 data->timeout_clks = card->csd.taac_clks * mult; in mmc_set_data_timeout()
1466 sz = (card->csd.capacity << (card->csd.read_blkbits - 9)) >> 11; in mmc_init_erase()
1507 unsigned int mult = (10 << card->csd.r2w_factor); in mmc_mmc_erase_timeout()
1508 unsigned int timeout_clks = card->csd.taac_clks * mult; in mmc_mmc_erase_timeout()
1512 if (card->csd.taac_ns < 1000000) in mmc_mmc_erase_timeout()
1513 timeout_us = (card->csd.taac_ns * mult) / 1000; in mmc_mmc_erase_timeout()
1515 timeout_us = (card->csd.taac_ns / 1000) * mult; in mmc_mmc_erase_timeout()
1760 if (!(card->csd.cmdclass & CCC_ERASE)) in mmc_erase()
[all …]
A Dmmc_ops.h33 int mmc_send_csd(struct mmc_card *card, u32 *csd);
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_test.c615 return card->csd.capacity << (card->csd.read_blkbits - 9); in mmc_test_capacity()
1102 if (!test->card->csd.write_partial) in mmc_test_pow2_write()
1120 if (!test->card->csd.read_partial) in mmc_test_pow2_read()
1138 if (!test->card->csd.write_partial) in mmc_test_weird_write()
1156 if (!test->card->csd.read_partial) in mmc_test_weird_read()
/linux-6.3-rc2/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-6.3-rc2/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,
330 err = regmap_write(map, key_regs->csd, button->charge_delay); in qt1050_apply_fw_data()
/linux-6.3-rc2/arch/x86/kernel/
A Dcpuid.c77 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.3-rc2/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()
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.3-rc2/drivers/clocksource/
A Dingenic-timer.c116 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.3-rc2/arch/loongarch/kernel/
A Dprocess.c320 call_single_data_t *csd; in raise_backtrace() local
336 csd = &per_cpu(backtrace_csd, cpu); in raise_backtrace()
337 csd->func = handle_backtrace; in raise_backtrace()
338 smp_call_function_single_async(cpu, csd); in raise_backtrace()
/linux-6.3-rc2/drivers/media/platform/qcom/camss/
A 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.3-rc2/arch/x86/lib/
A 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.3-rc2/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-6.3-rc2/arch/mips/kernel/
A Dsmp.c705 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()
A Dprocess.c732 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.3-rc2/tools/testing/selftests/net/
A Dnettest.c1543 int lsd, csd = -1; in do_server() local
1613 csd = accept(lsd, (void *) addr, &alen); in do_server()
1614 if (csd < 0) { in do_server()
1619 rc = show_sockstat(csd, args); in do_server()
1623 rc = check_device(csd, args); in do_server()
1628 rc = msg_loop(0, csd, (void *) addr, alen, args); in do_server()
1629 close(csd); in do_server()
/linux-6.3-rc2/include/linux/
A Dsmp.h56 int smp_call_function_single_async(int cpu, struct __call_single_data *csd);
/linux-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Docteon_droq.h323 call_single_data_t csd; member
/linux-6.3-rc2/include/linux/mmc/
A Dcard.h312 struct mmc_csd csd; /* card specific */ member
/linux-6.3-rc2/Documentation/driver-api/mmc/
A Dmmc-dev-attrs.rst21 csd Card Specific Data Register

Completed in 119 milliseconds

12