Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 25 of 859) sorted by relevance

12345678910>>...35

/openbmc/linux/drivers/i2c/busses/
H A Dscx200_acb.c186 --iface->len; in scx200_acb_machine()
199 --iface->len; in scx200_acb_machine()
209 scx200_acb_state_name[iface->state], iface->address_byte, in scx200_acb_machine()
326 iface->len = len; in scx200_acb_smbus_xfer()
421 iface = kzalloc(sizeof(*iface), GFP_KERNEL); in scx200_create_iface()
422 if (!iface) in scx200_create_iface()
435 return iface; in scx200_create_iface()
489 return iface; in scx200_create_dev()
493 kfree(iface); in scx200_create_dev()
509 if (!iface) in scx200_probe()
[all …]
/openbmc/u-boot/include/
H A Dspartan3.h77 #define XILINX_XC3S50_DESC(iface, fn_table, cookie) \ argument
81 #define XILINX_XC3S200_DESC(iface, fn_table, cookie) \ argument
85 #define XILINX_XC3S400_DESC(iface, fn_table, cookie) \ argument
89 #define XILINX_XC3S1000_DESC(iface, fn_table, cookie) \ argument
93 #define XILINX_XC3S1500_DESC(iface, fn_table, cookie) \ argument
97 #define XILINX_XC3S2000_DESC(iface, fn_table, cookie) \ argument
101 #define XILINX_XC3S4000_DESC(iface, fn_table, cookie) \ argument
105 #define XILINX_XC3S5000_DESC(iface, fn_table, cookie) \ argument
110 #define XILINX_XC3S100E_DESC(iface, fn_table, cookie) \ argument
114 #define XILINX_XC3S250E_DESC(iface, fn_table, cookie) \ argument
[all …]
H A Dvirtex2.h64 #define XILINX_XC2V40_DESC(iface, fn_table, cookie) \ argument
68 #define XILINX_XC2V80_DESC(iface, fn_table, cookie) \ argument
72 #define XILINX_XC2V250_DESC(iface, fn_table, cookie) \ argument
76 #define XILINX_XC2V500_DESC(iface, fn_table, cookie) \ argument
80 #define XILINX_XC2V1000_DESC(iface, fn_table, cookie) \ argument
84 #define XILINX_XC2V1500_DESC(iface, fn_table, cookie) \ argument
88 #define XILINX_XC2V2000_DESC(iface, fn_table, cookie) \ argument
92 #define XILINX_XC2V3000_DESC(iface, fn_table, cookie) \ argument
96 #define XILINX_XC2V4000_DESC(iface, fn_table, cookie) \ argument
100 #define XILINX_XC2V6000_DESC(iface, fn_table, cookie) \ argument
[all …]
H A Dspartan2.h67 #define XILINX_XC2S15_DESC(iface, fn_table, cookie) \ argument
71 #define XILINX_XC2S30_DESC(iface, fn_table, cookie) \ argument
75 #define XILINX_XC2S50_DESC(iface, fn_table, cookie) \ argument
79 #define XILINX_XC2S100_DESC(iface, fn_table, cookie) \ argument
83 #define XILINX_XC2S150_DESC(iface, fn_table, cookie) \ argument
87 #define XILINX_XC2S200_DESC(iface, fn_table, cookie) \ argument
91 #define XILINX_XC2S50E_DESC(iface, fn_table, cookie) \ argument
95 #define XILINX_XC2S100E_DESC(iface, fn_table, cookie) \ argument
99 #define XILINX_XC2S150E_DESC(iface, fn_table, cookie) \ argument
103 #define XILINX_XC2S200E_DESC(iface, fn_table, cookie) \ argument
[all …]
/openbmc/linux/sound/soc/meson/
H A Daxg-tdm-interface.c57 iface->slots = slots; in axg_tdm_set_tdm_slots()
107 if (!iface->mclk) { in axg_tdm_iface_set_sysclk()
125 if (!iface->mclk) { in axg_tdm_iface_set_fmt()
142 iface->fmt = fmt; in axg_tdm_iface_set_fmt()
163 iface->rate); in axg_tdm_iface_startup()
168 MAX_SCLK / (iface->slots * iface->slot_width); in axg_tdm_iface_startup()
275 srate = iface->slots * iface->slot_width * params_rate(params); in axg_tdm_iface_set_sclk()
277 if (!iface->mclk_rate) { in axg_tdm_iface_set_sclk()
320 iface->slots); in axg_tdm_iface_hw_params()
514 iface = devm_kzalloc(dev, sizeof(*iface), GFP_KERNEL); in axg_tdm_iface_probe()
[all …]
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-network/network/static-mac-addr/
H A Dmac-check20 local iface="$1"
25 local iface="$1"
27 ip link show dev "$iface" | grep -q "${iface}:.*\<UP\>" 2>/dev/null
30 ip link set dev "$iface" address "$mac"
35 local iface="$1"
50 local iface="$1"
52 if [ "$iface" = "eth1" ];then
78 local iface="$1"
83 hw_mac=$(read_hw_mac "$iface")
93 set_hw_mac "$iface" "$eeprom_mac"
[all …]
/openbmc/linux/fs/smb/server/
H A Dtransport_tcp.c233 if (!iface->ksmbd_socket) { in ksmbd_kthread_fn()
283 iface->name); in ksmbd_tcp_run_kthread()
511 struct interface *iface; in ksmbd_netdev_event() local
532 if (!iface) in ksmbd_netdev_event()
590 list_del(&iface->entry); in ksmbd_tcp_destroy()
591 kfree(iface->name); in ksmbd_tcp_destroy()
592 kfree(iface); in ksmbd_tcp_destroy()
598 struct interface *iface; in alloc_iface() local
604 if (!iface) { in alloc_iface()
609 iface->name = ifname; in alloc_iface()
[all …]
/openbmc/linux/net/netlabel/
H A Dnetlabel_unlabeled.c172 kfree(iface); in netlbl_unlhsh_free_iface()
317 iface = kzalloc(sizeof(*iface), GFP_ATOMIC); in netlbl_unlhsh_add_iface()
324 iface->valid = 1; in netlbl_unlhsh_add_iface()
341 return iface; in netlbl_unlhsh_add_iface()
345 kfree(iface); in netlbl_unlhsh_add_iface()
710 if (iface != NULL && iface->valid) { in netlbl_unlhsh_netdev_handler()
714 iface = NULL; in netlbl_unlhsh_netdev_handler()
1196 iface, in netlbl_unlabel_staticlist()
1214 iface, in netlbl_unlabel_staticlist()
1268 if (iface == NULL || !iface->valid) in netlbl_unlabel_staticlistdef()
[all …]
/openbmc/linux/drivers/most/
H A Dcore.c776 typeof(c->iface->enqueue) enqueue = c->iface->enqueue; in hdm_enqueue_thread()
1111 if (c->iface->configure(c->iface, c->channel_id, &c->cfg)) { in most_start_channel()
1181 if (iface->mod) in most_stop_channel()
1185 if (c->iface->poison_channel(c->iface, c->channel_id)) { in most_stop_channel()
1285 if (!iface || !iface->enqueue || !iface->configure || in most_register_interface()
1295 iface->p = kzalloc(sizeof(*iface->p), GFP_KERNEL); in most_register_interface()
1296 if (!iface->p) { in most_register_interface()
1303 strscpy(iface->p->name, iface->description, sizeof(iface->p->name)); in most_register_interface()
1306 dev_set_drvdata(iface->dev, iface); in most_register_interface()
1331 c->iface = iface; in most_register_interface()
[all …]
/openbmc/inarp/
H A Dinarp.c210 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()
282 memmove(iface, iface + 1, in netlink_nlmsg_dellink()
296 if (!iface) { in netlink_nlmsg_newlink()
304 memset(iface, 0, sizeof(*iface)); in netlink_nlmsg_newlink()
324 iface->ifname, in netlink_nlmsg_newlink()
331 struct interface *iface; in netlink_nlmsg() local
374 struct interface *iface; in arp_recv() local
[all …]
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_pci.c62 iface = netdev_priv(dev); in hfa384x_outb_debug()
63 local = iface->local; in hfa384x_outb_debug()
80 iface = netdev_priv(dev); in hfa384x_inb_debug()
81 local = iface->local; in hfa384x_inb_debug()
98 iface = netdev_priv(dev); in hfa384x_outw_debug()
99 local = iface->local; in hfa384x_outw_debug()
116 iface = netdev_priv(dev); in hfa384x_inw_debug()
117 local = iface->local; in hfa384x_inw_debug()
140 iface = netdev_priv(dev); in hfa384x_outb()
149 iface = netdev_priv(dev); in hfa384x_inb()
[all …]
H A Dhostap_cs.c52 iface = netdev_priv(dev); in hfa384x_outb_debug()
53 local = iface->local; in hfa384x_outb_debug()
67 iface = netdev_priv(dev); in hfa384x_inb_debug()
68 local = iface->local; in hfa384x_inb_debug()
83 local = iface->local; in hfa384x_outw_debug()
98 local = iface->local; in hfa384x_inw_debug()
114 local = iface->local; in hfa384x_outsw_debug()
129 local = iface->local; in hfa384x_insw_debug()
512 local = iface->local; in prism2_config()
582 if (iface && iface->local) in hostap_cs_suspend()
[all …]
H A Dhostap_80211_tx.c77 iface = netdev_priv(dev); in hostap_data_start_xmit()
78 local = iface->local; in hostap_data_start_xmit()
249 iface->stats.tx_packets++; in hostap_data_start_xmit()
259 meta->iface = iface; in hostap_data_start_xmit()
278 iface = netdev_priv(dev); in hostap_mgmt_start_xmit()
279 local = iface->local; in hostap_mgmt_start_xmit()
288 iface->stats.tx_packets++; in hostap_mgmt_start_xmit()
294 meta->iface = iface; in hostap_mgmt_start_xmit()
324 local = iface->local; in hostap_tx_encrypt()
395 iface = netdev_priv(dev); in hostap_master_start_xmit()
[all …]
H A Dhostap_main.c58 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()
109 list_del(&iface->list); in hostap_remove_interface()
153 empty = iface; in prism2_wds_add()
155 match = iface; in prism2_wds_add()
213 selected = iface; in prism2_wds_del()
606 local = iface->local; in prism2_close()
845 if (iface) { in hostap_setup_dev()
[all …]
H A Dhostap_ioctl.c23 iface = netdev_priv(dev); in hostap_get_wireless_stats()
24 local = iface->local; in hostap_get_wireless_stats()
75 local = iface->local; in prism2_get_datarates()
125 local = iface->local; in prism2_ioctl_siwencode()
229 local = iface->local; in prism2_ioctl_giwencode()
287 local = iface->local; in hostap_set_rate()
333 local = iface->local; in prism2_ioctl_siwrate()
396 local = iface->local; in prism2_ioctl_giwrate()
454 local = iface->local; in prism2_ioctl_siwsens()
477 local = iface->local; in prism2_ioctl_giwsens()
[all …]
/openbmc/linux/include/linux/
H A Dmost.h241 int (*configure)(struct most_interface *iface, int channel_idx,
243 int (*enqueue)(struct most_interface *iface, int channel_idx,
247 void (*on_netinfo)(struct most_interface *iface,
267 int (*probe_channel)(struct most_interface *iface, int channel_idx,
270 int (*disconnect_channel)(struct most_interface *iface,
273 int (*tx_completion)(struct most_interface *iface, int channel_idx);
286 int most_register_interface(struct most_interface *iface);
292 void most_deregister_interface(struct most_interface *iface);
316 int channel_has_mbo(struct most_interface *iface, int channel_idx,
318 int most_start_channel(struct most_interface *iface, int channel_idx,
[all …]
/openbmc/phosphor-inventory-manager/
H A Dfunctor.hpp147 return [paths, conditions = conditions, iface, member, in setProperty()
179 return [path, iface, member, prop](auto& mgr) { in getProperty()
202 _iface(iface), in PropertyChangedCondition()
215 const char* iface = nullptr; in operator ()() local
217 msg.read(iface); in operator ()()
218 if (!iface || strcmp(iface, _iface)) in operator ()()
268 PropertyConditionBase(const char* path, const char* iface, in PropertyConditionBase()
271 _iface(iface), _property(property), _service(service) in PropertyConditionBase()
340 PropertyConditionBase(path, iface, property, service), in PropertyCondition()
386 return PropertyChangedCondition<T, U>(iface, property, in propertyChangedTo()
[all …]
H A Dgen_serialization.mako.hpp12 % for iface in interfaces:
16 % for iface in interfaces:
17 <% properties = interface_composite.names(str(iface)) %>\
18 CEREAL_CLASS_VERSION(${iface.namespace()}, CLASS_VERSION);
30 % for iface in interfaces:
31 <% properties = interface_composite.names(str(iface)) %>\
34 const ${iface.namespace()}& object,
46 ${iface.namespace()}& object,
H A Dinterface_ops.hpp93 auto& iface = *std::any_cast<std::shared_ptr<T>&>(holder); in op() local
94 auto property = iface.getPropertyByName(propertyName); in op()
110 auto& iface = *std::any_cast<std::shared_ptr<T>&>(holder); in op() local
113 iface.setPropertyByName( in op()
124 static void op(const std::string& path, const std::string& iface, in op()
127 Ops::serialize(path, iface); in op()
134 static void op(const std::string& path, const std::string& iface, in op()
138 Ops::serialize(path, iface, object); in op()
147 Ops::deserialize(path, iface); in op()
154 static void op(const std::string& path, const std::string& iface, in op()
[all …]
/openbmc/phosphor-hwmon/
H A Dthresholds.hpp75 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()
141 (*iface.*Thresholds<T>::alarmLo)(value <= lo); in addThreshold()
146 (*iface.*Thresholds<T>::assertLowSignal)(value); in addThreshold()
157 (*iface.*Thresholds<T>::setHi)(hi); in addThreshold()
159 (*iface.*Thresholds<T>::alarmHi)(value >= hi); in addThreshold()
173 obj[type] = iface; in addThreshold()
[all …]
H A Dsensor.cpp193 iface->value(val); in addValue()
206 obj[InterfaceType::VALUE] = iface; in addValue()
207 return iface; in addValue()
259 iface->functional(functional); in addStatus()
261 obj[InterfaceType::STATUS] = iface; in addStatus()
263 return iface; in addStatus()
276 iface->accuracy(accuracy); in addAccuracy()
277 obj[InterfaceType::ACCURACY] = iface; in addAccuracy()
279 return iface; in addAccuracy()
292 iface->priority(priority); in addPriority()
[all …]
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-yadro/fru/vegman-fru-handler/
H A Dbaseboard-fru-handler.sh15 local iface="$1"
16 cat /sys/class/net/"${iface}"/address 2>/dev/null ||:
20 local iface="$1"
23 if ip link show dev "${iface}" | grep -q "${iface}:.*\<UP\>" 2>/dev/null; then
28 ip link set dev "${iface}" down ||:
30 ip link set dev "${iface}" address "${mac}" ||:
32 ip link set dev "${iface}" up ||:
37 local iface="$1"
40 case "${iface}" in
/openbmc/linux/drivers/staging/most/net/
H A Dnet.c62 struct most_interface *iface; member
213 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, on_netinfo); in most_nd_open()
226 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, NULL); in most_nd_stop()
285 if (nd->iface == iface) in get_net_dev()
296 nd = get_net_dev(iface); in get_net_dev_hold()
315 if (!iface) in comp_probe_channel()
322 nd = get_net_dev(iface); in comp_probe_channel()
332 nd->iface = iface; in comp_probe_channel()
371 nd = get_net_dev(iface); in comp_disconnect_channel()
414 nd = get_net_dev_hold(iface); in comp_resume_tx_channel()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/
H A Dinterfaces5 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/media/platform/amphion/
H A Dvpu_malone.c362 shared->iface = iface; in vpu_malone_init_rpc()
447 struct malone_iface *iface = shared->iface; in vpu_malone_set_log_buf() local
463 struct malone_iface *iface = shared->iface; in vpu_malone_set_system_cfg() local
479 struct malone_iface *iface = shared->iface; in vpu_malone_get_version() local
496 struct malone_iface *iface = shared->iface; in vpu_malone_config_stream_buffer() local
617 struct malone_iface *iface = shared->iface; in vpu_malone_set_stream_cfg() local
643 struct malone_iface *iface = shared->iface; in vpu_malone_set_params() local
680 struct malone_iface *iface = shared->iface; in vpu_malone_is_non_frame_mode() local
692 struct malone_iface *iface = shared->iface; in vpu_malone_update_params() local
1655 struct malone_iface *iface = shared->iface; in vpu_malone_check_ready() local
[all …]

12345678910>>...35