Searched refs:block_length (Results 1 – 5 of 5) sorted by relevance
/drivers/power/ |
D | sbs-battery.c | 204 s32 ret = 0, block_length = 0; in sbs_read_string_data() local 236 block_length = ret; in sbs_read_string_data() 237 if (block_length > I2C_SMBUS_BLOCK_MAX) { in sbs_read_string_data() 248 block_length + 1, block_buffer); in sbs_read_string_data() 262 memcpy(values, block_buffer + 1, block_length); in sbs_read_string_data() 263 values[block_length] = '\0'; in sbs_read_string_data()
|
/drivers/usb/gadget/function/ |
D | f_ncm.c | 379 unsigned block_length; member 394 .block_length = 1, \ 410 .block_length = 2, \ 916 put_ncm(&ntb_iter, opts->block_length, new_len); in package_for_tx() 1163 if (get_ncm(&tmp, opts->block_length) > max_size) { in ncm_unwrap_ntb()
|
/drivers/scsi/ |
D | gdth.h | 963 u32 block_length; member 969 u32 block_length; member 998 u8 block_length[3]; member
|
D | gdth.c | 2378 mpd.bd.block_length[0] = (SECTOR_SIZE & 0x00ff0000) >> 16; in gdth_internal_cache_cmd() 2379 mpd.bd.block_length[1] = (SECTOR_SIZE & 0x0000ff00) >> 8; in gdth_internal_cache_cmd() 2380 mpd.bd.block_length[2] = (SECTOR_SIZE & 0x000000ff); in gdth_internal_cache_cmd() 2390 rdc.block_length = cpu_to_be32(SECTOR_SIZE); in gdth_internal_cache_cmd() 2401 rdc16.block_length = cpu_to_be32(SECTOR_SIZE); in gdth_internal_cache_cmd()
|
/drivers/acpi/apei/ |
D | ghes.c | 887 unsigned long block_length, prealloc_records, prealloc_size; in ghes_esource_prealloc_size() local 889 block_length = min_t(unsigned long, generic->error_block_length, in ghes_esource_prealloc_size() 893 prealloc_size = min_t(unsigned long, block_length * prealloc_records, in ghes_esource_prealloc_size()
|