Searched refs:blocks_num (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/misc/c2port/ |
D | core.c | 318 return sprintf(buf, "%d\n", ops->blocks_num); in c2port_show_flash_blocks_num() 338 return sprintf(buf, "%d\n", ops->blocks_num * ops->block_size); in c2port_show_flash_size() 634 if (offset >= ops->block_size * ops->blocks_num) in __c2port_read_flash_data() 637 if (ops->block_size * ops->blocks_num - offset < nread) in __c2port_read_flash_data() 638 nread = ops->block_size * ops->blocks_num - offset; in __c2port_read_flash_data() 746 if (ops->block_size * ops->blocks_num - offset < nwrite) in __c2port_write_flash_data() 747 nwrite = ops->block_size * ops->blocks_num - offset; in __c2port_write_flash_data() 750 if (offset >= ops->block_size * ops->blocks_num) in __c2port_write_flash_data() 916 bin_attr_flash_data.size = ops->blocks_num * ops->block_size; in c2port_device_register() 937 name, ops->blocks_num, ops->block_size, in c2port_device_register() [all …]
|
D | c2port-duramar2150.c | 103 .blocks_num = 30, /* total flash size: 15360 bytes */
|
/Linux-v6.6/drivers/fpga/ |
D | microchip-spi.c | 109 u8 header_size, blocks_num, block_id; in mpf_ops_parse_header() local 128 blocks_num = *(buf + header_size - 1); in mpf_ops_parse_header() 132 header_size += blocks_num * MPF_LOOKUP_TABLE_RECORD_SIZE; in mpf_ops_parse_header() 141 while (blocks_num--) { in mpf_ops_parse_header()
|
/Linux-v6.6/include/linux/ |
D | c2port.h | 37 unsigned short blocks_num; /* flash blocks number */ member
|
/Linux-v6.6/drivers/gpu/drm/bridge/analogix/ |
D | anx7625.c | 1125 int count, blocks_num; in sp_tx_edid_read() local 1144 blocks_num = sp_tx_get_edid_block(ctx); in sp_tx_edid_read() 1145 if (blocks_num < 0) in sp_tx_edid_read() 1146 return blocks_num; in sp_tx_edid_read() 1217 } while (blocks_num >= count); in sp_tx_edid_read() 1232 return (blocks_num + 1); in sp_tx_edid_read()
|