Searched refs:pg_len (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/net/ |
D | e1000_spi.c | 265 u16 pg_len = hw->eeprom.page_size - pg_off; in e1000_spi_eeprom_dump() local 266 if (pg_len > len) in e1000_spi_eeprom_dump() 267 pg_len = len; in e1000_spi_eeprom_dump() 270 if (e1000_spi_eeprom_read_page(hw, data, off, pg_len, intr)) in e1000_spi_eeprom_dump() 274 len -= pg_len; in e1000_spi_eeprom_dump() 275 off += pg_len; in e1000_spi_eeprom_dump() 276 data += pg_len; in e1000_spi_eeprom_dump() 290 u16 pg_len = hw->eeprom.page_size - pg_off; in e1000_spi_eeprom_program() local 291 if (pg_len > len) in e1000_spi_eeprom_program() 292 pg_len = len; in e1000_spi_eeprom_program() [all …]
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | scsimain.c | 1479 int sg_fd, k, pg_len; in show_scsi_logs() local 1511 pg_len = 0; in show_scsi_logs() 1517 pg_len = (rsp_buff[2] << 8) + rsp_buff[3]; in show_scsi_logs() 1518 if ((pg_len + 4) > MX_ALLOC_LEN) { in show_scsi_logs() 1522 pg_len = MX_ALLOC_LEN - 4; in show_scsi_logs() 1526 rsp_buff[0], pg_len); in show_scsi_logs() 1527 dStrHex((const char *)rsp_buff, pg_len + 4, 1); in show_scsi_logs() 1529 show_ascii_page(rsp_buff, pg_len + 4); in show_scsi_logs() 1531 if (do_all && (pg_len > 1)) { in show_scsi_logs() 1532 int my_len = pg_len - 1; in show_scsi_logs() [all …]
|