• Home
  • Raw
  • Download

Lines Matching refs:dtsec_drv_param

343 	struct dtsec_cfg *dtsec_drv_param;  member
558 if ((dtsec->dtsec_drv_param)->rx_prepend > in check_init_parameters()
564 if (((dtsec->dtsec_drv_param)->non_back_to_back_ipg1 > in check_init_parameters()
566 ((dtsec->dtsec_drv_param)->non_back_to_back_ipg2 > in check_init_parameters()
568 ((dtsec->dtsec_drv_param)->back_to_back_ipg > in check_init_parameters()
574 if ((dtsec->dtsec_drv_param)->halfdup_retransmit > in check_init_parameters()
580 if ((dtsec->dtsec_drv_param)->halfdup_coll_window > in check_init_parameters()
672 if (is_init_done(dtsec->dtsec_drv_param)) in dtsec_get_max_frame_length()
845 if (is_init_done(dtsec->dtsec_drv_param)) in dtsec_cfg_max_frame_len()
848 dtsec->dtsec_drv_param->maximum_frame = new_val; in dtsec_cfg_max_frame_len()
855 if (is_init_done(dtsec->dtsec_drv_param)) in dtsec_cfg_pad_and_crc()
858 dtsec->dtsec_drv_param->tx_pad_crc = new_val; in dtsec_cfg_pad_and_crc()
914 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_enable()
937 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_disable()
962 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_set_tx_pause_frames()
1003 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_accept_rx_pause_frames()
1030 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_modify_mac_address()
1060 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_add_hash_mac_address()
1122 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_set_allmulti()
1141 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_set_tstamp()
1171 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_del_hash_mac_address()
1237 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_set_promiscuous()
1267 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_adjust_link()
1305 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_restart_autoneg()
1323 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_get_version()
1337 if (!is_init_done(dtsec->dtsec_drv_param)) in dtsec_set_exception()
1388 struct dtsec_cfg *dtsec_drv_param; in dtsec_init() local
1392 if (is_init_done(dtsec->dtsec_drv_param)) in dtsec_init()
1405 dtsec_drv_param = dtsec->dtsec_drv_param; in dtsec_init()
1407 err = init(dtsec->regs, dtsec_drv_param, dtsec->phy_if, in dtsec_init()
1473 kfree(dtsec_drv_param); in dtsec_init()
1474 dtsec->dtsec_drv_param = NULL; in dtsec_init()
1483 kfree(dtsec->dtsec_drv_param); in dtsec_free()
1484 dtsec->dtsec_drv_param = NULL; in dtsec_free()
1493 struct dtsec_cfg *dtsec_drv_param; in dtsec_config() local
1504 dtsec_drv_param = kzalloc(sizeof(*dtsec_drv_param), GFP_KERNEL); in dtsec_config()
1505 if (!dtsec_drv_param) in dtsec_config()
1509 dtsec->dtsec_drv_param = dtsec_drv_param; in dtsec_config()
1511 set_dflts(dtsec_drv_param); in dtsec_config()
1534 dtsec->ptp_tsu_enabled = dtsec->dtsec_drv_param->ptp_tsu_en; in dtsec_config()
1535 dtsec->en_tsu_err_exception = dtsec->dtsec_drv_param->ptp_exception_en; in dtsec_config()
1559 kfree(dtsec_drv_param); in dtsec_config()