Home
last modified time | relevance | path

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

123456

/linux-6.1.9/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-6.1.9/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-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()
39 event.lock_status.status = (ff->dev_lock_count > 0); in hwdep_read()
40 ff->dev_lock_changed = false; in hwdep_read()
44 spin_unlock_irq(&ff->lock); in hwdep_read()
[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
142 struct amdtp_domain *d = &ff->domain; in pcm_open()
147 err = snd_ff_stream_lock_try(ff); in pcm_open()
151 err = pcm_init_hw_params(ff, substream); in pcm_open()
155 err = ff->spec->protocol->get_clock(ff, &rate, &src); in pcm_open()
[all …]
Dff-protocol-former.c71 static int former_get_clock(struct snd_ff *ff, unsigned int *rate, in former_get_clock() argument
78 err = snd_fw_transaction(ff->unit, TCODE_READ_QUADLET_REQUEST, in former_get_clock()
87 static int former_switch_fetching_mode(struct snd_ff *ff, bool enable) in former_switch_fetching_mode() argument
96 count = max(count, ff->spec->pcm_playback_channels[i]); in former_switch_fetching_mode()
114 err = snd_fw_transaction(ff->unit, TCODE_WRITE_BLOCK_REQUEST, in former_switch_fetching_mode()
121 static void dump_clock_config(struct snd_ff *ff, struct snd_info_buffer *buffer) in dump_clock_config() argument
130 err = snd_fw_transaction(ff->unit, TCODE_READ_BLOCK_REQUEST, in dump_clock_config()
159 static void dump_sync_status(struct snd_ff *ff, struct snd_info_buffer *buffer) in dump_sync_status() argument
200 err = snd_fw_transaction(ff->unit, TCODE_READ_BLOCK_REQUEST, in dump_sync_status()
257 static void former_dump_status(struct snd_ff *ff, in former_dump_status() argument
[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()
28 name = names[ff->unit_version]; in name_card()
30 strcpy(ff->card->driver, "Fireface"); in name_card()
31 strcpy(ff->card->shortname, name); in name_card()
32 strcpy(ff->card->mixername, name); in name_card()
33 snprintf(ff->card->longname, sizeof(ff->card->longname), in name_card()
36 dev_name(&ff->unit->device), 100 << fw_dev->max_speed); in name_card()
41 struct snd_ff *ff = card->private_data; in ff_card_free() local
43 snd_ff_stream_destroy_duplex(ff); in ff_card_free()
[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-protocol-latter.c141 static int latter_get_clock(struct snd_ff *ff, unsigned int *rate, in latter_get_clock() argument
148 err = snd_fw_transaction(ff->unit, TCODE_READ_QUADLET_REQUEST, in latter_get_clock()
154 return parse_clock_bits(data, rate, src, ff->unit_version); in latter_get_clock()
157 static int latter_switch_fetching_mode(struct snd_ff *ff, bool enable) in latter_switch_fetching_mode() argument
168 return snd_fw_transaction(ff->unit, TCODE_WRITE_QUADLET_REQUEST, in latter_switch_fetching_mode()
172 static int latter_allocate_resources(struct snd_ff *ff, unsigned int rate) in latter_allocate_resources() argument
197 err = snd_fw_transaction(ff->unit, TCODE_WRITE_QUADLET_REQUEST, in latter_allocate_resources()
208 err = latter_get_clock(ff, &curr_rate, &src); in latter_allocate_resources()
230 ff->tx_resources.channels_mask = 0x00000000000000ffuLL; in latter_allocate_resources()
231 err = fw_iso_resources_allocate(&ff->tx_resources, in latter_allocate_resources()
[all …]
Dff.h113 void (*handle_midi_msg)(struct snd_ff *ff, unsigned int offset,
115 int (*fill_midi_msg)(struct snd_ff *ff,
118 int (*get_clock)(struct snd_ff *ff, unsigned int *rate,
120 int (*switch_fetching_mode)(struct snd_ff *ff, bool enable);
121 int (*allocate_resources)(struct snd_ff *ff, unsigned int rate);
122 int (*begin_session)(struct snd_ff *ff, unsigned int rate);
123 void (*finish_session)(struct snd_ff *ff);
124 void (*dump_status)(struct snd_ff *ff, struct snd_info_buffer *buffer);
131 int snd_ff_transaction_register(struct snd_ff *ff);
132 int snd_ff_transaction_reregister(struct snd_ff *ff);
[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-6.1.9/drivers/input/
Dff-core.c21 static int check_effect_access(struct ff_device *ff, int effect_id, in check_effect_access() argument
24 if (effect_id < 0 || effect_id >= ff->max_effects || in check_effect_access()
25 !ff->effect_owners[effect_id]) in check_effect_access()
28 if (file && ff->effect_owners[effect_id] != file) in check_effect_access()
48 static int compat_effect(struct ff_device *ff, struct ff_effect *effect) in compat_effect() argument
54 if (!test_bit(FF_PERIODIC, ff->ffbit)) in compat_effect()
92 struct ff_device *ff = dev->ff; in input_ff_upload() local
114 if (!test_bit(effect->type, ff->ffbit)) { in input_ff_upload()
115 ret = compat_effect(ff, effect); in input_ff_upload()
120 mutex_lock(&ff->mutex); in input_ff_upload()
[all …]
Dff-memless.c195 static int get_compatible_type(struct ff_device *ff, int effect_type) in get_compatible_type() argument
198 if (test_bit(effect_type, ff->ffbit)) in get_compatible_type()
201 if (effect_type == FF_PERIODIC && test_bit(FF_RUMBLE, ff->ffbit)) in get_compatible_type()
352 effect_type = get_compatible_type(ml->dev->ff, effect->type); in ml_get_combo_effect()
418 struct ml_device *ml = dev->ff->private; in ml_ff_set_gain()
434 struct ml_device *ml = dev->ff->private; in ml_ff_playback()
465 struct ml_device *ml = dev->ff->private; in ml_ff_upload()
485 static void ml_ff_destroy(struct ff_device *ff) in ml_ff_destroy() argument
487 struct ml_device *ml = ff->private; in ml_ff_destroy()
511 struct ff_device *ff; in input_ff_create_memless() local
[all …]
/linux-6.1.9/tools/perf/util/
Dheader.c95 static int __do_write_fd(struct feat_fd *ff, const void *buf, size_t size) in __do_write_fd() argument
97 ssize_t ret = writen(ff->fd, buf, size); in __do_write_fd()
104 static int __do_write_buf(struct feat_fd *ff, const void *buf, size_t size) in __do_write_buf() argument
108 size_t new_size = ff->size; in __do_write_buf()
111 if (size + ff->offset > max_size) in __do_write_buf()
114 while (size > (new_size - ff->offset)) in __do_write_buf()
118 if (ff->size < new_size) { in __do_write_buf()
119 addr = realloc(ff->buf, new_size); in __do_write_buf()
122 ff->buf = addr; in __do_write_buf()
123 ff->size = new_size; in __do_write_buf()
[all …]
/linux-6.1.9/fs/fuse/
Dfile.c59 struct fuse_file *ff; in fuse_file_alloc() local
61 ff = kzalloc(sizeof(struct fuse_file), GFP_KERNEL_ACCOUNT); in fuse_file_alloc()
62 if (unlikely(!ff)) in fuse_file_alloc()
65 ff->fm = fm; in fuse_file_alloc()
66 ff->release_args = kzalloc(sizeof(*ff->release_args), in fuse_file_alloc()
68 if (!ff->release_args) { in fuse_file_alloc()
69 kfree(ff); in fuse_file_alloc()
73 INIT_LIST_HEAD(&ff->write_entry); in fuse_file_alloc()
74 mutex_init(&ff->readdir.lock); in fuse_file_alloc()
75 refcount_set(&ff->count, 1); in fuse_file_alloc()
[all …]
Dreaddir.c117 struct fuse_file *ff = file->private_data; in fuse_emit() local
119 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_emit()
357 struct fuse_file *ff = file->private_data; in fuse_readdir_uncached() local
359 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_readdir_uncached()
382 static enum fuse_parse_result fuse_parse_cache(struct fuse_file *ff, in fuse_parse_cache() argument
386 unsigned int offset = ff->readdir.cache_off & ~PAGE_MASK; in fuse_parse_cache()
408 if (ff->readdir.pos == ctx->pos) { in fuse_parse_cache()
415 ff->readdir.pos = dirent->off; in fuse_parse_cache()
416 ff->readdir.cache_off += reclen; in fuse_parse_cache()
438 struct fuse_file *ff = file->private_data; in fuse_readdir_cached() local
[all …]
Dioctl.c161 struct fuse_file *ff = file->private_data; in fuse_do_ioctl() local
162 struct fuse_mount *fm = ff->fm; in fuse_do_ioctl()
164 .fh = ff->fh, in fuse_do_ioctl()
248 ap.args.nodeid = ff->nodeid; in fuse_do_ioctl()
370 static int fuse_priv_ioctl(struct inode *inode, struct fuse_file *ff, in fuse_priv_ioctl() argument
373 struct fuse_mount *fm = ff->fm; in fuse_priv_ioctl()
380 inarg.fh = ff->fh; in fuse_priv_ioctl()
395 args.nodeid = ff->nodeid; in fuse_priv_ioctl()
428 static void fuse_priv_ioctl_cleanup(struct inode *inode, struct fuse_file *ff) in fuse_priv_ioctl_cleanup() argument
430 fuse_file_release(inode, ff, O_RDONLY, NULL, S_ISDIR(inode->i_mode)); in fuse_priv_ioctl_cleanup()
[all …]
/linux-6.1.9/Documentation/networking/
Dvrf.rst189 link/ether 72:b3:ba:91:e2:24 brd ff:ff:ff:ff:ff:ff promiscuity 0
192 link/ether b6:6f:6e:f6:da:73 brd ff:ff:ff:ff:ff:ff promiscuity 0
195 link/ether 36:62:e8:7d:bb:8c brd ff:ff:ff:ff:ff:ff promiscuity 0
198 link/ether e6:28:b8:63:70:bb brd ff:ff:ff:ff:ff:ff promiscuity 0
238 link/ether 02:00:00:00:02:02 brd ff:ff:ff:ff:ff:ff
240 link/ether 02:00:00:00:02:03 brd ff:ff:ff:ff:ff:ff
242 link/ether 02:00:00:00:02:06 brd ff:ff:ff:ff:ff:ff
283 link/ether 02:00:00:00:02:02 brd ff:ff:ff:ff:ff:ff
288 inet6 fe80::ff:fe00:202/64 scope link
291 link/ether 02:00:00:00:02:03 brd ff:ff:ff:ff:ff:ff
[all …]
Dnet_failover.rst77 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
83 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
85 link/ether 52:54:00:00:12:53 brd ff:ff:ff:ff:ff:ff
/linux-6.1.9/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-6.1.9/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1d.sh700 in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \
732 in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \
760 in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \
769 in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \
Dvxlan_bridge_1q.sh705 in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \
740 in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \
772 in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \
782 in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \
/linux-6.1.9/drivers/clk/mediatek/
Dclk-mtk.c144 const struct mtk_fixed_factor *ff = &clks[i]; in mtk_clk_register_factors() local
146 if (!IS_ERR_OR_NULL(clk_data->hws[ff->id])) { in mtk_clk_register_factors()
147 pr_warn("Trying to register duplicate clock ID: %d\n", ff->id); in mtk_clk_register_factors()
151 hw = clk_hw_register_fixed_factor(NULL, ff->name, ff->parent_name, in mtk_clk_register_factors()
152 CLK_SET_RATE_PARENT, ff->mult, ff->div); in mtk_clk_register_factors()
155 pr_err("Failed to register clk %s: %pe\n", ff->name, in mtk_clk_register_factors()
160 clk_data->hws[ff->id] = hw; in mtk_clk_register_factors()
167 const struct mtk_fixed_factor *ff = &clks[i]; in mtk_clk_register_factors() local
169 if (IS_ERR_OR_NULL(clk_data->hws[ff->id])) in mtk_clk_register_factors()
172 clk_hw_unregister_fixed_factor(clk_data->hws[ff->id]); in mtk_clk_register_factors()
[all …]
/linux-6.1.9/drivers/input/joystick/iforce/
Diforce-main.c192 for (i = 0; i < dev->ff->max_effects; i++) { in iforce_close()
215 struct ff_device *ff; in iforce_init_device() local
372 for (i = 0; iforce->type->ff[i] >= 0; i++) in iforce_init_device()
373 set_bit(iforce->type->ff[i], input_dev->ffbit); in iforce_init_device()
379 ff = input_dev->ff; in iforce_init_device()
380 ff->upload = iforce_upload_effect; in iforce_init_device()
381 ff->erase = iforce_erase_effect; in iforce_init_device()
382 ff->set_gain = iforce_set_gain; in iforce_init_device()
383 ff->set_autocenter = iforce_set_autocenter; in iforce_init_device()
384 ff->playback = iforce_playback; in iforce_init_device()

123456