Lines Matching refs:block
265 * ice_write_one_nvm_block - Write an NVM block and await completion response
269 * @block_size: size of the block to write, up to 4k
270 * @block: pointer to block of data to write
275 * Write a block of data to a flash module, and await for the completion
290 u16 block_size, u8 *block, bool last_cmd,
301 dev_dbg(dev, "Writing block of %u bytes for module 0x%02x at offset %u\n",
306 err = ice_aq_update_nvm(hw, module, offset, block_size, block,
309 dev_err(dev, "Failed to flash module 0x%02x with block of size %u at offset %u, err %d aq_err %s\n",
324 dev_err(dev, "Timed out while trying to flash module 0x%02x with block of size %u at offset %u, err %d\n",
352 dev_err(dev, "Firmware failed to flash module 0x%02x with block of size %u at offset %u, err %s\n",
391 * blocks. Notify devlink core of progress after each block is programmed.
392 * Loops over a block of data and programs the NVM in 4k block chunks.
407 u8 *block;
417 block = kzalloc(ICE_AQ_MAX_BUF_LEN, GFP_KERNEL);
418 if (!block)
431 memcpy(block, image + offset, block_size);
434 block, last_cmd, reset_level,
454 kfree(block);