/linux/drivers/i2c/busses/ |
A D | scx200_acb.c | 186 --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 …]
|
/linux/sound/soc/meson/ |
A D | axg-tdm-interface.c | 56 iface->slots = slots; in axg_tdm_set_tdm_slots() 106 if (!iface->mclk) { in axg_tdm_iface_set_sysclk() 124 if (!iface->mclk) { in axg_tdm_iface_set_fmt() 141 iface->fmt = fmt; in axg_tdm_iface_set_fmt() 162 iface->rate); in axg_tdm_iface_startup() 266 srate = iface->slots * iface->slot_width * params_rate(params); in axg_tdm_iface_set_sclk() 268 if (!iface->mclk_rate) { in axg_tdm_iface_set_sclk() 311 iface->slots); in axg_tdm_iface_hw_params() 515 iface = devm_kzalloc(dev, sizeof(*iface), GFP_KERNEL); in axg_tdm_iface_probe() 516 if (!iface) in axg_tdm_iface_probe() [all …]
|
/linux/fs/ksmbd/ |
A D | transport_tcp.c | 228 if (!iface->ksmbd_socket) { in ksmbd_kthread_fn() 269 iface->name); in ksmbd_tcp_run_kthread() 473 struct interface *iface; in ksmbd_netdev_event() local 494 if (!iface) in ksmbd_netdev_event() 552 list_del(&iface->entry); in ksmbd_tcp_destroy() 553 kfree(iface->name); in ksmbd_tcp_destroy() 554 kfree(iface); in ksmbd_tcp_destroy() 560 struct interface *iface; in alloc_iface() local 566 if (!iface) { in alloc_iface() 571 iface->name = ifname; in alloc_iface() [all …]
|
/linux/net/netlabel/ |
A D | netlabel_unlabeled.c | 172 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 …]
|
/linux/drivers/most/ |
A D | core.c | 776 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 …]
|
A D | most_snd.c | 45 struct most_interface *iface; member 60 struct most_interface *iface; member 162 struct sound_adapter *adpt = iface->priv; in get_channel() 166 if ((channel->iface == iface) && (channel->id == channel_id)) in get_channel() 536 if (adpt->iface != iface) in audio_probe_channel() 547 adpt->iface = iface; in audio_probe_channel() 549 iface->priv = adpt; in audio_probe_channel() 562 if (get_channel(iface, channel_id)) { in audio_probe_channel() 564 iface->description, channel_id); in audio_probe_channel() 582 channel->iface = iface; in audio_probe_channel() [all …]
|
A D | most_usb.c | 105 struct most_interface iface; member 238 struct most_dev *mdev = to_mdev(iface); in hdm_poison_channel() 460 struct most_dev *mdev = to_mdev(iface); in hdm_enqueue() 571 struct most_dev *mdev = to_mdev(iface); in hdm_configure_channel() 976 mdev->iface.mod = hdm_usb_fops.owner; in hdm_probe() 977 mdev->iface.dev = &mdev->dev; in hdm_probe() 979 mdev->iface.interface = ITYPE_USB; in hdm_probe() 982 mdev->iface.enqueue = hdm_enqueue; in hdm_probe() 984 mdev->iface.dma_alloc = hdm_dma_alloc; in hdm_probe() 985 mdev->iface.dma_free = hdm_dma_free; in hdm_probe() [all …]
|
/linux/drivers/net/wireless/intersil/hostap/ |
A D | hostap_pci.c | 62 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 …]
|
A D | hostap_cs.c | 52 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 …]
|
A D | hostap_main.c | 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() 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 …]
|
A D | hostap_80211_tx.c | 77 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 …]
|
A D | hostap_ioctl.c | 23 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() 124 local = iface->local; in prism2_ioctl_siwencode() 227 local = iface->local; in prism2_ioctl_giwencode() 285 local = iface->local; in hostap_set_rate() 330 local = iface->local; in prism2_ioctl_siwrate() 392 local = iface->local; in prism2_ioctl_giwrate() 449 local = iface->local; in prism2_ioctl_siwsens() 471 local = iface->local; in prism2_ioctl_giwsens() [all …]
|
A D | hostap_plx.c | 114 iface = netdev_priv(dev); in hfa384x_outb_debug() 115 local = iface->local; in hfa384x_outb_debug() 130 iface = netdev_priv(dev); in hfa384x_inb_debug() 131 local = iface->local; in hfa384x_inb_debug() 146 iface = netdev_priv(dev); in hfa384x_outw_debug() 147 local = iface->local; in hfa384x_outw_debug() 162 iface = netdev_priv(dev); in hfa384x_inw_debug() 163 local = iface->local; in hfa384x_inw_debug() 180 local = iface->local; in hfa384x_outsw_debug() 196 local = iface->local; in hfa384x_insw_debug() [all …]
|
/linux/sound/usb/ |
A D | quirks.c | 43 if (!iface) in create_composite_quirk() 55 if (!iface) in create_composite_quirk() 178 if (fp->iface != get_iface_desc(&iface->altsetting[0])->bInterfaceNumber || in create_fixed_stream_quirk() 410 if (!iface || in create_autodetect_quirks() 1157 if (iface != 1 && iface != 2) in quattro_skip_setting_quirk() 1161 if (iface == 1 || iface == 2) in quattro_skip_setting_quirk() 1181 int iface, in audiophile_skip_setting_quirk() argument 1225 if (iface == 4) in fasttrackpro_skip_setting_quirk() 1230 if (iface == 5) in fasttrackpro_skip_setting_quirk() 1280 int iface, in snd_usb_apply_interface_quirk() argument [all …]
|
/linux/include/linux/ |
A D | most.h | 241 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 …]
|
/linux/drivers/staging/most/net/ |
A D | net.c | 62 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 …]
|
/linux/ipc/ |
A D | util.c | 144 iface = kmalloc(sizeof(*iface), GFP_KERNEL); in ipc_init_proc_interface() 145 if (!iface) in ipc_init_proc_interface() 147 iface->path = path; in ipc_init_proc_interface() 149 iface->ids = ids; in ipc_init_proc_interface() 150 iface->show = show; in ipc_init_proc_interface() 156 iface); in ipc_init_proc_interface() 158 kfree(iface); in ipc_init_proc_interface() 813 struct ipc_proc_iface *iface = iter->iface; in sysvipc_proc_next() local 830 struct ipc_proc_iface *iface = iter->iface; in sysvipc_proc_start() local 857 struct ipc_proc_iface *iface = iter->iface; in sysvipc_proc_stop() local [all …]
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-class-net-statistics | 1 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 117 What: /sys/class/<iface>/statistics/rx_packets 135 What: /sys/class/<iface>/statistics/tx_bytes 164 What: /sys/class/<iface>/statistics/tx_dropped [all …]
|
A D | sysfs-class-net | 1 What: /sys/class/net/<iface>/name_assign_type 29 What: /sys/class/net/<iface>/addr_len 39 What: /sys/class/net/<iface>/address 79 What: /sys/class/net/<iface>/carrier 96 What: /sys/class/net/<iface>/dev_id 155 What: /sys/class/net/<iface>/duplex 171 What: /sys/class/net/<iface>/flags 199 What: /sys/class/net/<iface>/iflink 223 What: /sys/class/net/<iface>/mtu 272 What: /sys/class/net/<iface>/speed [all …]
|
/linux/net/netfilter/ipset/ |
A D | ip_set_hash_netiface.c | 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() 185 STRLCPY(e.iface, eiface); in hash_netiface4_kadt() 189 STRLCPY(e.iface, SRCDIR ? IFACE(in) : IFACE(out)); in hash_netiface4_kadt() 192 if (strlen(e.iface) == 0) in hash_netiface4_kadt() 300 char iface[IFNAMSIZ]; member 315 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 : in hash_netiface6_data_equal() 316 strcmp(ip1->iface, ip2->iface) == 0); in hash_netiface6_data_equal() 406 STRLCPY(e.iface, eiface); in hash_netiface6_kadt() [all …]
|
/linux/sound/soc/codecs/ |
A D | uda1380.c | 421 int iface; in uda1380_set_dai_fmt_both() local 451 int iface; in uda1380_set_dai_fmt_playback() local 455 iface &= ~R01_SFORI_MASK; in uda1380_set_dai_fmt_playback() 459 iface |= R01_SFORI_I2S; in uda1380_set_dai_fmt_playback() 462 iface |= R01_SFORI_LSB16; in uda1380_set_dai_fmt_playback() 465 iface |= R01_SFORI_MSB; in uda1380_set_dai_fmt_playback() 481 int iface; in uda1380_set_dai_fmt_capture() local 489 iface |= R01_SFORO_I2S; in uda1380_set_dai_fmt_capture() 492 iface |= R01_SFORO_LSB16; in uda1380_set_dai_fmt_capture() 495 iface |= R01_SFORO_MSB; in uda1380_set_dai_fmt_capture() [all …]
|
A D | wm8711.c | 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() 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() 280 iface |= 0x0090; in wm8711_set_dai_fmt() 283 iface |= 0x0080; in wm8711_set_dai_fmt() [all …]
|
A D | ak4613.c | 93 const struct ak4613_interface *iface; member 253 priv->iface = NULL; in ak4613_dai_shutdown() 350 fmts = (is_play) ? &iface->playback : &iface->capture; in ak4613_dai_fmt_matching() 404 iface = NULL; in ak4613_dai_hw_params() 407 if (priv->iface) { in ak4613_dai_hw_params() 409 iface = priv->iface; in ak4613_dai_hw_params() 416 iface = ak4613_iface + i; in ak4613_dai_hw_params() 421 if ((priv->iface == NULL) || in ak4613_dai_hw_params() 422 (priv->iface == iface)) { in ak4613_dai_hw_params() 423 priv->iface = iface; in ak4613_dai_hw_params() [all …]
|
A D | wm8776.c | 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() 245 int iface_reg, iface; in wm8776_hw_params() local 267 iface = 0; in wm8776_hw_params() 270 iface = 0x10; in wm8776_hw_params() 273 iface = 0x20; in wm8776_hw_params() [all …]
|
/linux/net/appletalk/ |
A D | ddp.c | 223 struct atalk_iface *iface = kzalloc(sizeof(*iface), GFP_KERNEL); in atif_add_device() local 225 if (!iface) in atif_add_device() 239 return iface; in atif_add_device() 338 return iface ? &iface->address : NULL; in atalk_find_dev_addr() 352 for (iface = atalk_interfaces; iface; iface = iface->next) { in atalk_find_primary() 380 if (!iface || iface->status & ATIF_PROBE) in atalk_find_anynet() 388 return iface; in atalk_find_anynet() 390 iface = NULL; in atalk_find_anynet() 400 for (iface = atalk_interfaces; iface; iface = iface->next) { in atalk_find_interface() 415 return iface; in atalk_find_interface() [all …]
|