/linux-6.3-rc2/drivers/mfd/ |
A D | intel-m10-bmc-pmci.c | 152 u32 blk_size, offset = 0, write_count; in pmci_flash_bulk_write() local 155 blk_size = min(pmci_get_write_space(pmci), size); in pmci_flash_bulk_write() 156 if (blk_size == 0) { in pmci_flash_bulk_write() 164 write_count = blk_size / M10BMC_N6000_FIFO_WORD_SIZE; in pmci_flash_bulk_write() 168 size -= blk_size; in pmci_flash_bulk_write() 169 offset += blk_size; in pmci_flash_bulk_write() 186 u32 blk_size, offset = 0, val, full_read_count, read_count; in pmci_flash_bulk_read() local 190 blk_size = min_t(u32, size, M10BMC_N6000_READ_BLOCK_SIZE); in pmci_flash_bulk_read() 191 full_read_count = blk_size / M10BMC_N6000_FIFO_WORD_SIZE; in pmci_flash_bulk_read() 213 size -= blk_size; in pmci_flash_bulk_read() [all …]
|
/linux-6.3-rc2/lib/ |
A D | test-string_helpers.c | 477 #define test_string_get_size_one(size, blk_size, exp_result10, exp_result2) \ argument 481 __test_string_get_size((size), (blk_size), (exp_result10), \ 490 const u64 blk_size) in test_string_get_size_check() argument 499 size, blk_size, units); in test_string_get_size_check() 503 static __init void __test_string_get_size(const u64 size, const u64 blk_size, in __test_string_get_size() argument 510 string_get_size(size, blk_size, STRING_UNITS_10, buf10, sizeof(buf10)); in __test_string_get_size() 511 string_get_size(size, blk_size, STRING_UNITS_2, buf2, sizeof(buf2)); in __test_string_get_size() 514 size, blk_size); in __test_string_get_size() 517 size, blk_size); in __test_string_get_size()
|
A D | string_helpers.c | 35 void string_get_size(u64 size, u64 blk_size, const enum string_size_units units, in string_get_size() argument 60 if (blk_size == 0) in string_get_size() 76 while (blk_size >> 32) { in string_get_size() 77 do_div(blk_size, divisor[units]); in string_get_size() 88 size *= blk_size; in string_get_size()
|
/linux-6.3-rc2/fs/reiserfs/ |
A D | tail_conversion.c | 42 int blk_size; in direct2indirect() local 52 blk_size = sb->s_blocksize; in direct2indirect() 123 tail_size = (le_ih_k_offset(p_le_ih) & (blk_size - 1)) in direct2indirect() 157 memset(kaddr + pgoff, 0, blk_size - total_tail); in direct2indirect()
|
/linux-6.3-rc2/drivers/s390/block/ |
A D | dasd_fba.h | 26 __u16 blk_size; /* Blocksize */ member 66 __u16 blk_size; member
|
A 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()
|
/linux-6.3-rc2/drivers/platform/x86/intel/ifs/ |
A D | load.c | 54 unsigned int blk_size; member 71 meta_header->blk_size && in find_meta_data() 73 meta_size += meta_header->blk_size; in find_meta_data() 77 meta_header = (void *)meta_header + meta_header->blk_size; in find_meta_data()
|
/linux-6.3-rc2/drivers/char/ |
A 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()
|
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/mdp5/ |
A 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()
|
/linux-6.3-rc2/drivers/block/ |
A 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()
|
A D | virtio_blk.c | 1243 u32 v, blk_size, max_size, sg_elems, opt_io_size; in virtblk_probe() local 1360 struct virtio_blk_config, blk_size, in virtblk_probe() 1361 &blk_size); in virtblk_probe() 1363 err = blk_validate_block_size(blk_size); in virtblk_probe() 1367 blk_size); in virtblk_probe() 1371 blk_queue_logical_block_size(q, blk_size); in virtblk_probe() 1373 blk_size = queue_logical_block_size(q); in virtblk_probe() 1381 blk_size * (1 << physical_block_exp)); in virtblk_probe() 1393 blk_queue_io_min(q, blk_size * min_io_size); in virtblk_probe() 1399 blk_queue_io_opt(q, blk_size * opt_io_size); in virtblk_probe() [all …]
|
/linux-6.3-rc2/sound/soc/mediatek/common/ |
A D | mtk-btcvsd.c | 290 unsigned int blk_size, in mtk_btcvsd_snd_data_transfer() argument 295 if (blk_size == 60 || blk_size == 120 || blk_size == 20) { in mtk_btcvsd_snd_data_transfer() 299 for (i = 0; i < (blk_size * blk_num / 4); i++) in mtk_btcvsd_snd_data_transfer() 306 for (i = 0; i < (blk_size / 2); i++) in mtk_btcvsd_snd_data_transfer() 361 unsigned int blk_size, in mtk_btcvsd_read_from_bt() argument 389 for (i = 0; i < blk_size; i++) { in mtk_btcvsd_read_from_bt() 414 unsigned int blk_size) in mtk_btcvsd_write_to_bt() argument 434 for (i = 0; i < blk_size; i++) { in mtk_btcvsd_write_to_bt()
|
/linux-6.3-rc2/drivers/dma/qcom/ |
A 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()
|
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/ |
A D | sdio.c | 1569 u16 blk_size; in mwifiex_deaggr_sdio_pkt() local 1580 blk_size = adapter->sdio_rx_block_size * blk_num; in mwifiex_deaggr_sdio_pkt() 1581 if (blk_size > total_pkt_len) { in mwifiex_deaggr_sdio_pkt() 1590 if ((pkt_len + SDIO_HEADER_OFFSET) > blk_size) { in mwifiex_deaggr_sdio_pkt() 1594 __func__, pkt_len, blk_size); in mwifiex_deaggr_sdio_pkt() 1606 data += blk_size; in mwifiex_deaggr_sdio_pkt() 1607 total_pkt_len -= blk_size; in mwifiex_deaggr_sdio_pkt() 2317 u32 blk_size; in mwifiex_sdio_host_to_card() local 2323 blk_size = MWIFIEX_SDIO_BLOCK_SIZE; in mwifiex_sdio_host_to_card() 2324 buf_block_len = (pkt_len + blk_size - 1) / blk_size; in mwifiex_sdio_host_to_card() [all …]
|
/linux-6.3-rc2/drivers/usb/host/ |
A 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() 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() 1003 WARN_ON(epq->blk_size != 0); in finish_iso_transfers() 2249 isp1362_hcd->istl_queue[i].blk_size = 4; in isp1362_mem_config() 2263 isp1362_hcd->intl_queue.blk_size = intl_blksize; in isp1362_mem_config() 2279 isp1362_hcd->atl_queue.blk_size = atl_blksize; in isp1362_mem_config() [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/ps3/ |
A D | platform.h | 151 unsigned int dev_index, u64 *blk_size); 164 unsigned int dev_index, u64 *port, u64 *blk_size,
|
A D | repository.c | 571 unsigned int dev_index, u64 *blk_size) in ps3_repository_read_stor_dev_blk_size() argument 577 0, blk_size, NULL); in ps3_repository_read_stor_dev_blk_size() 645 unsigned int dev_index, u64 *port, u64 *blk_size, in ps3_repository_read_stor_dev_info() argument 655 blk_size); in ps3_repository_read_stor_dev_info() 1238 u64 port, blk_size, num_blocks; in dump_stor_dev_info() local 1244 repo->dev_index, &port, &blk_size, &num_blocks, &num_regions); in dump_stor_dev_info() 1255 port, blk_size, num_blocks, num_regions); in dump_stor_dev_info()
|
A D | device-init.c | 326 u64 port, blk_size, num_blocks; in ps3_setup_storage_dev() local 333 &blk_size, &num_blocks, in ps3_setup_storage_dev() 343 repo->dev_index, repo->dev_type, port, blk_size, num_blocks, in ps3_setup_storage_dev() 357 p->blk_size = blk_size; in ps3_setup_storage_dev()
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | ps3stor.h | 28 u64 blk_size; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/ |
A 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()
|
/linux-6.3-rc2/drivers/fpga/ |
A D | intel-m10-bmc-sec-update.c | 579 u32 blk_size, doorbell; in m10bmc_sec_fw_write() local 594 blk_size = min_t(u32, WRITE_BLOCK_SIZE, size); in m10bmc_sec_fw_write() 595 ret = m10bmc_sec_write(sec, data, offset, blk_size); in m10bmc_sec_fw_write() 599 *written = blk_size; in m10bmc_sec_fw_write()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | virtio_blk.h | 75 __virtio32 blk_size; member
|
/linux-6.3-rc2/drivers/scsi/ |
A D | ps3rom.c | 346 if (dev->blk_size != CD_FRAMESIZE) { in ps3rom_probe() 349 __LINE__, dev->blk_size); in ps3rom_probe()
|
/linux-6.3-rc2/include/linux/ |
A D | string_helpers.h | 26 void string_get_size(u64 size, u64 blk_size, enum string_size_units units,
|
/linux-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
A 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()
|