Lines Matching refs:nvm_offset
3130 u32 buf_idx = 0, buf_size, nvm_cmd, nvm_offset, resp = 0, param; in qed_mcp_nvm_write() local
3158 nvm_offset = addr; in qed_mcp_nvm_write()
3160 nvm_offset = ((buf_size << in qed_mcp_nvm_write()
3163 rc = qed_mcp_nvm_wr_cmd(p_hwfn, p_ptt, nvm_cmd, nvm_offset, in qed_mcp_nvm_write()
3214 u32 bytes_left, bytes_to_copy, buf_size, nvm_offset = 0; in qed_mcp_phy_sfp_read() local
3218 nvm_offset |= (port << DRV_MB_PARAM_TRANSCEIVER_PORT_OFFSET) & in qed_mcp_phy_sfp_read()
3220 nvm_offset |= (addr << DRV_MB_PARAM_TRANSCEIVER_I2C_ADDRESS_OFFSET) & in qed_mcp_phy_sfp_read()
3229 nvm_offset &= (DRV_MB_PARAM_TRANSCEIVER_I2C_ADDRESS_MASK | in qed_mcp_phy_sfp_read()
3231 nvm_offset |= ((addr + offset) << in qed_mcp_phy_sfp_read()
3234 nvm_offset |= (bytes_to_copy << in qed_mcp_phy_sfp_read()
3239 nvm_offset, &resp, ¶m, &buf_size, in qed_mcp_phy_sfp_read()