/openbmc/linux/drivers/i2c/busses/ |
H A D | scx200_acb.c | 80 #define ACBSDA (iface->base + 0) 81 #define ACBST (iface->base + 1) 87 #define ACBCST (iface->base + 2) 89 #define ACBCTL1 (iface->base + 3) 95 #define ACBADDR (iface->base + 4) 96 #define ACBCTL2 (iface->base + 5) 101 static void scx200_acb_machine(struct scx200_acb_iface *iface, u8 status) in scx200_acb_machine() argument 105 dev_dbg(&iface->adapter.dev, "state %s, status = 0x%02x\n", in scx200_acb_machine() 106 scx200_acb_state_name[iface->state], status); in scx200_acb_machine() 117 dev_dbg(&iface->adapter.dev, "negative ack in state %s\n", in scx200_acb_machine() [all …]
|
/openbmc/u-boot/include/ |
H A D | spartan3.h | 77 #define XILINX_XC3S50_DESC(iface, fn_table, cookie) \ argument 78 { xilinx_spartan3, iface, XILINX_XC3S50_SIZE, fn_table, cookie, \ 81 #define XILINX_XC3S200_DESC(iface, fn_table, cookie) \ argument 82 { xilinx_spartan3, iface, XILINX_XC3S200_SIZE, fn_table, cookie, \ 85 #define XILINX_XC3S400_DESC(iface, fn_table, cookie) \ argument 86 { xilinx_spartan3, iface, XILINX_XC3S400_SIZE, fn_table, cookie, \ 89 #define XILINX_XC3S1000_DESC(iface, fn_table, cookie) \ argument 90 { xilinx_spartan3, iface, XILINX_XC3S1000_SIZE, fn_table, cookie, \ 93 #define XILINX_XC3S1500_DESC(iface, fn_table, cookie) \ argument 94 { xilinx_spartan3, iface, XILINX_XC3S1500_SIZE, fn_table, cookie, \ [all …]
|
H A D | virtex2.h | 64 #define XILINX_XC2V40_DESC(iface, fn_table, cookie) \ argument 65 { xilinx_virtex2, iface, XILINX_XC2V40_SIZE, fn_table, cookie, \ 68 #define XILINX_XC2V80_DESC(iface, fn_table, cookie) \ argument 69 { xilinx_virtex2, iface, XILINX_XC2V80_SIZE, fn_table, cookie, \ 72 #define XILINX_XC2V250_DESC(iface, fn_table, cookie) \ argument 73 { xilinx_virtex2, iface, XILINX_XC2V250_SIZE, fn_table, cookie, \ 76 #define XILINX_XC2V500_DESC(iface, fn_table, cookie) \ argument 77 { xilinx_virtex2, iface, XILINX_XC2V500_SIZE, fn_table, cookie, \ 80 #define XILINX_XC2V1000_DESC(iface, fn_table, cookie) \ argument 81 { xilinx_virtex2, iface, XILINX_XC2V1000_SIZE, fn_table, cookie, \ [all …]
|
H A D | spartan2.h | 67 #define XILINX_XC2S15_DESC(iface, fn_table, cookie) \ argument 68 { xilinx_spartan2, iface, XILINX_XC2S15_SIZE, fn_table, cookie, \ 71 #define XILINX_XC2S30_DESC(iface, fn_table, cookie) \ argument 72 { xilinx_spartan2, iface, XILINX_XC2S30_SIZE, fn_table, cookie, \ 75 #define XILINX_XC2S50_DESC(iface, fn_table, cookie) \ argument 76 { xilinx_spartan2, iface, XILINX_XC2S50_SIZE, fn_table, cookie, \ 79 #define XILINX_XC2S100_DESC(iface, fn_table, cookie) \ argument 80 { xilinx_spartan2, iface, XILINX_XC2S100_SIZE, fn_table, cookie, \ 83 #define XILINX_XC2S150_DESC(iface, fn_table, cookie) \ argument 84 { xilinx_spartan2, iface, XILINX_XC2S150_SIZE, fn_table, cookie, \ [all …]
|
/openbmc/linux/sound/soc/meson/ |
H A D | axg-tdm-interface.c | 42 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_set_tdm_slots() local 57 iface->slots = slots; in axg_tdm_set_tdm_slots() 81 iface->slot_width = slot_width; in axg_tdm_set_tdm_slots() 103 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_iface_set_sysclk() local 107 if (!iface->mclk) { in axg_tdm_iface_set_sysclk() 110 ret = clk_set_rate(iface->mclk, freq); in axg_tdm_iface_set_sysclk() 112 iface->mclk_rate = freq; in axg_tdm_iface_set_sysclk() 121 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_iface_set_fmt() local 125 if (!iface->mclk) { in axg_tdm_iface_set_fmt() 142 iface->fmt = fmt; in axg_tdm_iface_set_fmt() [all …]
|
/openbmc/linux/drivers/most/ |
H A D | core.c | 49 struct most_interface *iface; member 105 if (c->iface->dma_free) in most_free_mbo_coherent() 106 c->iface->dma_free(mbo, coherent_buf_size); in most_free_mbo_coherent() 176 if (c->iface->channel_vector[i].direction & MOST_CH_RX) in available_directions_show() 178 if (c->iface->channel_vector[i].direction & MOST_CH_TX) in available_directions_show() 192 if (c->iface->channel_vector[i].data_type & MOST_CH_CONTROL) in available_datatypes_show() 194 if (c->iface->channel_vector[i].data_type & MOST_CH_ASYNC) in available_datatypes_show() 196 if (c->iface->channel_vector[i].data_type & MOST_CH_SYNC) in available_datatypes_show() 198 if (c->iface->channel_vector[i].data_type & MOST_CH_ISOC) in available_datatypes_show() 212 c->iface->channel_vector[i].num_buffers_packet); in number_of_packet_buffers_show() [all …]
|
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-network/network/static-mac-addr/ |
H A D | mac-check | 20 local iface="$1" 21 cat /sys/class/net/"$iface"/address 2>/dev/null 25 local iface="$1" 27 ip link show dev "$iface" | grep -q "${iface}:.*\<UP\>" 2>/dev/null 29 [[ $up -eq 0 ]] && ip link set dev "$iface" down 30 ip link set dev "$iface" address "$mac" 31 [[ $up -eq 0 ]] && ip link set dev "$iface" up 35 local iface="$1" 36 cat "${SOFS_MACDIR}/${iface}" 2>/dev/null 50 local iface="$1" [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | transport_tcp.c | 228 struct interface *iface = (struct interface *)p; in ksmbd_kthread_fn() local 232 mutex_lock(&iface->sock_release_lock); in ksmbd_kthread_fn() 233 if (!iface->ksmbd_socket) { in ksmbd_kthread_fn() 234 mutex_unlock(&iface->sock_release_lock); in ksmbd_kthread_fn() 237 ret = kernel_accept(iface->ksmbd_socket, &client_sk, in ksmbd_kthread_fn() 239 mutex_unlock(&iface->sock_release_lock); in ksmbd_kthread_fn() 269 * @iface: pointer to struct interface 277 static int ksmbd_tcp_run_kthread(struct interface *iface) in ksmbd_tcp_run_kthread() argument 282 kthread = kthread_run(ksmbd_kthread_fn, (void *)iface, "ksmbd-%s", in ksmbd_tcp_run_kthread() 283 iface->name); in ksmbd_tcp_run_kthread() [all …]
|
/openbmc/dbus-sensors/src/tests/ |
H A D | test_MCTPEndpoint.cpp | 28 SensorBaseConfigMap iface{{}}; in TEST() local 29 EXPECT_THROW(I2CMCTPDDevice::from({}, iface), std::invalid_argument); in TEST() 34 SensorBaseConfigMap iface{{"Type", "NVME1000"}}; in TEST() local 35 EXPECT_THROW(I2CMCTPDDevice::from({}, iface), std::invalid_argument); in TEST() 40 SensorBaseConfigMap iface{ in TEST() local 45 EXPECT_THROW(I2CMCTPDDevice::from({}, iface), std::invalid_argument); in TEST() 50 SensorBaseConfigMap iface{ in TEST() local 56 EXPECT_THROW(I2CMCTPDDevice::from({}, iface), std::invalid_argument); in TEST() 61 SensorBaseConfigMap iface{ in TEST() local 66 EXPECT_THROW(I2CMCTPDDevice::from({}, iface), std::invalid_argument); in TEST() [all …]
|
/openbmc/linux/net/netlabel/ |
H A D | netlabel_unlabeled.c | 149 struct netlbl_unlhsh_iface *iface; in netlbl_unlhsh_free_iface() local 157 iface = container_of(entry, struct netlbl_unlhsh_iface, rcu); in netlbl_unlhsh_free_iface() 162 netlbl_af4list_foreach_safe(iter4, tmp4, &iface->addr4_list) { in netlbl_unlhsh_free_iface() 167 netlbl_af6list_foreach_safe(iter6, tmp6, &iface->addr6_list) { in netlbl_unlhsh_free_iface() 172 kfree(iface); in netlbl_unlhsh_free_iface() 220 * @iface: the associated interface entry 227 * interface entry specified by @iface. On success zero is returned, otherwise 231 static int netlbl_unlhsh_add_addr4(struct netlbl_unlhsh_iface *iface, in netlbl_unlhsh_add_addr4() argument 249 ret_val = netlbl_af4list_add(&entry->list, &iface->addr4_list); in netlbl_unlhsh_add_addr4() 260 * @iface: the associated interface entry [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-net-statistics | 1 What: /sys/class/net/<iface>/statistics/collisions 9 What: /sys/class/net/<iface>/statistics/multicast 17 What: /sys/class/net/<iface>/statistics/rx_bytes 26 What: /sys/class/net/<iface>/statistics/rx_compressed 35 What: /sys/class/net/<iface>/statistics/rx_crc_errors 44 What: /sys/class/net/<iface>/statistics/rx_dropped 54 What: /sys/class/net/<iface>/statistics/rx_errors 62 What: /sys/class/net/<iface>/statistics/rx_fifo_errors 71 What: /sys/class/net/<iface>/statistics/rx_frame_errors 81 What: /sys/class/net/<iface>/statistics/rx_length_errors [all …]
|
H A D | sysfs-class-net | 1 What: /sys/class/net/<iface>/name_assign_type 15 What: /sys/class/net/<iface>/addr_assign_type 29 What: /sys/class/net/<iface>/addr_len 39 What: /sys/class/net/<iface>/address 48 What: /sys/class/net/<bridge iface>/bridge/group_fwd_mask 70 What: /sys/class/net/<iface>/broadcast 79 What: /sys/class/net/<iface>/carrier 96 What: /sys/class/net/<iface>/dev_id 106 What: /sys/class/net/<iface>/dev_port 124 What: /sys/class/net/<iface>/dormant [all …]
|
H A D | sysfs-class-net-cdc_ncm | 1 What: /sys/class/net/<iface>/cdc_ncm/min_tx_pkt 22 What: /sys/class/net/<iface>/cdc_ncm/ndp_to_end 41 What: /sys/class/net/<iface>/cdc_ncm/rx_max 57 What: /sys/class/net/<iface>/cdc_ncm/tx_max 69 What: /sys/class/net/<iface>/cdc_ncm/tx_timer_usecs 89 What: /sys/class/net/<iface>/cdc_ncm/bmNtbFormatsSupported 98 What: /sys/class/net/<iface>/cdc_ncm/dwNtbInMaxSize 105 What: /sys/class/net/<iface>/cdc_ncm/wNdpInDivisor 112 What: /sys/class/net/<iface>/cdc_ncm/wNdpInPayloadRemainder 121 What: /sys/class/net/<iface>/cdc_ncm/wNdpInAlignment [all …]
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_pci.c | 57 struct hostap_interface *iface; in hfa384x_outb_debug() local 62 iface = netdev_priv(dev); in hfa384x_outb_debug() 63 local = iface->local; in hfa384x_outb_debug() 74 struct hostap_interface *iface; in hfa384x_inb_debug() local 80 iface = netdev_priv(dev); in hfa384x_inb_debug() 81 local = iface->local; in hfa384x_inb_debug() 93 struct hostap_interface *iface; in hfa384x_outw_debug() local 98 iface = netdev_priv(dev); in hfa384x_outw_debug() 99 local = iface->local; in hfa384x_outw_debug() 110 struct hostap_interface *iface; in hfa384x_inw_debug() local [all …]
|
H A D | hostap_main.c | 51 struct hostap_interface *iface; in hostap_add_interface() local 58 iface = netdev_priv(dev); in hostap_add_interface() 59 iface->dev = dev; in hostap_add_interface() 60 iface->local = local; in hostap_add_interface() 61 iface->type = type; in hostap_add_interface() 62 list_add(&iface->list, &local->hostap_interfaces); in hostap_add_interface() 101 struct hostap_interface *iface; in hostap_remove_interface() local 106 iface = netdev_priv(dev); in hostap_remove_interface() 109 list_del(&iface->list); in hostap_remove_interface() 112 if (dev == iface->local->ddev) in hostap_remove_interface() [all …]
|
H A D | hostap_cs.c | 48 struct hostap_interface *iface; in hfa384x_outb_debug() local 52 iface = netdev_priv(dev); in hfa384x_outb_debug() 53 local = iface->local; in hfa384x_outb_debug() 62 struct hostap_interface *iface; in hfa384x_inb_debug() local 67 iface = netdev_priv(dev); in hfa384x_inb_debug() 68 local = iface->local; in hfa384x_inb_debug() 78 struct hostap_interface *iface; in hfa384x_outw_debug() local 82 iface = netdev_priv(dev); in hfa384x_outw_debug() 83 local = iface->local; in hfa384x_outw_debug() 92 struct hostap_interface *iface; in hfa384x_inw_debug() local [all …]
|
H A D | hostap_80211_tx.c | 64 struct hostap_interface *iface; in hostap_data_start_xmit() local 77 iface = netdev_priv(dev); in hostap_data_start_xmit() 78 local = iface->local; in hostap_data_start_xmit() 180 else if (iface->type == HOSTAP_INTERFACE_WDS) in hostap_data_start_xmit() 181 memcpy(&hdr.addr1, iface->u.wds.remote_addr, in hostap_data_start_xmit() 217 iface->stats.tx_dropped++; in hostap_data_start_xmit() 223 iface->stats.tx_dropped++; in hostap_data_start_xmit() 231 iface->stats.tx_dropped++; in hostap_data_start_xmit() 237 iface->stats.tx_dropped++; in hostap_data_start_xmit() 249 iface->stats.tx_packets++; in hostap_data_start_xmit() [all …]
|
/openbmc/inarp/ |
H A D | inarp.c | 208 struct interface *iface = &inarp->interfaces[i]; in find_interface_by_ifindex() local 209 if (iface->ifindex == ifindex) in find_interface_by_ifindex() 210 return iface; in find_interface_by_ifindex() 265 struct interface *iface) in netlink_nlmsg_dellink() argument 269 if (!iface) in netlink_nlmsg_dellink() 273 iface->ifname, eth_mac_to_str(&iface->eth_addr)); in netlink_nlmsg_dellink() 276 i = iface - inarp->interfaces; in netlink_nlmsg_dellink() 281 inarp->n_interfaces * sizeof(*iface)); in netlink_nlmsg_dellink() 282 memmove(iface, iface + 1, in netlink_nlmsg_dellink() 283 sizeof(*iface) * (inarp->n_interfaces - i)); in netlink_nlmsg_dellink() [all …]
|
/openbmc/linux/drivers/media/platform/amphion/ |
H A D | vpu_malone.c | 348 struct malone_iface *iface; in vpu_malone_init_rpc() local 358 iface = rpc->virt; in vpu_malone_init_rpc() 362 shared->iface = iface; in vpu_malone_init_rpc() 365 iface->exec_base_addr = base_phy_addr; in vpu_malone_init_rpc() 366 iface->exec_area_size = rpc->length; in vpu_malone_init_rpc() 371 shared->cmd_desc = &iface->cmd_buffer_desc.buffer; in vpu_malone_init_rpc() 373 iface->cmd_buffer_desc.buffer.start = in vpu_malone_init_rpc() 374 iface->cmd_buffer_desc.buffer.rptr = in vpu_malone_init_rpc() 375 iface->cmd_buffer_desc.buffer.wptr = phy_addr; in vpu_malone_init_rpc() 376 iface->cmd_buffer_desc.buffer.end = iface->cmd_buffer_desc.buffer.start + CMD_SIZE; in vpu_malone_init_rpc() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/ |
H A D | interfaces | 5 iface lo inet loopback 8 iface wlan0 inet dhcp 14 iface atml0 inet dhcp 18 iface eth0 inet dhcp 19 iface eth1 inet dhcp 23 iface eth inet dhcp 27 iface usb0 inet static 34 iface bnep0 inet dhcp
|
/openbmc/linux/drivers/staging/most/net/ |
H A D | net.c | 62 struct most_interface *iface; member 183 static void on_netinfo(struct most_interface *iface, 193 if (most_start_channel(nd->iface, nd->rx.ch_id, &comp)) { in most_nd_open() 199 if (most_start_channel(nd->iface, nd->tx.ch_id, &comp)) { in most_nd_open() 201 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_open() 212 if (nd->iface->request_netinfo) in most_nd_open() 213 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, on_netinfo); in most_nd_open() 225 if (nd->iface->request_netinfo) in most_nd_stop() 226 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, NULL); in most_nd_stop() 227 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_stop() [all …]
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_netiface.c | 4 /* Kernel module implementing an IP set type: the hash:net,iface type */ 34 IP_SET_MODULE_DESC("hash:net,iface", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX); 35 MODULE_ALIAS("ip_set_hash:net,iface"); 63 char iface[IFNAMSIZ]; member 78 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 : in hash_netiface4_data_equal() 79 strcmp(ip1->iface, ip2->iface) == 0); in hash_netiface4_data_equal() 118 nla_put_string(skb, IPSET_ATTR_IFACE, data->iface) || in hash_netiface4_data_list() 175 #define IFACE(dir) (par->state->dir ? par->state->dir->name : "") in hash_netiface4_kadt() macro 185 STRSCPY(e.iface, eiface); in hash_netiface4_kadt() 189 STRSCPY(e.iface, SRCDIR ? IFACE(in) : IFACE(out)); in hash_netiface4_kadt() [all …]
|
/openbmc/phosphor-inventory-manager/ |
H A D | serialize.hpp | 23 const std::string& iface) in getStoragePath() argument 27 p /= fs::path(iface).relative_path(); in getStoragePath() 38 * @param[in] iface - Inventory interface name 40 static void serialize(const std::string& path, const std::string& iface) in serialize() 42 auto p = detail::getStoragePath(path, iface); in serialize() 50 * @param[in] iface - Inventory interface name 54 static void serialize(const std::string& path, const std::string& iface, in serialize() 57 auto p = detail::getStoragePath(path, iface); in serialize() 72 * @param[in] iface - Inventory interface name 76 static void deserialize(const std::string& path, const std::string& iface, in deserialize() [all …]
|
H A D | functor.hpp | 131 * @param[in] iface - The DBus interface hosting the property. 140 std::vector<PathCondition>&& conditions, const char* iface, in setProperty() argument 147 return [paths, conditions = conditions, iface, member, in setProperty() 153 m.template invokeMethod<T>(p, iface, member, value); in setProperty() 169 * @param[in] iface - The DBus interface hosting the property. 176 inline auto getProperty(const char* path, const char* iface, U&& member, in getProperty() argument 179 return [path, iface, member, prop](auto& mgr) { in getProperty() 180 return mgr.template invokeMethod<T>(path, iface, member, prop); in getProperty() 200 PropertyChangedCondition(const char* iface, const char* property, in PropertyChangedCondition() 202 _iface(iface), _property(property), in PropertyChangedCondition() [all …]
|
/openbmc/phosphor-hwmon/ |
H A D | thresholds.hpp | 71 * @param[in] iface - An sdbusplus server threshold instance. 75 void checkThresholds(std::any& iface, SensorValueType value) in checkThresholds() argument 77 auto realIface = std::any_cast<std::shared_ptr<T>>(iface); in checkThresholds() 126 std::shared_ptr<T> iface; in addThreshold() local 134 iface = std::make_shared<T>(bus, objPath.c_str(), in addThreshold() 139 (*iface.*Thresholds<T>::setLo)(lo); in addThreshold() 140 auto alarmLowState = (*iface.*Thresholds<T>::getAlarmLow)(); in addThreshold() 141 (*iface.*Thresholds<T>::alarmLo)(value <= lo); in addThreshold() 146 (*iface.*Thresholds<T>::assertLowSignal)(value); in addThreshold() 150 (*iface.*Thresholds<T>::deassertLowSignal)(value); in addThreshold() [all …]
|