Home
last modified time | relevance | path

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

12345678910>>...261

/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Dinterface.aserver.hpp.mako3 #include <sdbusplus/server/interface.hpp>
8 % for h in interface.cpp_includes():
11 #include <${interface.headerFile()}>
13 namespace sdbusplus::aserver::${interface.cppNamespace()}
20 class ${interface.classname};
24 struct ${interface.classname} :
27 sdbusplus::async::server_t<Instance, details::${interface.classname}>,
28 details::${interface.classname}<Instance, Server>>
31 ${interface.classname}(Args&&... args) :
34 sdbusplus::async::server_t<Instance, details::${interface
[all...]
H A Dinterface.server.hpp.mako9 % for h in interface.cpp_includes():
12 #include <${interface.headerFile()}>
14 namespace sdbusplus::server::${interface.cppNamespace()}
17 class ${interface.classname} :
18 public sdbusplus::common::${interface.cppNamespacedClass()}
30 ${interface.classname}() = delete;
31 ${interface.classname}(const ${interface.classname}&) = delete;
32 ${interface.classname}& operator=(const ${interface.classname}&) = delete;
33 ${interface.classname}(${interface.classname}&&) = delete;
34 ${interface.classname}& operator=(${interface.classname}&&) = delete;
[all …]
H A Dinterface.server.cpp.mako9 #include <${interface.headerFile("server")}>
11 namespace sdbusplus::server::${interface.cppNamespace()}
14 % for m in interface.methods:
15 ${ m.cpp_prototype(loader, interface=interface, ptype='callback-cpp') }
18 % for s in interface.signals:
19 ${ s.cpp_prototype(loader, interface=interface, ptype='callback-cpp') }
22 % for p in interface.properties:
23 ${ p.render(loader, "property.server.cpp.mako", property=p, interface=interface) }
26 % if interface.properties:
27 void ${interface.classname}::setPropertyByName(const std::string& _name,
[all …]
H A Dinterface.client.hpp.mako7 % for h in interface.cpp_includes():
10 #include <${interface.headerFile()}>
12 namespace sdbusplus::client::${interface.cppNamespace()}
19 class ${interface.classname};
25 * sdbusplus::async::client_t<${interface.classname}>() or
26 * ${interface.classname}() both construct an equivalent instance.
29 struct ${interface.classname} :
31 sdbusplus::async::client_t<details::${interface.classname}>,
32 details::${interface.classname}<Client, Proxy>>
35 ${interface
[all...]
H A Dinterface.common.hpp.mako14 return set(p.cppTypeParam(interface.name) for p in
15 interface.properties);
18 namespace sdbusplus::common::${interface.cppNamespace()}
21 struct ${interface.classname}
23 static constexpr auto interface = "${interface.name}";
25 % for e in interface.enums:
34 % if interface.properties:
41 % for p in interface.paths:
60 % for s in interface
[all...]
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/arch/mips/include/asm/octeon/
H A 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 …]
/openbmc/linux/arch/mips/cavium-octeon/executive/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DEthernetInterface.v1_12_2.json
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DEthernetInterface.v1_12_2.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/
H A Devents.json8 "interface": "xyz.openbmc_project.Inventory.Item", string
37 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
42 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
47 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
52 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
57 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
62 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
92 "interface": "xyz.openbmc_project.Inventory.Item", string
97 "interface": "org.open_power.OCC.Status", string
102 "interface": "xyz.openbmc_project.Sensor.Value", string
[all …]
/openbmc/phosphor-fan-presence/
H A Dsdbusplus.hpp49 const std::string& interface, const std::string& method) : in DBusMethodError() argument
51 interface, method)), in DBusMethodError()
52 busName(busName), path(path), interface(interface), method(method) in DBusMethodError()
57 const std::string interface; member in phosphor::fan::util::DBusMethodError
70 DBusServiceError(const std::string& path, const std::string& interface) : in DBusServiceError() argument
72 std::format("DBus service lookup failed: {} {}", path, interface)), in DBusServiceError()
73 path(path), interface(interface) in DBusServiceError()
77 const std::string interface; member in phosphor::fan::util::DBusServiceError
89 const std::string& path, const std::string& interface, in DBusPropertyError() argument
91 DBusError(msg + std::format(": {} {} {} {}", busName, path, interface, in DBusPropertyError()
[all …]
/openbmc/sdbusplus/include/sdbusplus/server/
H A Dinterface.hpp18 namespace interface namespace
21 /** @class interface
22 * @brief Provide a C++ holder for dbus interface instances.
24 * Wraps sd_bus_add_object_vtable so that the interface is registered
28 * implementation of a class representing a dbus interface, which will be
31 * inheritance, which might be a natural option. Instead, a dbus interface
32 * implementation should 'has-a' server::interface with a name sufficiently
35 struct interface final : private sdbusplus::bus::details::bus_friend struct
45 interface() = delete;
46 interface(const interface&) = delete;
[all …]
/openbmc/phosphor-webui/app/configuration/controllers/
H A Dnetwork-controller.js21 $scope.interface = {};
33 $scope.interface = $scope.network.interfaces[interfaceId];
34 // Copy the interface so we know later if changes were made to the page
35 $scope.oldInterface = JSON.parse(JSON.stringify($scope.interface));
41 $scope.interface.Nameservers.push('');
45 $scope.interface.Nameservers.splice(index, 1);
49 $scope.interface.ipv4.values.push(
56 if ($scope.interface.ipv4.values[index].id) {
57 $scope.ipv4sToDelete.push($scope.interface.ipv4.values[index]);
59 $scope.interface.ipv4.values.splice(index, 1);
[all …]
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/
H A Devents.json8 "interface": "xyz.openbmc_project.Inventory.Item", string
37 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
42 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
47 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
52 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
83 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
112 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
141 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
170 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string
201 "interface": "xyz.openbmc_project.Inventory.Item", string
[all …]
/openbmc/linux/drivers/mmc/host/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/logicvc/
H A 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 …]
/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio-net.c29 static void virtio_net_cleanup(QVirtioNet *interface) in virtio_net_cleanup() argument
33 for (i = 0; i < interface->n_queues; i++) { in virtio_net_cleanup()
34 qvirtqueue_cleanup(interface->vdev->bus, interface->queues[i], alloc); in virtio_net_cleanup()
36 g_free(interface->queues); in virtio_net_cleanup()
39 static void virtio_net_setup(QVirtioNet *interface) in virtio_net_setup() argument
41 QVirtioDevice *vdev = interface->vdev; in virtio_net_setup()
52 interface->n_queues = qvirtio_config_readw(vdev, 8) * 2; in virtio_net_setup()
54 interface->n_queues = 2; in virtio_net_setup()
56 interface->n_queues++; /* Account for the ctrl queue */ in virtio_net_setup()
58 interface->queues = g_new(QVirtQueue *, interface->n_queues); in virtio_net_setup()
[all …]
/openbmc/phosphor-inventory-manager/test/
H A Dinterface_ops_test.cpp117 Interface i; in TEST()
118 sdbusplus::SdBusMock interface; in TEST() local
123 auto b = sdbusplus::get_mocked_new(&interface); in TEST()
134 Interface i{{"foo"s, static_cast<int64_t>(1ll)}}; in TEST()
135 sdbusplus::SdBusMock interface; in TEST() local
140 auto b = sdbusplus::get_mocked_new(&interface); in TEST()
151 Interface i; in TEST()
152 sdbusplus::SdBusMock interface; in TEST() local
157 auto b = sdbusplus::get_mocked_new(&interface); in TEST()
168 Interface i{{"foo"s, static_cast<int64_t>(1ll)}}; in TEST()
[all …]

12345678910>>...261