Home
last modified time | relevance | path

Searched refs:block_length (Results 1 – 6 of 6) sorted by relevance

/drivers/power/supply/
Dsbs-battery.c210 s32 ret = 0, block_length = 0; in sbs_read_string_data() local
240 block_length = ret; in sbs_read_string_data()
241 if (block_length > I2C_SMBUS_BLOCK_MAX) { in sbs_read_string_data()
252 block_length + 1, block_buffer); in sbs_read_string_data()
266 memcpy(values, block_buffer + 1, block_length); in sbs_read_string_data()
267 values[block_length] = '\0'; in sbs_read_string_data()
/drivers/usb/gadget/function/
Df_ncm.c451 unsigned block_length; member
466 .block_length = 1, \
482 .block_length = 2, \
986 put_ncm(&ntb_iter, opts->block_length, new_len); in package_for_tx()
1233 if (get_ncm(&tmp, opts->block_length) > max_size) { in ncm_unwrap_ntb()
/drivers/scsi/
Dgdth.h963 u32 block_length; member
969 u32 block_length; member
998 u8 block_length[3]; member
Dgdth.c2378 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/
Dghes.c881 unsigned long block_length, prealloc_records, prealloc_size; in ghes_esource_prealloc_size() local
883 block_length = min_t(unsigned long, generic->error_block_length, in ghes_esource_prealloc_size()
887 prealloc_size = min_t(unsigned long, block_length * prealloc_records, in ghes_esource_prealloc_size()
/drivers/scsi/aacraid/
Daachba.c126 u8 block_length[3]; member
144 u8 block_length[3]; member
2587 mpd.bd.block_length[0] = in aac_scsi_cmd()
2589 mpd.bd.block_length[1] = in aac_scsi_cmd()
2591 mpd.bd.block_length[2] = in aac_scsi_cmd()
2676 mpd10.bd.block_length[0] = in aac_scsi_cmd()
2678 mpd10.bd.block_length[1] = in aac_scsi_cmd()
2680 mpd10.bd.block_length[2] = in aac_scsi_cmd()