Lines Matching defs:val

471 static void tg3_write32(struct tg3 *tp, u32 off, u32 val)  in tg3_write32()
481 static void tg3_ape_write32(struct tg3 *tp, u32 off, u32 val) in tg3_ape_write32()
491 static void tg3_write_indirect_reg32(struct tg3 *tp, u32 off, u32 val) in tg3_write_indirect_reg32()
501 static void tg3_write_flush_reg32(struct tg3 *tp, u32 off, u32 val) in tg3_write_flush_reg32()
510 u32 val; in tg3_read_indirect_reg32() local
519 static void tg3_write_indirect_mbox(struct tg3 *tp, u32 off, u32 val) in tg3_write_indirect_mbox()
552 u32 val; in tg3_read_indirect_mbox() local
566 static void _tw32_flush(struct tg3 *tp, u32 off, u32 val, u32 usec_wait) in _tw32_flush()
585 static inline void tw32_mailbox_flush(struct tg3 *tp, u32 off, u32 val) in tw32_mailbox_flush()
594 static void tg3_write32_tx_mbox(struct tg3 *tp, u32 off, u32 val) in tg3_write32_tx_mbox()
610 static void tg3_write32_mbox_5906(struct tg3 *tp, u32 off, u32 val) in tg3_write32_mbox_5906()
615 #define tw32_mailbox(reg, val) tp->write32_mbox(tp, reg, val) argument
616 #define tw32_mailbox_f(reg, val) tw32_mailbox_flush(tp, (reg), (val)) argument
617 #define tw32_rx_mbox(reg, val) tp->write32_rx_mbox(tp, reg, val) argument
618 #define tw32_tx_mbox(reg, val) tp->write32_tx_mbox(tp, reg, val) argument
621 #define tw32(reg, val) tp->write32(tp, reg, val) argument
622 #define tw32_f(reg, val) _tw32_flush(tp, (reg), (val), 0) argument
623 #define tw32_wait_f(reg, val, us) _tw32_flush(tp, (reg), (val), (us)) argument
626 static void tg3_write_mem(struct tg3 *tp, u32 off, u32 val) in tg3_write_mem()
651 static void tg3_read_mem(struct tg3 *tp, u32 off, u32 *val) in tg3_read_mem()
901 u32 val = tg3_ape_read32(tp, msgoff + i); in tg3_ape_scratchpad_read() local
1119 u32 *val) in __tg3_readphy()
1172 static int tg3_readphy(struct tg3 *tp, int reg, u32 *val) in tg3_readphy()
1178 u32 val) in __tg3_writephy()
1231 static int tg3_writephy(struct tg3 *tp, int reg, u32 val) in tg3_writephy()
1236 static int tg3_phy_cl45_write(struct tg3 *tp, u32 devad, u32 addr, u32 val) in tg3_phy_cl45_write()
1259 static int tg3_phy_cl45_read(struct tg3 *tp, u32 devad, u32 addr, u32 *val) in tg3_phy_cl45_read()
1282 static int tg3_phydsp_read(struct tg3 *tp, u32 reg, u32 *val) in tg3_phydsp_read()
1293 static int tg3_phydsp_write(struct tg3 *tp, u32 reg, u32 val) in tg3_phydsp_write()
1304 static int tg3_phy_auxctl_read(struct tg3 *tp, int reg, u32 *val) in tg3_phy_auxctl_read()
1327 u32 val; in tg3_phy_toggle_auxctl_smdsp() local
1346 static int tg3_phy_shdw_write(struct tg3 *tp, int reg, u32 val) in tg3_phy_shdw_write()
1386 u32 val; in tg3_mdio_read() local
1398 static int tg3_mdio_write(struct mii_bus *bp, int mii_id, int reg, u16 val) in tg3_mdio_write()
1415 u32 val; in tg3_mdio_config_5785() local
1617 u32 val; in tg3_generate_fw_event() local
1661 u32 reg, val; in tg3_phy_gather_ump_data() local
1810 u32 val; in tg3_poll_fw() local
2172 u32 val; in tg3_phy_set_extloopbk() local
2294 u32 val; in tg3_phy_set_wirespeed() local
2344 u32 val; in tg3_eee_pull_config() local
2384 u32 val; in tg3_phy_eee_adjust() local
2424 u32 val; in tg3_phy_eee_enable() local
2631 u32 val, cpmuctrl; in tg3_phy_reset() local
3058 u32 val; in tg3_power_down_phy() local
3185 u32 offset, u32 *val) in tg3_nvram_read_using_eeprom()
3281 static int tg3_nvram_read(struct tg3 *tp, u32 offset, u32 *val) in tg3_nvram_read()
3314 static int tg3_nvram_read_be32(struct tg3 *tp, u32 offset, __be32 *val) in tg3_nvram_read_be32()
3327 u32 val; in tg3_nvram_write_block_using_eeprom() local
3638 u32 val = tr32(GRC_VCPU_EXT_CTRL); in tg3_halt_cpu() local
3828 u32 val; in tg3_validate_rxcpu_state() local
4106 u32 val; in tg3_power_down_prepare() local
4112 u32 val; in tg3_power_down_prepare() local
4249 u32 val = tr32(0x7d00); in tg3_power_down_prepare() local
4276 static void tg3_aux_stat_to_speed_duplex(struct tg3 *tp, u32 val, u32 *speed, u8 *duplex) in tg3_aux_stat_to_speed_duplex()
4326 u32 val, new_adv; in tg3_phy_autoneg_cfg() local
4496 u32 val; in tg3_phy_pull_config() local
4681 u32 val; in tg3_phy_copper_fetch_rmtadv() local
4730 u32 val; in tg3_setup_eee() local
4767 u32 bmsr, val; in tg3_setup_copper_phy() local
5517 u32 val = serdes_cfg; in tg3_setup_fiber_hw_autoneg() local
5594 u32 val = serdes_cfg; in tg3_setup_fiber_hw_autoneg() local
6055 u32 val; in tg3_setup_phy() local
7316 u32 val; in tg3_process_error() local
8293 u32 val, bmcr, mac_mode, ptest = 0; in tg3_phy_lpbk_set() local
8923 u32 val; in tg3_stop_block() local
9052 u32 val; in tg3_restore_pci_state() local
9112 u32 val; in tg3_override_clk() local
9133 u32 val; in tg3_restore_clk() local
9158 u32 val; in tg3_chip_reset() local
9601 u32 val = ec->stats_block_coalesce_usecs; in __tg3_set_coalesce() local
9773 u32 val, bdcache_maxcnt, host_rep_thresh, nic_rep_thresh; in tg3_setup_rxbd_thresholds() local
9928 u32 val = tp->rss_ind_tbl[i]; in tg3_rss_write_indir_tbl() local
9950 u32 val, rdmac_mode; in tg3_reset_hw() local
10997 u32 val; in tg3_periodic_fetch_stats() local
11027 u32 val = tr32(HOSTCC_FLOW_ATTN); in tg3_periodic_fetch_stats() local
11368 u32 val; in tg3_test_interrupt() local
11723 u32 val = tr32(PCIE_TRANSACTION_CFG); in tg3_start() local
11884 static inline u64 get_stat64(tg3_stat64_t *val) in get_stat64()
11896 u32 val; in tg3_calc_crc_errors() local
12113 __be32 val; in tg3_get_eeprom() local
12924 u32 magic, val; in tg3_vpd_readblock() local
13181 u32 offset, read_mask, write_mask, val, save_val, read_val; in tg3_test_registers() local
13406 u32 val; in tg3_do_mem_test() local
13513 u32 base_flags = 0, mss = 0, desc_idx, coal_now, data_off, val; in tg3_run_loopback() local
14414 u32 cursize, val, magic; in tg3_get_eeprom_size() local
14448 u32 val; in tg3_get_nvram_size() local
15078 u32 val; in tg3_get_5720_nvram_info() local
15249 u32 val; in tg3_get_eeprom_hw_cfg() local
15464 static int tg3_ape_otp_read(struct tg3 *tp, u32 offset, u32 *val) in tg3_ape_otp_read()
15500 u32 val; in tg3_issue_otp_command() local
15831 u32 val; in tg3_fw_img_is_valid() local
15844 u32 val, offset, start, ver_offset; in tg3_read_bc_ver() local
15896 u32 val, major, minor; in tg3_read_hwsb_ver() local
15910 static void tg3_read_sb_ver(struct tg3 *tp, u32 val) in tg3_read_sb_ver()
15967 u32 val, offset, start; in tg3_read_mgmtfw_ver() local
16060 u32 val, val2; in tg3_read_otp_ver() local
16085 u32 val; in tg3_read_fw_ver() local
16279 u32 val; in tg3_get_invariants() local
17135 static u32 tg3_calc_dma_bndry(struct tg3 *tp, u32 val) in tg3_calc_dma_bndry()
17324 u32 val; in tg3_do_test_dma() local
17340 u32 val; in tg3_do_test_dma() local