Searched refs:iface (Results 1 - 25 of 510) sorted by relevance

1234567891011>>

/linux-master/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) argument
105 dev_dbg(&iface->adapter.dev, "state %s, status = 0x%02x\n",
106 scx200_acb_state_name[iface->state], status);
117 dev_dbg(&iface
217 scx200_acb_poll(struct scx200_acb_iface *iface) argument
247 scx200_acb_reset(struct scx200_acb_iface *iface) argument
273 struct scx200_acb_iface *iface = i2c_get_adapdata(adapter); local
380 scx200_acb_probe(struct scx200_acb_iface *iface) argument
418 struct scx200_acb_iface *iface; local
438 scx200_acb_create(struct scx200_acb_iface *iface) argument
472 struct scx200_acb_iface *iface; local
499 struct scx200_acb_iface *iface; local
519 scx200_cleanup_iface(struct scx200_acb_iface *iface) argument
528 struct scx200_acb_iface *iface; local
581 struct scx200_acb_iface *iface; local
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dnand_sandisk.c7 struct nand_interface_config *iface)
9 onfi_fill_interface_config(chip, iface, NAND_SDR_IFACE, 0);
11 return nand_choose_best_sdr_timings(chip, iface, NULL);
6 sdtnqgama_choose_interface_config(struct nand_chip *chip, struct nand_interface_config *iface) argument
H A Dnand_toshiba.c203 struct nand_interface_config *iface)
205 onfi_fill_interface_config(chip, iface, NAND_SDR_IFACE, 5);
207 return nand_choose_best_sdr_timings(chip, iface, NULL);
212 struct nand_interface_config *iface)
214 onfi_fill_interface_config(chip, iface, NAND_SDR_IFACE, 2);
216 return nand_choose_best_sdr_timings(chip, iface, NULL);
221 struct nand_interface_config *iface)
223 struct nand_sdr_timings *sdr = &iface->timings.sdr;
226 onfi_fill_interface_config(chip, iface, NAND_SDR_IFACE, 4);
243 return nand_choose_best_sdr_timings(chip, iface, sd
202 tc58teg5dclta00_choose_interface_config(struct nand_chip *chip, struct nand_interface_config *iface) argument
211 tc58nvg0s3e_choose_interface_config(struct nand_chip *chip, struct nand_interface_config *iface) argument
220 th58nvg2s3hbai4_choose_interface_config(struct nand_chip *chip, struct nand_interface_config *iface) argument
[all...]
/linux-master/sound/soc/meson/
H A Daxg-tdm-interface.c42 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); local
57 iface->slots = slots;
81 iface->slot_width = slot_width;
103 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); local
107 if (!iface->mclk) {
110 ret = clk_set_rate(iface->mclk, freq);
112 iface->mclk_rate = freq;
121 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); local
125 if (!iface->mclk) {
142 iface
149 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); local
186 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); local
216 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); local
271 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); local
311 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); local
406 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); local
475 struct axg_tdm_iface *iface = snd_soc_component_get_drvdata(component); local
525 struct axg_tdm_iface *iface; local
[all...]
/linux-master/tools/testing/selftests/drivers/net/hw/
H A Dethtool_rmon.sh20 local iface=$1; shift
22 local current=$(ip -j link show dev $iface | jq -r '.[0].mtu')
26 ip link set dev $iface mtu $required || return 1
32 local iface=$1; shift
49 before=$(ethtool --json -S $iface --groups rmon | \
55 $MZ $iface -q -c $num_tx -p $len -a own -b bcast -d 10us
57 after=$(ethtool --json -S $iface --groups rmon | \
70 local iface=$1; shift
79 step="$set-pkts${bucket[0]}to${bucket[1]} on $iface"
81 for if in $iface
[all...]
/linux-master/sound/usb/
H A Dmidi2.h9 struct usb_interface *iface,
19 struct usb_interface *iface,
23 return __snd_usbmidi_create(chip->card, iface, &chip->midi_list,
18 snd_usb_midi_v2_create(struct snd_usb_audio *chip, struct usb_interface *iface, const struct snd_usb_audio_quirk *quirk, unsigned int usb_id) argument
H A Dmidi.h46 struct usb_interface *iface,
53 struct usb_interface *iface,
57 return __snd_usbmidi_create(card, iface, midi_list, quirk, 0, NULL);
52 snd_usbmidi_create(struct snd_card *card, struct usb_interface *iface, struct list_head *midi_list, const struct snd_usb_audio_quirk *quirk) argument
H A Dhelper.h24 #define get_iface_desc(iface) (&(iface)->desc)
H A Dquirks.c34 struct usb_interface *iface,
38 int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber;
43 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum);
44 if (!iface)
47 usb_interface_claimed(iface))
49 err = snd_usb_create_quirk(chip, iface, driver, quirk);
55 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum);
56 if (!iface)
59 !usb_interface_claimed(iface)) {
60 err = usb_driver_claim_interface(driver, iface,
33 create_composite_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, const struct snd_usb_audio_quirk *quirk_comp) argument
70 ignore_interface_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, const struct snd_usb_audio_quirk *quirk) argument
90 create_standard_audio_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, const struct snd_usb_audio_quirk *quirk) argument
149 create_fixed_stream_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, const struct snd_usb_audio_quirk *quirk) argument
216 create_auto_pcm_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver) argument
258 create_yamaha_midi_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, struct usb_host_interface *alts) argument
290 create_roland_midi_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, struct usb_host_interface *alts) argument
314 create_std_midi_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, struct usb_host_interface *alts) argument
342 create_auto_midi_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver) argument
378 create_autodetect_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, const struct snd_usb_audio_quirk *quirk) argument
395 create_uaxx_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, const struct snd_usb_audio_quirk *quirk) argument
490 create_standard_mixer_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, const struct snd_usb_audio_quirk *quirk) argument
509 snd_usb_create_quirk(struct snd_usb_audio *chip, struct usb_interface *iface, struct usb_driver *driver, const struct snd_usb_audio_quirk *quirk) argument
1407 quattro_skip_setting_quirk(struct snd_usb_audio *chip, int iface, int altno) argument
1439 audiophile_skip_setting_quirk(struct snd_usb_audio *chip, int iface, int altno) argument
1468 fasttrackpro_skip_setting_quirk(struct snd_usb_audio *chip, int iface, int altno) argument
1506 s1810c_skip_setting_quirk(struct snd_usb_audio *chip, int iface, int altno) argument
1538 snd_usb_apply_interface_quirk(struct snd_usb_audio *chip, int iface, int altno) argument
1899 struct usb_interface *iface; local
[all...]
/linux-master/fs/smb/server/
H A Dtransport_tcp.c228 struct interface *iface = (struct interface *)p; local
232 mutex_lock(&iface->sock_release_lock);
233 if (!iface->ksmbd_socket) {
234 mutex_unlock(&iface->sock_release_lock);
237 ret = kernel_accept(iface->ksmbd_socket, &client_sk,
239 mutex_unlock(&iface->sock_release_lock);
269 * @iface: pointer to struct interface
277 static int ksmbd_tcp_run_kthread(struct interface *iface) argument
282 kthread = kthread_run(ksmbd_kthread_fn, (void *)iface, "ksmbd-%s",
283 iface
424 create_socket(struct interface *iface) argument
511 struct interface *iface; local
585 struct interface *iface, *tmp; local
598 struct interface *iface; local
[all...]
/linux-master/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-master/net/netlabel/
H A Dnetlabel_unlabeled.c149 struct netlbl_unlhsh_iface *iface; local
157 iface = container_of(entry, struct netlbl_unlhsh_iface, rcu);
162 netlbl_af4list_foreach_safe(iter4, tmp4, &iface->addr4_list) {
167 netlbl_af6list_foreach_safe(iter6, tmp6, &iface->addr6_list) {
172 kfree(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, argument
249 ret_val = netlbl_af4list_add(&entry->list, &iface->addr4_list);
260 * @iface
271 netlbl_unlhsh_add_addr6(struct netlbl_unlhsh_iface *iface, const struct in6_addr *addr, const struct in6_addr *mask, u32 secid) argument
315 struct netlbl_unlhsh_iface *iface; local
375 struct netlbl_unlhsh_iface *iface; local
466 netlbl_unlhsh_remove_addr4(struct net *net, struct netlbl_unlhsh_iface *iface, const struct in_addr *addr, const struct in_addr *mask, struct netlbl_audit *audit_info) argument
527 netlbl_unlhsh_remove_addr6(struct net *net, struct netlbl_unlhsh_iface *iface, const struct in6_addr *addr, const struct in6_addr *mask, struct netlbl_audit *audit_info) argument
584 netlbl_unlhsh_condremove_iface(struct netlbl_unlhsh_iface *iface) argument
635 struct netlbl_unlhsh_iface *iface; local
701 struct netlbl_unlhsh_iface *iface = NULL; local
1063 netlbl_unlabel_staticlist_gen(u32 cmd, const struct netlbl_unlhsh_iface *iface, const struct netlbl_unlhsh_addr4 *addr4, const struct netlbl_unlhsh_addr6 *addr6, void *arg) argument
1169 struct netlbl_unlhsh_iface *iface; local
1255 struct netlbl_unlhsh_iface *iface; local
1462 struct netlbl_unlhsh_iface *iface; local
[all...]
/linux-master/drivers/most/
H A Dcore.c49 struct most_interface *iface; member in struct:most_channel
105 if (c->iface->dma_free)
106 c->iface->dma_free(mbo, coherent_buf_size);
176 if (c->iface->channel_vector[i].direction & MOST_CH_RX)
178 if (c->iface->channel_vector[i].direction & MOST_CH_TX)
192 if (c->iface->channel_vector[i].data_type & MOST_CH_CONTROL)
194 if (c->iface->channel_vector[i].data_type & MOST_CH_ASYNC)
196 if (c->iface->channel_vector[i].data_type & MOST_CH_SYNC)
198 if (c->iface->channel_vector[i].data_type & MOST_CH_ISOC)
212 c->iface
396 struct most_interface *iface = dev_get_drvdata(dev); local
405 struct most_interface *iface = dev_get_drvdata(dev); local
470 struct most_interface *iface = dev_get_drvdata(dev); local
535 struct most_interface *iface; local
953 channel_has_mbo(struct most_interface *iface, int id, struct most_component *comp) argument
984 most_get_mbo(struct most_interface *iface, int id, struct most_component *comp) argument
1090 most_start_channel(struct most_interface *iface, int id, struct most_component *comp) argument
1160 most_stop_channel(struct most_interface *iface, int id, struct most_component *comp) argument
1232 struct most_interface *iface; local
1279 most_register_interface(struct most_interface *iface) argument
1381 most_deregister_interface(struct most_interface *iface) argument
1416 most_stop_enqueue(struct most_interface *iface, int id) argument
1437 most_resume_enqueue(struct most_interface *iface, int id) argument
[all...]
H A Dmost_snd.c31 * @iface: interface for which the channel belongs to
47 struct most_interface *iface; member in struct:channel
62 struct most_interface *iface; member in struct:sound_adapter
153 * @iface: interface structure
161 static struct channel *get_channel(struct most_interface *iface, argument
164 struct sound_adapter *adpt = iface->priv;
168 if ((channel->iface == iface) && (channel->id == channel_id))
239 (mbo = most_get_mbo(channel->iface, channel->id,
283 ret = most_start_channel(channel->iface, channe
513 audio_probe_channel(struct most_interface *iface, int channel_id, struct most_channel_config *cfg, char *device_name, char *arg_list) argument
640 audio_disconnect_channel(struct most_interface *iface, int channel_id) argument
693 audio_tx_completion(struct most_interface *iface, int channel_id) argument
[all...]
H A Dmost_usb.c87 * @iface: hardware interface
105 struct most_interface iface; member in struct:most_dev
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) argument
238 struct most_dev *mdev = to_mdev(iface);
242 if (channel < 0 || channel >= iface->num_channels) {
444 * @iface: interface to enqueue to
457 static int hdm_enqueue(struct most_interface *iface, int channel, argument
460 struct most_dev *mdev = to_mdev(iface);
566 hdm_configure_channel(struct most_interface *iface, int channel, struct most_channel_config *conf) argument
646 hdm_request_netinfo(struct most_interface *iface, int channel, void (*on_netinfo)(struct most_interface *, unsigned char, unsigned char *)) argument
[all...]
/linux-master/net/mac802154/
H A DMakefile4 iface.o llsec.o util.o cfg.o scan.o trace.o
/linux-master/include/linux/platform_data/
H A Dshmob_drm.h34 struct shmob_drm_interface_data iface; member in struct:shmob_drm_platform_data
/linux-master/tools/testing/selftests/bpf/
H A Dtest_bpftool.py47 for iface in socket.if_nameindex():
48 if iface[1] != "lo":
49 return iface[1]
56 iface = get_default_iface()
57 return f(*args, iface, **kwargs)
74 def test_feature_dev_json(self, iface):
84 res = bpftool_json(["feature", "probe", "dev", iface])
/linux-master/drivers/media/platform/amphion/
H A Dvpu_rpc.h20 void *iface; member in struct:vpu_shared_addr
205 core->iface = shared;
221 ops->set_log_buf(core->iface, log);
233 ops->set_system_cfg(core->iface, regs_base, regs, core->id);
245 return ops->get_stream_buffer_size(core->iface);
255 ops->set_stream_cfg(inst->core->iface, inst->id);
266 return ops->send_cmd_buf(core->iface, cmd);
276 return ops->receive_msg_buf(core->iface, msg);
320 ret = ops->input_frame(inst->core->iface, inst, vb);
337 return ops->config_memory_resource(inst->core->iface,
[all...]
H A Dvpu_malone.c348 struct malone_iface *iface; local
358 iface = rpc->virt;
362 shared->iface = iface;
365 iface->exec_base_addr = base_phy_addr;
366 iface->exec_area_size = rpc->length;
371 shared->cmd_desc = &iface->cmd_buffer_desc.buffer;
373 iface->cmd_buffer_desc.buffer.start =
374 iface->cmd_buffer_desc.buffer.rptr =
375 iface
447 struct malone_iface *iface = shared->iface; local
463 struct malone_iface *iface = shared->iface; local
479 struct malone_iface *iface = shared->iface; local
496 struct malone_iface *iface = shared->iface; local
617 struct malone_iface *iface = shared->iface; local
643 struct malone_iface *iface = shared->iface; local
680 struct malone_iface *iface = shared->iface; local
692 struct malone_iface *iface = shared->iface; local
1655 struct malone_iface *iface = shared->iface; local
1695 struct malone_iface *iface = shared->iface; local
1707 struct malone_iface *iface = shared->iface; local
1719 struct malone_iface *iface = shared->iface; local
[all...]
/linux-master/drivers/staging/most/net/
H A Dnet.c62 struct most_interface *iface; member in struct:net_dev_context
183 static void on_netinfo(struct most_interface *iface,
193 if (most_start_channel(nd->iface, nd->rx.ch_id, &comp)) {
199 if (most_start_channel(nd->iface, nd->tx.ch_id, &comp)) {
201 most_stop_channel(nd->iface, nd->rx.ch_id, &comp);
212 if (nd->iface->request_netinfo)
213 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, on_netinfo);
225 if (nd->iface->request_netinfo)
226 nd->iface
280 get_net_dev(struct most_interface *iface) argument
290 get_net_dev_hold(struct most_interface *iface) argument
305 comp_probe_channel(struct most_interface *iface, int channel_idx, struct most_channel_config *ccfg, char *name, char *args) argument
362 comp_disconnect_channel(struct most_interface *iface, int channel_idx) argument
409 comp_resume_tx_channel(struct most_interface *iface, int channel_idx) argument
546 on_netinfo(struct most_interface *iface, unsigned char link_stat, unsigned char *mac_addr) argument
[all...]
/linux-master/drivers/usb/storage/
H A Dusb.h174 extern int usb_stor_suspend(struct usb_interface *iface, pm_message_t message);
175 extern int usb_stor_resume(struct usb_interface *iface);
176 extern int usb_stor_reset_resume(struct usb_interface *iface);
183 extern int usb_stor_pre_reset(struct usb_interface *iface);
184 extern int usb_stor_post_reset(struct usb_interface *iface);
/linux-master/fs/smb/client/
H A Dsess.c28 struct cifs_server_iface *iface);
32 struct cifs_server_iface *iface)
34 struct sockaddr_in *i4 = (struct sockaddr_in *)&iface->sockaddr;
35 struct sockaddr_in6 *i6 = (struct sockaddr_in6 *)&iface->sockaddr;
39 if (server->dstaddr.ss_family != iface->sockaddr.ss_family)
55 bool is_ses_using_iface(struct cifs_ses *ses, struct cifs_server_iface *iface) argument
61 if (ses->chans[i].iface == iface) {
179 return ses->chans[chan_index].iface &&
180 ses->chans[chan_index].iface
31 is_server_using_iface(struct TCP_Server_Info *server, struct cifs_server_iface *iface) argument
192 struct cifs_server_iface *iface = NULL, *niface = NULL; local
314 struct cifs_server_iface *iface; local
371 struct cifs_server_iface *iface = NULL; local
511 cifs_ses_add_channel(struct cifs_ses *ses, struct cifs_server_iface *iface) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dwm8711.c161 u16 iface = snd_soc_component_read(component, WM8711_IFACE) & 0xfff3; local
173 iface |= 0x0004;
176 iface |= 0x0008;
180 snd_soc_component_write(component, WM8711_IFACE, iface);
242 u16 iface = snd_soc_component_read(component, WM8711_IFACE) & 0x000c; local
247 iface |= 0x0040;
258 iface |= 0x0002;
263 iface |= 0x0001;
266 iface |= 0x0003;
269 iface |
[all...]
/linux-master/ipc/
H A Dutil.c142 struct ipc_proc_iface *iface; local
144 iface = kmalloc(sizeof(*iface), GFP_KERNEL);
145 if (!iface)
147 iface->path = path;
148 iface->header = header;
149 iface->ids = ids;
150 iface->show = show;
156 iface);
158 kfree(iface);
776 struct ipc_proc_iface *iface; member in struct:ipc_proc_iter
822 struct ipc_proc_iface *iface = iter->iface; local
841 struct ipc_proc_iface *iface = iter->iface; local
868 struct ipc_proc_iface *iface = iter->iface; local
883 struct ipc_proc_iface *iface = iter->iface; local
[all...]

Completed in 315 milliseconds

1234567891011>>