Home
last modified time | relevance | path

Searched refs:num_blks (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/drivers/net/wireless/rsi/
H A Drsi_91x_sdio_ops.c92 u8 num_blks = 0; in rsi_process_pkt() local
97 num_blks = ((adapter->interrupt_status & 1) | in rsi_process_pkt()
100 if (!num_blks) { in rsi_process_pkt()
110 num_blks = value & 0x1f; in rsi_process_pkt()
116 if (unlikely(!num_blks)) { in rsi_process_pkt()
121 rcv_pkt_len = (num_blks * 256); in rsi_process_pkt()
/openbmc/u-boot/drivers/spi/
H A Datcspi200_spi.c196 int num_blks, num_chunks, max_tran_len, tran_len; in __atcspi200_spi_xfer() local
242 num_blks = DIV_ROUND_UP(tran_len , CHUNK_SIZE); in __atcspi200_spi_xfer()
248 while (num_blks) { in __atcspi200_spi_xfer()
252 num_blks -= CHUNK_SIZE; in __atcspi200_spi_xfer()
260 else if (num_blks == 1 && rf_cnt == num_bytes) in __atcspi200_spi_xfer()
266 num_blks -= CHUNK_SIZE; in __atcspi200_spi_xfer()
H A Dfsl_espi.c248 int num_blks, num_chunks, max_tran_len, tran_len; in spi_xfer() local
304 num_blks = DIV_ROUND_UP(tran_len + cmd_len, 4); in spi_xfer()
312 while (num_blks) { in spi_xfer()
329 else if (num_blks == 1 && rf_cnt == num_bytes) in spi_xfer()
335 num_blks--; in spi_xfer()
/openbmc/linux/arch/sparc/include/asm/
H A Dopenprom.h21 int (*v0_rdblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
22 int (*v0_wrblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
/openbmc/linux/arch/m68k/include/asm/
H A Dopenprom.h29 int (*v0_rdblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
30 int (*v0_wrblkdev)(int dev_desc, int num_blks, int blk_st, char *buf);
/openbmc/linux/arch/arm64/crypto/
H A Dsha256-glue.c27 unsigned int num_blks);
37 unsigned int num_blks);
H A Dsha512-glue.c23 unsigned int num_blks);
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_rm.c602 int i, num_blks, max_blks; in dpu_rm_get_assigned_resources() local
635 num_blks = 0; in dpu_rm_get_assigned_resources()
640 if (num_blks == blks_size) { in dpu_rm_get_assigned_resources()
650 blks[num_blks++] = hw_blks[i]; in dpu_rm_get_assigned_resources()
653 return num_blks; in dpu_rm_get_assigned_resources()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_midi2.c82 unsigned int num_blks; /* number of FBs */ member
466 .num_function_blocks = ep->num_blks, in reply_ump_stream_ep_info()
653 } else if (blk < ep->num_blks) { in process_ump_stream_msg()
1879 cdesc->bNumGrpTrmBlock = ep->num_blks; in fill_midi2_class_desc()
1880 for (blk = 0; blk < ep->num_blks; blk++) in fill_midi2_class_desc()
1957 for (blk = 0; blk < ep->num_blks; blk++) in f_midi2_bind()
2709 int i, j, num_eps, num_blks; in verify_parameters() local
2721 num_blks = 0; in verify_parameters()
2731 j++, num_blks++) { in verify_parameters()
2750 if (!num_blks) { in verify_parameters()
[all …]
/openbmc/linux/arch/arm/crypto/
H A Dsha256_neon_glue.c25 const u8 *data, int num_blks);
H A Dsha256_glue.c28 const u8 *data, int num_blks);
/openbmc/linux/drivers/misc/bcm-vk/
H A Dbcm_vk_msg.c787 u32 num_blks; in bcm_to_h_msg_dequeue() local
836 num_blks = src_size + 1; in bcm_to_h_msg_dequeue()
837 data = kzalloc(num_blks * VK_MSGQ_BLK_SIZE, GFP_KERNEL); in bcm_to_h_msg_dequeue()
841 for (j = 0; j < num_blks; j++) { in bcm_to_h_msg_dequeue()
868 num_blks, in bcm_to_h_msg_dequeue()
896 entry->to_h_blks = num_blks; in bcm_to_h_msg_dequeue()
/openbmc/linux/drivers/scsi/megaraid/
H A Dmbox_defs.h601 uint32_t num_blks; member
613 uint32_t num_blks; member
/openbmc/linux/fs/jbd2/
H A Drecovery.c408 int i, num_blks, err; in calc_chksums() local
412 num_blks = count_tags(journal, bh); in calc_chksums()
416 for (i = 0; i < num_blks; i++) { in calc_chksums()
H A Djournal.c901 int jbd2_fc_wait_bufs(journal_t *journal, int num_blks) in jbd2_fc_wait_bufs() argument
912 for (i = j_fc_off - 1; i >= j_fc_off - num_blks; i--) { in jbd2_fc_wait_bufs()
/openbmc/linux/fs/befs/
H A Dlinuxvfs.c380 int num_blks; in befs_iget() local
385 num_blks = befs_count_blocks(sb, &befs_ino->i_data.ds); in befs_iget()
387 num_blks * (befs_sb->block_size / VFS_BLOCK_SIZE); in befs_iget()
/openbmc/linux/drivers/scsi/
H A Dmegaraid.h403 u32 num_blks; /* # of blocks */ member
409 u32 num_blks; /* # of blocks */ member
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_devlink.c1668 s8 num_blks; in ice_devlink_nvm_snapshot() local
1686 num_blks = DIV_ROUND_UP(nvm_size, ICE_DEVLINK_READ_BLK_SIZE); in ice_devlink_nvm_snapshot()
1696 for (i = 0; i < num_blks; i++) { in ice_devlink_nvm_snapshot()
/openbmc/linux/fs/xfs/
H A Dxfs_log_recover.c406 int num_blks = *last_blk - start_blk; in xlog_find_verify_log_record() local
411 buffer = xlog_alloc_buffer(log, num_blks); in xlog_find_verify_log_record()
418 error = xlog_bread(log, start_blk, num_blks, buffer, &offset); in xlog_find_verify_log_record()
421 offset += ((num_blks - 1) << BBSHIFT); in xlog_find_verify_log_record()
/openbmc/qemu/block/
H A Discsi.c2257 int src_index, int dst_index, int num_blks, in iscsi_xcopy_populate_desc() argument
2263 assert(num_blks < 65536); in iscsi_xcopy_populate_desc()
2264 desc[10] = (num_blks >> 8) & 0xFF; in iscsi_xcopy_populate_desc()
2265 desc[11] = num_blks & 0xFF; in iscsi_xcopy_populate_desc()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_target.c2745 cmd->lba, cmd->lba, cmd->num_blks, &cmd->se_cmd, in qlt_print_dif_err()
2752 cmd->lba, cmd->lba, cmd->num_blks, &cmd->se_cmd, in qlt_print_dif_err()
2759 cmd->lba, cmd->lba, cmd->num_blks, &cmd->se_cmd, in qlt_print_dif_err()
2766 cmd->lba, cmd->lba, cmd->num_blks, &cmd->se_cmd, in qlt_print_dif_err()
3526 cmd->cdb[0], lba, (lba+cmd->num_blks), cmd->num_blks, in qlt_handle_dif_error()
3542 cmd->cdb[0], lba, (lba+cmd->num_blks), cmd->num_blks, in qlt_handle_dif_error()
3559 cmd->cdb[0], lba, (lba+cmd->num_blks), cmd->num_blks, in qlt_handle_dif_error()
3884 cmd->num_blks, &cmd->se_cmd, in qlt_term_ctio_exchange()
H A Dqla_target.h924 uint32_t blk_sz, num_blks; member
/openbmc/linux/include/linux/
H A Djbd2.h1673 int jbd2_fc_wait_bufs(journal_t *journal, int num_blks);