/drivers/mmc/core/ |
D | sd.c | 102 struct mmc_csd *csd = &card->csd; in mmc_decode_csd() local 112 csd->tacc_ns = (tacc_exp[e] * tacc_mant[m] + 9) / 10; in mmc_decode_csd() 113 csd->tacc_clks = UNSTUFF_BITS(resp, 104, 8) * 100; in mmc_decode_csd() 117 csd->max_dtr = tran_exp[e] * tran_mant[m]; in mmc_decode_csd() 118 csd->cmdclass = UNSTUFF_BITS(resp, 84, 12); in mmc_decode_csd() 122 csd->capacity = (1 + m) << (e + 2); in mmc_decode_csd() 124 csd->read_blkbits = UNSTUFF_BITS(resp, 80, 4); in mmc_decode_csd() 125 csd->read_partial = UNSTUFF_BITS(resp, 79, 1); in mmc_decode_csd() 126 csd->write_misalign = UNSTUFF_BITS(resp, 78, 1); in mmc_decode_csd() 127 csd->read_misalign = UNSTUFF_BITS(resp, 77, 1); in mmc_decode_csd() [all …]
|
D | mmc.c | 86 switch (card->csd.mmca_vsn) { in mmc_decode_cid() 123 mmc_hostname(card->host), card->csd.mmca_vsn); in mmc_decode_cid() 135 card->erase_size = card->csd.erase_size; in mmc_set_erase_size() 145 struct mmc_csd *csd = &card->csd; in mmc_decode_csd() local 154 csd->structure = UNSTUFF_BITS(resp, 126, 2); in mmc_decode_csd() 155 if (csd->structure == 0) { in mmc_decode_csd() 157 mmc_hostname(card->host), csd->structure); in mmc_decode_csd() 161 csd->mmca_vsn = UNSTUFF_BITS(resp, 122, 4); in mmc_decode_csd() 164 csd->tacc_ns = (tacc_exp[e] * tacc_mant[m] + 9) / 10; in mmc_decode_csd() 165 csd->tacc_clks = UNSTUFF_BITS(resp, 104, 8) * 100; in mmc_decode_csd() [all …]
|
D | mmc_ops.c | 330 int mmc_send_csd(struct mmc_card *card, u32 *csd) in mmc_send_csd() argument 337 csd, MMC_SEND_CSD); in mmc_send_csd() 348 csd[i] = be32_to_cpu(csd_tmp[i]); in mmc_send_csd() 798 return (card && card->csd.mmca_vsn > CSD_SPEC_VER_3); in mmc_can_ext_csd()
|
D | core.c | 941 mult <<= card->csd.r2w_factor; in mmc_set_data_timeout() 943 data->timeout_ns = card->csd.tacc_ns * mult; in mmc_set_data_timeout() 944 data->timeout_clks = card->csd.tacc_clks * mult; in mmc_set_data_timeout() 2055 sz = (card->csd.capacity << (card->csd.read_blkbits - 9)) >> 11; in mmc_init_erase() 2091 unsigned int mult = (10 << card->csd.r2w_factor); in mmc_mmc_erase_timeout() 2092 unsigned int timeout_clks = card->csd.tacc_clks * mult; in mmc_mmc_erase_timeout() 2096 if (card->csd.tacc_ns < 1000000) in mmc_mmc_erase_timeout() 2097 timeout_us = (card->csd.tacc_ns * mult) / 1000; in mmc_mmc_erase_timeout() 2099 timeout_us = (card->csd.tacc_ns / 1000) * mult; in mmc_mmc_erase_timeout() 2377 !(card->csd.cmdclass & CCC_ERASE)) in mmc_erase() [all …]
|
D | mmc_ops.h | 22 int mmc_send_csd(struct mmc_card *card, u32 *csd);
|
/drivers/cpuidle/ |
D | coupled.c | 342 struct call_single_data *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 struct call_single_data *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()
|
/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()
|
/drivers/block/ |
D | cciss_scsi.c | 529 struct cciss_scsi_dev_t *csd; in adjust_cciss_scsi_table() local 558 csd = &ccissscsi[h->ctlr].dev[i]; in adjust_cciss_scsi_table() 562 csd->scsi3addr)) { in adjust_cciss_scsi_table() 563 if (device_is_the_same(&sd[j], csd)) in adjust_cciss_scsi_table() 580 hostno, csd->bus, csd->target, csd->lun); in adjust_cciss_scsi_table() 588 csd->devtype = sd[j].devtype; in adjust_cciss_scsi_table() 589 memcpy(csd->device_id, sd[j].device_id, in adjust_cciss_scsi_table() 590 sizeof(csd->device_id)); in adjust_cciss_scsi_table() 591 memcpy(csd->vendor, sd[j].vendor, in adjust_cciss_scsi_table() 592 sizeof(csd->vendor)); in adjust_cciss_scsi_table() [all …]
|
D | null_blk.c | 16 struct call_single_data csd; member
|
/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_droq.h | 349 struct call_single_data csd; member
|
D | lio_main.c | 2389 struct call_single_data *csd = &droq->csd; in liquidio_napi_drv_callback() local 2391 csd->func = napi_schedule_wrapper; in liquidio_napi_drv_callback() 2392 csd->info = &droq->napi; in liquidio_napi_drv_callback() 2393 csd->flags = 0; in liquidio_napi_drv_callback() 2395 smp_call_function_single_async(droq->cpu_id, csd); in liquidio_napi_drv_callback()
|
/drivers/mmc/card/ |
D | mmc_test.c | 623 return card->csd.capacity << (card->csd.read_blkbits - 9); in mmc_test_capacity() 1098 if (!test->card->csd.write_partial) in mmc_test_pow2_write() 1116 if (!test->card->csd.read_partial) in mmc_test_pow2_read() 1134 if (!test->card->csd.write_partial) in mmc_test_weird_write() 1152 if (!test->card->csd.read_partial) in mmc_test_weird_read()
|
D | block.c | 2476 !(card->csd.cmdclass & CCC_BLOCK_WRITE); in mmc_blk_readonly() 2573 card->csd.mmca_vsn >= CSD_SPEC_VER_3) || in mmc_blk_alloc_req() 2623 size = (typeof(sector_t))card->csd.capacity in mmc_blk_alloc() 2624 << (card->csd.read_blkbits - 9); in mmc_blk_alloc() 2887 if (!(card->csd.cmdclass & CCC_BLOCK_READ)) in mmc_blk_probe()
|
/drivers/scsi/ |
D | hpsa.c | 1836 struct hpsa_scsi_dev_t *csd; in adjust_hpsa_scsi_table() local 1872 csd = h->dev[i]; in adjust_hpsa_scsi_table() 1873 device_change = hpsa_scsi_find_entry(csd, sd, nsds, &entry); in adjust_hpsa_scsi_table()
|