Home
last modified time | relevance | path

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

/linux/drivers/atm/
H 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()
H 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()
H A Dsuni.h233 int loop_mode; /* loopback mode */ member
H A Dfore200e.c1786 fore200e_setloop(struct fore200e* fore200e, int loop_mode) in fore200e_setloop() argument
1794 switch (loop_mode) { in fore200e_setloop()
1815 fore200e->loop_mode = loop_mode; in fore200e_setloop()
1869 return put_user(fore200e->loop_mode, (int __user *)arg) ? -EFAULT : 0; in fore200e_ioctl()
2784 switch (fore200e->loop_mode) { in fore200e_proc_read()
H A Dfore200e.h857 int loop_mode; /* S/UNI loopback mode */ member
/linux/drivers/spi/
H 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/
H 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,
H 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()
H 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()
H A Dhnae.h481 enum hnae_loop loop_mode, int en);
/linux/drivers/net/fddi/
H A Ddefza.h488 u32 loop_mode; /* loopback mode */ member
H A Ddefza.c335 writel_u(loopback, &buf->param.loop_mode); in fza_cmd_send()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c120 static int hns3_lp_up(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_up() argument
129 ret = hns3_lp_setup(ndev, loop_mode, true); in hns3_lp_up()
135 static int hns3_lp_down(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_down() argument
139 ret = hns3_lp_setup(ndev, loop_mode, false); in hns3_lp_down()
H A Dhnae3.h630 enum hnae3_loop loop_mode, bool en);
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c7740 enum hnae3_loop loop_mode) in hclge_cfg_common_loopback_cmd_send() argument
7750 switch (loop_mode) { in hclge_cfg_common_loopback_cmd_send()
7762 "unsupported loopback mode %d\n", loop_mode); in hclge_cfg_common_loopback_cmd_send()
7774 loop_mode, ret); in hclge_cfg_common_loopback_cmd_send()
7817 enum hnae3_loop loop_mode) in hclge_cfg_common_loopback() argument
7829 enum hnae3_loop loop_mode) in hclge_set_common_loopback() argument
7833 ret = hclge_cfg_common_loopback(hdev, en, loop_mode); in hclge_set_common_loopback()
7941 enum hnae3_loop loop_mode, bool en) in hclge_set_loopback() argument
7961 switch (loop_mode) { in hclge_set_loopback()
7967 ret = hclge_set_common_loopback(hdev, en, loop_mode); in hclge_set_loopback()
[all …]
/linux/Documentation/driver-api/media/drivers/ccs/
H A Dccs-regs.asc514 - b loop_mode 1