Home
last modified time | relevance | path

Searched full:iface (Results 1 – 25 of 551) sorted by relevance

12345678910>>...23

/linux/drivers/i2c/busses/
H A 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 …]
/linux/drivers/most/
H A 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 …]
H A Dmost_snd.c31 * @iface: interface for which the channel belongs to
47 struct most_interface *iface; member
62 struct most_interface *iface; member
153 * @iface: interface structure
161 static struct channel *get_channel(struct most_interface *iface, in get_channel() argument
164 struct sound_adapter *adpt = iface->priv; in get_channel()
168 if ((channel->iface == iface) && (channel->id == channel_id)) in get_channel()
239 (mbo = most_get_mbo(channel->iface, channel->id, in playback_thread()
283 ret = most_start_channel(channel->iface, channel->id, &comp); in pcm_open()
311 most_stop_channel(channel->iface, channel->id, &comp); in pcm_close()
[all …]
H A Dmost_usb.c87 * @iface: hardware interface
105 struct most_interface iface; member
124 #define to_mdev(d) container_of(d, struct most_dev, iface)
227 * @iface: pointer to the interface
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()
444 * @iface: interface to enqueue to
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()
[all …]
H A Dmost_cdev.c39 struct most_interface *iface; member
55 return channel_has_mbo(c->iface, c->channel_id, &comp.cc) > 0; in ch_has_mbo()
61 *mbo = most_get_mbo(c->iface, c->channel_id, &comp.cc); in ch_get_mbo()
68 static struct comp_channel *get_channel(struct most_interface *iface, int id) in get_channel() argument
75 if ((c->iface == iface) && (c->channel_id == id)) { in get_channel()
90 most_stop_channel(c->iface, c->channel_id, &comp.cc); in stop_channel()
146 ret = most_start_channel(c->iface, c->channel_id, &comp.cc); in comp_open()
317 * @iface: pointer to interface instance
323 static int comp_disconnect_channel(struct most_interface *iface, int channel_id) in comp_disconnect_channel() argument
327 c = get_channel(iface, channel_id); in comp_disconnect_channel()
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Dethtool_rmon.sh26 local iface=$1; shift
31 current=$(run_on "$iface" \
32 ip -j link show dev "$iface" | jq -r '.[0].mtu')
34 run_on "$iface" ip link set dev "$iface" mtu "$required" \
41 local iface=$1; shift
58 before=$(run_on "$iface" ethtool --json -S "$iface" --groups rmon | \
65 run_on "$iface" \
66 "$MZ" "$iface"
[all...]
/linux/net/netlabel/
H A 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()
220 * @iface: the associated interface entry
227 * interface entry specified by @iface. On success zero is returned, otherwise
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()
260 * @iface: the associated interface entry
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net-statistics1 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
62 What: /sys/class/net/<iface>/statistics/rx_fifo_errors
71 What: /sys/class/net/<iface>/statistics/rx_frame_errors
81 What: /sys/class/net/<iface>/statistics/rx_length_errors
[all …]
H A 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 …]
H A Dsysfs-class-net-cdc_ncm1 What: /sys/class/net/<iface>/cdc_ncm/min_tx_pkt
22 What: /sys/class/net/<iface>/cdc_ncm/ndp_to_end
41 What: /sys/class/net/<iface>/cdc_ncm/rx_max
57 What: /sys/class/net/<iface>/cdc_ncm/tx_max
69 What: /sys/class/net/<iface>/cdc_ncm/tx_timer_usecs
89 What: /sys/class/net/<iface>/cdc_ncm/bmNtbFormatsSupported
98 What: /sys/class/net/<iface>/cdc_ncm/dwNtbInMaxSize
105 What: /sys/class/net/<iface>/cdc_ncm/wNdpInDivisor
112 What: /sys/class/net/<iface>/cdc_ncm/wNdpInPayloadRemainder
121 What: /sys/class/net/<iface>/cdc_ncm/wNdpInAlignment
[all …]
H A Dsysfs-class-net-queues1 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 Dip_set_hash_netiface.c4 /* Kernel module implementing an IP set type: the hash:net,iface type */
34 IP_SET_MODULE_DESC("hash:net,iface", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX);
35 MODULE_ALIAS("ip_set_hash:net,iface");
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()
118 nla_put_string(skb, IPSET_ATTR_IFACE, data->iface) || in hash_netiface4_data_list()
175 #define IFACE(dir) (par->state->dir ? par->state->dir->name : "") in hash_netiface4_kadt() macro
185 STRSCPY(e.iface, eiface); in hash_netiface4_kadt()
189 STRSCPY(e.iface, SRCDIR ? IFACE(in) : IFACE(out)); in hash_netiface4_kadt()
[all …]
/linux/drivers/media/platform/amphion/
H A Dvpu_windsor.c560 struct windsor_iface *iface; in vpu_windsor_init_rpc() local
569 iface = rpc->virt; in vpu_windsor_init_rpc()
570 shared->iface = iface; in vpu_windsor_init_rpc()
574 iface->exec_base_addr = base_phy_addr; in vpu_windsor_init_rpc()
575 iface->exec_area_size = rpc->length; in vpu_windsor_init_rpc()
579 shared->cmd_desc = &iface->cmd_buffer_desc; in vpu_windsor_init_rpc()
581 iface->cmd_buffer_desc.start = in vpu_windsor_init_rpc()
582 iface->cmd_buffer_desc.rptr = in vpu_windsor_init_rpc()
583 iface->cmd_buffer_desc.wptr = phy_addr; in vpu_windsor_init_rpc()
584 iface->cmd_buffer_desc.end = iface->cmd_buffer_desc.start + CMD_SIZE; in vpu_windsor_init_rpc()
[all …]
H A Dvpu_rpc.h20 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()
233 ops->set_system_cfg(core->iface, regs_base, regs, core->id); in vpu_iface_config_system()
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()
337 return ops->config_memory_resource(inst->core->iface, in vpu_iface_config_memory_resource()
[all …]
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router_hw.c185 /* iface is overhead struct. vr_id also can be removed. */
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()
204 WARN(1, "Unsupported iface type"); 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()
[all …]
/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,
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);
279 * @iface: Pointer to the interface instance description.
286 int most_register_interface(struct most_interface *iface);
[all …]
/linux/net/appletalk/
H A Dddp.c217 struct atalk_iface **iface = &atalk_interfaces; in atif_drop_device() local
221 while ((tmp = *iface) != NULL) { in atif_drop_device()
223 *iface = tmp->next; in atif_drop_device()
228 iface = &tmp->next; in atif_drop_device()
236 struct atalk_iface *iface = kzalloc_obj(*iface); in atif_add_device() local
238 if (!iface) in atif_add_device()
242 iface->dev = dev; in atif_add_device()
243 dev->atalk_ptr = iface; in atif_add_device()
244 iface->address = *sa; in atif_add_device()
245 iface->status = 0; in atif_add_device()
[all …]
/linux/sound/usb/
H A Dimplicit.c32 unsigned int iface; member
40 .iface = (ifnum) }
43 .iface = (ifnum) }
72 .ep_num = 0x84, .iface = 0 }, /* MOTU MicroBook II */
88 struct usb_interface *iface; in add_implicit_fb_sync_ep() local
91 iface = usb_ifnum_to_if(chip->dev, ifnum); in add_implicit_fb_sync_ep()
92 if (!iface || iface->num_altsetting < 2) in add_implicit_fb_sync_ep()
94 alts = &iface->altsetting[1]; in add_implicit_fb_sync_ep()
103 "%d:%d: added %s implicit_fb sync_ep %x, iface %d:%d\n", in add_implicit_fb_sync_ep()
104 fmt->iface, fmt->altsetting, in add_implicit_fb_sync_ep()
[all …]
H A Dquirks-table.h133 .iface = 1,
173 .iface = 3,
455 .iface = 0,
470 .iface = 1,
780 .iface = 1,
795 .iface = 2,
1226 .iface = 0,
1242 .iface = 1,
1277 .iface = 0,
1293 .iface
[all...]
H A Dclock.c48 static void *find_uac_clock_desc(struct usb_host_interface *iface, int id, in find_uac_clock_desc() argument
54 while ((cs = snd_usb_find_csint_desc(iface->extra, iface->extralen, in find_uac_clock_desc()
105 snd_usb_find_ctrl_interface(chip, fmt->iface); \
190 ctrl_intf = snd_usb_find_ctrl_interface(chip, fmt->iface); in uac_clock_source_is_valid_quirk()
261 ctrl_intf = snd_usb_find_ctrl_interface(chip, fmt->iface); in uac_clock_source_is_valid()
361 ret = uac_clock_selector_get_val(chip, clock_id, fmt->iface); in __uac_clock_find_source()
390 err = uac_clock_selector_set_val(chip, entity_id, cur, fmt->iface); in __uac_clock_find_source()
421 err = uac_clock_selector_set_val(chip, entity_id, i, fmt->iface); in __uac_clock_find_source()
491 fmt->iface, fmt->altsetting, rate, fmt->endpoint); in set_sample_rate_v1()
509 fmt->iface, fmt->altsetting, fmt->endpoint); in set_sample_rate_v1()
[all …]
/linux/tools/testing/selftests/tc-testing/plugin-lib/
H A DscapyPlugin.py37 scapy_keys = ['iface', 'count', 'packet']
50 if '$' in scapyinfo['iface']:
51 tpl = Template(scapyinfo['iface'])
52 scapyinfo['iface'] = tpl.safe_substitute(NAMES)
54 sendp(pkt, iface=scapyinfo['iface'])
/linux/arch/arm64/boot/dts/marvell/
H A Dcn9130.dtsi29 #define CP11X_PCIEx_MEM_BASE(iface) ((iface == 0) ? 0xc0000000 : \ argument
30 0xe0000000 + ((iface - 1) * 0x1000000))
31 #define CP11X_PCIEx_MEM_SIZE(iface) ((iface == 0) ? 0x1ff00000 : 0xf00000) argument
H A Darmada-80x0.dtsi24 #define CP11X_PCIEx_MEM_BASE(iface) (0xf6000000 + (iface * 0x1000000)) argument
25 #define CP11X_PCIEx_MEM_SIZE(iface) 0xf00000 argument
45 #define CP11X_PCIEx_MEM_BASE(iface) (0xfa000000 + (iface * 0x1000000)) argument
46 #define CP11X_PCIEx_MEM_SIZE(iface) 0xf00000 argument
/linux/arch/um/drivers/
H A Dvector_user.c134 static int create_tap_fd(char *iface) in create_tap_fd() argument
147 strscpy(ifr.ifr_name, iface); in create_tap_fd()
164 static int create_raw_fd(char *iface, int flags, int proto) in create_raw_fd() argument
177 strscpy(ifr.ifr_name, iface); in create_raw_fd()
204 char *iface; in user_init_tap_fds() local
210 iface = uml_vector_fetch_arg(ifspec, TOKEN_IFNAME); in user_init_tap_fds()
211 if (iface == NULL) { in user_init_tap_fds()
213 iface = dynamic_ifname; in user_init_tap_fds()
230 strcpy(iface, template); in user_init_tap_fds()
231 for (i = 0; i < strlen(iface); i++) { in user_init_tap_fds()
[all …]
/linux/ipc/
H A Dutil.c142 struct ipc_proc_iface *iface; in ipc_init_proc_interface() local
144 iface = kmalloc_obj(*iface); in ipc_init_proc_interface()
145 if (!iface) in ipc_init_proc_interface()
147 iface->path = path; in ipc_init_proc_interface()
148 iface->header = header; 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()
773 struct ipc_proc_iface *iface; member
[all …]

12345678910>>...23