Home
last modified time | relevance | path

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

/linux/drivers/atm/
A 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()
A 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()
A Dsuni.c181 PRIV(dev)->loop_mode = mode; in set_loopback()
280 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in suni_ioctl()
324 PRIV(dev)->loop_mode = ATM_LM_NONE; in suni_start()
A Dsuni.h233 int loop_mode; /* loopback mode */ member
A Dfore200e.c1789 fore200e_setloop(struct fore200e* fore200e, int loop_mode) in fore200e_setloop() argument
1797 switch (loop_mode) { in fore200e_setloop()
1818 fore200e->loop_mode = loop_mode; in fore200e_setloop()
1872 return put_user(fore200e->loop_mode, (int __user *)arg) ? -EFAULT : 0; in fore200e_ioctl()
2795 switch (fore200e->loop_mode) { in fore200e_proc_read()
A Dfore200e.h858 int loop_mode; /* S/UNI loopback mode */ member
/linux/drivers/spi/
A Dspi-fsl-espi.c481 u32 loop_mode; in fsl_espi_setup() local
508 loop_mode = fsl_espi_read_reg(espi, ESPI_SPMODE); in fsl_espi_setup()
509 loop_mode &= ~SPMODE_LOOP; in fsl_espi_setup()
511 loop_mode |= SPMODE_LOOP; in fsl_espi_setup()
512 fsl_espi_write_reg(espi, ESPI_SPMODE, loop_mode); in fsl_espi_setup()
/linux/drivers/net/ethernet/hisilicon/hns/
A 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,
A Dhns_ethtool.c335 enum hnae_loop loop_mode) in __lb_up() argument
345 ret = __lb_setup(ndev, loop_mode); in __lb_up()
473 enum hnae_loop loop_mode) in __lb_run_test() argument
521 hns_nic_test_strs[loop_mode], good_cnt, in __lb_run_test()
535 hns_nic_test_strs[loop_mode], good_cnt, in __lb_run_test()
A Dhns_dsaf_gmac.c470 static int hns_gmac_config_loopback(void *mac_drv, enum hnae_loop loop_mode, in hns_gmac_config_loopback() argument
475 switch (loop_mode) { in hns_gmac_config_loopback()
A Dhnae.h481 enum hnae_loop loop_mode, int en);
/linux/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_ethtool.c115 static int hns3_lp_up(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_up() argument
124 ret = hns3_lp_setup(ndev, loop_mode, true); in hns3_lp_up()
130 static int hns3_lp_down(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_down() argument
134 ret = hns3_lp_setup(ndev, loop_mode, false); in hns3_lp_down()
A Dhnae3.h569 enum hnae3_loop loop_mode, bool en);
/linux/drivers/net/fddi/
A Ddefza.h488 u32 loop_mode; /* loopback mode */ member
A Ddefza.c335 writel_u(loopback, &buf->param.loop_mode); in fza_cmd_send()
/linux/Documentation/driver-api/media/drivers/ccs/
A Dccs-regs.asc514 - b loop_mode 1
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.c7972 enum hnae3_loop loop_mode) in hclge_cfg_common_loopback() argument
7985 switch (loop_mode) { in hclge_cfg_common_loopback()
7997 "unsupported common loopback mode %d\n", loop_mode); in hclge_cfg_common_loopback()
8039 enum hnae3_loop loop_mode) in hclge_set_common_loopback() argument
8043 ret = hclge_cfg_common_loopback(hdev, en, loop_mode); in hclge_set_common_loopback()
8151 enum hnae3_loop loop_mode, bool en) in hclge_set_loopback() argument
8171 switch (loop_mode) { in hclge_set_loopback()
8177 ret = hclge_set_common_loopback(hdev, en, loop_mode); in hclge_set_loopback()
8185 "loop_mode %d is not supported\n", loop_mode); in hclge_set_loopback()

Completed in 73 milliseconds