/linux/drivers/i2c/busses/ |
H 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/ |
H A D | axg-tdm-interface.c | 57 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() 321 iface->slots); in axg_tdm_iface_hw_params() 528 iface = devm_kzalloc(dev, sizeof(*iface), GFP_KERNEL); in axg_tdm_iface_probe() [all …]
|
/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | ethtool_rmon.sh | 20 local iface=$1; shift 26 ip link set dev $iface mtu $required || return 1 32 local iface=$1; shift 70 local iface=$1; shift 81 for if in $iface $neigh; do 120 for iface in $h1 $h2; do 121 netif_mtu[$iface]=$(ip -j link show dev $iface | jq -r '.[0].mtu') 122 ip link set dev $iface up 130 for iface in $h2 $h1; do 131 ip link set dev $iface \ [all …]
|
/linux/fs/smb/server/ |
H A D | transport_tcp.c | 233 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 …]
|
/linux/net/netlabel/ |
H 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/ |
H 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 …]
|
H A D | most_snd.c | 47 struct most_interface *iface; member 62 struct most_interface *iface; member 164 struct sound_adapter *adpt = iface->priv; in get_channel() 168 if ((channel->iface == iface) && (channel->id == channel_id)) in get_channel() 538 if (adpt->iface != iface) in audio_probe_channel() 549 adpt->iface = iface; in audio_probe_channel() 551 iface->priv = adpt; in audio_probe_channel() 564 if (get_channel(iface, channel_id)) { in audio_probe_channel() 566 iface->description, channel_id); in audio_probe_channel() 584 channel->iface = iface; in audio_probe_channel() [all …]
|
H 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/include/linux/ |
H 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/ |
H 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/drivers/media/platform/amphion/ |
H A D | vpu_malone.c | 362 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 …]
|
H A D | vpu_rpc.h | 20 void *iface; member 205 core->iface = shared; in vpu_iface_init() 221 ops->set_log_buf(core->iface, log); in vpu_iface_set_log_buf() 245 return ops->get_stream_buffer_size(core->iface); in vpu_iface_get_stream_buffer_size() 255 ops->set_stream_cfg(inst->core->iface, inst->id); in vpu_iface_config_stream() 266 return ops->send_cmd_buf(core->iface, cmd); in vpu_iface_send_cmd() 276 return ops->receive_msg_buf(core->iface, msg); in vpu_iface_receive_msg() 320 ret = ops->input_frame(inst->core->iface, inst, vb); in vpu_iface_input_frame() 390 return ops->get_version(core->iface); in vpu_iface_get_version() 400 return ops->get_max_instance_count(core->iface); in vpu_iface_get_max_instance_count() [all …]
|
/linux/fs/smb/client/ |
H A D | sess.c | 61 if (ses->chans[i].iface == iface) { in is_ses_using_iface() 238 if (!iface) in cifs_try_adding_channels() 292 iface = NULL; in cifs_try_adding_channels() 327 iface = ses->chans[i].iface; in cifs_disable_secondary_channels() 338 if (iface) { in cifs_disable_secondary_channels() 440 iface = NULL; in cifs_chan_update_iface() 444 if (!iface) { in cifs_chan_update_iface() 486 ses->chans[chan_index].iface = iface; in cifs_chan_update_iface() 526 ses, iface->speed, iface->rdma_capable ? "yes" : "no", in cifs_ses_add_channel() 530 ses, iface->speed, iface->rdma_capable ? "yes" : "no", in cifs_ses_add_channel() [all …]
|
/linux/sound/usb/ |
H A D | quirks.c | 44 if (!iface) in create_composite_quirk() 56 if (!iface) in create_composite_quirk() 99 alts = &iface->altsetting[0]; in create_standard_audio_quirk() 179 if (fp->iface != get_iface_desc(&iface->altsetting[0])->bInterfaceNumber || in create_fixed_stream_quirk() 1416 if (iface != 1 && iface != 2) in quattro_skip_setting_quirk() 1420 if (iface == 1 || iface == 2) in quattro_skip_setting_quirk() 1440 int iface, in audiophile_skip_setting_quirk() argument 1484 if (iface == 4) in fasttrackpro_skip_setting_quirk() 1489 if (iface == 5) in fasttrackpro_skip_setting_quirk() 1539 int iface, in snd_usb_apply_interface_quirk() argument [all …]
|
/linux/ipc/ |
H 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() 822 struct ipc_proc_iface *iface = iter->iface; in sysvipc_proc_next() local 841 struct ipc_proc_iface *iface = iter->iface; in sysvipc_proc_start() local 868 struct ipc_proc_iface *iface = iter->iface; in sysvipc_proc_stop() local [all …]
|
/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 117 What: /sys/class/net/<iface>/statistics/rx_packets 135 What: /sys/class/net/<iface>/statistics/tx_bytes 164 What: /sys/class/net/<iface>/statistics/tx_dropped [all …]
|
H 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 …]
|
H A D | sysfs-class-net-queues | 1 What: /sys/class/net/<iface>/queues/rx-<queue>/rps_cpus 11 What: /sys/class/net/<iface>/queues/rx-<queue>/rps_flow_cnt 19 What: /sys/class/net/<iface>/queues/tx-<queue>/tx_timeout 27 What: /sys/class/net/<iface>/queues/tx-<queue>/tx_maxrate 35 What: /sys/class/net/<iface>/queues/tx-<queue>/xps_cpus 45 What: /sys/class/net/<iface>/queues/tx-<queue>/xps_rxqs 56 What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/hold_time 65 What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/inflight 73 What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/limit 82 What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/limit_max [all …]
|
/linux/net/netfilter/ipset/ |
H 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 STRSCPY(e.iface, eiface); in hash_netiface4_kadt() 189 STRSCPY(e.iface, SRCDIR ? IFACE(in) : IFACE(out)); in hash_netiface4_kadt() 192 if (strlen(e.iface) == 0) in hash_netiface4_kadt() 297 char iface[IFNAMSIZ]; member 312 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 : in hash_netiface6_data_equal() 313 strcmp(ip1->iface, ip2->iface) == 0); in hash_netiface6_data_equal() 403 STRSCPY(e.iface, eiface); in hash_netiface6_kadt() [all …]
|
/linux/sound/soc/codecs/ |
H 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 …]
|
H 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 …]
|
H 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/arch/um/drivers/ |
H A D | vector_user.c | 201 char *iface; in user_init_tap_fds() local 208 if (iface == NULL) { in user_init_tap_fds() 210 iface = dynamic_ifname; in user_init_tap_fds() 229 if (iface[i] == 'X') { in user_init_tap_fds() 245 argv[1] = iface; in user_init_tap_fds() 258 char *iface; in user_init_hybrid_fds() local 263 if (iface == NULL) { in user_init_hybrid_fds() 297 argv[1] = iface; in user_init_hybrid_fds() 441 char *iface; in user_init_raw_fds() local 446 if (iface == NULL) in user_init_raw_fds() [all …]
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router_hw.c | 192 switch (in->iface.type) { in __prestera_rif_entry_key_copy() 194 out->iface.dev_port.hw_dev_num = in->iface.dev_port.hw_dev_num; in __prestera_rif_entry_key_copy() 195 out->iface.dev_port.port_num = in->iface.dev_port.port_num; in __prestera_rif_entry_key_copy() 198 out->iface.lag_id = in->iface.lag_id; in __prestera_rif_entry_key_copy() 201 out->iface.vlan_id = in->iface.vlan_id; in __prestera_rif_entry_key_copy() 208 out->iface.type = in->iface.type; in __prestera_rif_entry_key_copy() 234 struct prestera_iface iface; in prestera_rif_entry_destroy() local 238 memcpy(&iface, &e->key.iface, sizeof(iface)); in prestera_rif_entry_destroy() 239 iface.vr_id = e->vr->hw_vr_id; in prestera_rif_entry_destroy() 253 struct prestera_iface iface; in prestera_rif_entry_create() local [all …]
|
/linux/net/appletalk/ |
H A D | ddp.c | 236 struct atalk_iface *iface = kzalloc(sizeof(*iface), GFP_KERNEL); in atif_add_device() local 238 if (!iface) in atif_add_device() 252 return iface; in atif_add_device() 351 return iface ? &iface->address : NULL; in atalk_find_dev_addr() 365 for (iface = atalk_interfaces; iface; iface = iface->next) { in atalk_find_primary() 393 if (!iface || iface->status & ATIF_PROBE) in atalk_find_anynet() 401 return iface; in atalk_find_anynet() 403 iface = NULL; in atalk_find_anynet() 413 for (iface = atalk_interfaces; iface; iface = iface->next) { in atalk_find_interface() 428 return iface; in atalk_find_interface() [all …]
|