Home
last modified time | relevance | path

Searched refs:core (Results 1 – 25 of 1605) sorted by relevance

12345678910>>...65

/Linux-v4.19/drivers/mfd/
Dsi476x-i2c.c45 static int si476x_core_config_pinmux(struct si476x_core *core) in si476x_core_config_pinmux() argument
48 dev_dbg(&core->client->dev, "Configuring pinmux\n"); in si476x_core_config_pinmux()
49 err = si476x_core_cmd_dig_audio_pin_cfg(core, in si476x_core_config_pinmux()
50 core->pinmux.dclk, in si476x_core_config_pinmux()
51 core->pinmux.dfs, in si476x_core_config_pinmux()
52 core->pinmux.dout, in si476x_core_config_pinmux()
53 core->pinmux.xout); in si476x_core_config_pinmux()
55 dev_err(&core->client->dev, in si476x_core_config_pinmux()
61 err = si476x_core_cmd_zif_pin_cfg(core, in si476x_core_config_pinmux()
62 core->pinmux.iqclk, in si476x_core_config_pinmux()
[all …]
Dwl1273-core.c35 static int wl1273_fm_read_reg(struct wl1273_core *core, u8 reg, u16 *value) in wl1273_fm_read_reg() argument
37 struct i2c_client *client = core->client; in wl1273_fm_read_reg()
52 static int wl1273_fm_write_cmd(struct wl1273_core *core, u8 cmd, u16 param) in wl1273_fm_write_cmd() argument
54 struct i2c_client *client = core->client; in wl1273_fm_write_cmd()
67 static int wl1273_fm_write_data(struct wl1273_core *core, u8 *data, u16 len) in wl1273_fm_write_data() argument
69 struct i2c_client *client = core->client; in wl1273_fm_write_data()
94 static int wl1273_fm_set_audio(struct wl1273_core *core, unsigned int new_mode) in wl1273_fm_set_audio() argument
98 if (core->mode == WL1273_MODE_OFF || in wl1273_fm_set_audio()
99 core->mode == WL1273_MODE_SUSPENDED) in wl1273_fm_set_audio()
102 if (core->mode == WL1273_MODE_RX && new_mode == WL1273_AUDIO_DIGITAL) { in wl1273_fm_set_audio()
[all …]
Dsi476x-cmd.c180 static int si476x_core_parse_and_nag_about_error(struct si476x_core *core) in si476x_core_parse_and_nag_about_error() argument
186 if (core->revision != SI476X_REVISION_A10) { in si476x_core_parse_and_nag_about_error()
187 err = si476x_core_i2c_xfer(core, SI476X_I2C_RECV, in si476x_core_parse_and_nag_about_error()
236 dev_err(&core->client->dev, in si476x_core_parse_and_nag_about_error()
239 dev_err(&core->client->dev, in si476x_core_parse_and_nag_about_error()
266 static int si476x_core_send_command(struct si476x_core *core, in si476x_core_send_command() argument
274 struct i2c_client *client = core->client; in si476x_core_send_command()
293 err = si476x_core_i2c_xfer(core, SI476X_I2C_SEND, in si476x_core_send_command()
296 dev_err(&core->client->dev, in si476x_core_send_command()
304 atomic_set(&core->cts, 0); in si476x_core_send_command()
[all …]
/Linux-v4.19/drivers/clk/
Dclk.c86 struct clk_core *core; member
96 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get() argument
100 if (!core->dev) in clk_pm_runtime_get()
103 ret = pm_runtime_get_sync(core->dev); in clk_pm_runtime_get()
107 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put() argument
109 if (!core->dev) in clk_pm_runtime_put()
112 pm_runtime_put_sync(core->dev); in clk_pm_runtime_put()
184 static bool clk_core_rate_is_protected(struct clk_core *core) in clk_core_rate_is_protected() argument
186 return core->protect_count; in clk_core_rate_is_protected()
189 static bool clk_core_is_prepared(struct clk_core *core) in clk_core_is_prepared() argument
[all …]
/Linux-v4.19/drivers/bcma/
Dmain.c35 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in manuf_show() local
36 return sprintf(buf, "0x%03X\n", core->id.manuf); in manuf_show()
42 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in id_show() local
43 return sprintf(buf, "0x%03X\n", core->id.id); in id_show()
49 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in rev_show() local
50 return sprintf(buf, "0x%02X\n", core->id.rev); in rev_show()
56 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in class_show() local
57 return sprintf(buf, "0x%X\n", core->id.class); in class_show()
89 struct bcma_device *core; in bcma_find_core_unit() local
91 list_for_each_entry(core, &bus->cores, list) { in bcma_find_core_unit()
[all …]
Dcore.c12 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 …]
Dhost_pci.c14 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-v4.19/drivers/media/platform/qcom/venus/
Dcore.c34 static void venus_event_notify(struct venus_core *core, u32 event) in venus_event_notify() argument
46 mutex_lock(&core->lock); in venus_event_notify()
47 core->sys_error = true; in venus_event_notify()
48 list_for_each_entry(inst, &core->instances, list) in venus_event_notify()
50 mutex_unlock(&core->lock); in venus_event_notify()
52 disable_irq_nosync(core->irq); in venus_event_notify()
59 schedule_delayed_work(&core->work, msecs_to_jiffies(100)); in venus_event_notify()
68 struct venus_core *core = in venus_sys_error_handler() local
72 dev_warn(core->dev, "system error has occurred, starting recovery!\n"); in venus_sys_error_handler()
74 pm_runtime_get_sync(core->dev); in venus_sys_error_handler()
[all …]
Dhfi.c59 int hfi_core_init(struct venus_core *core) in hfi_core_init() argument
63 mutex_lock(&core->lock); in hfi_core_init()
65 if (core->state >= CORE_INIT) in hfi_core_init()
68 reinit_completion(&core->done); in hfi_core_init()
70 ret = core->ops->core_init(core); in hfi_core_init()
74 ret = wait_for_completion_timeout(&core->done, TIMEOUT); in hfi_core_init()
82 if (core->error != HFI_ERR_NONE) { in hfi_core_init()
87 core->state = CORE_INIT; in hfi_core_init()
89 mutex_unlock(&core->lock); in hfi_core_init()
93 int hfi_core_deinit(struct venus_core *core, bool blocking) in hfi_core_deinit() argument
[all …]
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Dhdmi4_cec.c68 static void hdmi_cec_received_msg(struct hdmi_core_data *core) in hdmi_cec_received_msg() argument
70 u32 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg()
83 msg.msg[0] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
85 msg.msg[1] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
91 hdmi_read_reg(core->base, reg); in hdmi_cec_received_msg()
94 cec_received_msg(core->adap, &msg); in hdmi_cec_received_msg()
97 hdmi_write_reg(core->base, HDMI_CEC_RX_CONTROL, 1); in hdmi_cec_received_msg()
99 while (hdmi_read_reg(core->base, HDMI_CEC_RX_CONTROL) & 1) in hdmi_cec_received_msg()
105 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg()
109 void hdmi4_cec_irq(struct hdmi_core_data *core) in hdmi4_cec_irq() argument
[all …]
/Linux-v4.19/include/trace/events/
Dclk.h25 TP_PROTO(struct clk_core *core),
27 TP_ARGS(core),
30 __string( name, core->name )
34 __assign_str(name, core->name);
42 TP_PROTO(struct clk_core *core),
44 TP_ARGS(core)
49 TP_PROTO(struct clk_core *core),
51 TP_ARGS(core)
56 TP_PROTO(struct clk_core *core),
58 TP_ARGS(core)
[all …]
/Linux-v4.19/drivers/media/radio/
Dradio-wl1273.c85 struct wl1273_core *core; member
103 static int wl1273_fm_write_fw(struct wl1273_core *core, in wl1273_fm_write_fw() argument
106 struct i2c_client *client = core->client; in wl1273_fm_write_fw()
141 struct wl1273_core *core = radio->core; in wl1273_fm_rds() local
142 struct i2c_client *client = core->client; in wl1273_fm_rds()
162 if (core->mode != WL1273_MODE_RX) in wl1273_fm_rds()
165 r = core->read(core, WL1273_RDS_SYNC_GET, &val); in wl1273_fm_rds()
229 struct wl1273_core *core = radio->core; in wl1273_fm_irq_thread_handler() local
233 r = core->read(core, WL1273_FLAG_GET, &flags); in wl1273_fm_irq_thread_handler()
257 r = core->read(core, WL1273_RSSI_LVL_GET, &level); in wl1273_fm_irq_thread_handler()
[all …]
/Linux-v4.19/tools/perf/pmu-events/arch/x86/
Dmapfile.csv2 GenuineIntel-6-56,v5,broadwellde,core
3 GenuineIntel-6-3D,v17,broadwell,core
4 GenuineIntel-6-47,v17,broadwell,core
5 GenuineIntel-6-4F,v10,broadwellx,core
6 GenuineIntel-6-1C,v4,bonnell,core
7 GenuineIntel-6-26,v4,bonnell,core
8 GenuineIntel-6-27,v4,bonnell,core
9 GenuineIntel-6-36,v4,bonnell,core
10 GenuineIntel-6-35,v4,bonnell,core
11 GenuineIntel-6-5C,v8,goldmont,core
[all …]
/Linux-v4.19/drivers/media/pci/cx88/
Dcx88-i2c.c56 struct cx88_core *core = data; in cx8800_bit_setscl() local
59 core->i2c_state |= 0x02; in cx8800_bit_setscl()
61 core->i2c_state &= ~0x02; in cx8800_bit_setscl()
62 cx_write(MO_I2C, core->i2c_state); in cx8800_bit_setscl()
68 struct cx88_core *core = data; in cx8800_bit_setsda() local
71 core->i2c_state |= 0x01; in cx8800_bit_setsda()
73 core->i2c_state &= ~0x01; in cx8800_bit_setsda()
74 cx_write(MO_I2C, core->i2c_state); in cx8800_bit_setsda()
80 struct cx88_core *core = data; in cx8800_bit_getscl() local
89 struct cx88_core *core = data; in cx8800_bit_getsda() local
[all …]
Dcx88-tvaudio.c101 static void set_audio_registers(struct cx88_core *core, const struct rlist *l) in set_audio_registers() argument
122 static void set_audio_start(struct cx88_core *core, u32 mode) in set_audio_start() argument
133 static void set_audio_finish(struct cx88_core *core, u32 ctl) in set_audio_finish() argument
138 cx88_stop_audio_dma(core); in set_audio_finish()
140 cx88_start_audio_dma(core); in set_audio_finish()
142 if (core->board.mpeg & CX88_MPEG_BLACKBIRD) { in set_audio_finish()
154 if ((always_analog) || (!(core->board.mpeg & CX88_MPEG_BLACKBIRD))) { in set_audio_finish()
166 core->last_change = jiffies; in set_audio_finish()
171 static void set_audio_standard_BTSC(struct cx88_core *core, unsigned int sap, in set_audio_standard_BTSC() argument
270 set_audio_start(core, SEL_SAP); in set_audio_standard_BTSC()
[all …]
Dcx88.h304 #define INPUT(nr) (core->board.input[nr])
382 void (*gate_ctrl)(struct cx88_core *core, int open);
426 #define call_hw(core, grpid, o, f, args...) \ argument
428 if (!core->i2c_rc) { \
429 if (core->gate_ctrl) \
430 core->gate_ctrl(core, 1); \
431 v4l2_device_call_all(&core->v4l2_dev, \
433 if (core->gate_ctrl) \
434 core->gate_ctrl(core, 0); \
438 #define call_all(core, o, f, args...) call_hw(core, 0, o, f, ##args) argument
[all …]
Dcx88-video.c301 int cx88_video_mux(struct cx88_core *core, unsigned int input) in cx88_video_mux() argument
309 core->input = input; in cx88_video_mux()
341 if (core->sd_wm8775) { in cx88_video_mux()
342 call_all(core, audio, s_routing, in cx88_video_mux()
353 core->tvaudio = WW_I2SADC; in cx88_video_mux()
354 cx88_set_tvaudio(core); in cx88_video_mux()
372 struct cx88_core *core = dev->core; in start_video_dma() local
375 cx88_sram_channel_setup(core, &cx88_sram_channels[SRAM_CH21], in start_video_dma()
377 cx88_set_scale(core, core->width, core->height, core->field); in start_video_dma()
385 cx_set(MO_PCI_INTMSK, core->pci_irqmask | PCI_INT_VIDINT); in start_video_dma()
[all …]
Dcx88-blackbird.c198 static void host_setup(struct cx88_core *core) in host_setup() argument
232 static int wait_ready_gpio0_bit1(struct cx88_core *core, u32 state) in wait_ready_gpio0_bit1() argument
248 static int memory_write(struct cx88_core *core, u32 address, u32 value) in memory_write() argument
261 return wait_ready_gpio0_bit1(core, 1); in memory_write()
264 static int memory_read(struct cx88_core *core, u32 address, u32 *value) in memory_read() argument
275 retval = wait_ready_gpio0_bit1(core, 1); in memory_read()
290 static int register_write(struct cx88_core *core, u32 address, u32 value) in register_write() argument
302 return wait_ready_gpio0_bit1(core, 1); in register_write()
305 static int register_read(struct cx88_core *core, u32 address, u32 *value) in register_read() argument
315 retval = wait_ready_gpio0_bit1(core, 1); in register_read()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/
Dhead507d.c28 struct nv50_dmac *core = &nv50_disp(head->base.base.dev)->core->chan; in head507d_procamp() local
30 if ((push = evo_wait(core, 2))) { in head507d_procamp()
34 evo_kick(push, core); in head507d_procamp()
41 struct nv50_dmac *core = &nv50_disp(head->base.base.dev)->core->chan; in head507d_dither() local
43 if ((push = evo_wait(core, 2))) { in head507d_dither()
48 evo_kick(push, core); in head507d_dither()
55 struct nv50_dmac *core = &nv50_disp(head->base.base.dev)->core->chan; in head507d_ovly() local
72 if ((push = evo_wait(core, 2))) { in head507d_ovly()
75 evo_kick(push, core); in head507d_ovly()
82 struct nv50_dmac *core = &nv50_disp(head->base.base.dev)->core->chan; in head507d_base() local
[all …]
Dhead907d.c28 struct nv50_dmac *core = &nv50_disp(head->base.base.dev)->core->chan; in head907d_or() local
30 if ((push = evo_wait(core, 3))) { in head907d_or()
37 evo_kick(push, core); in head907d_or()
44 struct nv50_dmac *core = &nv50_disp(head->base.base.dev)->core->chan; in head907d_procamp() local
46 if ((push = evo_wait(core, 2))) { in head907d_procamp()
50 evo_kick(push, core); in head907d_procamp()
57 struct nv50_dmac *core = &nv50_disp(head->base.base.dev)->core->chan; in head907d_dither() local
59 if ((push = evo_wait(core, 2))) { in head907d_dither()
64 evo_kick(push, core); in head907d_dither()
71 struct nv50_dmac *core = &nv50_disp(head->base.base.dev)->core->chan; in head907d_ovly() local
[all …]
Dhead827d.c28 struct nv50_dmac *core = &nv50_disp(head->base.base.dev)->core->chan; in head827d_curs_clr() local
30 if ((push = evo_wait(core, 4))) { in head827d_curs_clr()
35 evo_kick(push, core); in head827d_curs_clr()
42 struct nv50_dmac *core = &nv50_disp(head->base.base.dev)->core->chan; in head827d_curs_set() local
44 if ((push = evo_wait(core, 5))) { in head827d_curs_set()
51 evo_kick(push, core); in head827d_curs_set()
58 struct nv50_dmac *core = &nv50_disp(head->base.base.dev)->core->chan; in head827d_core_set() local
60 if ((push = evo_wait(core, 9))) { in head827d_core_set()
62 evo_data(push, asyh->core.offset >> 8); in head827d_core_set()
64 evo_data(push, asyh->core.h << 16 | asyh->core.w); in head827d_core_set()
[all …]
/Linux-v4.19/drivers/phy/broadcom/
Dphy-bcm-sr-pcie.c47 struct sr_pcie_phy_core *core; member
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()
147 struct sr_pcie_phy_core *core = phy->core; in pcie_core_is_for_rc() local
150 return !!((pipemux_table[core->pipemux] >> core_idx) & 0x1); in pcie_core_is_for_rc()
171 struct sr_pcie_phy_core *core = phy->core; in sr_paxc_phy_init() local
178 regmap_read(core->mhb, MHB_MEM_PW_PAXC_OFFSET, &val); in sr_paxc_phy_init()
180 dev_err(core->dev, "PAXC is not powered up\n"); in sr_paxc_phy_init()
200 struct sr_pcie_phy_core *core; in sr_pcie_phy_xlate() local
[all …]
/Linux-v4.19/sound/soc/qcom/qdsp6/
Dq6core.c73 struct q6core *core = dev_get_drvdata(&adev->dev); in q6core_callback() local
84 core->get_version_supported = false; in q6core_callback()
85 core->resp_received = true; in q6core_callback()
89 core->fwk_version_supported = false; in q6core_callback()
90 core->resp_received = true; in q6core_callback()
94 core->get_state_supported = false; in q6core_callback()
95 core->resp_received = true; in q6core_callback()
108 core->fwk_version = kzalloc(bytes, GFP_ATOMIC); in q6core_callback()
109 if (!core->fwk_version) in q6core_callback()
112 memcpy(core->fwk_version, data->payload, bytes); in q6core_callback()
[all …]
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddebug.h54 #define brcms_dbg(core, l, f, a...) __brcms_dbg(&(core)->dev, l, __func__, f, ##a) argument
55 #define brcms_info(core, f, a...) __brcms_info(&(core)->dev, f, ##a) argument
56 #define brcms_warn(core, f, a...) __brcms_warn(&(core)->dev, f, ##a) argument
57 #define brcms_err(core, f, a...) __brcms_err(&(core)->dev, f, ##a) argument
58 #define brcms_crit(core, f, a...) __brcms_crit(&(core)->dev, f, ##a) argument
60 #define brcms_dbg_info(core, f, a...) brcms_dbg(core, BRCM_DL_INFO, f, ##a) argument
61 #define brcms_dbg_mac80211(core, f, a...) brcms_dbg(core, BRCM_DL_MAC80211, f, ##a) argument
62 #define brcms_dbg_rx(core, f, a...) brcms_dbg(core, BRCM_DL_RX, f, ##a) argument
63 #define brcms_dbg_tx(core, f, a...) brcms_dbg(core, BRCM_DL_TX, f, ##a) argument
64 #define brcms_dbg_int(core, f, a...) brcms_dbg(core, BRCM_DL_INT, f, ##a) argument
[all …]
/Linux-v4.19/drivers/media/i2c/
Dmt9v011.c177 struct mt9v011 *core = to_mt9v011(sd); in set_balance() local
182 exposure = core->exposure; in set_balance()
184 green_gain = calc_mt9v011_gain(core->global_gain); in set_balance()
186 bal = core->global_gain; in set_balance()
187 bal += (core->blue_bal * core->global_gain / (1 << 7)); in set_balance()
190 bal = core->global_gain; in set_balance()
191 bal += (core->red_bal * core->global_gain / (1 << 7)); in set_balance()
203 struct mt9v011 *core = to_mt9v011(sd); in calc_fps() local
218 frames_per_ms = core->xtal * 1000l; in calc_fps()
233 struct mt9v011 *core = to_mt9v011(sd); in calc_speed() local
[all …]

12345678910>>...65