Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_debugfs.c11 static char ixgbe_dbg_reg_ops_buf[256] = ""; variable
52 ixgbe_dbg_reg_ops_buf); in ixgbe_dbg_reg_ops_read()
72 if (count >= sizeof(ixgbe_dbg_reg_ops_buf)) in ixgbe_dbg_reg_ops_write()
75 len = simple_write_to_buffer(ixgbe_dbg_reg_ops_buf, in ixgbe_dbg_reg_ops_write()
76 sizeof(ixgbe_dbg_reg_ops_buf)-1, in ixgbe_dbg_reg_ops_write()
83 ixgbe_dbg_reg_ops_buf[len] = '\0'; in ixgbe_dbg_reg_ops_write()
85 if (strncmp(ixgbe_dbg_reg_ops_buf, "write", 5) == 0) { in ixgbe_dbg_reg_ops_write()
88 cnt = sscanf(&ixgbe_dbg_reg_ops_buf[5], "%x %x", &reg, &value); in ixgbe_dbg_reg_ops_write()
96 } else if (strncmp(ixgbe_dbg_reg_ops_buf, "read", 4) == 0) { in ixgbe_dbg_reg_ops_write()
99 cnt = sscanf(&ixgbe_dbg_reg_ops_buf[4], "%x", &reg); in ixgbe_dbg_reg_ops_write()
[all …]