/drivers/char/ |
D | ps3flash.c | 90 dev->regions[dev->region_idx].size*dev->blk_size); in ps3flash_llseek() 107 size = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_read() 176 size = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_write() 337 tmp = dev->regions[dev->region_idx].start*dev->blk_size; in ps3flash_probe() 344 tmp = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_probe() 376 priv->chunk_sectors = dev->bounce_size / dev->blk_size; in ps3flash_probe()
|
/drivers/fpga/ |
D | intel-m10-bmc-sec-update.c | 448 u32 blk_size, doorbell, extra_offset; in m10bmc_sec_write() local 465 blk_size = min_t(u32, WRITE_BLOCK_SIZE, size); in m10bmc_sec_write() 469 blk_size / stride); in m10bmc_sec_write() 477 if (blk_size % stride) { in m10bmc_sec_write() 478 extra_offset = offset + ALIGN_DOWN(blk_size, stride); in m10bmc_sec_write() 479 memcpy(&extra, (u8 *)(data + extra_offset), blk_size % stride); in m10bmc_sec_write() 486 *written = blk_size; in m10bmc_sec_write()
|
/drivers/s390/block/ |
D | dasd_fba.h | 26 __u16 blk_size; /* Blocksize */ member 66 __u16 blk_size; member
|
D | dasd_fba.c | 94 data->blk_size = blksize; in define_extent() 181 (private->rdc_data.blk_size >> 9)) >> 11), in dasd_fba_check_characteristics() 182 private->rdc_data.blk_size, in dasd_fba_check_characteristics() 192 rc = dasd_check_blocksize(private->rdc_data.blk_size); in dasd_fba_do_analysis() 195 private->rdc_data.blk_size); in dasd_fba_do_analysis() 199 block->bp_block = private->rdc_data.blk_size; in dasd_fba_do_analysis() 201 for (sb = 512; sb < private->rdc_data.blk_size; sb = sb << 1) in dasd_fba_do_analysis()
|
/drivers/block/ |
D | virtio_blk.c | 897 u32 v, blk_size, max_size, sg_elems, opt_io_size; in virtblk_probe() local 1016 struct virtio_blk_config, blk_size, in virtblk_probe() 1017 &blk_size); in virtblk_probe() 1019 err = blk_validate_block_size(blk_size); in virtblk_probe() 1023 blk_size); in virtblk_probe() 1027 blk_queue_logical_block_size(q, blk_size); in virtblk_probe() 1029 blk_size = queue_logical_block_size(q); in virtblk_probe() 1037 blk_size * (1 << physical_block_exp)); in virtblk_probe() 1043 blk_queue_alignment_offset(q, blk_size * alignment_offset); in virtblk_probe() 1049 blk_queue_io_min(q, blk_size * min_io_size); in virtblk_probe() [all …]
|
D | ps3disk.c | 388 if (dev->blk_size < 512) { in ps3disk_probe() 391 __LINE__, dev->blk_size); in ps3disk_probe() 445 blk_queue_dma_alignment(queue, dev->blk_size-1); in ps3disk_probe() 446 blk_queue_logical_block_size(queue, dev->blk_size); in ps3disk_probe() 461 priv->blocking_factor = dev->blk_size >> 9; in ps3disk_probe()
|
/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_smp.c | 21 int blk_size; member 99 u32 smp_entries_per_blk = smp->blk_size / (128 / BITS_PER_BYTE); in set_fifo_thresholds() 152 n = DIV_ROUND_UP(fetch_stride * nlines, smp->blk_size); in mdp5_smp_calculate() 393 smp->blk_size = cfg->mmb_size; in mdp5_smp_init()
|
/drivers/dma/qcom/ |
D | qcom_adm.c | 132 u32 blk_size; member 362 int blk_size = 0; in adm_prep_slave_sg() local 378 blk_size = adm_get_blksize(burst); in adm_prep_slave_sg() 379 if (blk_size < 0) { in adm_prep_slave_sg() 413 async_desc->blk_size = blk_size; in adm_prep_slave_sg() 550 writel(async_desc->mux | async_desc->blk_size, in adm_start_dma()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | sdio.c | 709 u32 blk_size = (blk_mode == BLOCK_MODE) ? MWIFIEX_SDIO_BLOCK_SIZE : 1; in mwifiex_write_data_sync() local 724 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync() 740 u32 blk_size = (blk_mode == BLOCK_MODE) ? MWIFIEX_SDIO_BLOCK_SIZE : 1; in mwifiex_read_data_sync() local 748 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync() 1588 u16 blk_size; in mwifiex_deaggr_sdio_pkt() local 1599 blk_size = adapter->sdio_rx_block_size * blk_num; in mwifiex_deaggr_sdio_pkt() 1600 if (blk_size > total_pkt_len) { in mwifiex_deaggr_sdio_pkt() 1604 __func__, blk_num, blk_size, total_pkt_len); in mwifiex_deaggr_sdio_pkt() 1609 if ((pkt_len + SDIO_HEADER_OFFSET) > blk_size) { in mwifiex_deaggr_sdio_pkt() 1613 __func__, pkt_len, blk_size); in mwifiex_deaggr_sdio_pkt() [all …]
|
/drivers/usb/host/ |
D | isp1362-hcd.c | 160 if (index * epq->blk_size > epq->buf_size) { in get_ptd_offset() 163 epq->buf_size / epq->blk_size); in get_ptd_offset() 166 offset = epq->buf_start + index * epq->blk_size; in get_ptd_offset() 179 xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE); in max_transfer_size() 190 int num_ptds = ((len + PTD_HEADER_SIZE - 1) / epq->blk_size) + 1; in claim_ptd_buffers() 200 epq->name, len, epq->blk_size, num_ptds, epq->buf_map, epq->skip_map); in claim_ptd_buffers() 209 num_ptds, found, len, (int)(epq->blk_size - PTD_HEADER_SIZE)); in claim_ptd_buffers() 844 int num_ptds = (ep->length + PTD_HEADER_SIZE + (epq->blk_size - 1)) / epq->blk_size; in next_ptd() 847 ep->length, num_ptds, epq->blk_size, ptd_offset + num_ptds * epq->blk_size); in next_ptd() 849 ptd_offset += num_ptds * epq->blk_size; in next_ptd() [all …]
|
/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hubp.c | 342 enum hubp_ind_block_size blk_size) in hubp3_dcc_control() argument 349 PRIMARY_SURFACE_DCC_IND_BLK, blk_size, in hubp3_dcc_control() 351 SECONDARY_SURFACE_DCC_IND_BLK, blk_size); in hubp3_dcc_control()
|
/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
D | pearl_pcie.c | 957 int blk_size = QTN_PCIE_FW_BUFSZ - sizeof(struct qtnf_pearl_fw_hdr); in qtnf_ep_fw_load() local 958 int blk_count = fw_size / blk_size + ((fw_size % blk_size) ? 1 : 0); in qtnf_ep_fw_load() 997 blk_size + len); in qtnf_ep_fw_load() 1000 pblk -= QTN_PCIE_FW_DLMASK * blk_size; in qtnf_ep_fw_load()
|
/drivers/scsi/ |
D | ps3rom.c | 346 if (dev->blk_size != CD_FRAMESIZE) { in ps3rom_probe() 349 __LINE__, dev->blk_size); in ps3rom_probe()
|
D | BusLogic.c | 161 int blk_size, dma_addr_t blkp) in blogic_init_ccbs() argument 165 memset(blk_pointer, 0, blk_size); in blogic_init_ccbs() 167 ccb->allocgrp_size = blk_size; in blogic_init_ccbs() 168 while ((blk_size -= sizeof(struct blogic_ccb)) >= 0) { in blogic_init_ccbs() 193 int blk_size = BLOGIC_CCB_GRP_ALLOCSIZE * sizeof(struct blogic_ccb); in blogic_create_initccbs() local 199 blk_size, &blkp, GFP_KERNEL); in blogic_create_initccbs() 205 blogic_init_ccbs(adapter, blk_pointer, blk_size, blkp); in blogic_create_initccbs() 247 int blk_size = BLOGIC_CCB_GRP_ALLOCSIZE * sizeof(struct blogic_ccb); in blogic_create_addlccbs() local 255 blk_size, &blkp, GFP_KERNEL); in blogic_create_addlccbs() 258 blogic_init_ccbs(adapter, blk_pointer, blk_size, blkp); in blogic_create_addlccbs()
|
D | sg.c | 1863 int blk_size = buff_size, order; in sg_build_indirect() local 1866 if (blk_size < 0) in sg_build_indirect() 1868 if (0 == blk_size) in sg_build_indirect() 1869 ++blk_size; /* don't know why */ in sg_build_indirect() 1871 blk_size = ALIGN(blk_size, SG_SECTOR_SZ); in sg_build_indirect() 1874 buff_size, blk_size)); in sg_build_indirect() 1894 for (k = 0, rem_sz = blk_size; rem_sz > 0 && k < mx_sc_elems; in sg_build_indirect() 1922 schp->bufflen = blk_size; in sg_build_indirect()
|
/drivers/iommu/ |
D | io-pgtable-arm-v7s.c | 714 size_t blk_size = ARM_V7S_BLOCK_SIZE(lvl); in __arm_v7s_unmap() local 721 io_pgtable_tlb_flush_walk(iop, iova, blk_size, in __arm_v7s_unmap() 726 io_pgtable_tlb_add_page(iop, gather, iova, blk_size); in __arm_v7s_unmap() 728 iova += blk_size; in __arm_v7s_unmap()
|
/drivers/net/wireless/ath/ath6kl/ |
D | init.c | 420 u32 blk_size; in ath6kl_set_htc_params() local 422 blk_size = ar->mbox_info.block_size; in ath6kl_set_htc_params() 425 blk_size |= ((u32)htc_ctrl_buf) << 16; in ath6kl_set_htc_params() 428 status = ath6kl_bmi_write_hi32(ar, hi_mbox_io_block_sz, blk_size); in ath6kl_set_htc_params() 435 blk_size, in ath6kl_set_htc_params()
|
/drivers/target/ |
D | target_core_user.c | 560 uint32_t blk_size = udev->data_blk_size; in tcmu_get_empty_blocks() local 562 for (; length > 0; length -= blk_size) { in tcmu_get_empty_blocks() 563 blk_data_len = min_t(uint32_t, length, blk_size); in tcmu_get_empty_blocks() 582 uint32_t blk_size = cmd->tcmu_dev->data_blk_size; in tcmu_cmd_set_block_cnts() local 584 cmd->dbi_cnt = DIV_ROUND_UP(se_cmd->data_length, blk_size); in tcmu_cmd_set_block_cnts() 590 cmd->dbi_bidi_cnt = DIV_ROUND_UP(len, blk_size); in tcmu_cmd_set_block_cnts() 1023 uint32_t blk_size = udev->data_blk_size; in queue_cmd_ring() local 1025 size_t data_length = (size_t)tcmu_cmd->dbi_cnt * blk_size; in queue_cmd_ring() 1042 if (data_length > (size_t)udev->max_blocks * blk_size) { in queue_cmd_ring() 1044 data_length, (size_t)udev->max_blocks * blk_size); in queue_cmd_ring()
|
/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | hubp.h | 109 enum hubp_ind_block_size blk_size);
|
/drivers/mmc/host/ |
D | renesas_sdhi_core.c | 871 unsigned int direction, int blk_size) in renesas_sdhi_multi_io_quirk() argument 882 blk_size == 2) in renesas_sdhi_multi_io_quirk() 885 return blk_size; in renesas_sdhi_multi_io_quirk()
|
D | tmio_mmc.h | 186 unsigned int direction, int blk_size);
|
D | tmio_mmc_core.c | 1029 unsigned int direction, int blk_size) in tmio_multi_io_quirk() argument 1034 return host->multi_io_quirk(card, direction, blk_size); in tmio_multi_io_quirk() 1036 return blk_size; in tmio_multi_io_quirk()
|
/drivers/platform/mellanox/ |
D | mlxbf-pmc.c | 110 size_t blk_size; member 535 (offset + MLXBF_PMC_REG_SIZE <= pmc->block[blk_num].blk_size)) in mlxbf_pmc_valid_range() 1371 pmc->block[i].blk_size = info[1]; in mlxbf_pmc_map_counters()
|
/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 2151 sec_max_key_size, ctx_init, ctx_exit, blk_size, iv_size)\ argument 2159 .cra_blocksize = blk_size,\ 2174 max_key_size, blk_size, iv_size) \ argument 2176 sec_skcipher_ctx_init, sec_skcipher_ctx_exit, blk_size, iv_size) 2416 ctx_exit, blk_size, iv_size, max_authsize)\ argument 2424 .cra_blocksize = blk_size,\
|
/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 1288 u32 blk_size = WL12XX_TX_HW_BLOCK_SIZE; in wl12xx_calc_tx_blocks() local 1291 return (align_len + blk_size - 1) / blk_size + spare_blks; in wl12xx_calc_tx_blocks()
|