/linux-master/sound/pci/pcxhr/ |
H A D | pcxhr_mixer.h | 14 int pcxhr_create_mixer(struct pcxhr_mgr *mgr);
|
H A D | pcxhr_hwdep.h | 24 int pcxhr_setup_firmware(struct pcxhr_mgr *mgr); 25 void pcxhr_reset_board(struct pcxhr_mgr *mgr);
|
H A D | pcxhr_hwdep.c | 25 static int pcxhr_sub_init(struct pcxhr_mgr *mgr); 29 static int pcxhr_init_board(struct pcxhr_mgr *mgr) argument 36 if (mgr->mono_capture) 37 card_streams = mgr->capture_chips * 2; 39 card_streams = mgr->capture_chips; 40 card_streams += mgr->playback_chips * PCXHR_PLAYBACK_STREAMS; 43 pcxhr_enable_dsp(mgr); 46 err = pcxhr_send_msg(mgr, &rmh); 50 if ((rmh.stat[0] & MASK_FIRST_FIELD) < mgr->playback_chips * 2) 54 mgr 87 pcxhr_sub_init(struct pcxhr_mgr *mgr) argument 121 pcxhr_reset_board(struct pcxhr_mgr *mgr) argument 153 pcxhr_dsp_allocate_pipe(struct pcxhr_mgr *mgr, struct pcxhr_pipe *pipe, int is_capture, int pin) argument 229 pcxhr_config_pipes(struct pcxhr_mgr *mgr) argument 257 pcxhr_start_pipes(struct pcxhr_mgr *mgr) argument 276 pcxhr_dsp_load(struct pcxhr_mgr *mgr, int index, const struct firmware *dsp) argument 352 pcxhr_setup_firmware(struct pcxhr_mgr *mgr) argument [all...] |
H A D | pcxhr_mix22.c | 36 #define PCXHR_INPB(mgr, x) inb((mgr)->port[PCXHR_DSP] + (x)) 37 #define PCXHR_OUTPB(mgr, x, data) outb((data), (mgr)->port[PCXHR_DSP] + (x)) 206 static void hr222_config_akm(struct pcxhr_mgr *mgr, unsigned short data) argument 210 PCXHR_INPB(mgr, PCXHR_XLX_HIFREQ); 213 PCXHR_OUTPB(mgr, PCXHR_XLX_DATA, 218 PCXHR_INPB(mgr, PCXHR_XLX_RUER); 222 static int hr222_set_hw_playback_level(struct pcxhr_mgr *mgr, argument 239 hr222_config_akm(mgr, cm 244 hr222_set_hw_capture_level(struct pcxhr_mgr *mgr, int level_l, int level_r, int level_mic) argument 271 hr222_sub_init(struct pcxhr_mgr *mgr) argument 338 hr222_sub_set_clock(struct pcxhr_mgr *mgr, unsigned int rate, int *changed) argument 402 hr222_get_external_clock(struct pcxhr_mgr *mgr, enum pcxhr_clock_type clock_type, int *sample_rate) argument 496 hr222_read_gpio(struct pcxhr_mgr *mgr, int is_gpi, int *value) argument 510 hr222_write_gpo(struct pcxhr_mgr *mgr, int value) argument 522 hr222_manage_timecode(struct pcxhr_mgr *mgr, int enable) argument 667 hr222_micro_boost(struct pcxhr_mgr *mgr, int level) argument 682 hr222_phantom_power(struct pcxhr_mgr *mgr, int power) argument [all...] |
H A D | pcxhr_core.c | 59 #define PCXHR_INPB(mgr,x) inb((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) 60 #define PCXHR_INPL(mgr,x) inl((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) 61 #define PCXHR_OUTPB(mgr,x,data) outb((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) 62 #define PCXHR_OUTPL(mgr,x,data) outl((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) 113 static int pcxhr_check_reg_bit(struct pcxhr_mgr *mgr, unsigned int reg, argument 120 *read = PCXHR_INPB(mgr, re 166 pcxhr_send_it_dsp(struct pcxhr_mgr *mgr, unsigned int itdsp, int atomic) argument 226 pcxhr_reset_xilinx_com(struct pcxhr_mgr *mgr) argument 233 pcxhr_enable_irq(struct pcxhr_mgr *mgr, int enable) argument 244 pcxhr_reset_dsp(struct pcxhr_mgr *mgr) argument 259 pcxhr_enable_dsp(struct pcxhr_mgr *mgr) argument 268 pcxhr_load_xilinx_binary(struct pcxhr_mgr *mgr, const struct firmware *xilinx, int second) argument 320 pcxhr_download_dsp(struct pcxhr_mgr *mgr, const struct firmware *dsp) argument 371 pcxhr_load_eeprom_binary(struct pcxhr_mgr *mgr, const struct firmware *eeprom) argument 403 pcxhr_load_boot_binary(struct pcxhr_mgr *mgr, const struct firmware *boot) argument 432 pcxhr_load_dsp_binary(struct pcxhr_mgr *mgr, const struct firmware *dsp) argument 532 pcxhr_read_rmh_status(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument 595 pcxhr_send_msg_nolock(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument 755 pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument 765 pcxhr_pipes_running(struct pcxhr_mgr *mgr) argument 781 pcxhr_prepair_pipe_start(struct pcxhr_mgr *mgr, int audio_mask, int *retry) argument 821 pcxhr_stop_pipes(struct pcxhr_mgr *mgr, int audio_mask) argument 853 pcxhr_toggle_pipes(struct pcxhr_mgr *mgr, int audio_mask) argument 893 pcxhr_set_pipe_state(struct pcxhr_mgr *mgr, int playback_mask, int capture_mask, int start) argument 959 pcxhr_write_io_num_reg_cont(struct pcxhr_mgr *mgr, unsigned int mask, unsigned int value, int *changed) argument 1005 pcxhr_handle_async_err(struct pcxhr_mgr *mgr, u32 err, enum pcxhr_async_err_src err_src, int pipe, int is_capture) argument 1034 pcxhr_msg_thread(struct pcxhr_mgr *mgr) argument 1115 pcxhr_stream_read_position(struct pcxhr_mgr *mgr, struct pcxhr_stream *stream) argument 1147 pcxhr_update_timer_pos(struct pcxhr_mgr *mgr, struct pcxhr_stream *stream, int samples_to_add) argument 1219 struct pcxhr_mgr *mgr = dev_id; local 1268 struct pcxhr_mgr *mgr = dev_id; local [all...] |
H A D | pcxhr_mix22.h | 15 int hr222_sub_init(struct pcxhr_mgr *mgr); 16 int hr222_sub_set_clock(struct pcxhr_mgr *mgr, unsigned int rate, 18 int hr222_get_external_clock(struct pcxhr_mgr *mgr, 22 int hr222_read_gpio(struct pcxhr_mgr *mgr, int is_gpi, int *value); 23 int hr222_write_gpo(struct pcxhr_mgr *mgr, int value); 24 int hr222_manage_timecode(struct pcxhr_mgr *mgr, int enable);
|
H A D | pcxhr.c | 234 static int pcxhr_get_clock_reg(struct pcxhr_mgr *mgr, unsigned int rate, argument 242 switch (mgr->use_clock_type) { 271 err = pcxhr_send_msg(mgr, &rmh); 273 dev_err(&mgr->pci->dev, 307 static int pcxhr_sub_set_clock(struct pcxhr_mgr *mgr, argument 315 err = pcxhr_get_clock_reg(mgr, rate, &val, &realfreq); 326 if (mgr->codec_speed != speed) { 329 if (DSP_EXT_CMD_SET(mgr)) { 333 err = pcxhr_send_msg(mgr, &rmh); 341 err = pcxhr_send_msg(mgr, 379 pcxhr_set_clock(struct pcxhr_mgr *mgr, unsigned int rate) argument 412 pcxhr_sub_get_external_clock(struct pcxhr_mgr *mgr, enum pcxhr_clock_type clock_type, int *sample_rate) argument 475 pcxhr_get_external_clock(struct pcxhr_mgr *mgr, enum pcxhr_clock_type clock_type, int *sample_rate) argument 691 pcxhr_start_linked_stream(struct pcxhr_mgr *mgr) argument 878 pcxhr_hardware_timer(struct pcxhr_mgr *mgr, int start) argument 902 struct pcxhr_mgr *mgr = chip->mgr; local 939 struct pcxhr_mgr *mgr = chip->mgr; local 988 struct pcxhr_mgr *mgr = chip->mgr; local 1074 struct pcxhr_mgr *mgr = chip->mgr; local 1176 pcxhr_create(struct pcxhr_mgr *mgr, struct snd_card *card, int idx) argument 1221 struct pcxhr_mgr *mgr = chip->mgr; local 1292 struct pcxhr_mgr *mgr = chip->mgr; local 1334 struct pcxhr_mgr *mgr = chip->mgr; local 1351 struct pcxhr_mgr *mgr = chip->mgr; local 1379 struct pcxhr_mgr *mgr = chip->mgr; local 1441 pcxhr_free(struct pcxhr_mgr *mgr) argument 1482 struct pcxhr_mgr *mgr; local [all...] |
/linux-master/drivers/fpga/ |
H A D | fpga-mgr.c | 12 #include <linux/fpga/fpga-mgr.h> 25 struct fpga_manager *mgr; member in struct:fpga_mgr_devres 28 static inline void fpga_mgr_fpga_remove(struct fpga_manager *mgr) argument 30 if (mgr->mops->fpga_remove) 31 mgr->mops->fpga_remove(mgr); 34 static inline enum fpga_mgr_states fpga_mgr_state(struct fpga_manager *mgr) argument 36 if (mgr->mops->state) 37 return mgr->mops->state(mgr); 41 fpga_mgr_status(struct fpga_manager *mgr) argument 48 fpga_mgr_write(struct fpga_manager *mgr, const char *buf, size_t count) argument 59 fpga_mgr_write_complete(struct fpga_manager *mgr, struct fpga_image_info *info) argument 77 fpga_mgr_parse_header(struct fpga_manager *mgr, struct fpga_image_info *info, const char *buf, size_t count) argument 86 fpga_mgr_write_init(struct fpga_manager *mgr, struct fpga_image_info *info, const char *buf, size_t count) argument 95 fpga_mgr_write_sg(struct fpga_manager *mgr, struct sg_table *sgt) argument 151 fpga_mgr_parse_header_mapped(struct fpga_manager *mgr, struct fpga_image_info *info, const char *buf, size_t count) argument 180 fpga_mgr_parse_header_sg_first(struct fpga_manager *mgr, struct fpga_image_info *info, struct sg_table *sgt) argument 212 fpga_mgr_parse_header_sg(struct fpga_manager *mgr, struct fpga_image_info *info, struct sg_table *sgt, size_t *ret_size) argument 268 fpga_mgr_write_init_buf(struct fpga_manager *mgr, struct fpga_image_info *info, const char *buf, size_t count) argument 293 fpga_mgr_prepare_sg(struct fpga_manager *mgr, struct fpga_image_info *info, struct sg_table *sgt) argument 361 fpga_mgr_buf_load_sg(struct fpga_manager *mgr, struct fpga_image_info *info, struct sg_table *sgt) argument 414 fpga_mgr_buf_load_mapped(struct fpga_manager *mgr, struct fpga_image_info *info, const char *buf, size_t count) argument 464 fpga_mgr_buf_load(struct fpga_manager *mgr, struct fpga_image_info *info, const char *buf, size_t count) argument 536 fpga_mgr_firmware_load(struct fpga_manager *mgr, struct fpga_image_info *info, const char *image_name) argument 572 fpga_mgr_load(struct fpga_manager *mgr, struct fpga_image_info *info) argument 619 struct fpga_manager *mgr = to_fpga_manager(dev); local 627 struct fpga_manager *mgr = to_fpga_manager(dev); local 635 struct fpga_manager *mgr = to_fpga_manager(dev); local 669 struct fpga_manager *mgr; local 692 struct fpga_manager *mgr; local 716 struct fpga_manager *mgr; local 735 fpga_mgr_put(struct fpga_manager *mgr) argument 754 fpga_mgr_lock(struct fpga_manager *mgr) argument 769 fpga_mgr_unlock(struct fpga_manager *mgr) argument 791 struct fpga_manager *mgr; local 893 fpga_mgr_unregister(struct fpga_manager *mgr) argument 930 struct fpga_manager *mgr; local 980 struct fpga_manager *mgr = to_fpga_manager(dev); local [all...] |
H A D | dfl-fme-region.c | 17 #include <linux/fpga/fpga-mgr.h> 36 struct fpga_manager *mgr; local 39 mgr = fpga_mgr_get(&pdata->mgr->dev); 40 if (IS_ERR(mgr)) 43 info.mgr = mgr; 44 info.compat_id = mgr->compat_id; 60 fpga_mgr_put(mgr); 67 struct fpga_manager *mgr local [all...] |
H A D | xilinx-core.c | 13 #include <linux/fpga/fpga-mgr.h> 17 static int get_done_gpio(struct fpga_manager *mgr) argument 19 struct xilinx_fpga_core *core = mgr->priv; 24 dev_err(&mgr->dev, "Error reading DONE (%d)\n", ret); 29 static enum fpga_mgr_states xilinx_core_state(struct fpga_manager *mgr) argument 31 if (!get_done_gpio(mgr)) 41 * @mgr: The FPGA manager object 49 static int wait_for_init_b(struct fpga_manager *mgr, int value, argument 52 struct xilinx_fpga_core *core = mgr->priv; 63 dev_err(&mgr 81 xilinx_core_write_init(struct fpga_manager *mgr, struct fpga_image_info *info, const char *buf, size_t count) argument 117 xilinx_core_write(struct fpga_manager *mgr, const char *buf, size_t count) argument 125 xilinx_core_write_complete(struct fpga_manager *mgr, struct fpga_image_info *info) argument 197 struct fpga_manager *mgr; local [all...] |
H A D | versal-fpga.c | 7 #include <linux/fpga/fpga-mgr.h> 15 static int versal_fpga_ops_write_init(struct fpga_manager *mgr, argument 22 static int versal_fpga_ops_write(struct fpga_manager *mgr, argument 29 kbuf = dma_alloc_coherent(mgr->dev.parent, size, &dma_addr, GFP_KERNEL); 35 dma_free_coherent(mgr->dev.parent, size, kbuf, dma_addr); 48 struct fpga_manager *mgr; local 57 mgr = devm_fpga_mgr_register(dev, "Xilinx Versal FPGA Manager", 59 return PTR_ERR_OR_ZERO(mgr);
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_mstate_mgr.c | 18 u32 adf_mstate_state_size(struct adf_mstate_mgr *mgr) argument 20 return mgr->state - mgr->buf; 23 static inline u32 adf_mstate_avail_room(struct adf_mstate_mgr *mgr) argument 25 return mgr->buf + mgr->size - mgr->state; 28 void adf_mstate_mgr_init(struct adf_mstate_mgr *mgr, u8 *buf, u32 size) argument 30 mgr->buf = buf; 31 mgr 38 struct adf_mstate_mgr *mgr; local 49 adf_mstate_mgr_destroy(struct adf_mstate_mgr *mgr) argument 54 adf_mstate_mgr_init_from_parent(struct adf_mstate_mgr *mgr, struct adf_mstate_mgr *p_mgr) argument 61 adf_mstate_mgr_init_from_psect(struct adf_mstate_mgr *mgr, struct adf_mstate_sect_h *p_sect) argument 81 struct adf_mstate_mgr *mgr = opaque; local 95 adf_mstate_preamble_add(struct adf_mstate_mgr *mgr) argument 110 adf_mstate_preamble_update(struct adf_mstate_mgr *mgr) argument 130 __adf_mstate_sect_update(struct adf_mstate_mgr *mgr, struct adf_mstate_sect_h *sect, u32 size, u32 n_subsects) argument 151 adf_mstate_sect_add_header(struct adf_mstate_mgr *mgr, const char *id) argument 169 adf_mstate_sect_add_vreg(struct adf_mstate_mgr *mgr, const char *id, struct adf_mstate_vreginfo *info) argument 191 adf_mstate_sect_add(struct adf_mstate_mgr *mgr, const char *id, adf_mstate_populate populate, void *opaque) argument 225 adf_mstate_sect_validate(struct adf_mstate_mgr *mgr) argument 252 adf_mstate_state_size_from_remote(struct adf_mstate_mgr *mgr) argument 259 adf_mstate_mgr_init_from_remote(struct adf_mstate_mgr *mgr, u8 *buf, u32 size, adf_mstate_preamble_checker pre_checker, void *opaque) argument 285 adf_mstate_sect_lookup(struct adf_mstate_mgr *mgr, const char *id, adf_mstate_action action, void *opaque) argument [all...] |
H A D | adf_mstate_mgr.h | 61 void adf_mstate_mgr_destroy(struct adf_mstate_mgr *mgr); 62 void adf_mstate_mgr_init(struct adf_mstate_mgr *mgr, u8 *buf, u32 size); 63 void adf_mstate_mgr_init_from_parent(struct adf_mstate_mgr *mgr, 65 void adf_mstate_mgr_init_from_psect(struct adf_mstate_mgr *mgr, 67 int adf_mstate_mgr_init_from_remote(struct adf_mstate_mgr *mgr, 71 struct adf_mstate_preh *adf_mstate_preamble_add(struct adf_mstate_mgr *mgr); 72 int adf_mstate_preamble_update(struct adf_mstate_mgr *mgr); 73 u32 adf_mstate_state_size(struct adf_mstate_mgr *mgr); 74 u32 adf_mstate_state_size_from_remote(struct adf_mstate_mgr *mgr); 78 struct adf_mstate_sect_h *adf_mstate_sect_add_vreg(struct adf_mstate_mgr *mgr, [all...] |
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | manager-sysfs.c | 24 static ssize_t manager_name_show(struct omap_overlay_manager *mgr, char *buf) argument 26 return sysfs_emit(buf, "%s\n", mgr->name); 29 static ssize_t manager_display_show(struct omap_overlay_manager *mgr, char *buf) argument 31 struct omap_dss_device *dssdev = mgr->get_device(mgr); 44 static ssize_t manager_display_store(struct omap_overlay_manager *mgr, argument 78 old_dssdev = mgr->get_device(mgr); 96 old_dssdev = mgr->get_device(mgr); 117 manager_default_color_show(struct omap_overlay_manager *mgr, char *buf) argument 127 manager_default_color_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument 158 manager_trans_key_type_show(struct omap_overlay_manager *mgr, char *buf) argument 172 manager_trans_key_type_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument 197 manager_trans_key_value_show(struct omap_overlay_manager *mgr, char *buf) argument 207 manager_trans_key_value_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument 233 manager_trans_key_enabled_show(struct omap_overlay_manager *mgr, char *buf) argument 243 manager_trans_key_enabled_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument 269 manager_alpha_blending_enabled_show( struct omap_overlay_manager *mgr, char *buf) argument 283 manager_alpha_blending_enabled_store( struct omap_overlay_manager *mgr, const char *buf, size_t size) argument 313 manager_cpr_enable_show(struct omap_overlay_manager *mgr, char *buf) argument 323 manager_cpr_enable_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument 355 manager_cpr_coef_show(struct omap_overlay_manager *mgr, char *buf) argument 375 manager_cpr_coef_store(struct omap_overlay_manager *mgr, const char *buf, size_t size) argument 503 dss_manager_kobj_init(struct omap_overlay_manager *mgr, struct platform_device *pdev) argument 510 dss_manager_kobj_uninit(struct omap_overlay_manager *mgr) argument [all...] |
H A D | manager.c | 40 struct omap_overlay_manager *mgr = &managers[i]; local 44 mgr->name = "lcd"; 45 mgr->id = OMAP_DSS_CHANNEL_LCD; 48 mgr->name = "tv"; 49 mgr->id = OMAP_DSS_CHANNEL_DIGIT; 52 mgr->name = "lcd2"; 53 mgr->id = OMAP_DSS_CHANNEL_LCD2; 56 mgr->name = "lcd3"; 57 mgr->id = OMAP_DSS_CHANNEL_LCD3; 61 mgr 77 struct omap_overlay_manager *mgr = &managers[i]; local 99 struct omap_overlay_manager *mgr = &managers[i]; local 120 dss_mgr_simple_check(struct omap_overlay_manager *mgr, const struct omap_overlay_manager_info *info) argument 139 dss_mgr_check_zorder(struct omap_overlay_manager *mgr, struct omap_overlay_info **overlay_infos) argument 172 dss_mgr_check_timings(struct omap_overlay_manager *mgr, const struct omap_video_timings *timings) argument 183 dss_mgr_check_lcd_config(struct omap_overlay_manager *mgr, const struct dss_lcd_mgr_config *config) argument 213 dss_mgr_check(struct omap_overlay_manager *mgr, struct omap_overlay_manager_info *info, const struct omap_video_timings *mgr_timings, const struct dss_lcd_mgr_config *lcd_config, struct omap_overlay_info **overlay_infos) argument [all...] |
/linux-master/sound/pci/mixart/ |
H A D | mixart_hwdep.c | 28 * @mgr: pointer to miXart manager structure 34 static int mixart_wait_nice_for_register_value(struct mixart_mgr *mgr, argument 46 read = readl_be( MIXART_MEM( mgr, offset )); 90 static int mixart_load_elf(struct mixart_mgr *mgr, const struct firmware *dsp ) argument 111 memcpy_toio( MIXART_MEM( mgr, be32_to_cpu(elf_programheader.p_vaddr)), 129 static int mixart_enum_connectors(struct mixart_mgr *mgr) argument 155 err = snd_mixart_send_msg(mgr, &request, sizeof(*connector), connector); 157 dev_err(&mgr->pci->dev, 167 pipe = &mgr->chip[k/2]->pipe_out_ana; 169 pipe = &mgr 247 mixart_enum_physio(struct mixart_mgr *mgr) argument 303 mixart_first_init(struct mixart_mgr *mgr) argument 337 mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmware *dsp) argument 557 snd_mixart_setup_firmware(struct mixart_mgr *mgr) argument [all...] |
H A D | mixart_core.c | 34 static int retrieve_msg_frame(struct mixart_mgr *mgr, u32 *msg_frame) argument 39 tailptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL)); 40 headptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_POST_HEAD)); 50 *msg_frame = readl_be(MIXART_MEM(mgr, tailptr)); 56 writel_be(tailptr, MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL)); 61 static int get_msg(struct mixart_mgr *mgr, struct mixart_msg *resp, argument 74 size = readl_be(MIXART_MEM(mgr, msg_frame_address)); /* size of descriptor + response */ 75 resp->message_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 4)); /* dwMessageID */ 76 resp->uid.object_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 8)); /* uidDest */ 77 resp->uid.desc = readl_be(MIXART_MEM(mgr, msg_frame_addres 127 send_msg( struct mixart_mgr *mgr, struct mixart_msg *msg, int max_answersize, int mark_pending, u32 *msg_event) argument 219 snd_mixart_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void *resp_data) argument 267 snd_mixart_send_msg_wait_notif(struct mixart_mgr *mgr, struct mixart_msg *request, u32 notif_event) argument 308 snd_mixart_send_msg_nonblock(struct mixart_mgr *mgr, struct mixart_msg *request) argument 329 snd_mixart_process_msg(struct mixart_mgr *mgr) argument 394 struct mixart_mgr *mgr = dev_id; local 418 struct mixart_mgr *mgr = dev_id; local 565 snd_mixart_init_mailbox(struct mixart_mgr *mgr) argument 577 snd_mixart_exit_mailbox(struct mixart_mgr *mgr) argument 584 snd_mixart_reset_board(struct mixart_mgr *mgr) argument [all...] |
H A D | mixart_mixer.h | 16 int snd_mixart_create_mixer(struct mixart_mgr* mgr);
|
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_ctx.h | 27 int lima_ctx_create(struct lima_device *dev, struct lima_ctx_mgr *mgr, u32 *id); 28 int lima_ctx_free(struct lima_ctx_mgr *mgr, u32 id); 29 struct lima_ctx *lima_ctx_get(struct lima_ctx_mgr *mgr, u32 id); 31 void lima_ctx_mgr_init(struct lima_ctx_mgr *mgr); 32 void lima_ctx_mgr_fini(struct lima_ctx_mgr *mgr);
|
H A D | lima_ctx.c | 10 int lima_ctx_create(struct lima_device *dev, struct lima_ctx_mgr *mgr, u32 *id) argument 27 err = xa_alloc(&mgr->handles, id, ctx, xa_limit_32b, GFP_KERNEL); 53 int lima_ctx_free(struct lima_ctx_mgr *mgr, u32 id) argument 58 mutex_lock(&mgr->lock); 59 ctx = xa_erase(&mgr->handles, id); 64 mutex_unlock(&mgr->lock); 68 struct lima_ctx *lima_ctx_get(struct lima_ctx_mgr *mgr, u32 id) argument 72 mutex_lock(&mgr->lock); 73 ctx = xa_load(&mgr->handles, id); 76 mutex_unlock(&mgr 85 lima_ctx_mgr_init(struct lima_ctx_mgr *mgr) argument 91 lima_ctx_mgr_fini(struct lima_ctx_mgr *mgr) argument [all...] |
/linux-master/sound/pci/ctxfi/ |
H A D | ctresource.c | 73 int mgr_get_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int *ridx) argument 77 if (n > mgr->avail) 80 err = get_resource(mgr->rscs, mgr->amount, n, ridx); 82 mgr->avail -= n; 87 int mgr_put_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int idx) argument 89 put_resource(mgr->rscs, n, idx); 90 mgr->avail += n; 204 int rsc_mgr_init(struct rsc_mgr *mgr, enum RSCTYP type, argument 209 mgr 254 rsc_mgr_uninit(struct rsc_mgr *mgr) argument [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_ttm_stolen_mgr.c | 59 static s64 detect_bar2_dgfx(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) argument 72 mgr->stolen_base = (xe_mmio_read64_2x32(mmio, DSMBASE) & BDSM_MASK) - tile_offset; 73 if (drm_WARN_ON(&xe->drm, tile_size < mgr->stolen_base)) 76 stolen_size = tile_size - mgr->stolen_base; 79 if (mgr->stolen_base + stolen_size <= pci_resource_len(pdev, LMEM_BAR)) 80 mgr->io_base = tile->mem.vram.io_start + mgr->stolen_base; 114 static u32 detect_bar2_integrated(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) argument 137 mgr->stolen_base = SZ_8M; 138 mgr 189 detect_stolen(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr) argument 205 struct xe_ttm_stolen_mgr *mgr = drmm_kzalloc(&xe->drm, sizeof(*mgr), GFP_KERNEL); local 256 struct xe_ttm_stolen_mgr *mgr = to_stolen_mgr(ttm_mgr); local 268 __xe_ttm_stolen_io_mem_reserve_bar2(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr, struct ttm_resource *mem) argument 292 __xe_ttm_stolen_io_mem_reserve_stolen(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr, struct ttm_resource *mem) argument 322 struct xe_ttm_stolen_mgr *mgr = ttm_mgr ? to_stolen_mgr(ttm_mgr) : NULL; local 335 struct xe_ttm_stolen_mgr *mgr = local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ptrn.c | 52 dr_ptrn_find_cached_pattern(struct mlx5dr_ptrn_mgr *mgr, argument 59 list_for_each_entry_safe(cached_pattern, tmp, &mgr->ptrn_list, list) { 68 list_add(&cached_pattern->list, &mgr->ptrn_list); 77 dr_ptrn_alloc_pattern(struct mlx5dr_ptrn_mgr *mgr, argument 89 chunk = mlx5dr_icm_alloc_chunk(mgr->ptrn_icm_pool, chunk_size); 94 mgr->dmn->info.caps.hdr_modify_pattern_icm_addr) / 111 list_add(&pattern->list, &mgr->ptrn_list); 133 mlx5dr_ptrn_cache_get_pattern(struct mlx5dr_ptrn_mgr *mgr, argument 142 mutex_lock(&mgr->modify_hdr_mutex); 143 pattern = dr_ptrn_find_cached_pattern(mgr, 186 mlx5dr_ptrn_cache_put_pattern(struct mlx5dr_ptrn_mgr *mgr, struct mlx5dr_ptrn_obj *pattern) argument 199 struct mlx5dr_ptrn_mgr *mgr; local 225 mlx5dr_ptrn_mgr_destroy(struct mlx5dr_ptrn_mgr *mgr) argument [all...] |
/linux-master/drivers/isdn/mISDN/ |
H A D | tei.c | 72 struct manager *mgr = fi->userdata; local 84 printk(KERN_DEBUG "mgr(%d): %pV\n", mgr->ch.st->dev->id, &vaf); 92 struct manager *mgr = fi->userdata; local 95 mISDN_FsmDelTimer(&mgr->datimer, 1); 108 struct manager *mgr = fi->userdata; local 112 read_lock_irqsave(&mgr->lock, flags); 113 list_for_each_entry(l2, &mgr->layer2, list) { 116 read_unlock_irqrestore(&mgr->lock, flags); 120 read_unlock_irqrestore(&mgr 132 struct manager *mgr = fi->userdata; local 145 struct manager *mgr = fi->userdata; local 242 get_free_id(struct manager *mgr) argument 266 get_free_tei(struct manager *mgr) argument 293 teiup_create(struct manager *mgr, u_int prim, int len, void *arg) argument 315 new_id(struct manager *mgr) argument 329 do_send(struct manager *mgr) argument 352 do_ack(struct manager *mgr, u_int id) argument 374 mgr_send_down(struct manager *mgr, struct sk_buff *skb) argument 386 dl_unit_data(struct manager *mgr, struct sk_buff *skb) argument 414 findtei(struct manager *mgr, int tei) argument 432 put_tei_msg(struct manager *mgr, u_char m_id, unsigned int ri, int tei) argument 782 create_new_tei(struct manager *mgr, int tei, int sapi) argument 848 new_tei_req(struct manager *mgr, u_char *dp) argument 878 ph_data_ind(struct manager *mgr, struct sk_buff *skb) argument 983 create_teimgr(struct manager *mgr, struct channel_req *crq) argument 1098 struct manager *mgr; local 1139 free_teimanager(struct manager *mgr) argument 1171 ctrl_teimanager(struct manager *mgr, void *arg) argument 1197 check_data(struct manager *mgr, struct sk_buff *skb) argument 1240 struct manager *mgr; local 1260 struct manager *mgr; local 1286 struct manager *mgr = container_of(ch, struct manager, bcast); local 1346 struct manager *mgr; local [all...] |
/linux-master/drivers/fpga/tests/ |
H A D | Makefile | 6 obj-$(CONFIG_FPGA_KUNIT_TESTS) += fpga-mgr-test.o fpga-bridge-test.o fpga-region-test.o
|