Home
last modified time | relevance | path

Searched refs:blk_size (Results 1 – 25 of 56) sorted by relevance

123

/linux-6.3-rc2/drivers/mfd/
A Dintel-m10-bmc-pmci.c152 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 Dtest-string_helpers.c477 #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 Dstring_helpers.c35 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 Dtail_conversion.c42 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 Ddasd_fba.h26 __u16 blk_size; /* Blocksize */ member
66 __u16 blk_size; member
A Ddasd_fba.c94 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 Dload.c54 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 Dps3flash.c90 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 Dmdp5_smp.c21 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 Dps3disk.c388 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 Dvirtio_blk.c1243 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 Dmtk-btcvsd.c290 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 Dqcom_adm.c132 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 Dsdio.c1569 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 Disp1362-hcd.c160 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 Dplatform.h151 unsigned int dev_index, u64 *blk_size);
164 unsigned int dev_index, u64 *port, u64 *blk_size,
A Drepository.c571 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 Ddevice-init.c326 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 Dps3stor.h28 u64 blk_size; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_hubp.c342 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 Dintel-m10-bmc-sec-update.c579 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 Dvirtio_blk.h75 __virtio32 blk_size; member
/linux-6.3-rc2/drivers/scsi/
A Dps3rom.c346 if (dev->blk_size != CD_FRAMESIZE) { in ps3rom_probe()
349 __LINE__, dev->blk_size); in ps3rom_probe()
/linux-6.3-rc2/include/linux/
A Dstring_helpers.h26 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 Dpearl_pcie.c957 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()

Completed in 69 milliseconds

123