Home
last modified time | relevance | path

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

12345678910>>...23

/kernel/linux/linux-5.10/drivers/i2c/busses/
Dscx200_acb.c80 #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 …]
/kernel/linux/linux-5.10/sound/soc/meson/
Daxg-tdm-interface.c39 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_set_tdm_slots() local
56 iface->slots = slots; in axg_tdm_set_tdm_slots()
80 iface->slot_width = slot_width; in axg_tdm_set_tdm_slots()
102 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_iface_set_sysclk() local
106 if (!iface->mclk) { in axg_tdm_iface_set_sysclk()
109 ret = clk_set_rate(iface->mclk, freq); in axg_tdm_iface_set_sysclk()
111 iface->mclk_rate = freq; in axg_tdm_iface_set_sysclk()
120 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_iface_set_fmt() local
124 if (!iface->mclk) { in axg_tdm_iface_set_fmt()
141 iface->fmt = fmt; in axg_tdm_iface_set_fmt()
[all …]
/kernel/linux/linux-5.10/net/netlabel/
Dnetlabel_unlabeled.c149 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()
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()
271 static int netlbl_unlhsh_add_addr6(struct netlbl_unlhsh_iface *iface, in netlbl_unlhsh_add_addr6() argument
293 ret_val = netlbl_af6list_add(&entry->list, &iface->addr6_list); in netlbl_unlhsh_add_addr6()
315 struct netlbl_unlhsh_iface *iface; in netlbl_unlhsh_add_iface() local
[all …]
/kernel/linux/linux-5.10/drivers/most/
Dcore.c49 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 …]
Dmost_usb.c105 struct most_interface iface; member
124 #define to_mdev(d) container_of(d, struct most_dev, iface)
236 static int hdm_poison_channel(struct most_interface *iface, int channel) in hdm_poison_channel() argument
238 struct most_dev *mdev = to_mdev(iface); in hdm_poison_channel()
242 if (channel < 0 || channel >= iface->num_channels) { in hdm_poison_channel()
457 static int hdm_enqueue(struct most_interface *iface, int channel, in hdm_enqueue() argument
460 struct most_dev *mdev = to_mdev(iface); in hdm_enqueue()
469 if (iface->num_channels <= channel || channel < 0) in hdm_enqueue()
566 static int hdm_configure_channel(struct most_interface *iface, int channel, in hdm_configure_channel() argument
571 struct most_dev *mdev = to_mdev(iface); in hdm_configure_channel()
[all …]
/kernel/linux/linux-5.10/sound/usb/
Dquirks.c33 struct usb_interface *iface, in create_composite_quirk() argument
37 int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber; in create_composite_quirk()
42 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk()
43 if (!iface) in create_composite_quirk()
46 usb_interface_claimed(iface)) in create_composite_quirk()
48 err = snd_usb_create_quirk(chip, iface, driver, quirk); in create_composite_quirk()
54 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk()
55 if (!iface) in create_composite_quirk()
58 !usb_interface_claimed(iface)) { in create_composite_quirk()
59 err = usb_driver_claim_interface(driver, iface, in create_composite_quirk()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_pci.c58 struct hostap_interface *iface; in hfa384x_outb_debug() local
63 iface = netdev_priv(dev); in hfa384x_outb_debug()
64 local = iface->local; in hfa384x_outb_debug()
75 struct hostap_interface *iface; in hfa384x_inb_debug() local
81 iface = netdev_priv(dev); in hfa384x_inb_debug()
82 local = iface->local; in hfa384x_inb_debug()
94 struct hostap_interface *iface; in hfa384x_outw_debug() local
99 iface = netdev_priv(dev); in hfa384x_outw_debug()
100 local = iface->local; in hfa384x_outw_debug()
111 struct hostap_interface *iface; in hfa384x_inw_debug() local
[all …]
Dhostap_cs.c49 struct hostap_interface *iface; in hfa384x_outb_debug() local
53 iface = netdev_priv(dev); in hfa384x_outb_debug()
54 local = iface->local; in hfa384x_outb_debug()
63 struct hostap_interface *iface; in hfa384x_inb_debug() local
68 iface = netdev_priv(dev); in hfa384x_inb_debug()
69 local = iface->local; in hfa384x_inb_debug()
79 struct hostap_interface *iface; in hfa384x_outw_debug() local
83 iface = netdev_priv(dev); in hfa384x_outw_debug()
84 local = iface->local; in hfa384x_outw_debug()
93 struct hostap_interface *iface; in hfa384x_inw_debug() local
[all …]
Dhostap_80211_tx.c64 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 …]
Dhostap_main.c51 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 …]
Dhostap_ioctl.c19 struct hostap_interface *iface; in hostap_get_wireless_stats() local
23 iface = netdev_priv(dev); in hostap_get_wireless_stats()
24 local = iface->local; in hostap_get_wireless_stats()
27 if (iface->type != HOSTAP_INTERFACE_MAIN) in hostap_get_wireless_stats()
79 struct hostap_interface *iface; in prism2_get_datarates() local
85 iface = netdev_priv(dev); in prism2_get_datarates()
86 local = iface->local; in prism2_get_datarates()
129 struct hostap_interface *iface; in prism2_ioctl_siwencode() local
134 iface = netdev_priv(dev); in prism2_ioctl_siwencode()
135 local = iface->local; in prism2_ioctl_siwencode()
[all …]
Dhostap_plx.c111 struct hostap_interface *iface; in hfa384x_outb_debug() local
115 iface = netdev_priv(dev); in hfa384x_outb_debug()
116 local = iface->local; in hfa384x_outb_debug()
126 struct hostap_interface *iface; in hfa384x_inb_debug() local
131 iface = netdev_priv(dev); in hfa384x_inb_debug()
132 local = iface->local; in hfa384x_inb_debug()
143 struct hostap_interface *iface; in hfa384x_outw_debug() local
147 iface = netdev_priv(dev); in hfa384x_outw_debug()
148 local = iface->local; in hfa384x_outw_debug()
158 struct hostap_interface *iface; in hfa384x_inw_debug() local
[all …]
/kernel/linux/linux-5.10/include/linux/
Dmost.h241 int (*configure)(struct most_interface *iface, int channel_idx,
243 int (*enqueue)(struct most_interface *iface, int channel_idx,
245 int (*poison_channel)(struct most_interface *iface, int channel_idx);
246 void (*request_netinfo)(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);
[all …]
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
Dusb.c410 int i2400mu_probe(struct usb_interface *iface, in i2400mu_probe() argument
415 struct device *dev = &iface->dev; in i2400mu_probe()
418 struct usb_device *usb_dev = interface_to_usbdev(iface); in i2400mu_probe()
420 if (iface->cur_altsetting->desc.bNumEndpoints < 4) in i2400mu_probe()
440 i2400mu->usb_iface = iface; in i2400mu_probe()
441 usb_set_intfdata(iface, i2400mu); in i2400mu_probe()
490 iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */ in i2400mu_probe()
505 usb_set_intfdata(iface, NULL); in i2400mu_probe()
521 void i2400mu_disconnect(struct usb_interface *iface) in i2400mu_disconnect() argument
523 struct i2400mu *i2400mu = usb_get_intfdata(iface); in i2400mu_disconnect()
[all …]
/kernel/linux/linux-5.10/drivers/staging/most/net/
Dnet.c62 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 …]
/kernel/linux/linux-5.10/drivers/staging/most/sound/
Dsound.c45 struct most_interface *iface; member
60 struct most_interface *iface; member
169 static struct channel *get_channel(struct most_interface *iface, in get_channel() argument
172 struct sound_adapter *adpt = iface->priv; in get_channel()
176 if ((channel->iface == iface) && (channel->id == channel_id)) in get_channel()
247 (mbo = most_get_mbo(channel->iface, channel->id, in playback_thread()
291 ret = most_start_channel(channel->iface, channel->id, &comp); in pcm_open()
319 most_stop_channel(channel->iface, channel->id, &comp); in pcm_close()
521 static int audio_probe_channel(struct most_interface *iface, int channel_id, in audio_probe_channel() argument
546 if (adpt->iface != iface) in audio_probe_channel()
[all …]
/kernel/linux/linux-5.10/ipc/
Dutil.c141 struct ipc_proc_iface *iface; in ipc_init_proc_interface() local
143 iface = kmalloc(sizeof(*iface), GFP_KERNEL); in ipc_init_proc_interface()
144 if (!iface) in ipc_init_proc_interface()
146 iface->path = path; in ipc_init_proc_interface()
147 iface->header = header; in ipc_init_proc_interface()
148 iface->ids = ids; in ipc_init_proc_interface()
149 iface->show = show; in ipc_init_proc_interface()
155 iface); in ipc_init_proc_interface()
157 kfree(iface); in ipc_init_proc_interface()
742 struct ipc_proc_iface *iface; member
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-net-statistics1 What: /sys/class/<iface>/statistics/collisions
9 What: /sys/class/<iface>/statistics/multicast
17 What: /sys/class/<iface>/statistics/rx_bytes
26 What: /sys/class/<iface>/statistics/rx_compressed
35 What: /sys/class/<iface>/statistics/rx_crc_errors
44 What: /sys/class/<iface>/statistics/rx_dropped
54 What: /sys/class/<iface>/statistics/rx_errors
62 What: /sys/class/<iface>/statistics/rx_fifo_errors
71 What: /sys/class/<iface>/statistics/rx_frame_errors
81 What: /sys/class/<iface>/statistics/rx_length_errors
[all …]
Dsysfs-class-net1 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 …]
/kernel/linux/linux-5.10/sound/soc/codecs/
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 |= 0x0013; in wm8711_set_dai_fmt()
[all …]
Duda1380.c421 int iface; in uda1380_set_dai_fmt_both() local
424 iface = uda1380_read_reg_cache(component, UDA1380_IFACE); in uda1380_set_dai_fmt_both()
425 iface &= ~(R01_SFORI_MASK | R01_SIM | R01_SFORO_MASK); in uda1380_set_dai_fmt_both()
429 iface |= R01_SFORI_I2S | R01_SFORO_I2S; in uda1380_set_dai_fmt_both()
432 iface |= R01_SFORI_LSB16 | R01_SFORO_LSB16; in uda1380_set_dai_fmt_both()
435 iface |= R01_SFORI_MSB | R01_SFORO_MSB; in uda1380_set_dai_fmt_both()
442 uda1380_write_reg_cache(component, UDA1380_IFACE, iface); in uda1380_set_dai_fmt_both()
451 int iface; in uda1380_set_dai_fmt_playback() local
454 iface = uda1380_read_reg_cache(component, UDA1380_IFACE); in uda1380_set_dai_fmt_playback()
455 iface &= ~R01_SFORI_MASK; in uda1380_set_dai_fmt_playback()
[all …]
Dak4613.c93 const struct ak4613_interface *iface; member
253 priv->iface = NULL; in ak4613_dai_shutdown()
344 static bool ak4613_dai_fmt_matching(const struct ak4613_interface *iface, in ak4613_dai_fmt_matching() argument
350 fmts = (is_play) ? &iface->playback : &iface->capture; in ak4613_dai_fmt_matching()
367 const struct ak4613_interface *iface; in ak4613_dai_hw_params() local
404 iface = NULL; in ak4613_dai_hw_params()
407 if (priv->iface) { in ak4613_dai_hw_params()
408 if (ak4613_dai_fmt_matching(priv->iface, is_play, fmt, width)) in ak4613_dai_hw_params()
409 iface = priv->iface; in ak4613_dai_hw_params()
416 iface = ak4613_iface + i; in ak4613_dai_hw_params()
[all …]
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 = 0; in wm8776_hw_params()
[all …]
/kernel/linux/linux-5.10/net/netfilter/ipset/
Dip_set_hash_netiface.c62 char iface[IFNAMSIZ]; member
77 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 : in hash_netiface4_data_equal()
78 strcmp(ip1->iface, ip2->iface) == 0); in hash_netiface4_data_equal()
117 nla_put_string(skb, IPSET_ATTR_IFACE, data->iface) || in hash_netiface4_data_list()
184 STRLCPY(e.iface, eiface); in hash_netiface4_kadt()
188 STRLCPY(e.iface, SRCDIR ? IFACE(in) : IFACE(out)); in hash_netiface4_kadt()
191 if (strlen(e.iface) == 0) in hash_netiface4_kadt()
228 nla_strlcpy(e.iface, tb[IPSET_ATTR_IFACE], IFNAMSIZ); in hash_netiface4_uadt()
296 char iface[IFNAMSIZ]; member
311 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 : in hash_netiface6_data_equal()
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/obsolete/
Dsysfs-class-net-batman-adv4 What: /sys/class/net/<iface>/batman-adv/elp_interval
11 What: /sys/class/net/<iface>/batman-adv/iface_status
15 Indicates the status of <iface> as it is seen by batman.
17 What: /sys/class/net/<iface>/batman-adv/mesh_iface
21 The /sys/class/net/<iface>/batman-adv/mesh_iface file
22 displays the batman mesh interface this <iface>
25 What: /sys/class/net/<iface>/batman-adv/throughput_override

12345678910>>...23