/linux-master/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_ethtool.c | 183 int ret_val = 0; local 214 return ret_val;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hubbub.c | 57 uint32_t ret_val = 0; local 58 ret_val = wm_ns * refclk_mhz; 59 ret_val /= 1000; 61 if (ret_val > clamp_value) 62 ret_val = clamp_value; 64 return ret_val;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hubbub.c | 223 uint32_t ret_val = 0; local 224 ret_val = wm_ns * refclk_mhz; 225 ret_val /= 1000; 227 if (ret_val > clamp_value) 228 ret_val = clamp_value; 230 return ret_val;
|
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_ethtool.c | 464 int ret_val = 0; local 481 ret_val = hw->nvm.ops.read(hw, first_word, 486 ret_val = hw->nvm.ops.read(hw, first_word + i, 1, 488 if (ret_val) 501 return ret_val; 509 int max_len, first_word, last_word, ret_val = 0; local 539 ret_val = hw->nvm.ops.read(hw, first_word, 1, 543 if (((eeprom->offset + eeprom->len) & 1) && ret_val == 0) { 547 ret_val = hw->nvm.ops.read(hw, last_word, 1, 560 ret_val 1673 s32 ret_val; local [all...] |
/linux-master/drivers/net/ethernet/freescale/ |
H A D | ucc_geth.c | 1295 int ret_val; local 1370 ret_val = init_preamble_length(ug_info->prel, &ug_regs->maccfg2); 1371 if (ret_val != 0) { 1374 return ret_val; 2268 int ret_val = -EINVAL; local 2335 ret_val = init_inter_frame_gap_params(ug_info->nonBackToBackIfgPart1, 2341 if (ret_val != 0) { 2344 return ret_val; 2349 ret_val = init_half_duplex_params(ug_info->altBeb, 2357 if (ret_val ! [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 1007 int ret_val = 0; local 1023 ret_val = hw->eeprom.ops.read_buffer(hw, first_word, eeprom_len, 1033 return ret_val; 1043 int max_len, first_word, last_word, ret_val = 0; local 1067 ret_val = hw->eeprom.ops.read(hw, first_word, &eeprom_buff[0]); 1068 if (ret_val) 1078 ret_val = hw->eeprom.ops.read(hw, last_word, 1080 if (ret_val) 1093 ret_val = hw->eeprom.ops.write_buffer(hw, first_word, 1098 if (ret_val 1857 int ret_val; local 2097 int i, j, lc, good_cnt, ret_val = 0; local 3488 int ret_val; local [all...] |
H A D | ixgbe_phy.c | 1408 int ret_val; local 1435 ret_val = ixgbe_get_sfp_init_sequence_offsets(hw, &list_offset, 1437 if (ret_val) 1438 return ret_val; 1440 ret_val = hw->eeprom.ops.read(hw, data_offset, &block_crc); 1446 ret_val = hw->eeprom.ops.read(hw, data_offset, &eword); 1447 if (ret_val) 1460 ret_val = hw->eeprom.ops.read(hw, data_offset++, 1462 if (ret_val) 1465 ret_val [all...] |
/linux-master/drivers/usb/serial/ |
H A D | mos7720.c | 1633 int ret_val; local 1644 ret_val = mos7715_parport_init(serial); 1645 if (ret_val < 0) 1646 return ret_val; 1650 ret_val = usb_submit_urb(serial->port[0]->interrupt_in_urb, GFP_KERNEL); 1651 if (ret_val) { 1653 ret_val);
|
/linux-master/drivers/cpufreq/ |
H A D | powernow-k8.c | 729 int ret_val = -ENODEV; local 763 ret_val = fill_powernow_table_fidvid(data, powernow_table); 764 if (ret_val) 779 ret_val = -ENOMEM; 795 return ret_val;
|
/linux-master/drivers/gpu/drm/gma500/ |
H A D | cdv_device.c | 150 uint32_t ret_val = 0; local 153 pci_read_config_dword(pci_root, 0xD4, &ret_val); 155 return ret_val;
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | cn23xx_vf_device.c | 53 int ret_val = 0; local 94 ret_val = -1; 98 return ret_val;
|
H A D | lio_core.c | 545 int ret_val; local 549 ret_val = octeon_create_droq(oct, q_no, num_descs, desc_size, app_ctx); 550 if (ret_val < 0) 551 return ret_val; 553 if (ret_val == 1) { 566 return ret_val;
|
/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | gvt.h | 242 #define vgpu_is_vm_unhealthy(ret_val) \ 243 (((ret_val) == -EBADRQC) || ((ret_val) == -EFAULT))
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_mb.c | 591 enum fw_retval *ret_val, 596 *ret_val = FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16)); 597 if (*ret_val == FW_SUCCESS) { 777 struct csio_mb *mbp, enum fw_retval *ret_val, 782 *ret_val = FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16)); 784 if (*ret_val == FW_SUCCESS) { 590 csio_mb_iq_alloc_write_rsp(struct csio_hw *hw, struct csio_mb *mbp, enum fw_retval *ret_val, struct csio_iq_params *iq_params) argument 776 csio_mb_eq_ofld_alloc_write_rsp(struct csio_hw *hw, struct csio_mb *mbp, enum fw_retval *ret_val, struct csio_eq_params *eq_ofld_params) argument
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_hubbub.c | 160 uint32_t ret_val = 0; local 161 ret_val = wm_ns * refclk_mhz; 162 ret_val /= 1000; 164 if (ret_val > clamp_value) { 167 ret_val = clamp_value; 170 return ret_val;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_hubbub.c | 157 uint32_t ret_val = 0; local 158 ret_val = wm_ns * refclk_mhz; 160 ret_val /= 1000; 162 if (ret_val > clamp_value) 163 ret_val = clamp_value; 165 return ret_val;
|
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_nx.c | 1184 int ret_val = QLA_SUCCESS; local 1188 ret_val = QLA_ERROR; 1195 ret_val = ha->isp_ops->wr_reg_indirect(ha, MD_MIU_TEST_AGT_ADDR_HI, 0); 1196 if (ret_val == QLA_ERROR) { 1207 ret_val = QLA_ERROR; 1211 ret_val = ha->isp_ops->wr_reg_indirect(ha, 1215 ret_val |= ha->isp_ops->wr_reg_indirect(ha, 1218 ret_val |= ha->isp_ops->wr_reg_indirect(ha, 1221 ret_val |= ha->isp_ops->wr_reg_indirect(ha, 1224 ret_val | [all...] |
/linux-master/drivers/xen/xen-pciback/ |
H A D | conf_space.c | 148 u32 *ret_val) 200 *ret_val = value; 147 xen_pcibk_config_read(struct pci_dev *dev, int offset, int size, u32 *ret_val) argument
|
/linux-master/drivers/video/backlight/ |
H A D | adp8870_bl.c | 738 uint16_t ret_val; local 746 ret_val = reg_val; 754 ret_val += (reg_val & 0x1F) << 8; 756 return sprintf(buf, "%u\n", ret_val);
|
H A D | adp8860_bl.c | 556 uint16_t ret_val; local 561 ret_val = reg_val; 570 ret_val += (reg_val & 0x1F) << 8; 572 return sprintf(buf, "%u\n", ret_val);
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cpt_mbox_common.c | 68 reg_msg->ret_val = val;
|
H A D | otx2_cptvf_mbox.c | 121 *rsp_reg->ret_val = rsp_reg->val;
|
/linux-master/arch/x86/xen/ |
H A D | setup.c | 415 unsigned long ret_val = 0; local 440 ret_val = func(start_pfn, end_pfn, nr_pages, 441 ret_val); 446 return ret_val;
|
/linux-master/drivers/staging/rtl8712/ |
H A D | rtl8712_recv.c | 661 s8 ret_val = clamp(-value, 0, 33) * 3; local 663 if (ret_val == 99) 664 ret_val = 100; 666 return ret_val;
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 1855 int ret_val = 0, len, offset; local 1878 ret_val = i40e_nvmupd_command(hw, cmd, bytes, &errno); 1880 if ((errno || ret_val) && (hw->debug_mask & I40E_DEBUG_NVM)) 1883 ret_val, hw->aq.asq_last_status, errno, 1897 ret_val = i40e_acquire_nvm(hw, I40E_RESOURCE_READ); 1898 if (ret_val) { 1901 ret_val, hw->aq.asq_last_status); 1915 ret_val = i40e_aq_read_nvm(hw, 0x0, offset, len, 1918 if (ret_val && hw->aq.asq_last_status == I40E_AQ_RC_EPERM) { 1923 } else if (ret_val 1969 int ret_val = 0; local [all...] |