Home
last modified time | relevance | path

Searched full:interface (Results 1 – 25 of 5787) sorted by relevance

12345678910>>...232

/linux-6.12.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_pci.c35 struct fm10k_intfc *interface = hw->back; in fm10k_read_pci_cfg_word() local
41 pci_read_config_word(interface->pdev, reg, &value); in fm10k_read_pci_cfg_word()
58 struct fm10k_intfc *interface = hw->back; in fm10k_read_reg() local
59 struct net_device *netdev = interface->netdev; in fm10k_read_reg()
69 static int fm10k_hw_ready(struct fm10k_intfc *interface) in fm10k_hw_ready() argument
71 struct fm10k_hw *hw = &interface->hw; in fm10k_hw_ready()
80 * @interface: fm10k private interface structure
85 void fm10k_macvlan_schedule(struct fm10k_intfc *interface) in fm10k_macvlan_schedule() argument
90 if (!test_bit(__FM10K_MACVLAN_DISABLE, interface->state) && in fm10k_macvlan_schedule()
91 !test_and_set_bit(__FM10K_MACVLAN_SCHED, interface->state)) { in fm10k_macvlan_schedule()
[all …]
Dfm10k_netdev.c47 * @interface: board private structure
55 static int fm10k_setup_all_tx_resources(struct fm10k_intfc *interface) in fm10k_setup_all_tx_resources() argument
59 for (i = 0; i < interface->num_tx_queues; i++) { in fm10k_setup_all_tx_resources()
60 err = fm10k_setup_tx_resources(interface->tx_ring[i]); in fm10k_setup_all_tx_resources()
64 netif_err(interface, probe, interface->netdev, in fm10k_setup_all_tx_resources()
73 fm10k_free_tx_resources(interface->tx_ring[i]); in fm10k_setup_all_tx_resources()
114 * @interface: board private structure
122 static int fm10k_setup_all_rx_resources(struct fm10k_intfc *interface) in fm10k_setup_all_rx_resources() argument
126 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_setup_all_rx_resources()
127 err = fm10k_setup_rx_resources(interface->rx_ring[i]); in fm10k_setup_all_rx_resources()
[all …]
Dfm10k_ethtool.c48 /* General interface statistics */
159 struct fm10k_intfc *interface = netdev_priv(dev); in fm10k_get_stat_strings() local
168 if (interface->hw.mac.type != fm10k_mac_vf) in fm10k_get_stat_strings()
171 for (i = 0; i < interface->hw.mac.max_queues; i++) { in fm10k_get_stat_strings()
200 struct fm10k_intfc *interface = netdev_priv(dev); in fm10k_get_sset_count() local
201 struct fm10k_hw *hw = &interface->hw; in fm10k_get_sset_count()
265 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_get_ethtool_stats() local
269 fm10k_update_stats(interface); in fm10k_get_ethtool_stats()
273 fm10k_add_ethtool_stats(&data, interface, fm10k_gstrings_global_stats); in fm10k_get_ethtool_stats()
275 fm10k_add_ethtool_stats(&data, &interface->hw.mbx, in fm10k_get_ethtool_stats()
[all …]
Dfm10k_iov.c12 struct fm10k_intfc *interface = hw->back; in fm10k_iov_msg_error() local
13 struct pci_dev *pdev = interface->pdev; in fm10k_iov_msg_error()
37 struct fm10k_intfc *interface = hw->back; in fm10k_iov_msg_queue_mac_vlan() local
45 /* we shouldn't be updating rules on a disabled interface */ in fm10k_iov_msg_queue_mac_vlan()
111 err = fm10k_queue_mac_request(interface, vf_info->glort, in fm10k_iov_msg_queue_mac_vlan()
137 err = fm10k_queue_mac_request(interface, vf_info->glort, in fm10k_iov_msg_queue_mac_vlan()
152 s32 fm10k_iov_event(struct fm10k_intfc *interface) in fm10k_iov_event() argument
154 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_event()
160 if (!READ_ONCE(interface->iov_data)) in fm10k_iov_event()
165 iov_data = interface->iov_data; in fm10k_iov_event()
[all …]
Dfm10k_main.c14 #define DRV_SUMMARY "Intel(R) Ethernet Switch Host Interface Driver"
180 * Synchronizes page for reuse by the interface
248 * true if the buffer can be reused by the interface.
636 struct fm10k_intfc *interface = netdev_priv(skb->dev); in fm10k_port_is_vxlan() local
638 if (interface->vxlan_port != udp_hdr(skb)->dest) in fm10k_port_is_vxlan()
1114 struct fm10k_intfc *interface = ring->q_vector->interface; in fm10k_get_tx_pending() local
1115 struct fm10k_hw *hw = &interface->hw; in fm10k_get_tx_pending()
1160 * @interface: driver private struct
1162 void fm10k_tx_timeout_reset(struct fm10k_intfc *interface) in fm10k_tx_timeout_reset() argument
1165 if (!test_bit(__FM10K_DOWN, interface->state)) { in fm10k_tx_timeout_reset()
[all …]
/linux-6.12.1/arch/mips/include/asm/octeon/
Dcvmx-spi.h30 * This file contains defines for the SPI interface
49 int (*reset_cb) (int interface, cvmx_spi_mode_t mode);
52 int (*calendar_setup_cb) (int interface, cvmx_spi_mode_t mode,
56 int (*clock_detect_cb) (int interface, cvmx_spi_mode_t mode,
60 int (*training_cb) (int interface, cvmx_spi_mode_t mode, int timeout);
63 int (*calendar_sync_cb) (int interface, cvmx_spi_mode_t mode,
66 /** Called when interface is up */
67 int (*interface_up_cb) (int interface, cvmx_spi_mode_t mode);
72 * Return true if the supplied interface is configured for SPI
74 * @interface: Interface to check
[all …]
Dcvmx-helper-util.h38 * Convert a interface mode into a human readable string
73 * @interface: Interface to configure
74 * @num_ports: Number of ports on the interface
78 extern int __cvmx_helper_setup_gmx(int interface, int num_ports);
82 * interface.
84 * @interface: Interface to use
85 * @port: Port on the interface
89 extern int cvmx_helper_get_ipd_port(int interface, int port);
93 * interface.
95 * @interface: Interface to use
[all …]
/linux-6.12.1/arch/mips/cavium-octeon/executive/
Dcvmx-helper-xaui.c45 int __cvmx_helper_xaui_enumerate(int interface) in __cvmx_helper_xaui_enumerate() argument
50 gmx_hg2_control.u64 = cvmx_read_csr(CVMX_GMXX_HG2_CONTROL(interface)); in __cvmx_helper_xaui_enumerate()
58 * Probe a XAUI interface and determine the number of ports
59 * connected to it. The XAUI interface should still be down
62 * @interface: Interface to probe
64 * Returns Number of ports on the interface. Zero to disable.
66 int __cvmx_helper_xaui_probe(int interface) in __cvmx_helper_xaui_probe() argument
73 * interface needs to be enabled before IPD otherwise per port in __cvmx_helper_xaui_probe()
76 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); in __cvmx_helper_xaui_probe()
78 cvmx_write_csr(CVMX_GMXX_INF_MODE(interface), mode.u64); in __cvmx_helper_xaui_probe()
[all …]
Dcvmx-spi.c92 * Initialize and start the SPI interface.
94 * @interface: The identifier of the packet interface to configure and
95 * use as a SPI interface.
96 * @mode: The operating mode for the SPI interface. The interface
105 int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout, in cvmx_spi_start_interface() argument
114 INVOKE_CB(cvmx_spi_callbacks.reset_cb, interface, mode); in cvmx_spi_start_interface()
117 INVOKE_CB(cvmx_spi_callbacks.calendar_setup_cb, interface, mode, in cvmx_spi_start_interface()
121 INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout); in cvmx_spi_start_interface()
124 INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout); in cvmx_spi_start_interface()
127 INVOKE_CB(cvmx_spi_callbacks.calendar_sync_cb, interface, mode, in cvmx_spi_start_interface()
[all …]
Dcvmx-helper.c49 /* Port count per interface */
53 * Return the number of interfaces the chip has. Each interface
56 * one interface.
80 * Return the number of ports on an interface. Depending on the
82 * specifies that the interface doesn't exist or isn't usable.
84 * @interface: Interface to get the port count for
86 * Returns Number of ports on interface. Can be Zero.
88 int cvmx_helper_ports_on_interface(int interface) in cvmx_helper_ports_on_interface() argument
90 return interface_port_count[interface]; in cvmx_helper_ports_on_interface()
96 * Return interface mode for CN68xx.
[all …]
Dcvmx-helper-sgmii.c47 * @interface: Interface to init
48 * @index: Index of prot on the interface
52 static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) in __cvmx_helper_sgmii_hardware_init_one_time() argument
60 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
62 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_one_time()
70 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
72 cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
82 cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time()
98 cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
103 cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time()
[all …]
Dcvmx-helper-rgmii.c48 * @interface: Interface to probe
52 int __cvmx_helper_rgmii_probe(int interface) in __cvmx_helper_rgmii_probe() argument
56 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); in __cvmx_helper_rgmii_probe()
62 "SPI interface\n"); in __cvmx_helper_rgmii_probe()
92 * Put an RGMII interface in loopback mode. Internal packets sent
100 int interface = (port >> 4) & 1; in cvmx_helper_rgmii_internal_loopback() local
109 cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 1); in cvmx_helper_rgmii_internal_loopback()
110 cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x200); in cvmx_helper_rgmii_internal_loopback()
111 cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0x2000); in cvmx_helper_rgmii_internal_loopback()
112 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvmx_helper_rgmii_internal_loopback()
[all …]
Dcvmx-helper-spi.c52 int __cvmx_helper_spi_enumerate(int interface) in __cvmx_helper_spi_enumerate() argument
55 cvmx_spi4000_is_present(interface)) { in __cvmx_helper_spi_enumerate()
63 * Probe a SPI interface and determine the number of ports
64 * connected to it. The SPI interface should still be down after
67 * @interface: Interface to probe
69 * Returns Number of ports on the interface. Zero to disable.
71 int __cvmx_helper_spi_probe(int interface) in __cvmx_helper_spi_probe() argument
76 cvmx_spi4000_is_present(interface)) { in __cvmx_helper_spi_probe()
88 enable.s.enable |= 0xffff << (interface * 16); in __cvmx_helper_spi_probe()
91 __cvmx_helper_setup_gmx(interface, num_ports); in __cvmx_helper_spi_probe()
[all …]
Dcvmx-helper-util.c49 * Convert a interface mode into a human readable string
137 int interface; in cvmx_helper_setup_red() local
144 for (interface = 0; interface < 2; interface++) { in cvmx_helper_setup_red()
145 for (port = cvmx_helper_get_first_ipd_port(interface); in cvmx_helper_setup_red()
146 port < cvmx_helper_get_last_ipd_port(interface); port++) in cvmx_helper_setup_red()
175 * @interface: Interface to configure
176 * @num_ports: Number of ports on the interface
180 int __cvmx_helper_setup_gmx(int interface, int num_ports) in __cvmx_helper_setup_gmx() argument
188 /* Tell GMX the number of TX ports on this interface */ in __cvmx_helper_setup_gmx()
189 gmx_tx_prts.u64 = cvmx_read_csr(CVMX_GMXX_TX_PRTS(interface)); in __cvmx_helper_setup_gmx()
[all …]
/linux-6.12.1/drivers/mmc/host/
DKconfig21 If you say yes here, you will get support for eMMC host interface
27 tristate "ARM AMBA Multimedia Card Interface support"
31 Interface (PL180 and PL181) support. If you have an ARM(R)
58 tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
61 This selects the Intel(R) PXA(R) Multimedia card Interface.
68 tristate "Secure Digital Host Controller Interface support"
71 This selects the generic Secure Digital Host Controller Interface.
75 If you have a controller with this interface, say Y or M here. You
76 also need to enable an appropriate bus interface.
108 This selects the PCI Secure Digital Host Controller Interface.
[all …]
/linux-6.12.1/drivers/gpu/drm/logicvc/
Dlogicvc_interface.c34 struct logicvc_interface *interface = in logicvc_encoder_enable() local
41 if (interface->drm_panel) { in logicvc_encoder_enable()
42 drm_panel_prepare(interface->drm_panel); in logicvc_encoder_enable()
43 drm_panel_enable(interface->drm_panel); in logicvc_encoder_enable()
49 struct logicvc_interface *interface = in logicvc_encoder_disable() local
52 if (interface->drm_panel) { in logicvc_encoder_disable()
53 drm_panel_disable(interface->drm_panel); in logicvc_encoder_disable()
54 drm_panel_unprepare(interface->drm_panel); in logicvc_encoder_disable()
69 struct logicvc_interface *interface = in logicvc_connector_get_modes() local
72 if (interface->drm_panel) in logicvc_connector_get_modes()
[all …]
/linux-6.12.1/drivers/usb/misc/
Dchaoskey.c9 * The driver connects to the kernel hardware RNG interface to provide
75 struct usb_interface *interface; member
97 usb_dbg(dev->interface, "free"); in chaoskey_free()
101 usb_put_intf(dev->interface); in chaoskey_free()
106 static int chaoskey_probe(struct usb_interface *interface, in chaoskey_probe() argument
109 struct usb_device *udev = interface_to_usbdev(interface); in chaoskey_probe()
110 struct usb_host_interface *altsetting = interface->cur_altsetting; in chaoskey_probe()
118 usb_dbg(interface, "probe %s-%s", udev->product, udev->serial); in chaoskey_probe()
123 usb_dbg(interface, "no IN endpoint found"); in chaoskey_probe()
132 usb_dbg(interface, "invalid size (%d)", size); in chaoskey_probe()
[all …]
/linux-6.12.1/security/selinux/
Dnetif.c3 * Network interface table.
6 * maintain a table associating each interface with a SID.
43 * sel_netif_hashfn - Hashing function for the interface table
45 * @ifindex: the network interface
48 * This is the hashing function for the network interface table, it returns the
49 * bucket number for the given interface.
58 * sel_netif_find - Search for an interface record
60 * @ifindex: the network interface
63 * Search the network interface table and return the record matching @ifindex.
82 * sel_netif_insert - Insert a new interface into the table
[all …]
/linux-6.12.1/drivers/char/tpm/
DKconfig62 tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface"
73 tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (SPI)"
85 bool "Cr50 SPI Interface"
92 tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (I2C - generic)"
98 (I2C interface) specification and connected to an I2C bus master,
104 tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface (MMIO - SynQuacer)"
116 tristate "TPM Interface Specification 2.0 Interface (I2C - CR50)"
119 This is a driver for the Google cr50 I2C TPM interface which is a
120 custom microcontroller and requires a custom i2c protocol interface
125 tristate "TPM Interface Specification 1.2 Interface (I2C - Atmel)"
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/clock/ti/
Dinterface.txt1 Binding for Texas Instruments interface clock.
14 "ti,omap3-interface-clock" - basic OMAP3 interface clock
15 "ti,omap3-no-wait-interface-clock" - interface clock which has no hardware
17 "ti,omap3-hsotgusb-interface-clock" - interface clock with USB specific HW
19 "ti,omap3-dss-interface-clock" - interface clock with DSS specific HW handling
20 "ti,omap3-ssi-interface-clock" - interface clock with SSI specific HW handling
21 "ti,am35xx-interface-clock" - interface clock with AM35xx specific HW handling
22 "ti,omap2430-interface-clock" - interface clock with OMAP2430 specific HW
35 compatible = "ti,omap3-interface-clock";
43 compatible = "ti,omap3-no-wait-interface-clock";
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/powerpc/nintendo/
Dwii.txt23 1.a) The Video Interface (VI) node
25 Represents the interface between the graphics processor and a external
34 1.b) The Processor Interface (PI) node
36 Represents the data and control interface between the main processor
58 Represents the digital signal processor interface, designed to offload
67 1.d) The Serial Interface (SI) node
69 Represents the interface to the four single bit serial interfaces.
70 The SI is a proprietary serial interface used normally to control gamepads.
71 It's NOT a RS232-type interface.
79 1.e) The Audio Interface (AI) node
[all …]
/linux-6.12.1/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c64 static void __bnx2fc_destroy(struct bnx2fc_interface *interface);
69 /* fcoe_syfs control interface handlers */
75 static void bnx2fc_start_disc(struct bnx2fc_interface *interface);
83 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface,
90 static inline void bnx2fc_interface_put(struct bnx2fc_interface *interface);
97 static void bnx2fc_stop(struct bnx2fc_interface *interface);
192 struct bnx2fc_interface *interface = port->priv; in bnx2fc_cleanup() local
193 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_cleanup()
270 struct bnx2fc_interface *interface; in bnx2fc_xmit() local
282 interface = port->priv; in bnx2fc_xmit()
[all …]
/linux-6.12.1/drivers/staging/octeon/
Dethernet-spi.c23 pr_err("SPI%d: SRX Spi4 interface down\n", index); in cvm_oct_spxx_int_pr()
55 pr_err("SPI%d: STX Interface encountered a fatal error\n", in cvm_oct_stxx_int_pr()
122 static void cvm_oct_spi_enable_error_reporting(int interface) in cvm_oct_spi_enable_error_reporting() argument
127 spxx_int_msk.u64 = cvmx_read_csr(CVMX_SPXX_INT_MSK(interface)); in cvm_oct_spi_enable_error_reporting()
138 cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), spxx_int_msk.u64); in cvm_oct_spi_enable_error_reporting()
140 stxx_int_msk.u64 = cvmx_read_csr(CVMX_STXX_INT_MSK(interface)); in cvm_oct_spi_enable_error_reporting()
149 cvmx_write_csr(CVMX_STXX_INT_MSK(interface), stxx_int_msk.u64); in cvm_oct_spi_enable_error_reporting()
156 int interface; in cvm_oct_spi_poll() local
158 for (interface = 0; interface < 2; interface++) { in cvm_oct_spi_poll()
159 if ((priv->port == interface * 16) && need_retrain[interface]) { in cvm_oct_spi_poll()
[all …]
/linux-6.12.1/drivers/pinctrl/intel/
DKconfig21 Cherryview/Braswell pinctrl driver provides an interface that
29 provides an interface that allows configuring of PCH pins and
45 This pinctrl driver provides an interface that allows configuring
55 This pinctrl driver provides an interface that allows configuring
62 Broxton pinctrl driver provides an interface that allows
69 This pinctrl driver provides an interface that allows configuring
76 This pinctrl driver provides an interface that allows configuring
83 This pinctrl driver provides an interface that allows configuring
90 This pinctrl driver provides an interface that allows configuring
97 This pinctrl driver provides an interface that allows configuring
[all …]
/linux-6.12.1/lib/crypto/
DKconfig32 accelerated implementation of the Blake2s library interface,
39 Blake2s library interface that require the generic code as a
48 accelerated implementation of the ChaCha library interface,
56 ChaCha library interface that require the generic code as a
62 tristate "ChaCha library interface"
66 Enable the ChaCha library interface. This interface may be fulfilled
74 accelerated implementation of the Curve25519 library interface,
81 Curve25519 library interface that require the generic code as a
92 Enable the Curve25519 library interface. This interface may be
110 accelerated implementation of the Poly1305 library interface,
[all …]

12345678910>>...232