Lines Matching refs:nvm_offset
3069 u32 buf_idx = 0, buf_size, nvm_cmd, nvm_offset, resp = 0, param; in qed_mcp_nvm_write() local
3097 nvm_offset = addr; in qed_mcp_nvm_write()
3099 nvm_offset = ((buf_size << in qed_mcp_nvm_write()
3102 rc = qed_mcp_nvm_wr_cmd(p_hwfn, p_ptt, nvm_cmd, nvm_offset, in qed_mcp_nvm_write()
3151 u32 bytes_left, bytes_to_copy, buf_size, nvm_offset = 0; in qed_mcp_phy_sfp_read() local
3155 nvm_offset |= (port << DRV_MB_PARAM_TRANSCEIVER_PORT_OFFSET) & in qed_mcp_phy_sfp_read()
3157 nvm_offset |= (addr << DRV_MB_PARAM_TRANSCEIVER_I2C_ADDRESS_OFFSET) & in qed_mcp_phy_sfp_read()
3166 nvm_offset &= (DRV_MB_PARAM_TRANSCEIVER_I2C_ADDRESS_MASK | in qed_mcp_phy_sfp_read()
3168 nvm_offset |= ((addr + offset) << in qed_mcp_phy_sfp_read()
3171 nvm_offset |= (bytes_to_copy << in qed_mcp_phy_sfp_read()
3176 nvm_offset, &resp, ¶m, &buf_size, in qed_mcp_phy_sfp_read()