/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 728 fpga_mgr_put(struct fpga_manager *mgr) argument 747 fpga_mgr_lock(struct fpga_manager *mgr) argument 762 fpga_mgr_unlock(struct fpga_manager *mgr) argument 782 struct fpga_manager *mgr; local 881 fpga_mgr_unregister(struct fpga_manager *mgr) argument 916 struct fpga_manager *mgr; local 964 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 | 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/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...] |
H A D | ctdaio.c | 173 dao->mgr->imap_add(dao->mgr, entry); 202 dao->mgr->imap_add(dao->mgr, entry); 224 dao->mgr->imap_delete(dao->mgr, entry); 228 dao->mgr->imap_delete(dao->mgr, entry); 248 dao->mgr->imap_delete(dao->mgr, entr 385 dao_rsc_init(struct dao *dao, const struct daio_desc *desc, struct daio_mgr *mgr) argument 452 struct daio_mgr *mgr = dao->mgr; local 462 dai_rsc_init(struct dai *dai, const struct daio_desc *desc, struct daio_mgr *mgr) argument 506 daio_mgr_get_rsc(struct rsc_mgr *mgr, enum DAIOTYP type) argument 516 daio_mgr_put_rsc(struct rsc_mgr *mgr, enum DAIOTYP type) argument 523 get_daio_rsc(struct daio_mgr *mgr, const struct daio_desc *desc, struct daio **rdaio) argument 582 put_daio_rsc(struct daio_mgr *mgr, struct daio *daio) argument 604 daio_mgr_enb_daio(struct daio_mgr *mgr, struct daio *daio) argument 618 daio_mgr_dsb_daio(struct daio_mgr *mgr, struct daio *daio) argument 634 struct rsc_mgr *mgr = &((struct daio_mgr *)data)->mgr; local 645 daio_imap_add(struct daio_mgr *mgr, struct imapper *entry) argument 662 daio_imap_delete(struct daio_mgr *mgr, struct imapper *entry) argument 679 daio_mgr_commit_write(struct daio_mgr *mgr) argument [all...] |
H A D | ctsrc.c | 357 const struct src_desc *desc, struct src_mgr *mgr) 365 err = rsc_init(&p->rsc, idx + i, SRC, desc->msr, mgr->mgr.hw); 374 mgr->src_enable(mgr, p); 379 mgr->commit_write(mgr); 385 mgr->src_disable(mgr, p); 388 mgr 356 src_rsc_init(struct src *src, u32 idx, const struct src_desc *desc, struct src_mgr *mgr) argument 392 src_rsc_uninit(struct src *src, struct src_mgr *mgr) argument 412 get_src_rsc(struct src_mgr *mgr, const struct src_desc *desc, struct src **rsrc) argument 467 put_src_rsc(struct src_mgr *mgr, struct src *src) argument 486 src_enable_s(struct src_mgr *mgr, struct src *src) argument 502 src_enable(struct src_mgr *mgr, struct src *src) argument 518 src_disable(struct src_mgr *mgr, struct src *src) argument 534 src_mgr_commit_write(struct src_mgr *mgr) argument 666 srcimp_rsc_init(struct srcimp *srcimp, const struct srcimp_desc *desc, struct srcimp_mgr *mgr) argument 710 get_srcimp_rsc(struct srcimp_mgr *mgr, const struct srcimp_desc *desc, struct srcimp **rsrcimp) argument 761 put_srcimp_rsc(struct srcimp_mgr *mgr, struct srcimp *srcimp) argument 779 struct rsc_mgr *mgr = &((struct srcimp_mgr *)data)->mgr; local 791 srcimp_imap_add(struct srcimp_mgr *mgr, struct imapper *entry) argument 808 srcimp_imap_delete(struct srcimp_mgr *mgr, struct imapper *entry) argument [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/gpu/drm/xe/ |
H A D | xe_ttm_vram_mgr.c | 52 struct xe_ttm_vram_mgr *mgr = to_xe_ttm_vram_mgr(man); local 54 struct drm_buddy *mm = &mgr->mm; 92 min_page_size = mgr->default_page_size; 117 mutex_lock(&mgr->lock); 118 if (lpfn <= mgr->visible_size >> PAGE_SHIFT && size > mgr->visible_avail) { 119 mutex_unlock(&mgr->lock); 157 if (lpfn <= mgr->visible_size >> PAGE_SHIFT) { 165 if (start < mgr->visible_size) { 169 min(end, mgr 213 struct xe_ttm_vram_mgr *mgr = to_xe_ttm_vram_mgr(man); local 229 struct xe_ttm_vram_mgr *mgr = to_xe_ttm_vram_mgr(man); local 250 struct xe_ttm_vram_mgr *mgr = to_xe_ttm_vram_mgr(man); local 280 struct xe_ttm_vram_mgr *mgr = to_xe_ttm_vram_mgr(man); local 316 struct xe_ttm_vram_mgr *mgr = arg; local 335 __xe_ttm_vram_mgr_init(struct xe_device *xe, struct xe_ttm_vram_mgr *mgr, u32 mem_type, u64 size, u64 io_size, u64 default_page_size) argument 360 xe_ttm_vram_mgr_init(struct xe_tile *tile, struct xe_ttm_vram_mgr *mgr) argument 466 struct xe_ttm_vram_mgr *mgr = to_xe_ttm_vram_mgr(man); local 474 struct xe_ttm_vram_mgr *mgr = to_xe_ttm_vram_mgr(man); local [all...] |
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 255 struct xe_ttm_stolen_mgr *mgr = to_stolen_mgr(ttm_mgr); local 267 __xe_ttm_stolen_io_mem_reserve_bar2(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr, struct ttm_resource *mem) argument 291 __xe_ttm_stolen_io_mem_reserve_stolen(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr, struct ttm_resource *mem) argument 321 struct xe_ttm_stolen_mgr *mgr = ttm_mgr ? to_stolen_mgr(ttm_mgr) : NULL; local 334 struct xe_ttm_stolen_mgr *mgr = local [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
|