Searched refs:pg_len (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/drivers/net/ |
H A D | e1000_spi.c | 262 u16 pg_len = hw->eeprom.page_size - pg_off; in e1000_spi_eeprom_dump() local 263 if (pg_len > len) in e1000_spi_eeprom_dump() 264 pg_len = len; in e1000_spi_eeprom_dump() 271 len -= pg_len; in e1000_spi_eeprom_dump() 272 off += pg_len; in e1000_spi_eeprom_dump() 273 data += pg_len; in e1000_spi_eeprom_dump() 288 if (pg_len > len) in e1000_spi_eeprom_program() 289 pg_len = len; in e1000_spi_eeprom_program() 304 len -= pg_len; in e1000_spi_eeprom_program() 305 off += pg_len; in e1000_spi_eeprom_program() [all …]
|
/openbmc/linux/fs/nfs/blocklayout/ |
H A D | blocklayout.c | 275 pg_len = PAGE_SIZE - pg_offset; in bl_read_pagelist() 277 pg_len = bytes_left; in bl_read_pagelist() 280 pg_len = PAGE_SIZE; in bl_read_pagelist() 297 pg_offset, &pg_len); in bl_read_pagelist() 304 isect += (pg_len >> SECTOR_SHIFT); in bl_read_pagelist() 306 f_offset += pg_len; in bl_read_pagelist() 307 bytes_left -= pg_len; in bl_read_pagelist() 387 unsigned int pg_len; in bl_write_pagelist() local 421 pg_len = PAGE_SIZE; in bl_write_pagelist() 431 offset += pg_len; in bl_write_pagelist() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | libata-scsi.c | 3860 unsigned six_byte, pg_len, hdr_len, bd_len; in ata_scsi_mode_select_xlat() local 3932 pg_len = get_unaligned_be16(&p[2]); in ata_scsi_mode_select_xlat() 3940 pg_len = p[1]; in ata_scsi_mode_select_xlat() 3970 if (pg_len > len) in ata_scsi_mode_select_xlat() 3975 if (ata_mselect_caching(qc, p, pg_len, &fp) < 0) { in ata_scsi_mode_select_xlat() 3981 ret = ata_mselect_control(qc, spg, p, pg_len, &fp); in ata_scsi_mode_select_xlat() 3999 if (len > pg_len) in ata_scsi_mode_select_xlat()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_debug.c | 2497 int pf, sp, ps, md_len, bd_len, off, spf, pg_len; in resp_mode_select() local 2532 pg_len = spf ? (get_unaligned_be16(arr + off + 2) + 4) : in resp_mode_select() 2534 if ((pg_len + off) > param_len) { in resp_mode_select()
|