| /linux/drivers/mfd/ |
| H A D | si476x-i2c.c | 21 #include <linux/mfd/si476x-core.h> 29 * @core: Core device structure 36 static int si476x_core_config_pinmux(struct si476x_core *core) in si476x_core_config_pinmux() argument 39 dev_dbg(&core->client->dev, "Configuring pinmux\n"); in si476x_core_config_pinmux() 40 err = si476x_core_cmd_dig_audio_pin_cfg(core, in si476x_core_config_pinmux() 41 core->pinmux.dclk, in si476x_core_config_pinmux() 42 core->pinmux.dfs, in si476x_core_config_pinmux() 43 core->pinmux.dout, in si476x_core_config_pinmux() 44 core->pinmux.xout); in si476x_core_config_pinmux() 46 dev_err(&core in si476x_core_config_pinmux() 98 si476x_core_schedule_polling_work(struct si476x_core * core) si476x_core_schedule_polling_work() argument 127 si476x_core_start(struct si476x_core * core,bool soft) si476x_core_start() argument 219 si476x_core_stop(struct si476x_core * core,bool soft) si476x_core_stop() argument 262 si476x_core_set_power_state(struct si476x_core * core,enum si476x_power_state next_state) si476x_core_set_power_state() argument 327 si476x_core_report_drainer_stop(struct si476x_core * core) si476x_core_report_drainer_stop() argument 340 si476x_core_start_rds_drainer_once(struct si476x_core * core) si476x_core_start_rds_drainer_once() argument 360 struct si476x_core *core = container_of(work, struct si476x_core, si476x_core_drain_rds_fifo() local 400 si476x_core_pronounce_dead(struct si476x_core * core) si476x_core_pronounce_dead() argument 431 si476x_core_i2c_xfer(struct si476x_core * core,enum si476x_i2c_type type,char * buf,int count) si476x_core_i2c_xfer() argument 463 si476x_core_get_status(struct si476x_core * core) si476x_core_get_status() argument 480 si476x_core_get_and_signal_status(struct si476x_core * core) si476x_core_get_and_signal_status() argument 514 struct si476x_core *core = SI476X_WORK_TO_CORE(work); si476x_core_poll_loop() local 524 struct si476x_core *core = dev; si476x_core_interrupt() local 549 si476x_core_fwver_to_revision(struct si476x_core * core,int func,int major,int minor1,int minor2) si476x_core_fwver_to_revision() argument 615 si476x_core_get_revision_info(struct si476x_core * core) si476x_core_get_revision_info() argument 641 si476x_core_has_am(struct si476x_core * core) si476x_core_has_am() argument 648 si476x_core_has_diversity(struct si476x_core * core) si476x_core_has_diversity() argument 654 si476x_core_is_a_secondary_tuner(struct si476x_core * core) si476x_core_is_a_secondary_tuner() argument 662 si476x_core_is_a_primary_tuner(struct si476x_core * core) si476x_core_is_a_primary_tuner() argument 670 si476x_core_is_in_am_receiver_mode(struct si476x_core * core) si476x_core_is_in_am_receiver_mode() argument 677 si476x_core_is_powered_up(struct si476x_core * core) si476x_core_is_powered_up() argument 687 struct si476x_core *core; si476x_core_probe() local 826 struct si476x_core *core = i2c_get_clientdata(client); si476x_core_remove() local [all...] |
| H A D | si476x-cmd.c | 170 static int si476x_core_parse_and_nag_about_error(struct si476x_core *core) in si476x_core_parse_and_nag_about_error() argument 176 if (core->revision != SI476X_REVISION_A10) { in si476x_core_parse_and_nag_about_error() 177 err = si476x_core_i2c_xfer(core, SI476X_I2C_RECV, in si476x_core_parse_and_nag_about_error() 226 dev_err(&core->client->dev, in si476x_core_parse_and_nag_about_error() 229 dev_err(&core->client->dev, in si476x_core_parse_and_nag_about_error() 256 static int si476x_core_send_command(struct si476x_core *core, in si476x_core_send_command() argument 264 struct i2c_client *client = core->client; in si476x_core_send_command() 283 err = si476x_core_i2c_xfer(core, SI476X_I2C_SEND, in si476x_core_send_command() 286 dev_err(&core->client->dev, in si476x_core_send_command() 294 atomic_set(&core->cts, 0); in si476x_core_send_command() [all …]
|
| /linux/drivers/clk/ |
| H A D | clk.c | 61 struct clk_core *core; 162 struct clk_core *core; 174 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get() 176 if (!core->rpm_enabled) in clk_pm_runtime_get() 179 return pm_runtime_resume_and_get(core->dev); 182 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put() 184 if (!core->rpm_enabled) in clk_pm_runtime_put() 187 pm_runtime_put_sync(core->dev); 208 struct clk_core *core, *failed; in clk_pm_runtime_get_all() 221 hlist_for_each_entry(core, in clk_pm_runtime_get_all() 60 struct clk_core *core; global() member 161 struct clk_core *core; global() member 172 clk_pm_runtime_get(struct clk_core * core) clk_pm_runtime_get() argument 180 clk_pm_runtime_put(struct clk_core * core) clk_pm_runtime_put() argument 206 struct clk_core *core, *failed; clk_pm_runtime_get_all() local 251 struct clk_core *core; clk_pm_runtime_put_all() local 258 clk_pm_runtime_init(struct clk_core * core) clk_pm_runtime_init() argument 340 clk_core_rate_is_protected(struct clk_core * core) clk_core_rate_is_protected() argument 345 clk_core_is_prepared(struct clk_core * core) clk_core_is_prepared() argument 364 clk_core_is_enabled(struct clk_core * core) clk_core_is_enabled() argument 458 struct clk_core *core; clk_core_lookup() local 529 clk_core_get(struct clk_core * core,u8 p_index) clk_core_get() argument 560 clk_core_fill_parent_index(struct clk_core * core,u8 index) clk_core_fill_parent_index() argument 586 clk_core_get_parent_by_index(struct clk_core * core,u8 index) clk_core_get_parent_by_index() argument 614 clk_core_get_rate_nolock(struct clk_core * core) clk_core_get_rate_nolock() argument 636 clk_core_get_accuracy_no_lock(struct clk_core * core) clk_core_get_accuracy_no_lock() argument 687 clk_core_has_parent(struct clk_core * core,const struct clk_core * parent) clk_core_has_parent() argument 709 clk_core_forward_rate_req(struct clk_core * core,const struct clk_rate_request * old_req,struct clk_core * parent,struct clk_rate_request * req,unsigned long parent_rate) clk_core_forward_rate_req() argument 731 struct clk_core *core = hw->core; clk_core_determine_rate_no_reparent() local 772 struct clk_core *core = hw->core, *parent, *best_parent = NULL; clk_mux_determine_rate_flags() local 827 struct clk_core *core = clk_core_lookup(name); __clk_lookup() local 832 clk_core_get_boundaries(struct clk_core * core,unsigned long * min_rate,unsigned long * max_rate) clk_core_get_boundaries() argument 866 clk_core_check_boundaries(struct clk_core * core,unsigned long min_rate,unsigned long max_rate) clk_core_check_boundaries() argument 956 clk_core_rate_unprotect(struct clk_core * core) clk_core_rate_unprotect() argument 973 clk_core_rate_nuke_protect(struct clk_core * core) clk_core_rate_nuke_protect() argument 1031 clk_core_rate_protect(struct clk_core * core) clk_core_rate_protect() argument 1044 clk_core_rate_restore_protect(struct clk_core * core,int count) clk_core_rate_restore_protect() argument 1109 clk_core_unprepare(struct clk_core * core) clk_core_unprepare() argument 1142 clk_core_unprepare_lock(struct clk_core * core) clk_core_unprepare_lock() argument 1169 clk_core_prepare(struct clk_core * core) clk_core_prepare() argument 1218 clk_core_prepare_lock(struct clk_core * core) clk_core_prepare_lock() argument 1250 clk_core_disable(struct clk_core * core) clk_core_disable() argument 1277 clk_core_disable_lock(struct clk_core * core) clk_core_disable_lock() argument 1307 clk_core_enable(struct clk_core * core) clk_core_enable() argument 1343 clk_core_enable_lock(struct clk_core * core) clk_core_enable_lock() argument 1367 struct clk_core *core = hw->core; clk_gate_restore_context() local 1376 clk_core_save_context(struct clk_core * core) clk_core_save_context() argument 1393 clk_core_restore_context(struct clk_core * core) clk_core_restore_context() argument 1440 struct clk_core *core; clk_restore_context() local 1493 clk_core_prepare_enable(struct clk_core * core) clk_core_prepare_enable() argument 1508 clk_core_disable_unprepare(struct clk_core * core) clk_core_disable_unprepare() argument 1514 clk_unprepare_unused_subtree(struct clk_core * core) clk_unprepare_unused_subtree() argument 1539 clk_disable_unused_subtree(struct clk_core * core) clk_disable_unused_subtree() argument 1590 struct clk_core *core; clk_disable_unused() local 1629 clk_core_determine_round_nolock(struct clk_core * core,struct clk_rate_request * req) clk_core_determine_round_nolock() argument 1668 clk_core_init_rate_req(struct clk_core * const core,struct clk_rate_request * req,unsigned long rate) clk_core_init_rate_req() argument 1743 clk_core_can_round(struct clk_core * const core) clk_core_can_round() argument 1748 clk_core_round_rate_nolock(struct clk_core * core,struct clk_rate_request * req) clk_core_round_rate_nolock() argument 1894 __clk_notify(struct clk_core * core,unsigned long msg,unsigned long old_rate,unsigned long new_rate) __clk_notify() argument 1926 __clk_recalc_accuracies(struct clk_core * core) __clk_recalc_accuracies() argument 1946 clk_core_get_accuracy_recalc(struct clk_core * core) clk_core_get_accuracy_recalc() argument 1978 clk_recalc(struct clk_core * core,unsigned long parent_rate) clk_recalc() argument 2003 __clk_recalc_rates(struct clk_core * core,bool update_req,unsigned long msg) __clk_recalc_rates() argument 2032 clk_core_get_rate_recalc(struct clk_core * core) clk_core_get_rate_recalc() argument 2064 clk_fetch_parent_index(struct clk_core * core,struct clk_core * parent) clk_fetch_parent_index() argument 2128 clk_core_update_orphan_status(struct clk_core * core,bool is_orphan) clk_core_update_orphan_status() argument 2138 clk_reparent(struct clk_core * core,struct clk_core * new_parent) clk_reparent() argument 2164 __clk_set_parent_before(struct clk_core * core,struct clk_core * parent) __clk_set_parent_before() argument 2210 __clk_set_parent_after(struct clk_core * core,struct clk_core * parent,struct clk_core * old_parent) __clk_set_parent_after() argument 2230 __clk_set_parent(struct clk_core * core,struct clk_core * parent,u8 p_index) __clk_set_parent() argument 2276 __clk_speculate_rates(struct clk_core * core,unsigned long parent_rate) __clk_speculate_rates() argument 2307 clk_calc_subtree(struct clk_core * core,unsigned long new_rate,struct clk_core * new_parent,u8 p_index) clk_calc_subtree() argument 2330 clk_calc_new_rates(struct clk_core * core,unsigned long rate) clk_calc_new_rates() argument 2417 clk_propagate_rate_change(struct clk_core * core,unsigned long event) clk_propagate_rate_change() argument 2455 clk_change_rate(struct clk_core * core) clk_change_rate() argument 2544 clk_core_req_round_rate_nolock(struct clk_core * core,unsigned long req_rate) clk_core_req_round_rate_nolock() argument 2574 clk_core_set_rate_nolock(struct clk_core * core,unsigned long req_rate) clk_core_set_rate_nolock() argument 2848 struct clk_core *core; clk_hw_set_spread_spectrum() local 2895 __clk_init_parent(struct clk_core * core) __clk_init_parent() argument 2905 clk_core_reparent(struct clk_core * core,struct clk_core * new_parent) clk_core_reparent() argument 2941 clk_core_set_parent_nolock(struct clk_core * core,struct clk_core * parent) clk_core_set_parent_nolock() argument 3053 clk_core_set_phase_nolock(struct clk_core * core,int degrees) clk_core_set_phase_nolock() argument 3126 clk_core_get_phase(struct clk_core * core) clk_core_get_phase() argument 3164 clk_core_reset_duty_cycle_nolock(struct clk_core * core) clk_core_reset_duty_cycle_nolock() argument 3173 clk_core_update_duty_cycle_nolock(struct clk_core * core) clk_core_update_duty_cycle_nolock() argument 3198 clk_core_update_duty_cycle_parent_nolock(struct clk_core * core) clk_core_update_duty_cycle_parent_nolock() argument 3216 clk_core_set_duty_cycle_nolock(struct clk_core * core,struct clk_duty * duty) clk_core_set_duty_cycle_nolock() argument 3240 clk_core_set_duty_cycle_parent_nolock(struct clk_core * core,struct clk_duty * duty) clk_core_set_duty_cycle_parent_nolock() argument 3296 clk_core_get_scaled_duty_cycle(struct clk_core * core,unsigned int scale) clk_core_get_scaled_duty_cycle() argument 3527 struct clk_core *core = data; clk_rate_set() local 3541 struct clk_core *core = data; clk_phase_set() local 3556 struct clk_core *core = data; clk_prepare_enable_set() local 3569 struct clk_core *core = data; clk_prepare_enable_get() local 3588 struct clk_core *core = data; clk_rate_get() local 3601 struct clk_core *core = data; clk_phase_get() local 3631 struct clk_core *core = s->private; clk_flags_show() local 3650 possible_parent_show(struct seq_file * s,struct clk_core * core,unsigned int i,char terminator) possible_parent_show() argument 3689 struct clk_core *core = s->private; possible_parents_show() local 3703 struct clk_core *core = s->private; current_parent_show() local 3717 struct clk_core *core = s->private; current_parent_write() local 3750 struct clk_core *core = s->private; clk_duty_cycle_show() local 3761 struct clk_core *core = s->private; clk_min_rate_show() local 3775 struct clk_core *core = s->private; clk_max_rate_show() local 3787 clk_debug_create_one(struct clk_core * core,struct dentry * pdentry) clk_debug_create_one() argument 3840 clk_debug_register(struct clk_core * core) clk_debug_register() argument 3857 clk_debug_unregister(struct clk_core * core) clk_debug_unregister() argument 3877 struct clk_core *core; clk_debug_init() local 3919 clk_debug_register(struct clk_core * core) clk_debug_register() argument 3920 clk_debug_unregister(struct clk_core * core) clk_debug_unregister() argument 3973 __clk_core_init(struct clk_core * core) __clk_core_init() argument 4178 clk_core_link_consumer(struct clk_core * core,struct clk * clk) clk_core_link_consumer() argument 4203 alloc_clk(struct clk_core * core,const char * dev_id,const char * con_id) alloc_clk() argument 4249 struct clk_core *core; clk_hw_create_clk() local 4308 clk_core_populate_parent_map(struct clk_core * core,const struct clk_init_data * init) clk_core_populate_parent_map() argument 4370 clk_core_free_parent_map(struct clk_core * core) clk_core_free_parent_map() argument 4388 struct clk_core *core = container_of(ref, struct clk_core, ref); __clk_release() local 4405 struct clk_core *core; __clk_register() local 4623 clk_core_evict_parent_cache(struct clk_core * core) clk_core_evict_parent_cache() argument [all...] |
| /linux/drivers/media/platform/renesas/rcar-isp/ |
| H A D | core.c | 56 static void risp_cs_write(struct rcar_isp_core *core, u32 offset, u32 value) in risp_cs_write() argument 58 iowrite32(value, core->csbase + offset); in risp_cs_write() 61 static u32 risp_cs_read(struct rcar_isp_core *core, u32 offset) in risp_cs_read() argument 63 return ioread32(core->csbase + offset); in risp_cs_read() 66 static void risp_core_write(struct rcar_isp_core *core, u32 offset, u32 value) in risp_core_write() argument 68 iowrite32(value, core->base + offset); in risp_core_write() 71 static u32 risp_core_read(struct rcar_isp_core *core, u32 offset) in risp_core_read() argument 73 return ioread32(core->base + offset); in risp_core_read() 76 static void risp_core_job_run_params(struct rcar_isp_core *core, in risp_core_job_run_params() argument 92 risp_core_write(core, params_buf[2 + i * 2] & 0xffff, in risp_core_job_run_params() [all …]
|
| /linux/drivers/staging/media/meson/vdec/ |
| H A D | vdec_hevc.c | 29 struct amvdec_core *core = sess->core; in vdec_hevc_load_firmware() local 30 struct device *dev = core->dev_dec; in vdec_hevc_load_firmware() 50 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, &mc_addr_map, in vdec_hevc_load_firmware() 59 amvdec_write_dos(core, HEVC_MPSR, 0); in vdec_hevc_load_firmware() 60 amvdec_write_dos(core, HEVC_CPSR, 0); in vdec_hevc_load_firmware() 62 amvdec_write_dos(core, HEVC_IMEM_DMA_ADR, mc_addr_map); in vdec_hevc_load_firmware() 63 amvdec_write_dos(core, HEVC_IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_hevc_load_firmware() 64 amvdec_write_dos(core, HEVC_IMEM_DMA_CTRL, (0x8000 | (7 << 16))); in vdec_hevc_load_firmware() 66 while (i && (readl(core->dos_base + HEVC_IMEM_DMA_CTRL) & 0x8000)) in vdec_hevc_load_firmware() 74 dma_free_coherent(core->dev, MC_SIZE, mc_addr, mc_addr_map); in vdec_hevc_load_firmware() [all …]
|
| H A D | vdec_1.c | 29 struct amvdec_core *core = sess->core; in vdec_1_load_firmware() local 30 struct device *dev = core->dev_dec; in vdec_1_load_firmware() 48 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, in vdec_1_load_firmware() 57 amvdec_write_dos(core, MPSR, 0); in vdec_1_load_firmware() 58 amvdec_write_dos(core, CPSR, 0); in vdec_1_load_firmware() 60 amvdec_clear_dos_bits(core, MDEC_PIC_DC_CTRL, BIT(31)); in vdec_1_load_firmware() 62 amvdec_write_dos(core, IMEM_DMA_ADR, mc_addr_map); in vdec_1_load_firmware() 63 amvdec_write_dos(core, IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_1_load_firmware() 64 amvdec_write_dos(core, IMEM_DMA_CTRL, (0x8000 | (7 << 16))); in vdec_1_load_firmware() 66 while (--i && amvdec_read_dos(core, IMEM_DMA_CTRL) & 0x8000); in vdec_1_load_firmware() [all …]
|
| H A D | esparser.c | 62 struct amvdec_core *core = dev; in esparser_isr() local 64 int_status = amvdec_read_parser(core, PARSER_INT_STATUS); in esparser_isr() 65 amvdec_write_parser(core, PARSER_INT_STATUS, int_status); in esparser_isr() 68 amvdec_write_parser(core, PFIFO_RD_PTR, 0); in esparser_isr() 69 amvdec_write_parser(core, PFIFO_WR_PTR, 0); in esparser_isr() 81 static int vp9_update_header(struct amvdec_core *core, struct vb2_buffer *buf) in vp9_update_header() argument 97 dev_warn(core->dev, "%s: unable to update header\n", __func__); in vp9_update_header() 136 dev_warn(core->dev, "%s: unable to update header\n", __func__); in vp9_update_header() 170 dev_dbg(core->dev, "%s: data has gaps, setting to 0\n", in vp9_update_header() 175 dev_err(core->dev, "%s: data overwritten\n", __func__); in vp9_update_header() [all …]
|
| /linux/drivers/bcma/ |
| H A D | main.c | 36 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in manuf_show() local 37 return sprintf(buf, "0x%03X\n", core->id.manuf); in manuf_show() 43 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in id_show() local 44 return sprintf(buf, "0x%03X\n", core->id.id); in id_show() 50 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in rev_show() local 51 return sprintf(buf, "0x%02X\n", core->id.rev); in rev_show() 57 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in class_show() local 58 return sprintf(buf, "0x%X\n", core->id.class); in class_show() 90 struct bcma_device *core; in bcma_find_core_unit() local 92 list_for_each_entry(core, &bus->cores, list) { in bcma_find_core_unit() [all …]
|
| H A D | core.c | 12 static bool bcma_core_wait_value(struct bcma_device *core, u16 reg, u32 mask, in bcma_core_wait_value() argument 19 val = bcma_aread32(core, reg); in bcma_core_wait_value() 26 bcma_warn(core->bus, "Timeout waiting for register 0x%04X!\n", reg); in bcma_core_wait_value() 31 bool bcma_core_is_enabled(struct bcma_device *core) in bcma_core_is_enabled() argument 33 if ((bcma_aread32(core, BCMA_IOCTL) & (BCMA_IOCTL_CLK | BCMA_IOCTL_FGC)) in bcma_core_is_enabled() 36 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET) in bcma_core_is_enabled() 42 void bcma_core_disable(struct bcma_device *core, u32 flags) in bcma_core_disable() argument 44 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET) in bcma_core_disable() 47 bcma_core_wait_value(core, BCMA_RESET_ST, ~0, 0, 300); in bcma_core_disable() 49 bcma_awrite32(core, BCMA_RESET_CTL, BCMA_RESET_CTL_RESET); in bcma_core_disable() [all …]
|
| H A D | host_pci.c | 14 static void bcma_host_pci_switch_core(struct bcma_device *core) in bcma_host_pci_switch_core() argument 16 int win2 = core->bus->host_is_pcie2 ? in bcma_host_pci_switch_core() 19 pci_write_config_dword(core->bus->host_pci, BCMA_PCI_BAR0_WIN, in bcma_host_pci_switch_core() 20 core->addr); in bcma_host_pci_switch_core() 21 pci_write_config_dword(core->bus->host_pci, win2, core->wrap); in bcma_host_pci_switch_core() 22 core->bus->mapped_core = core; in bcma_host_pci_switch_core() 23 bcma_debug(core->bus, "Switched to core: 0x%X\n", core->id.id); in bcma_host_pci_switch_core() 28 static u16 bcma_host_pci_provide_access_to_core(struct bcma_device *core) in bcma_host_pci_provide_access_to_core() argument 30 switch (core->id.id) { in bcma_host_pci_provide_access_to_core() 37 if (core->bus->mapped_core != core) in bcma_host_pci_provide_access_to_core() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| H A D | hdmi4_cec.c | 56 static void hdmi_cec_received_msg(struct hdmi_core_data *core) in hdmi_cec_received_msg() argument 58 u32 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg() 71 msg.msg[0] = hdmi_read_reg(core->base, in hdmi_cec_received_msg() 73 msg.msg[1] = hdmi_read_reg(core->base, in hdmi_cec_received_msg() 79 hdmi_read_reg(core->base, reg); in hdmi_cec_received_msg() 82 cec_received_msg(core->adap, &msg); in hdmi_cec_received_msg() 85 hdmi_write_reg(core->base, HDMI_CEC_RX_CONTROL, 1); in hdmi_cec_received_msg() 87 while (hdmi_read_reg(core->base, HDMI_CEC_RX_CONTROL) & 1) in hdmi_cec_received_msg() 93 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg() 97 void hdmi4_cec_irq(struct hdmi_core_data *core) in hdmi4_cec_irq() argument [all …]
|
| /linux/drivers/clk/at91/ |
| H A D | clk-sam9x60-pll.c | 38 struct sam9x60_pll_core core; member 45 struct sam9x60_pll_core core; member 52 #define to_sam9x60_frac(core) container_of(core, struct sam9x60_frac, core) argument 53 #define to_sam9x60_div(core) container_of(core, struct sam9x60_div, core) argument 74 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); in sam9x60_frac_pll_recalc_rate() local 75 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_recalc_rate() 81 if (core->layout->div2) in sam9x60_frac_pll_recalc_rate() 87 static int sam9x60_frac_pll_set(struct sam9x60_pll_core *core) in sam9x60_frac_pll_set() argument 89 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_set() 90 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set() [all …]
|
| /linux/include/trace/events/ |
| H A D | clk.h | 17 TP_PROTO(struct clk_core *core), 19 TP_ARGS(core), 22 __string( name, core->name ) 34 TP_PROTO(struct clk_core *core), 36 TP_ARGS(core) 41 TP_PROTO(struct clk_core *core), 43 TP_ARGS(core) 48 TP_PROTO(struct clk_core *core), 50 TP_ARGS(core) 55 TP_PROTO(struct clk_core *core), [all...] |
| /linux/tools/perf/pmu-events/arch/x86/ |
| H A D | mapfile.csv | 2 GenuineIntel-6-(97|9A|B7|BA|BF),v1.41,alderlake,core 3 GenuineIntel-6-BE,v1.41,alderlaken,core 4 GenuineIntel-6-C[56],v1.21,arrowlake,core 5 GenuineIntel-6-(1C|26|27|35|36),v5,bonnell,core 6 GenuineIntel-6-(3D|47),v30,broadwell,core 7 GenuineIntel-6-56,v12,broadwellde,core 8 GenuineIntel-6-4F,v23,broadwellx,core 9 GenuineIntel-6-55-[56789ABCDEF],v1.25,cascadelakex,core 10 GenuineIntel-6-DD,v1.04,clearwaterforest,core 11 GenuineIntel-6-9[6C],v1.05,elkhartlake,core [all...] |
| /linux/drivers/accel/rocket/ |
| H A D | rocket_job.c | 55 static struct dma_fence *rocket_fence_create(struct rocket_core *core) in rocket_fence_create() 63 dma_fence_init(fence, &rocket_fence_ops, &core->fence_lock, in rocket_copy_tasks() 64 core->fence_context, ++core->emit_seqno); in rocket_copy_tasks() 134 static void rocket_job_hw_submit(struct rocket_core *core, struct rocket_job *job) in rocket_job_hw_submit() 140 if (atomic_read(&core->reset.pending)) in rocket_job_hw_submit() 148 rocket_pc_writel(core, BASE_ADDRESS, 0x1); in rocket_job_hw_submit() 151 extra_bit = 0x10000000 * core->index; in rocket_job_hw_submit() 152 rocket_cna_writel(core, S_POINTER, CNA_S_POINTER_POINTER_PP_EN(1) | in rocket_job_hw_submit() 157 rocket_core_writel(core, S_POINTE 45 rocket_fence_create(struct rocket_core * core) rocket_fence_create() argument 110 rocket_job_hw_submit(struct rocket_core * core,struct rocket_job * job) rocket_job_hw_submit() argument 284 unsigned int core; sched_to_core() local 298 struct rocket_core *core = sched_to_core(rdev, sched_job->sched); rocket_job_run() local 344 rocket_job_handle_irq(struct rocket_core * core) rocket_job_handle_irq() argument 366 rocket_reset(struct rocket_core * core,struct drm_sched_job * bad) rocket_reset() argument 401 struct rocket_core *core = sched_to_core(rdev, sched_job->sched); rocket_job_timedout() local 413 struct rocket_core *core; rocket_reset_work() local 427 struct rocket_core *core = data; rocket_job_irq_handler_thread() local 436 struct rocket_core *core = data; rocket_job_irq_handler() local 451 rocket_job_init(struct rocket_core * core) rocket_job_init() argument 503 rocket_job_fini(struct rocket_core * core) rocket_job_fini() argument 516 unsigned int core; rocket_job_open() local 540 rocket_job_is_idle(struct rocket_core * core) rocket_job_is_idle() argument [all...] |
| /linux/tools/perf/tests/ |
| H A D | parse-events.c | 59 * Returns number of core PMUs if the evlist has >1 core PMU, otherwise in num_core_entries() 60 * returns 1. The number of core PMUs is needed as wild carding can in num_core_entries() 61 * open an event for each core PMU. If the events were opened with a in num_core_entries() 79 return (evsel->core.attr.config & PERF_HW_EVENT_MASK) == expected_config; in test_hw_config() 114 TEST_ASSERT_EVSEL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type, evsel); in test__checkevent_tracepoint() 116 PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type, evsel); in test__checkevent_tracepoint() 117 TEST_ASSERT_EVSEL("wrong sample_period", 1 == evsel->core.attr.sample_period, evsel); in test__checkevent_tracepoint() 130 PERF_TYPE_TRACEPOINT == evsel->core.attr.type, in test__checkevent_tracepoint_multi() 133 PERF_TP_SAMPLE_TYPE == evsel->core in test__checkevent_tracepoint_multi() [all...] |
| /linux/drivers/media/pci/cx88/ |
| H A D | cx88-i2c.c | 46 struct cx88_core *core = data; in cx8800_bit_setscl() local 49 core->i2c_state |= 0x02; in cx8800_bit_setscl() 51 core->i2c_state &= ~0x02; in cx8800_bit_setscl() 52 cx_write(MO_I2C, core->i2c_state); in cx8800_bit_setscl() 58 struct cx88_core *core = data; in cx8800_bit_setsda() local 61 core->i2c_state |= 0x01; in cx8800_bit_setsda() 63 core->i2c_state &= ~0x01; in cx8800_bit_setsda() 64 cx_write(MO_I2C, core->i2c_state); in cx8800_bit_setsda() 70 struct cx88_core *core = data; in cx8800_bit_getscl() local 79 struct cx88_core *core = data; in cx8800_bit_getsda() local [all …]
|
| H A D | cx88-tvaudio.c | 92 static void set_audio_registers(struct cx88_core *core, const struct rlist *l) in set_audio_registers() argument 113 static void set_audio_start(struct cx88_core *core, u32 mode) in set_audio_start() argument 124 static void set_audio_finish(struct cx88_core *core, u32 ctl) in set_audio_finish() argument 129 cx88_stop_audio_dma(core); in set_audio_finish() 131 cx88_start_audio_dma(core); in set_audio_finish() 133 if (core->board.mpeg & CX88_MPEG_BLACKBIRD) { in set_audio_finish() 145 if ((always_analog) || (!(core->board.mpeg & CX88_MPEG_BLACKBIRD))) { in set_audio_finish() 157 core->last_change = jiffies; in set_audio_finish() 162 static void set_audio_standard_BTSC(struct cx88_core *core, unsigned int sap, in set_audio_standard_BTSC() argument 261 set_audio_start(core, SEL_SAP); in set_audio_standard_BTSC() [all …]
|
| H A D | cx88.h | 295 #define INPUT(nr) (core->board.input[nr]) 373 void (*gate_ctrl)(struct cx88_core *core, int open); 417 #define call_hw(core, grpid, o, f, args...) \ argument 419 if (!core->i2c_rc) { \ 420 if (core->gate_ctrl) \ 421 core->gate_ctrl(core, 1); \ 422 v4l2_device_call_all(&core->v4l2_dev, \ 424 if (core->gate_ctrl) \ 425 core->gate_ctrl(core, 0); \ 429 #define call_all(core, o, f, args...) call_hw(core, 0, o, f, ##args) argument [all …]
|
| /linux/drivers/net/can/esd/ |
| H A D | esdacc.c | 47 static void acc_resetmode_enter(struct acc_core *core) in acc_resetmode_enter() argument 49 acc_set_bits(core, ACC_CORE_OF_CTRL, in acc_resetmode_enter() 53 acc_resetmode_entered(core); in acc_resetmode_enter() 56 static void acc_resetmode_leave(struct acc_core *core) in acc_resetmode_leave() argument 58 acc_clear_bits(core, ACC_CORE_OF_CTRL, in acc_resetmode_leave() 62 acc_resetmode_entered(core); in acc_resetmode_leave() 65 static void acc_txq_put(struct acc_core *core, u32 acc_id, u32 acc_dlc, in acc_txq_put() argument 68 acc_write32_noswap(core, ACC_CORE_OF_TXFIFO_DATA_1, in acc_txq_put() 70 acc_write32_noswap(core, ACC_CORE_OF_TXFIFO_DATA_0, in acc_txq_put() 72 acc_write32(core, ACC_CORE_OF_TXFIFO_DLC, acc_dlc); in acc_txq_put() [all …]
|
| /linux/drivers/media/platform/amphion/ |
| H A D | vpu_rpc.h | 27 struct vpu_core *core; member 47 int (*boot_core)(struct vpu_core *core); 48 int (*shutdown_core)(struct vpu_core *core); 49 int (*restore_core)(struct vpu_core *core); 50 int (*get_power_state)(struct vpu_core *core); 51 int (*on_firmware_loaded)(struct vpu_core *core); 114 struct vpu_iface_ops *vpu_core_get_iface(struct vpu_core *core); 116 int vpu_iface_check_memory_region(struct vpu_core *core, dma_addr_t addr, u32 size); 118 static inline bool vpu_iface_check_codec(struct vpu_core *core) in vpu_iface_check_codec() argument 120 struct vpu_iface_ops *ops = vpu_core_get_iface(core); in vpu_iface_check_codec() [all …]
|
| H A D | vpu_cmds.c | 65 static int vpu_cmd_send(struct vpu_core *core, struct vpu_rpc_event *pkt) in vpu_cmd_send() argument 69 ret = vpu_iface_send_cmd(core, pkt); in vpu_cmd_send() 75 vpu_mbox_send_type(core, COMMAND); in vpu_cmd_send() 97 ret = vpu_iface_pack_cmd(inst->core, cmd->pkt, inst->id, id, data); in vpu_alloc_cmd() 130 ret = vpu_cmd_send(inst->core, cmd->pkt); in vpu_session_process_cmd() 165 struct vpu_core *core; in vpu_request_cmd() local 168 if (!inst || !inst->core) in vpu_request_cmd() 171 core = inst->core; in vpu_request_cmd() 176 mutex_lock(&core->cmd_lock); in vpu_request_cmd() 185 mutex_unlock(&core->cmd_lock); in vpu_request_cmd() [all …]
|
| /linux/drivers/phy/broadcom/ |
| H A D | phy-bcm-sr-pcie.c | 42 * @core: pointer to the Stingray PCIe PHY core control 47 struct sr_pcie_phy_core *core; member 53 * struct sr_pcie_phy_core - Stingray PCIe PHY core control 76 * core and associated serdes has been enabled as RC and is available for use 81 /* PIPEMUX = 1, EP 1x8 + RC 1x8, core 7 */ 120 static u32 pipemux_strap_read(struct sr_pcie_phy_core *core) in pipemux_strap_read() argument 130 pipemux = readl(core->base + PCIE_PIPEMUX_CFG_OFFSET); in pipemux_strap_read() 133 regmap_read(core->cdru, CDRU_STRAP_DATA_LSW_OFFSET, &pipemux); in pipemux_strap_read() 142 * Given a PIPEMUX strap and PCIe core inde 147 struct sr_pcie_phy_core *core = phy->core; pcie_core_is_for_rc() local 171 struct sr_pcie_phy_core *core = phy->core; sr_paxc_phy_init() local 200 struct sr_pcie_phy_core *core; sr_pcie_phy_xlate() local 219 struct sr_pcie_phy_core *core; sr_pcie_phy_probe() local [all...] |
| /linux/drivers/iio/common/cros_ec_sensors/ |
| H A D | cros_ec_sensors.c | 30 struct cros_ec_sensors_core_state core; member 46 mutex_lock(&st->core.cmd_lock); in cros_ec_sensors_read() 50 ret = st->core.read_ec_sensors_data(indio_dev, 1 << idx, &data); in cros_ec_sensors_read() 57 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_OFFSET; in cros_ec_sensors_read() 58 st->core.param.sensor_offset.flags = 0; in cros_ec_sensors_read() 60 ret = cros_ec_motion_send_host_cmd(&st->core, 0); in cros_ec_sensors_read() 66 st->core.calib[i].offset = in cros_ec_sensors_read() 67 st->core.resp->sensor_offset.offset[i]; in cros_ec_sensors_read() 69 *val = st->core.calib[idx].offset; in cros_ec_sensors_read() 72 st->core in cros_ec_sensors_read() [all...] |
| /linux/sound/soc/qcom/qdsp6/ |
| H A D | q6core.c | 72 struct q6core *core = dev_get_drvdata(&adev->dev); in q6core_callback() local 83 core->get_version_supported = false; in q6core_callback() 84 core->resp_received = true; in q6core_callback() 88 core->fwk_version_supported = false; in q6core_callback() 89 core->resp_received = true; in q6core_callback() 93 core->get_state_supported = false; in q6core_callback() 94 core->resp_received = true; in q6core_callback() 104 core->fwk_version = kmemdup(data->payload, in q6core_callback() 108 if (!core->fwk_version) in q6core_callback() 111 core->fwk_version_supported = true; in q6core_callback() [all …]
|