Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 75) sorted by relevance

123

/drivers/md/dm-vdo/indexer/
A Dvolume.c625 struct volume *volume = arg; in read_thread_function() local
994 int uds_search_volume_page_cache_for_rebuild(struct volume *volume, in uds_search_volume_page_cache_for_rebuild() argument
1049 void uds_forget_chapter(struct volume *volume, u64 virtual_chapter) in uds_forget_chapter() argument
1182 static int encode_record_page(const struct volume *volume, in encode_record_page() argument
1468 int __must_check uds_replace_volume_storage(struct volume *volume, in uds_replace_volume_storage() argument
1481 volume->page_cache.index[i] = volume->page_cache.cache_slots; in uds_replace_volume_storage()
1490 volume->reserved_buffers, &volume->client); in uds_replace_volume_storage()
1546 struct volume *volume = NULL; in uds_make_volume() local
1551 result = vdo_allocate(1, struct volume, "volume", &volume); in uds_make_volume()
1575 volume->reserved_buffers, &volume->client); in uds_make_volume()
[all …]
A Dvolume.h99 struct volume { struct
129 void uds_free_volume(struct volume *volume);
131 int __must_check uds_replace_volume_storage(struct volume *volume,
135 int __must_check uds_find_volume_chapter_boundaries(struct volume *volume,
139 int __must_check uds_search_volume_page_cache(struct volume *volume,
148 int __must_check uds_search_cached_record_page(struct volume *volume,
152 void uds_forget_chapter(struct volume *volume, u64 chapter);
154 int __must_check uds_write_chapter(struct volume *volume,
158 void uds_prefetch_volume_chapter(const struct volume *volume, u32 chapter);
165 int __must_check uds_get_volume_record_page(struct volume *volume, u32 chapter,
[all …]
A Dindex.c345 struct volume *volume; in search_sparse_cache_in_zone() local
355 volume = zone->index->volume; in search_sparse_cache_in_zone()
364 struct volume *volume; in get_record_from_zone() local
388 volume = zone->index->volume; in get_record_from_zone()
715 index->volume, in close_chapters()
785 index->volume->geometry, in make_chapter_writer()
786 index->volume->nonce); in make_chapter_writer()
985 geometry = index->volume->geometry; in replay_chapter()
1107 index->volume->lookup_mode = LOOKUP_NORMAL; in rebuild_index()
1292 uds_free_volume(index->volume); in uds_free_index()
[all …]
A Dsparse-cache.c460 const struct volume *volume) in cache_chapter_index() argument
466 result = uds_read_chapter_index_from_volume(volume, virtual_chapter, in cache_chapter_index()
496 struct sparse_cache *cache = index->volume->sparse_cache; in uds_update_sparse_cache()
523 index->volume); in uds_update_sparse_cache()
579 struct volume *volume = zone->index->volume; in uds_search_sparse_cache() local
580 struct sparse_cache *cache = volume->sparse_cache; in uds_search_sparse_cache()
597 volume->index_page_map, name, in uds_search_sparse_cache()
A Dopen-chapter.h66 unsigned int zone_count, struct volume *volume,
A Dindex.h43 struct volume *volume; member
A Dopen-chapter.c276 unsigned int zone_count, struct volume *volume, in uds_close_open_chapter() argument
289 return uds_write_chapter(volume, chapter_index, collated_records); in uds_close_open_chapter()
/drivers/firmware/efi/libstub/
A Dfile.c37 static efi_status_t efi_open_file(efi_file_protocol_t *volume, in efi_open_file() argument
54 status = efi_call_proto(volume, open, &fh, fi->filename, in efi_open_file()
128 static efi_status_t efi_open_device_path(efi_file_protocol_t **volume, in efi_open_device_path() argument
171 status = efi_call_proto(io, open_volume, volume); in efi_open_device_path()
203 efi_file_protocol_t *volume = NULL; in handle_cmdline_files() local
246 status = efi_open_device_path(&volume, &fi); in handle_cmdline_files()
249 status = efi_open_volume(image, &volume); in handle_cmdline_files()
254 status = efi_open_file(volume, &fi, &file, &size); in handle_cmdline_files()
309 efi_call_proto(volume, close); in handle_cmdline_files()
326 efi_call_proto(volume, close); in handle_cmdline_files()
/drivers/mfd/
A Dwl1273-core.c141 static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume) in wl1273_fm_set_volume() argument
145 if (volume > WL1273_MAX_VOLUME) in wl1273_fm_set_volume()
148 if (core->volume == volume) in wl1273_fm_set_volume()
151 r = wl1273_fm_write_cmd(core, WL1273_VOLUME_SET, volume); in wl1273_fm_set_volume()
155 core->volume = volume; in wl1273_fm_set_volume()
/drivers/media/radio/
A Dradio-sf16fmr2.c35 struct v4l2_ctrl *volume; member
153 int volume, balance, left, right; in fmr2_s_ctrl() local
157 volume = ctrl->val; in fmr2_s_ctrl()
162 volume = fmr2->volume->cur.val; in fmr2_s_ctrl()
168 left = right = volume; in fmr2_s_ctrl()
190 …fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68,… in fmr2_tea_ext_init()
A Dradio-isa.h32 struct v4l2_ctrl *volume; member
53 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume);
A Dradio-isa.c124 isa->volume ? isa->volume->val : 0); in radio_isa_s_ctrl()
220 isa->volume = v4l2_ctrl_new_std(&isa->hdl, &radio_isa_ctrl_ops, in radio_isa_common_probe()
281 ops->s_mute_volume(isa, true, isa->volume ? isa->volume->cur.val : 0); in radio_isa_common_remove()
/drivers/media/i2c/
A Dwm8739.c45 struct v4l2_ctrl *volume; member
102 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()
103 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()
199 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
212 v4l2_ctrl_cluster(3, &state->volume); in wm8739_probe()
A Dtda7432.c275 u8 bass, treble, volume; in tda7432_s_ctrl() local
306 volume = 0x6f - ctrl->val; in tda7432_s_ctrl()
308 volume |= TDA7432_LD_ON; in tda7432_s_ctrl()
310 tda7432_write(sd, TDA7432_VL, volume); in tda7432_s_ctrl()
A Dmsp3400-driver.c343 state->volume->val); in msp_s_ctrl()
391 v4l2_ctrl_lock(state->volume); in msp_update_volume()
392 state->volume->val = state->volume->cur.val; in msp_update_volume()
394 msp_s_ctrl(state->volume); in msp_update_volume()
395 v4l2_ctrl_unlock(state->volume); in msp_update_volume()
804 state->volume = v4l2_ctrl_new_std(hdl, &msp_ctrl_ops, in msp_probe()
818 v4l2_ctrl_cluster(2, &state->volume); in msp_probe()
A Dwm8775.c86 u16 volume = (u16)state->vol->val; in wm8775_set_audio() local
90 vol_l = (min(65536 - balance, 32768) * volume) >> 23; in wm8775_set_audio()
91 vol_r = (min(balance, (u16)32768) * volume) >> 23; in wm8775_set_audio()
A Dsony-btf-mpx.c125 u16 volume; member
221 mpx_write(client, 0x12, 0x0000, mpx_audio_modes[mode].volume); in mpx_setup()
240 mpx_audio_modes[mode].volume); in mpx_setup()
A Dtvaudio.c117 struct v4l2_ctrl *volume; member
1759 u32 volume, balance; in tvaudio_s_ctrl() local
1762 volume = chip->volume->val; in tvaudio_s_ctrl()
1764 left = (min(65536U - balance, 32768U) * volume) / 32768U; in tvaudio_s_ctrl()
1765 right = (min(balance, 32768U) * volume) / 32768U; in tvaudio_s_ctrl()
2009 chip->volume = v4l2_ctrl_new_std(&chip->hdl, in tvaudio_probe()
2016 v4l2_ctrl_cluster(2, &chip->volume); in tvaudio_probe()
/drivers/isdn/mISDN/
A Ddsp_audio.c391 dsp_change_volume(struct sk_buff *skb, int volume) in dsp_change_volume() argument
398 if (volume == 0) in dsp_change_volume()
402 if (volume < 0) { in dsp_change_volume()
403 shift = volume + 8; in dsp_change_volume()
407 shift = volume + 7; in dsp_change_volume()
/drivers/usb/gadget/function/
A Du_audio.c63 s16 volume; member
806 *val = prm->volume; in u_audio_get_volume()
827 if (prm->volume != val) { in u_audio_set_volume()
828 prm->volume = val; in u_audio_set_volume()
1045 (prm->volume - prm->volume_min) / prm->volume_res; in u_audio_volume_get()
1058 s16 volume; in u_audio_volume_put() local
1065 volume = (val * prm->volume_res) + prm->volume_min; in u_audio_volume_put()
1066 volume = clamp(volume, prm->volume_min, prm->volume_max); in u_audio_volume_put()
1067 if (volume != prm->volume) { in u_audio_volume_put()
1068 prm->volume = volume; in u_audio_volume_put()
[all …]
/drivers/media/i2c/cx25840/
A Dcx25840-audio.c468 static void set_volume(struct i2c_client *client, int volume) in set_volume() argument
473 vol = volume >> 9; in set_volume()
535 set_volume(client, state->volume->val); in cx25840_audio_s_ctrl()
/drivers/md/dm-vdo/
A DMakefile56 indexer/volume.o \
57 indexer/volume-index.o
/drivers/staging/vc04_services/bcm2835-audio/
A Dbcm2835-vchiq.c266 m.control.volume = CHIP_MIN_VOLUME; in bcm2835_audio_set_ctls()
268 m.control.volume = alsa2chip(chip->volume); in bcm2835_audio_set_ctls()
A Dbcm2835-ctl.c60 ucontrol->value.integer.value[0] = chip->volume; in snd_bcm2835_ctl_get()
79 valp = &chip->volume; in snd_bcm2835_ctl_put()
/drivers/media/pci/cx18/
A Dcx18-av-audio.c331 static void set_volume(struct cx18 *cx, int volume) in set_volume() argument
334 int vol = volume >> 9; in set_volume()

Completed in 50 milliseconds

123