Home
last modified time | relevance | path

Searched refs:loop_mode (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/atm/
Didt77105.c38 int loop_mode; member
184 PRIV(dev)->loop_mode = mode; in set_loopback()
201 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in idt77105_ioctl()
285 PRIV(dev)->loop_mode = ATM_LM_NONE; in idt77105_start()
288 PRIV(dev)->loop_mode = ATM_LM_LOC_ATM; in idt77105_start()
291 PRIV(dev)->loop_mode = ATM_LM_RMT_ATM; in idt77105_start()
DuPD98402.c30 int loop_mode; /* loopback mode */ member
131 PRIV(dev)->loop_mode = mode; in set_loopback()
153 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in uPD98402_ioctl()
Dsuni.c182 PRIV(dev)->loop_mode = mode; in set_loopback()
281 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in suni_ioctl()
325 PRIV(dev)->loop_mode = ATM_LM_NONE; in suni_start()
Dsuni.h233 int loop_mode; /* loopback mode */ member
Dfore200e.c1791 fore200e_setloop(struct fore200e* fore200e, int loop_mode) in fore200e_setloop() argument
1799 switch (loop_mode) { in fore200e_setloop()
1820 fore200e->loop_mode = loop_mode; in fore200e_setloop()
1874 return put_user(fore200e->loop_mode, (int __user *)arg) ? -EFAULT : 0; in fore200e_ioctl()
2797 switch (fore200e->loop_mode) { in fore200e_proc_read()
Dfore200e.h858 int loop_mode; /* S/UNI loopback mode */ member
/kernel/linux/linux-5.10/drivers/spi/
Dspi-fsl-espi.c488 u32 loop_mode; in fsl_espi_setup() local
515 loop_mode = fsl_espi_read_reg(espi, ESPI_SPMODE); in fsl_espi_setup()
516 loop_mode &= ~SPMODE_LOOP; in fsl_espi_setup()
518 loop_mode |= SPMODE_LOOP; in fsl_espi_setup()
519 fsl_espi_write_reg(espi, ESPI_SPMODE, loop_mode); in fsl_espi_setup()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.h200 enum hnae_loop loop_mode; member
334 enum hnae_loop loop_mode; member
361 int (*config_loopback)(void *mac_drv, enum hnae_loop loop_mode,
Dhns_ethtool.c336 enum hnae_loop loop_mode) in __lb_up() argument
346 ret = __lb_setup(ndev, loop_mode); in __lb_up()
474 enum hnae_loop loop_mode) in __lb_run_test() argument
522 hns_nic_test_strs[loop_mode], good_cnt, in __lb_run_test()
536 hns_nic_test_strs[loop_mode], good_cnt, in __lb_run_test()
Dhns_dsaf_gmac.c486 static int hns_gmac_config_loopback(void *mac_drv, enum hnae_loop loop_mode, in hns_gmac_config_loopback() argument
491 switch (loop_mode) { in hns_gmac_config_loopback()
Dhnae.h485 enum hnae_loop loop_mode, int en);
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c117 static int hns3_lp_up(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_up() argument
126 ret = hns3_lp_setup(ndev, loop_mode, true); in hns3_lp_up()
132 static int hns3_lp_down(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_down() argument
136 ret = hns3_lp_setup(ndev, loop_mode, false); in hns3_lp_down()
Dhnae3.h486 enum hnae3_loop loop_mode, bool en);
/kernel/linux/linux-5.10/drivers/net/fddi/
Ddefza.h488 u32 loop_mode; /* loopback mode */ member
Ddefza.c335 writel_u(loopback, &buf->param.loop_mode); in fza_cmd_send()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c6718 enum hnae3_loop loop_mode) in hclge_cfg_serdes_loopback() argument
6731 switch (loop_mode) { in hclge_cfg_serdes_loopback()
6740 "unsupported serdes loopback mode %d\n", loop_mode); in hclge_cfg_serdes_loopback()
6782 enum hnae3_loop loop_mode) in hclge_set_serdes_loopback() argument
6786 ret = hclge_cfg_serdes_loopback(hdev, en, loop_mode); in hclge_set_serdes_loopback()
6880 enum hnae3_loop loop_mode, bool en) in hclge_set_loopback() argument
6901 switch (loop_mode) { in hclge_set_loopback()
6907 ret = hclge_set_serdes_loopback(hdev, en, loop_mode); in hclge_set_loopback()
6915 "loop_mode %d is not supported\n", loop_mode); in hclge_set_loopback()