Searched refs:fd_mode (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-ram.c64 const bool fd_mode)
71 num_tx = config->tx.def[fd_mode];
75 ram_free -= config->tx.size[fd_mode] * num_tx;
77 num_rx = ram_free / config->rx.size[fd_mode];
85 ram_free -= config->tx.size[fd_mode] * config->tx.min;
86 num_rx = ram_free / config->rx.size[fd_mode];
89 ram_free -= config->rx.size[fd_mode] * config->rx.min;
90 num_tx = ram_free / config->tx.size[fd_mode];
120 ram_free = config->size - config->rx.size[fd_mode] * num_rx;
121 num_tx = ram_free / config->tx.size[fd_mode];
60 can_ram_get_layout(struct can_ram_layout *layout, const struct can_ram_config *config, const struct ethtool_ringparam *ring, const struct ethtool_coalesce *ec, const bool fd_mode) argument
[all...]
H A Dmcp251xfd-ethtool.c21 const bool fd_mode = mcp251xfd_is_fd_mode(priv); local
24 can_ram_get_layout(&layout, &mcp251xfd_ram_config, NULL, NULL, fd_mode);
39 const bool fd_mode = mcp251xfd_is_fd_mode(priv); local
42 can_ram_get_layout(&layout, &mcp251xfd_ram_config, ring, NULL, fd_mode);
92 const bool fd_mode = mcp251xfd_is_fd_mode(priv); local
99 can_ram_get_layout(&layout, &mcp251xfd_ram_config, &ring, ec, fd_mode);
H A Dmcp251xfd-ram.h60 const bool fd_mode);
H A Dmcp251xfd-ring.c463 const bool fd_mode = mcp251xfd_is_fd_mode(priv); local
470 if (fd_mode != test_bit(MCP251XFD_FLAGS_FD_MODE, priv->flags)) {
473 can_ram_get_layout(&layout, &mcp251xfd_ram_config, NULL, NULL, fd_mode);
478 if (fd_mode) {
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h709 u8 fd_mode; member in struct:hclge_fd_cfg
H A Dhclge_main.c5380 static int hclge_get_fd_mode(struct hclge_dev *hdev, u8 *fd_mode) argument
5396 *fd_mode = req->mode;
5478 ret = hclge_get_fd_mode(hdev, &hdev->fd_cfg.fd_mode);
5482 switch (hdev->fd_cfg.fd_mode) {
5492 hdev->fd_cfg.fd_mode);
5509 if (hdev->fd_cfg.fd_mode == HCLGE_FD_MODE_DEPTH_2K_WIDTH_400B_STAGE_1) {
5998 if (hdev->fd_cfg.fd_mode !=
6145 if (hdev->fd_cfg.fd_mode !=

Completed in 354 milliseconds