Home
last modified time | relevance | path

Searched refs:blk_cnt (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_smp.c20 int blk_cnt; member
67 int i, avail, cnt = smp->blk_cnt; in smp_request_block()
199 int cnt = smp->blk_cnt; in mdp5_smp_release()
221 int cnt = smp->blk_cnt; in update_smp_state()
260 num_regs = smp->blk_cnt / 3 + 1; in write_smp_alloc_regs()
355 int inuse = bitmap_weight(cs, smp->blk_cnt); in mdp5_smp_dump()
365 drm_printf(p, "TOTAL:\t%d\t(of %d)\n", total, smp->blk_cnt); in mdp5_smp_dump()
366 drm_printf(p, "AVAIL:\t%d\n", smp->blk_cnt - in mdp5_smp_dump()
367 bitmap_weight(state->state, smp->blk_cnt)); in mdp5_smp_dump()
392 smp->blk_cnt in mdp5_smp_init()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_smp.c20 int blk_cnt; member
67 int i, avail, cnt = smp->blk_cnt; in smp_request_block()
199 int cnt = smp->blk_cnt; in mdp5_smp_release()
221 int cnt = smp->blk_cnt; in update_smp_state()
260 num_regs = smp->blk_cnt / 3 + 1; in write_smp_alloc_regs()
355 int inuse = bitmap_weight(cs, smp->blk_cnt); in mdp5_smp_dump()
365 drm_printf(p, "TOTAL:\t%d\t(of %d)\n", total, smp->blk_cnt); in mdp5_smp_dump()
366 drm_printf(p, "AVAIL:\t%d\n", smp->blk_cnt - in mdp5_smp_dump()
367 bitmap_weight(state->state, smp->blk_cnt)); in mdp5_smp_dump()
392 smp->blk_cnt in mdp5_smp_init()
[all...]
/kernel/linux/common_modules/tzdriver/agent_rpmb/mplat/
H A Drpmb_driver.c351 uint16_t blk_cnt; in rpmb_req_read_data_ufs() local
355 blk_cnt = storage_data->data[1].blocks; in rpmb_req_read_data_ufs()
356 tlogd("rpmb read data ufs, blk_cnt: %u\n", blk_cnt); in rpmb_req_read_data_ufs()
365 data.icmd.frames->block_count = cpu_to_be16(blk_cnt); in rpmb_req_read_data_ufs()
367 data.ocmd.nframes = blk_cnt; in rpmb_req_read_data_ufs()
385 uint16_t blk_cnt; in rpmb_req_write_data_ufs() local
389 blk_cnt = storage_data->data[IOC_CMD_0].blocks; in rpmb_req_write_data_ufs()
391 tlogd("blk_cnt: %d\n", blk_cnt); in rpmb_req_write_data_ufs()
[all...]
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dextents.c548 u32 alloc_cnt, blk_cnt, start; in hfsplus_file_truncate() local
573 blk_cnt = (inode->i_size + HFSPLUS_SB(sb)->alloc_blksz - 1) >> in hfsplus_file_truncate()
579 if (blk_cnt == alloc_cnt) in hfsplus_file_truncate()
592 alloc_cnt, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
594 hip->first_blocks = blk_cnt; in hfsplus_file_truncate()
603 if (blk_cnt <= start) in hfsplus_file_truncate()
607 alloc_cnt - start, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
610 if (blk_cnt > start) { in hfsplus_file_truncate()
620 hip->alloc_blocks = blk_cnt; in hfsplus_file_truncate()
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dextents.c548 u32 alloc_cnt, blk_cnt, start; in hfsplus_file_truncate() local
573 blk_cnt = (inode->i_size + HFSPLUS_SB(sb)->alloc_blksz - 1) >> in hfsplus_file_truncate()
579 if (blk_cnt == alloc_cnt) in hfsplus_file_truncate()
592 alloc_cnt, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
594 hip->first_blocks = blk_cnt; in hfsplus_file_truncate()
603 if (blk_cnt <= start) in hfsplus_file_truncate()
607 alloc_cnt - start, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
610 if (blk_cnt > start) { in hfsplus_file_truncate()
620 hip->alloc_blocks = blk_cnt; in hfsplus_file_truncate()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/
H A Dfw.c48 u32 i, write_address, blk_cnt, remain; in _rtl88e_fw_block_write() local
50 blk_cnt = size / blk_sz; in _rtl88e_fw_block_write()
55 for (i = 0; i < blk_cnt; i++, write_address += blk_sz) in _rtl88e_fw_block_write()
58 byte_buffer = buffer + blk_cnt * blk_sz; in _rtl88e_fw_block_write()
/kernel/linux/linux-5.10/fs/hfs/
H A Dextent.c480 u16 blk_cnt, alloc_cnt, start; in hfs_file_truncate() local
506 blk_cnt = size / HFS_SB(sb)->alloc_blksz; in hfs_file_truncate()
508 if (blk_cnt == alloc_cnt) in hfs_file_truncate()
521 alloc_cnt, alloc_cnt - blk_cnt); in hfs_file_truncate()
523 HFS_I(inode)->first_blocks = blk_cnt; in hfs_file_truncate()
531 alloc_cnt - start, alloc_cnt - blk_cnt); in hfs_file_truncate()
533 if (blk_cnt > start) { in hfs_file_truncate()
545 HFS_I(inode)->alloc_blocks = blk_cnt; in hfs_file_truncate()
/kernel/linux/linux-6.6/fs/hfs/
H A Dextent.c480 u16 blk_cnt, alloc_cnt, start; in hfs_file_truncate() local
506 blk_cnt = size / HFS_SB(sb)->alloc_blksz; in hfs_file_truncate()
508 if (blk_cnt == alloc_cnt) in hfs_file_truncate()
521 alloc_cnt, alloc_cnt - blk_cnt); in hfs_file_truncate()
523 HFS_I(inode)->first_blocks = blk_cnt; in hfs_file_truncate()
531 alloc_cnt - start, alloc_cnt - blk_cnt); in hfs_file_truncate()
533 if (blk_cnt > start) { in hfs_file_truncate()
545 HFS_I(inode)->alloc_blocks = blk_cnt; in hfs_file_truncate()
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dsclp_sdias.c143 rc = sdias_evbuf.blk_cnt; in sclp_sdias_blk_count()
186 sccb->evbuf.blk_cnt = nr_blks; in sclp_sdias_copy()
213 TRACE("part stored: %i\n", sdias_evbuf.blk_cnt); in sclp_sdias_copy()
H A Dsclp_sdias.h32 u32 blk_cnt; member
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dsclp_sdias.c143 rc = sdias_evbuf.blk_cnt; in sclp_sdias_blk_count()
186 sccb->evbuf.blk_cnt = nr_blks; in sclp_sdias_copy()
213 TRACE("part stored: %i\n", sdias_evbuf.blk_cnt); in sclp_sdias_copy()
H A Dsclp_sdias.h32 u32 blk_cnt; member
/kernel/linux/linux-5.10/fs/ubifs/
H A Dtnc.c1559 bu->blk_cnt = 0; in ubifs_tnc_get_bu_keys()
1577 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1622 bu->blk_cnt += (next_block - block - 1); in ubifs_tnc_get_bu_keys()
1623 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1628 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1632 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1648 if (bu->blk_cnt > UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1649 bu->blk_cnt = UBIFS_MAX_BULK_READ; in ubifs_tnc_get_bu_keys()
1655 !(bu->blk_cnt & (UBIFS_BLOCKS_PER_PAGE - 1))) in ubifs_tnc_get_bu_keys()
1659 bu->blk_cnt in ubifs_tnc_get_bu_keys()
[all...]
/kernel/linux/linux-6.6/fs/ubifs/
H A Dtnc.c1560 bu->blk_cnt = 0; in ubifs_tnc_get_bu_keys()
1578 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1623 bu->blk_cnt += (next_block - block - 1); in ubifs_tnc_get_bu_keys()
1624 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1629 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1633 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1649 if (bu->blk_cnt > UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1650 bu->blk_cnt = UBIFS_MAX_BULK_READ; in ubifs_tnc_get_bu_keys()
1656 !(bu->blk_cnt & (UBIFS_BLOCKS_PER_PAGE - 1))) in ubifs_tnc_get_bu_keys()
1660 bu->blk_cnt in ubifs_tnc_get_bu_keys()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/
H A Ds2io.c569 int i, j, blk_cnt; in init_shared_mem() local
730 blk_cnt = rx_cfg->num_rxd / (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
732 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
770 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
771 int next = (j + 1) % blk_cnt; in init_shared_mem()
793 blk_cnt = rx_cfg->num_rxd / in init_shared_mem()
795 size = sizeof(struct buffAdd *) * blk_cnt; in init_shared_mem()
800 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
871 int i, j, blk_cnt, size; in free_shared_mem() local
937 blk_cnt in free_shared_mem()
6852 int i, j, k, blk_cnt = 0, size; rxd_owner_bit_reset() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/neterion/
H A Ds2io.c569 int i, j, blk_cnt; in init_shared_mem() local
730 blk_cnt = rx_cfg->num_rxd / (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
732 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
770 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
771 int next = (j + 1) % blk_cnt; in init_shared_mem()
793 blk_cnt = rx_cfg->num_rxd / in init_shared_mem()
795 size = sizeof(struct buffAdd *) * blk_cnt; in init_shared_mem()
800 for (j = 0; j < blk_cnt; j++) { in init_shared_mem()
871 int i, j, blk_cnt, size; in free_shared_mem() local
937 blk_cnt in free_shared_mem()
6859 int i, j, k, blk_cnt = 0, size; rxd_owner_bit_reset() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/rts5208/
H A Dsd.c262 u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len,
290 (u8)blk_cnt);
292 (u8)(blk_cnt >> 8));
328 u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt,
365 (u8)blk_cnt);
367 (u8)(blk_cnt >> 8));
4054 u16 byte_cnt, blk_cnt; local
4058 blk_cnt = 1;
4071 blk_cnt, bus_width, buf, data_len, 2000);
260 sd_read_data(struct rtsx_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) global() argument
327 sd_write_data(struct rtsx_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) global() argument
/kernel/linux/linux-6.6/drivers/staging/rts5208/
H A Dsd.c262 u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len,
290 (u8)blk_cnt);
292 (u8)(blk_cnt >> 8));
328 u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt,
365 (u8)blk_cnt);
367 (u8)(blk_cnt >> 8));
4054 u16 byte_cnt, blk_cnt; local
4058 blk_cnt = 1;
4071 blk_cnt, bus_width, buf, data_len, 2000);
260 sd_read_data(struct rtsx_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) global() argument
327 sd_write_data(struct rtsx_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) global() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dcpsw_priv.h272 u32 blk_cnt; member
H A Dnetcp_ethss.c254 u32 blk_cnt; member
268 u32 blk_cnt; member
394 u32 blk_cnt; member
422 u32 blk_cnt; member
581 u32 blk_cnt; member
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dcpsw_priv.h274 u32 blk_cnt; member
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.c685 u32 blk_cnt = in mwifiex_write_data_sync() local
699 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync()
716 u32 blk_cnt = (blk_mode == BLOCK_MODE) ? (len / MWIFIEX_SDIO_BLOCK_SIZE) in mwifiex_read_data_sync() local
723 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync()
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.c710 u32 blk_cnt = in mwifiex_write_data_sync() local
724 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync()
741 u32 blk_cnt = (blk_mode == BLOCK_MODE) ? (len / MWIFIEX_SDIO_BLOCK_SIZE) in mwifiex_read_data_sync() local
748 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync()
/kernel/linux/linux-5.10/drivers/net/wireless/
H A Dwl3501_cs.c298 u16 next, blk_cnt = 0, zero = 0; in wl3501_get_tx_buffer() local
316 blk_cnt++; in wl3501_get_tx_buffer()
324 this->tx_buffer_cnt -= blk_cnt; in wl3501_get_tx_buffer()
/kernel/linux/linux-6.6/drivers/net/wireless/legacy/
H A Dwl3501_cs.c298 u16 next, blk_cnt = 0, zero = 0; in wl3501_get_tx_buffer() local
316 blk_cnt++; in wl3501_get_tx_buffer()
324 this->tx_buffer_cnt -= blk_cnt; in wl3501_get_tx_buffer()

Completed in 49 milliseconds

12