Home
last modified time | relevance | path

Searched refs:ff (Results 1 – 25 of 116) sorted by relevance

12345

/Linux-v5.4/Documentation/w1/slaves/
Dw1_ds2423.rst44 …2 00 00 00 00 00 00 00 6d 38 00 ff ff 00 00 fe ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff
45 …2 00 00 00 00 00 00 00 e0 1f 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff
46 …9 c6 5d 18 00 00 00 00 04 37 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff
47 …05 00 00 00 00 00 00 00 8d 39 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
51 …2 00 00 00 00 00 00 00 6d 38 00 ff ff 00 00 fe ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff
52 …2 00 00 22 00 00 00 00 e0 1f 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff
53 …1 61 5d 19 00 00 00 00 df 0b 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff 00 00 ff ff
54 …05 00 00 20 00 00 00 00 8d 39 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
/Linux-v5.4/sound/firewire/fireface/
Dff-stream.c33 static inline void finish_session(struct snd_ff *ff) in finish_session() argument
35 ff->spec->protocol->finish_session(ff); in finish_session()
36 ff->spec->protocol->switch_fetching_mode(ff, false); in finish_session()
39 static int init_stream(struct snd_ff *ff, struct amdtp_stream *s) in init_stream() argument
45 if (s == &ff->tx_stream) { in init_stream()
46 resources = &ff->tx_resources; in init_stream()
49 resources = &ff->rx_resources; in init_stream()
53 err = fw_iso_resources_init(resources, ff->unit); in init_stream()
57 err = amdtp_ff_init(s, ff->unit, dir); in init_stream()
64 static void destroy_stream(struct snd_ff *ff, struct amdtp_stream *s) in destroy_stream() argument
[all …]
Dff-transaction.c10 static void finish_transmit_midi_msg(struct snd_ff *ff, unsigned int port, in finish_transmit_midi_msg() argument
14 READ_ONCE(ff->rx_midi_substreams[port]); in finish_transmit_midi_msg()
17 ff->rx_midi_error[port] = true; in finish_transmit_midi_msg()
23 ff->next_ktime[port] = 0; in finish_transmit_midi_msg()
24 schedule_work(&ff->rx_midi_work[port]); in finish_transmit_midi_msg()
28 snd_rawmidi_transmit_ack(substream, ff->rx_bytes[port]); in finish_transmit_midi_msg()
29 ff->rx_bytes[port] = 0; in finish_transmit_midi_msg()
32 schedule_work(&ff->rx_midi_work[port]); in finish_transmit_midi_msg()
39 struct snd_ff *ff = in finish_transmit_midi0_msg() local
41 finish_transmit_midi_msg(ff, 0, rcode); in finish_transmit_midi0_msg()
[all …]
Dff.c16 static void name_card(struct snd_ff *ff) in name_card() argument
18 struct fw_device *fw_dev = fw_parent_device(ff->unit); in name_card()
20 strcpy(ff->card->driver, "Fireface"); in name_card()
21 strcpy(ff->card->shortname, ff->spec->name); in name_card()
22 strcpy(ff->card->mixername, ff->spec->name); in name_card()
23 snprintf(ff->card->longname, sizeof(ff->card->longname), in name_card()
24 "RME %s, GUID %08x%08x at %s, S%d", ff->spec->name, in name_card()
26 dev_name(&ff->unit->device), 100 << fw_dev->max_speed); in name_card()
31 struct snd_ff *ff = card->private_data; in ff_card_free() local
33 snd_ff_stream_destroy_duplex(ff); in ff_card_free()
[all …]
Dff-hwdep.c21 struct snd_ff *ff = hwdep->private_data; in hwdep_read() local
25 spin_lock_irq(&ff->lock); in hwdep_read()
27 while (!ff->dev_lock_changed) { in hwdep_read()
28 prepare_to_wait(&ff->hwdep_wait, &wait, TASK_INTERRUPTIBLE); in hwdep_read()
29 spin_unlock_irq(&ff->lock); in hwdep_read()
31 finish_wait(&ff->hwdep_wait, &wait); in hwdep_read()
34 spin_lock_irq(&ff->lock); in hwdep_read()
38 if (ff->dev_lock_changed) { in hwdep_read()
40 event.lock_status.status = (ff->dev_lock_count > 0); in hwdep_read()
41 ff->dev_lock_changed = false; in hwdep_read()
[all …]
Dff-protocol-former.c73 static int former_get_clock(struct snd_ff *ff, unsigned int *rate, in former_get_clock() argument
80 err = snd_fw_transaction(ff->unit, TCODE_READ_QUADLET_REQUEST, in former_get_clock()
89 static int former_switch_fetching_mode(struct snd_ff *ff, bool enable) in former_switch_fetching_mode() argument
98 count = max(count, ff->spec->pcm_playback_channels[i]); in former_switch_fetching_mode()
116 err = snd_fw_transaction(ff->unit, TCODE_WRITE_BLOCK_REQUEST, in former_switch_fetching_mode()
123 static void dump_clock_config(struct snd_ff *ff, struct snd_info_buffer *buffer) in dump_clock_config() argument
132 err = snd_fw_transaction(ff->unit, TCODE_READ_BLOCK_REQUEST, in dump_clock_config()
161 static void dump_sync_status(struct snd_ff *ff, struct snd_info_buffer *buffer) in dump_sync_status() argument
202 err = snd_fw_transaction(ff->unit, TCODE_READ_BLOCK_REQUEST, in dump_sync_status()
259 static void former_dump_status(struct snd_ff *ff, in former_dump_status() argument
[all …]
Dff-pcm.c104 static int pcm_init_hw_params(struct snd_ff *ff, in pcm_init_hw_params() argument
114 s = &ff->tx_stream; in pcm_init_hw_params()
115 pcm_channels = ff->spec->pcm_capture_channels; in pcm_init_hw_params()
118 s = &ff->rx_stream; in pcm_init_hw_params()
119 pcm_channels = ff->spec->pcm_playback_channels; in pcm_init_hw_params()
141 struct snd_ff *ff = substream->private_data; in pcm_open() local
146 err = snd_ff_stream_lock_try(ff); in pcm_open()
150 err = pcm_init_hw_params(ff, substream); in pcm_open()
154 err = ff->spec->protocol->get_clock(ff, &rate, &src); in pcm_open()
175 if (amdtp_stream_pcm_running(&ff->rx_stream) || in pcm_open()
[all …]
Dff-midi.c18 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_open() local
21 ff->on_sysex[substream->number] = 0; in midi_playback_open()
22 ff->rx_midi_error[substream->number] = false; in midi_playback_open()
24 WRITE_ONCE(ff->rx_midi_substreams[substream->number], substream); in midi_playback_open()
37 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_close() local
39 cancel_work_sync(&ff->rx_midi_work[substream->number]); in midi_playback_close()
40 WRITE_ONCE(ff->rx_midi_substreams[substream->number], NULL); in midi_playback_close()
48 struct snd_ff *ff = substream->rmidi->private_data; in midi_capture_trigger() local
51 spin_lock_irqsave(&ff->lock, flags); in midi_capture_trigger()
54 WRITE_ONCE(ff->tx_midi_substreams[substream->number], in midi_capture_trigger()
[all …]
Dff.h109 void (*handle_midi_msg)(struct snd_ff *ff, unsigned int offset,
111 int (*fill_midi_msg)(struct snd_ff *ff,
114 int (*get_clock)(struct snd_ff *ff, unsigned int *rate,
116 int (*switch_fetching_mode)(struct snd_ff *ff, bool enable);
117 int (*allocate_resources)(struct snd_ff *ff, unsigned int rate);
118 int (*begin_session)(struct snd_ff *ff, unsigned int rate);
119 void (*finish_session)(struct snd_ff *ff);
120 void (*dump_status)(struct snd_ff *ff, struct snd_info_buffer *buffer);
127 int snd_ff_transaction_register(struct snd_ff *ff);
128 int snd_ff_transaction_reregister(struct snd_ff *ff);
[all …]
Dff-protocol-latter.c69 static int latter_get_clock(struct snd_ff *ff, unsigned int *rate, in latter_get_clock() argument
76 err = snd_fw_transaction(ff->unit, TCODE_READ_QUADLET_REQUEST, in latter_get_clock()
85 static int latter_switch_fetching_mode(struct snd_ff *ff, bool enable) in latter_switch_fetching_mode() argument
96 return snd_fw_transaction(ff->unit, TCODE_WRITE_QUADLET_REQUEST, in latter_switch_fetching_mode()
100 static int latter_allocate_resources(struct snd_ff *ff, unsigned int rate) in latter_allocate_resources() argument
125 err = snd_fw_transaction(ff->unit, TCODE_WRITE_QUADLET_REQUEST, in latter_allocate_resources()
136 err = latter_get_clock(ff, &curr_rate, &src); in latter_allocate_resources()
158 ff->tx_resources.channels_mask = 0x00000000000000ffuLL; in latter_allocate_resources()
159 err = fw_iso_resources_allocate(&ff->tx_resources, in latter_allocate_resources()
160 amdtp_stream_get_max_payload(&ff->tx_stream), in latter_allocate_resources()
[all …]
DMakefile2 snd-fireface-objs := ff.o ff-transaction.o ff-midi.o ff-proc.o amdtp-ff.o \
3 ff-stream.o ff-pcm.o ff-hwdep.o ff-protocol-former.o \
4 ff-protocol-latter.o
Dff-proc.c30 struct snd_ff *ff = entry->private_data; in proc_dump_status() local
32 ff->spec->protocol->dump_status(ff, buffer); in proc_dump_status()
35 static void add_node(struct snd_ff *ff, struct snd_info_entry *root, in add_node() argument
42 entry = snd_info_create_card_entry(ff->card, name, root); in add_node()
44 snd_info_set_text_ops(entry, ff, op); in add_node()
47 void snd_ff_proc_init(struct snd_ff *ff) in snd_ff_proc_init() argument
55 root = snd_info_create_card_entry(ff->card, "firewire", in snd_ff_proc_init()
56 ff->card->proc_root); in snd_ff_proc_init()
61 add_node(ff, root, "status", proc_dump_status); in snd_ff_proc_init()
/Linux-v5.4/drivers/input/
Dff-core.c24 static int check_effect_access(struct ff_device *ff, int effect_id, in check_effect_access() argument
27 if (effect_id < 0 || effect_id >= ff->max_effects || in check_effect_access()
28 !ff->effect_owners[effect_id]) in check_effect_access()
31 if (file && ff->effect_owners[effect_id] != file) in check_effect_access()
51 static int compat_effect(struct ff_device *ff, struct ff_effect *effect) in compat_effect() argument
57 if (!test_bit(FF_PERIODIC, ff->ffbit)) in compat_effect()
95 struct ff_device *ff = dev->ff; in input_ff_upload() local
117 if (!test_bit(effect->type, ff->ffbit)) { in input_ff_upload()
118 ret = compat_effect(ff, effect); in input_ff_upload()
123 mutex_lock(&ff->mutex); in input_ff_upload()
[all …]
Dff-memless.c198 static int get_compatible_type(struct ff_device *ff, int effect_type) in get_compatible_type() argument
201 if (test_bit(effect_type, ff->ffbit)) in get_compatible_type()
204 if (effect_type == FF_PERIODIC && test_bit(FF_RUMBLE, ff->ffbit)) in get_compatible_type()
355 effect_type = get_compatible_type(ml->dev->ff, effect->type); in ml_get_combo_effect()
421 struct ml_device *ml = dev->ff->private; in ml_ff_set_gain()
437 struct ml_device *ml = dev->ff->private; in ml_ff_playback()
468 struct ml_device *ml = dev->ff->private; in ml_ff_upload()
488 static void ml_ff_destroy(struct ff_device *ff) in ml_ff_destroy() argument
490 struct ml_device *ml = ff->private; in ml_ff_destroy()
514 struct ff_device *ff; in input_ff_create_memless() local
[all …]
/Linux-v5.4/tools/perf/util/
Dheader.c90 static int __do_write_fd(struct feat_fd *ff, const void *buf, size_t size) in __do_write_fd() argument
92 ssize_t ret = writen(ff->fd, buf, size); in __do_write_fd()
99 static int __do_write_buf(struct feat_fd *ff, const void *buf, size_t size) in __do_write_buf() argument
103 size_t new_size = ff->size; in __do_write_buf()
106 if (size + ff->offset > max_size) in __do_write_buf()
109 while (size > (new_size - ff->offset)) in __do_write_buf()
113 if (ff->size < new_size) { in __do_write_buf()
114 addr = realloc(ff->buf, new_size); in __do_write_buf()
117 ff->buf = addr; in __do_write_buf()
118 ff->size = new_size; in __do_write_buf()
[all …]
/Linux-v5.4/Documentation/networking/
Dvrf.txt159 link/ether 72:b3:ba:91:e2:24 brd ff:ff:ff:ff:ff:ff promiscuity 0
162 link/ether b6:6f:6e:f6:da:73 brd ff:ff:ff:ff:ff:ff promiscuity 0
165 link/ether 36:62:e8:7d:bb:8c brd ff:ff:ff:ff:ff:ff promiscuity 0
168 link/ether e6:28:b8:63:70:bb brd ff:ff:ff:ff:ff:ff promiscuity 0
204 link/ether 02:00:00:00:02:02 brd ff:ff:ff:ff:ff:ff
206 link/ether 02:00:00:00:02:03 brd ff:ff:ff:ff:ff:ff
208 link/ether 02:00:00:00:02:06 brd ff:ff:ff:ff:ff:ff
244 link/ether 02:00:00:00:02:02 brd ff:ff:ff:ff:ff:ff
249 inet6 fe80::ff:fe00:202/64 scope link
252 link/ether 02:00:00:00:02:03 brd ff:ff:ff:ff:ff:ff
[all …]
Dnet_failover.rst63 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
69 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
71 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
/Linux-v5.4/fs/fuse/
Dfile.c64 struct fuse_file *ff; in fuse_file_alloc() local
66 ff = kzalloc(sizeof(struct fuse_file), GFP_KERNEL_ACCOUNT); in fuse_file_alloc()
67 if (unlikely(!ff)) in fuse_file_alloc()
70 ff->fc = fc; in fuse_file_alloc()
71 ff->release_args = kzalloc(sizeof(*ff->release_args), in fuse_file_alloc()
73 if (!ff->release_args) { in fuse_file_alloc()
74 kfree(ff); in fuse_file_alloc()
78 INIT_LIST_HEAD(&ff->write_entry); in fuse_file_alloc()
79 mutex_init(&ff->readdir.lock); in fuse_file_alloc()
80 refcount_set(&ff->count, 1); in fuse_file_alloc()
[all …]
Dreaddir.c115 struct fuse_file *ff = file->private_data; in fuse_emit() local
117 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_emit()
352 struct fuse_file *ff = file->private_data; in fuse_readdir_uncached() local
354 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_readdir_uncached()
377 static enum fuse_parse_result fuse_parse_cache(struct fuse_file *ff, in fuse_parse_cache() argument
381 unsigned int offset = ff->readdir.cache_off & ~PAGE_MASK; in fuse_parse_cache()
403 if (ff->readdir.pos == ctx->pos) { in fuse_parse_cache()
410 ff->readdir.pos = dirent->off; in fuse_parse_cache()
411 ff->readdir.cache_off += reclen; in fuse_parse_cache()
433 struct fuse_file *ff = file->private_data; in fuse_readdir_cached() local
[all …]
/Linux-v5.4/arch/m68k/ifpsp060/
Dfplsp.sa74 dc.l $660861ff,$00007124,$60220c01,$00026608
75 dc.l $61ff0000,$6d226014,$0c010003,$660861ff
76 dc.l $00006f4c,$600661ff,$00002f8e,$4cee0303
83 dc.l $660861ff,$00002d3e,$60300c01,$00016608
84 dc.l $61ff0000,$70866022,$0c010002,$660861ff
93 dc.l $660861ff,$00002c9e,$60300c01,$00016608
94 dc.l $61ff0000,$6fe66022,$0c010002,$660861ff
103 dc.l $2c0e6030,$0c010001,$660861ff,$00006fc8
105 dc.l $0c010003,$660861ff,$00006d74,$600661ff
112 dc.l $ff631d41,$ff4e4a01,$660861ff,$00002b70
[all …]
/Linux-v5.4/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1d.sh689 in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \
721 in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \
749 in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \
758 in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \
Dvxlan_bridge_1q.sh725 in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \
760 in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \
792 in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \
802 in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \
/Linux-v5.4/drivers/input/joystick/iforce/
Diforce-main.c191 for (i = 0; i < dev->ff->max_effects; i++) { in iforce_close()
214 struct ff_device *ff; in iforce_init_device() local
371 for (i = 0; iforce->type->ff[i] >= 0; i++) in iforce_init_device()
372 set_bit(iforce->type->ff[i], input_dev->ffbit); in iforce_init_device()
378 ff = input_dev->ff; in iforce_init_device()
379 ff->upload = iforce_upload_effect; in iforce_init_device()
380 ff->erase = iforce_erase_effect; in iforce_init_device()
381 ff->set_gain = iforce_set_gain; in iforce_init_device()
382 ff->set_autocenter = iforce_set_autocenter; in iforce_init_device()
383 ff->playback = iforce_playback; in iforce_init_device()
/Linux-v5.4/drivers/clk/mediatek/
Dclk-mtk.c78 const struct mtk_fixed_factor *ff = &clks[i]; in mtk_clk_register_factors() local
80 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[ff->id])) in mtk_clk_register_factors()
83 clk = clk_register_fixed_factor(NULL, ff->name, ff->parent_name, in mtk_clk_register_factors()
84 CLK_SET_RATE_PARENT, ff->mult, ff->div); in mtk_clk_register_factors()
88 ff->name, PTR_ERR(clk)); in mtk_clk_register_factors()
93 clk_data->clks[ff->id] = clk; in mtk_clk_register_factors()
/Linux-v5.4/drivers/clk/pistachio/
Dclk.c108 struct pistachio_fixed_factor *ff, in pistachio_clk_register_fixed_factor() argument
115 clk = clk_register_fixed_factor(NULL, ff[i].name, ff[i].parent, in pistachio_clk_register_fixed_factor()
116 0, 1, ff[i].div); in pistachio_clk_register_fixed_factor()
117 p->clk_data.clks[ff[i].id] = clk; in pistachio_clk_register_fixed_factor()

12345