Home
last modified time | relevance | path

Searched refs:iface (Results 176 - 200 of 1327) sorted by relevance

12345678910>>...54

/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dwm8971.c451 u16 iface = 0; in wm8971_set_dai_fmt() local
456 iface = 0x0040; in wm8971_set_dai_fmt()
467 iface |= 0x0002; in wm8971_set_dai_fmt()
472 iface |= 0x0001; in wm8971_set_dai_fmt()
475 iface |= 0x0003; in wm8971_set_dai_fmt()
478 iface |= 0x0013; in wm8971_set_dai_fmt()
489 iface |= 0x0090; in wm8971_set_dai_fmt()
492 iface |= 0x0080; in wm8971_set_dai_fmt()
495 iface |= 0x0010; in wm8971_set_dai_fmt()
501 snd_soc_component_write(component, WM8971_IFACE, iface); in wm8971_set_dai_fmt()
511 u16 iface = snd_soc_component_read(component, WM8971_IFACE) & 0x1f3; wm8971_pcm_hw_params() local
[all...]
H A Dwm8711.c161 u16 iface = snd_soc_component_read(component, WM8711_IFACE) & 0xfff3; in wm8711_hw_params() local
173 iface |= 0x0004; in wm8711_hw_params()
176 iface |= 0x0008; in wm8711_hw_params()
180 snd_soc_component_write(component, WM8711_IFACE, iface); in wm8711_hw_params()
242 u16 iface = snd_soc_component_read(component, WM8711_IFACE) & 0x000c; in wm8711_set_dai_fmt() local
247 iface |= 0x0040; in wm8711_set_dai_fmt()
258 iface |= 0x0002; in wm8711_set_dai_fmt()
263 iface |= 0x0001; in wm8711_set_dai_fmt()
266 iface |= 0x0003; in wm8711_set_dai_fmt()
269 iface | in wm8711_set_dai_fmt()
[all...]
H A Dwm8770.c347 int iface, master; in wm8770_set_fmt() local
362 iface = 0; in wm8770_set_fmt()
365 iface |= 0x2; in wm8770_set_fmt()
370 iface |= 0x1; in wm8770_set_fmt()
380 iface |= 0xc; in wm8770_set_fmt()
383 iface |= 0x8; in wm8770_set_fmt()
386 iface |= 0x4; in wm8770_set_fmt()
392 snd_soc_component_update_bits(component, WM8770_IFACECTRL, 0xf, iface); in wm8770_set_fmt()
414 int iface; in wm8770_hw_params() local
421 iface in wm8770_hw_params()
[all...]
H A Dwm8776.c167 int reg, iface, master; in wm8776_set_fmt() local
182 iface = 0; in wm8776_set_fmt()
196 iface |= 0x0002; in wm8776_set_fmt()
201 iface |= 0x0001; in wm8776_set_fmt()
211 iface |= 0x00c; in wm8776_set_fmt()
214 iface |= 0x008; in wm8776_set_fmt()
217 iface |= 0x004; in wm8776_set_fmt()
224 snd_soc_component_update_bits(component, reg, 0xf, iface); in wm8776_set_fmt()
245 int iface_reg, iface; in wm8776_hw_params() local
267 iface in wm8776_hw_params()
[all...]
H A Dalc5632.c816 u16 iface = 0; in alc5632_set_dai_fmt() local
821 iface = ALC5632_DAI_SDP_MASTER_MODE; in alc5632_set_dai_fmt()
824 iface = ALC5632_DAI_SDP_SLAVE_MODE; in alc5632_set_dai_fmt()
833 iface |= ALC5632_DAI_I2S_DF_I2S; in alc5632_set_dai_fmt()
836 iface |= ALC5632_DAI_I2S_DF_LEFT; in alc5632_set_dai_fmt()
839 iface |= ALC5632_DAI_I2S_DF_PCM_A; in alc5632_set_dai_fmt()
842 iface |= ALC5632_DAI_I2S_DF_PCM_B; in alc5632_set_dai_fmt()
853 iface |= ALC5632_DAI_MAIN_I2S_BCLK_POL_CTRL; in alc5632_set_dai_fmt()
856 iface |= ALC5632_DAI_MAIN_I2S_BCLK_POL_CTRL; in alc5632_set_dai_fmt()
864 return snd_soc_component_write(component, ALC5632_DAI_CONTROL, iface); in alc5632_set_dai_fmt()
872 u16 iface; alc5632_pcm_hw_params() local
[all...]
/kernel/linux/linux-5.10/sound/usb/
H A Dformat.c46 fp->iface, fp->altsetting, format); in parse_audio_format_i_type()
89 fp->iface, fp->altsetting); in parse_audio_format_i_type()
101 fp->iface, fp->altsetting, in parse_audio_format_i_type()
127 fp->iface, fp->altsetting, in parse_audio_format_i_type()
152 fp->iface, fp->altsetting, format); in parse_audio_format_i_type()
192 fp->iface, fp->altsetting); in parse_audio_format_rates_v1()
297 struct usb_interface *iface; in focusrite_valid_sample_rate() local
302 iface = usb_ifnum_to_if(chip->dev, fp->iface); in focusrite_valid_sample_rate()
303 if (!iface) in focusrite_valid_sample_rate()
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dwm8750.c521 u16 iface = 0; in wm8750_set_dai_fmt() local
526 iface = 0x0040; in wm8750_set_dai_fmt()
537 iface |= 0x0002; in wm8750_set_dai_fmt()
542 iface |= 0x0001; in wm8750_set_dai_fmt()
545 iface |= 0x0003; in wm8750_set_dai_fmt()
548 iface |= 0x0013; in wm8750_set_dai_fmt()
559 iface |= 0x0090; in wm8750_set_dai_fmt()
562 iface |= 0x0080; in wm8750_set_dai_fmt()
565 iface |= 0x0010; in wm8750_set_dai_fmt()
571 snd_soc_component_write(component, WM8750_IFACE, iface); in wm8750_set_dai_fmt()
581 u16 iface = snd_soc_component_read(component, WM8750_IFACE) & 0x1f3; wm8750_pcm_hw_params() local
[all...]
H A Dwm8731.c319 u16 iface = snd_soc_component_read(component, WM8731_IFACE) & 0xfff3; in wm8731_hw_params() local
333 iface |= 0x0004; in wm8731_hw_params()
336 iface |= 0x0008; in wm8731_hw_params()
339 iface |= 0x000c; in wm8731_hw_params()
345 snd_soc_component_write(component, WM8731_IFACE, iface); in wm8731_hw_params()
410 u16 iface = 0; in wm8731_set_dai_fmt() local
414 iface |= 0x0040; in wm8731_set_dai_fmt()
425 iface |= 0x0002; in wm8731_set_dai_fmt()
430 iface |= 0x0001; in wm8731_set_dai_fmt()
433 iface | in wm8731_set_dai_fmt()
[all...]
H A Dwm8971.c451 u16 iface = 0; in wm8971_set_dai_fmt() local
456 iface = 0x0040; in wm8971_set_dai_fmt()
467 iface |= 0x0002; in wm8971_set_dai_fmt()
472 iface |= 0x0001; in wm8971_set_dai_fmt()
475 iface |= 0x0003; in wm8971_set_dai_fmt()
478 iface |= 0x0013; in wm8971_set_dai_fmt()
489 iface |= 0x0090; in wm8971_set_dai_fmt()
492 iface |= 0x0080; in wm8971_set_dai_fmt()
495 iface |= 0x0010; in wm8971_set_dai_fmt()
501 snd_soc_component_write(component, WM8971_IFACE, iface); in wm8971_set_dai_fmt()
511 u16 iface = snd_soc_component_read(component, WM8971_IFACE) & 0x1f3; wm8971_pcm_hw_params() local
[all...]
H A Dwm8711.c161 u16 iface = snd_soc_component_read(component, WM8711_IFACE) & 0xfff3; in wm8711_hw_params() local
173 iface |= 0x0004; in wm8711_hw_params()
176 iface |= 0x0008; in wm8711_hw_params()
180 snd_soc_component_write(component, WM8711_IFACE, iface); in wm8711_hw_params()
242 u16 iface = snd_soc_component_read(component, WM8711_IFACE) & 0x000c; in wm8711_set_dai_fmt() local
247 iface |= 0x0040; in wm8711_set_dai_fmt()
258 iface |= 0x0002; in wm8711_set_dai_fmt()
263 iface |= 0x0001; in wm8711_set_dai_fmt()
266 iface |= 0x0003; in wm8711_set_dai_fmt()
269 iface | in wm8711_set_dai_fmt()
[all...]
H A Dwm8770.c347 int iface, master; in wm8770_set_fmt() local
362 iface = 0; in wm8770_set_fmt()
365 iface |= 0x2; in wm8770_set_fmt()
370 iface |= 0x1; in wm8770_set_fmt()
380 iface |= 0xc; in wm8770_set_fmt()
383 iface |= 0x8; in wm8770_set_fmt()
386 iface |= 0x4; in wm8770_set_fmt()
392 snd_soc_component_update_bits(component, WM8770_IFACECTRL, 0xf, iface); in wm8770_set_fmt()
414 int iface; in wm8770_hw_params() local
421 iface in wm8770_hw_params()
[all...]
H A Dwm8776.c167 int reg, iface, master; in wm8776_set_fmt() local
182 iface = 0; in wm8776_set_fmt()
196 iface |= 0x0002; in wm8776_set_fmt()
201 iface |= 0x0001; in wm8776_set_fmt()
211 iface |= 0x00c; in wm8776_set_fmt()
214 iface |= 0x008; in wm8776_set_fmt()
217 iface |= 0x004; in wm8776_set_fmt()
224 snd_soc_component_update_bits(component, reg, 0xf, iface); in wm8776_set_fmt()
245 int iface_reg, iface; in wm8776_hw_params() local
267 iface in wm8776_hw_params()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dap.c251 struct wpa_supplicant *iface; in wpa_supplicant_conf_ap_ht() local
253 for (iface = wpa_s->global->ifaces; iface; iface = iface->next) in wpa_supplicant_conf_ap_ht()
255 if (iface == wpa_s || in wpa_supplicant_conf_ap_ht()
256 iface->wpa_state < WPA_AUTHENTICATING || in wpa_supplicant_conf_ap_ht()
257 (int) iface->assoc_freq != ssid->frequency) in wpa_supplicant_conf_ap_ht()
286 os_strlcpy(bss->iface, wpa_s->ifname, sizeof(bss->iface)); in wpa_supplicant_conf_ap()
1339 struct hostapd_iface *iface = wpa_s->ap_iface; wpa_supplicant_ap_update_beacon() local
1397 struct hostapd_iface *iface = wpa_s->ap_iface; wpas_ap_ch_switch() local
1603 struct hostapd_iface *iface = wpa_s->ap_iface; wpas_ap_event_dfs_radar_detected() local
1620 struct hostapd_iface *iface = wpa_s->ap_iface; wpas_ap_event_dfs_cac_started() local
1636 struct hostapd_iface *iface = wpa_s->ap_iface; wpas_ap_event_dfs_cac_finished() local
1652 struct hostapd_iface *iface = wpa_s->ap_iface; wpas_ap_event_dfs_cac_aborted() local
1668 struct hostapd_iface *iface = wpa_s->ap_iface; wpas_ap_event_dfs_cac_nop_finished() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwpa_auth_glue.c280 HostapdEventReport(hapd->conf->iface, HOSTAPD_EVENT_AP_STATE, (void *) &hostapdApCbParm); in hostapd_wpa_auth_psk_failure_report()
459 const char *ifname = hapd->conf->iface; in hostapd_wpa_auth_set_key()
464 if (!(hapd->iface->drv_flags & in hostapd_wpa_auth_set_key()
467 ifname = hapd->conf->iface; in hostapd_wpa_auth_set_key()
521 return hostapd_get_seqnum(hapd->conf->iface, hapd, addr, idx, seq); in hostapd_wpa_auth_get_seqnum()
577 static int wpa_auth_iface_iter(struct hostapd_iface *iface, void *ctx) in wpa_auth_iface_iter() argument
581 for (i = 0; i < iface->num_bss; i++) { in wpa_auth_iface_iter()
582 if (iface->bss[i]->wpa_auth && in wpa_auth_iface_iter()
583 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) in wpa_auth_iface_iter()
596 if (hapd->iface in hostapd_wpa_auth_for_each_auth()
641 hostapd_wpa_auth_ft_iter(struct hostapd_iface *iface, void *ctx) hostapd_wpa_auth_ft_iter() argument
820 hostapd_wpa_auth_oui_iter(struct hostapd_iface *iface, void *ctx) hostapd_wpa_auth_oui_iter() argument
[all...]
/third_party/node/lib/internal/readline/
H A DemitKeypressEvents.js34 function emitKeypressEvents(stream, iface = {}) {
43 const { escapeCodeTimeout = ESCAPE_CODE_TIMEOUT } = iface;
53 iface[kSawKeyPress] = charLengthAt(string, 0) === string.length;
54 iface.isCompletionEnabled = false;
60 iface.isCompletionEnabled = true;
/kernel/linux/linux-5.10/drivers/net/can/c_can/
H A Dc_can.c49 #define C_CAN_IFACE(reg, iface) (C_CAN_IF1_##reg + (iface) * IF_ENUM_REG_LEN)
243 static void c_can_obj_update(struct net_device *dev, int iface, u32 cmd, u32 obj) in c_can_obj_update() argument
246 int cnt, reg = C_CAN_IFACE(COMREQ_REG, iface); in c_can_obj_update()
259 static inline void c_can_object_get(struct net_device *dev, int iface, in c_can_object_get() argument
262 c_can_obj_update(dev, iface, cmd, obj); in c_can_object_get()
265 static inline void c_can_object_put(struct net_device *dev, int iface, in c_can_object_put() argument
268 c_can_obj_update(dev, iface, cmd | IF_COMM_WR, obj); in c_can_object_put()
276 static void c_can_inval_tx_object(struct net_device *dev, int iface, int obj) in c_can_inval_tx_object() argument
280 priv->write_reg(priv, C_CAN_IFACE(MSGCTRL_REG, iface), in c_can_inval_tx_object()
284 c_can_inval_msg_object(struct net_device *dev, int iface, int obj) c_can_inval_msg_object() argument
293 c_can_setup_tx_object(struct net_device *dev, int iface, struct can_frame *frame, int idx) c_can_setup_tx_object() argument
347 c_can_handle_lost_msg_obj(struct net_device *dev, int iface, int objno, u32 ctrl) c_can_handle_lost_msg_obj() argument
374 c_can_read_msg_object(struct net_device *dev, int iface, u32 ctrl) c_can_read_msg_object() argument
426 c_can_setup_receive_object(struct net_device *dev, int iface, u32 obj, u32 mask, u32 id, u32 mcont) c_can_setup_receive_object() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwpa_auth_glue.c363 const char *ifname = hapd->conf->iface; in hostapd_wpa_auth_set_key()
411 return hostapd_get_seqnum(hapd->conf->iface, hapd, addr, idx, seq); in hostapd_wpa_auth_get_seqnum()
467 static int wpa_auth_iface_iter(struct hostapd_iface *iface, void *ctx) in wpa_auth_iface_iter() argument
471 for (i = 0; i < iface->num_bss; i++) { in wpa_auth_iface_iter()
472 if (iface->bss[i]->wpa_auth && in wpa_auth_iface_iter()
473 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) in wpa_auth_iface_iter()
486 if (hapd->iface->interfaces == NULL || in hostapd_wpa_auth_for_each_auth()
487 hapd->iface->interfaces->for_each_interface == NULL) in hostapd_wpa_auth_for_each_auth()
491 return hapd->iface->interfaces->for_each_interface( in hostapd_wpa_auth_for_each_auth()
492 hapd->iface in hostapd_wpa_auth_for_each_auth()
531 hostapd_wpa_auth_ft_iter(struct hostapd_iface *iface, void *ctx) hostapd_wpa_auth_ft_iter() argument
708 hostapd_wpa_auth_oui_iter(struct hostapd_iface *iface, void *ctx) hostapd_wpa_auth_oui_iter() argument
[all...]
H A Dap_drv_ops.c97 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 || in hostapd_build_ap_extra_ies()
98 add_buf(&proberesp, hapd->iface->fst_ies) < 0 || in hostapd_build_ap_extra_ies()
99 add_buf(&assocresp, hapd->iface->fst_ies) < 0) in hostapd_build_ap_extra_ies()
549 struct hostapd_hw_modes *cmode = hapd->iface->current_mode; in hostapd_set_freq()
792 int hostapd_start_dfs_cac(struct hostapd_iface *iface, in hostapd_start_dfs_cac() argument
799 struct hostapd_data *hapd = iface->bss[0]; in hostapd_start_dfs_cac()
802 struct hostapd_hw_modes *cmode = iface->current_mode; in hostapd_start_dfs_cac()
807 if (!iface->conf->ieee80211h) { in hostapd_start_dfs_cac()
825 iface->cac_started = 1; in hostapd_start_dfs_cac()
826 os_get_reltime(&iface in hostapd_start_dfs_cac()
864 hostapd_get_ext_capa(struct hostapd_iface *iface) hostapd_get_ext_capa() argument
[all...]
/third_party/libwebsockets/lib/core-net/
H A Dnetwork.c201 * LWS_ITOSA_NOT_EXIST: the requested iface does not even exist
202 * LWS_ITOSA_NOT_USABLE: the requested iface exists but is not usable (eg, no IP)
203 * LWS_ITOSA_BUSY: the port at the requested iface + port is already in use
208 lws_sockfd_type sockfd, int port, const char *iface, in lws_socket_bind()
240 if (!iface) in lws_socket_bind()
242 if (sizeof(serv_unix.sun_path) <= strlen(iface)) { in lws_socket_bind()
244 iface); in lws_socket_bind()
247 n = (int)(sizeof(uint16_t) + strlen(iface)); in lws_socket_bind()
248 strcpy(serv_unix.sun_path, iface); in lws_socket_bind()
264 if (iface) { in lws_socket_bind()
207 lws_socket_bind(struct lws_vhost *vhost, struct lws *wsi, lws_sockfd_type sockfd, int port, const char *iface, int af) lws_socket_bind() argument
[all...]
/third_party/ltp/testcases/network/stress/route/
H A Droute-change-if.sh26 local iface="$(tst_iface lhost $link_num)"
28 tst_res TINFO "testing route over interface '$iface' with gateway '$gw'"
32 ROD ip route add $rt dev $iface via $gw
34 ROD ip route del $rt dev $iface via $gw
/kernel/linux/linux-5.10/net/appletalk/
H A Datalk_proc.c61 struct atalk_iface *iface; in atalk_seq_interface_show() local
69 iface = v; in atalk_seq_interface_show()
71 iface->dev->name, ntohs(iface->address.s_net), in atalk_seq_interface_show()
72 iface->address.s_node, ntohs(iface->nets.nr_firstnet), in atalk_seq_interface_show()
73 ntohs(iface->nets.nr_lastnet), iface->status); in atalk_seq_interface_show()
/kernel/linux/linux-6.6/net/appletalk/
H A Datalk_proc.c61 struct atalk_iface *iface; in atalk_seq_interface_show() local
69 iface = v; in atalk_seq_interface_show()
71 iface->dev->name, ntohs(iface->address.s_net), in atalk_seq_interface_show()
72 iface->address.s_node, ntohs(iface->nets.nr_firstnet), in atalk_seq_interface_show()
73 ntohs(iface->nets.nr_lastnet), iface->status); in atalk_seq_interface_show()
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_handle_request.c152 struct usb_interface *iface, uint8_t alt_index) in usb_check_alt_setting()
160 if (alt_index >= usbd_get_no_alts(udev->cdesc, iface->idesc)) in usb_check_alt_setting()
181 struct usb_interface *iface; in usb_handle_iface_request() local
207 iface = usbd_get_iface(udev, iface_index); in usb_handle_iface_request()
208 if ((iface == NULL) || in usb_handle_iface_request()
209 (iface->idesc == NULL)) { in usb_handle_iface_request()
221 (iface->subdev != NULL) && in usb_handle_iface_request()
222 device_is_attached(iface->subdev)) { in usb_handle_iface_request()
223 error = USB_HANDLE_REQUEST(iface->subdev, in usb_handle_iface_request()
227 iface_parent = usbd_get_iface(udev, iface in usb_handle_iface_request()
151 usb_check_alt_setting(struct usb_device *udev, struct usb_interface *iface, uint8_t alt_index) usb_check_alt_setting() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/can/c_can/
H A Dc_can_main.c48 #define C_CAN_IFACE(reg, iface) (C_CAN_IF1_##reg + (iface) * IF_ENUM_REG_LEN)
235 static void c_can_obj_update(struct net_device *dev, int iface, u32 cmd, u32 obj) in c_can_obj_update() argument
238 int cnt, reg = C_CAN_IFACE(COMREQ_REG, iface); in c_can_obj_update()
250 static inline void c_can_object_get(struct net_device *dev, int iface, in c_can_object_get() argument
253 c_can_obj_update(dev, iface, cmd, obj); in c_can_object_get()
256 static inline void c_can_object_put(struct net_device *dev, int iface, in c_can_object_put() argument
259 c_can_obj_update(dev, iface, cmd | IF_COMM_WR, obj); in c_can_object_put()
266 static void c_can_inval_tx_object(struct net_device *dev, int iface, int obj) in c_can_inval_tx_object() argument
270 priv->write_reg(priv, C_CAN_IFACE(MSGCTRL_REG, iface), in c_can_inval_tx_object()
274 c_can_inval_msg_object(struct net_device *dev, int iface, int obj) c_can_inval_msg_object() argument
282 c_can_setup_tx_object(struct net_device *dev, int iface, struct can_frame *frame, int idx) c_can_setup_tx_object() argument
335 c_can_handle_lost_msg_obj(struct net_device *dev, int iface, int objno, u32 ctrl) c_can_handle_lost_msg_obj() argument
362 c_can_read_msg_object(struct net_device *dev, int iface, u32 ctrl) c_can_read_msg_object() argument
414 c_can_setup_receive_object(struct net_device *dev, int iface, u32 obj, u32 mask, u32 id, u32 mcont) c_can_setup_receive_object() argument
[all...]
/third_party/toybox/toys/pending/
H A Darping.c38 char *iface;
207 if (!(toys.optflags & FLAG_I)) TT.iface = "eth0"; in arping_main()
211 xstrncpy(ifr.ifr_name, TT.iface, IFNAMSIZ); in arping_main()
212 get_interface(TT.iface, &if_index, NULL, NULL); in arping_main()
217 error_exit("Interface \"%s\" is down", TT.iface); in arping_main()
220 xprintf("Interface \"%s\" is not ARPable\n", TT.iface); in arping_main()
238 if (setsockopt(p_fd, SOL_SOCKET, SO_BINDTODEVICE, TT.iface, in arping_main()
239 strlen(TT.iface))) perror_exit("setsockopt"); in arping_main()
252 get_interface(TT.iface, NULL, &oip, NULL); in arping_main()
271 xprintf(" from %s via %s\n", inet_ntoa(src_addr), TT.iface); in arping_main()
[all...]

Completed in 19 milliseconds

12345678910>>...54