Searched refs:framer (Results 1 - 14 of 14) sorted by relevance

/linux-master/include/linux/framer/
H A Dframer.h3 * Generic framer header file
69 * struct framer - represents the framer device
70 * @dev: framer device
71 * @id: id of the framer device
72 * @ops: function pointers for performing framer operations
74 * @init_count: used to protect when the framer is used by multiple consumers
75 * @power_count: used to protect when the framer is used by multiple consumers
76 * @pwr: power regulator associated with the framer
82 struct framer { struct
117 framer_pm_runtime_get(struct framer *framer) argument
122 framer_pm_runtime_get_sync(struct framer *framer) argument
127 framer_pm_runtime_put(struct framer *framer) argument
132 framer_pm_runtime_put_sync(struct framer *framer) argument
137 framer_init(struct framer *framer) argument
142 framer_exit(struct framer *framer) argument
147 framer_power_on(struct framer *framer) argument
152 framer_power_off(struct framer *framer) argument
157 framer_get_status(struct framer *framer, struct framer_status *status) argument
162 framer_get_config(struct framer *framer, struct framer_config *config) argument
167 framer_set_config(struct framer *framer, const struct framer_config *config) argument
172 framer_notifier_register(struct framer *framer, struct notifier_block *nb) argument
178 framer_notifier_unregister(struct framer *framer, struct notifier_block *nb) argument
189 framer_put(struct device *dev, struct framer *framer) argument
[all...]
H A Dframer-provider.h3 * Generic framer profider header file
14 #include <linux/framer/framer.h>
20 * struct framer_ops - set of function pointers for performing framer operations
21 * @init: operation to be performed for initializing the framer
23 * @power_on: powering on the framer
24 * @power_off: powering off the framer
27 * Ask the core to perform a polling to get the framer status and
29 * The framer should call @framer_notify_status_change() when it
31 * If the framer canno
98 framer_set_drvdata(struct framer *framer, void *data) argument
103 framer_get_drvdata(struct framer *framer) argument
144 framer_destroy(struct framer *framer) argument
181 framer_notify_status_change(struct framer *framer) argument
[all...]
/linux-master/drivers/net/wan/framer/pef2256/
H A DMakefile6 obj-$(CONFIG_FRAMER_PEF2256) += framer-pef2256.o
8 framer-pef2256-objs := pef2256.o
H A Dpef2256.c10 #include <linux/framer/pef2256.h>
12 #include <linux/framer/framer-provider.h>
51 struct framer *framer; member in struct:pef2256
514 framer_notify_status_change(pef2256->framer);
635 audio_devs[i].name = "framer-codec";
645 static int pef2256_framer_get_status(struct framer *framer, struct framer_status *status) argument
647 struct pef2256 *pef2256 = framer_get_drvdata(framer);
653 pef2256_framer_set_config(struct framer *framer, const struct framer_config *config) argument
677 pef2256_framer_get_config(struct framer *framer, struct framer_config *config) argument
[all...]
/linux-master/drivers/net/wan/framer/
H A Dframer-core.c11 #include <linux/framer/framer.h>
12 #include <linux/framer/framer-provider.h>
23 .name = "framer",
31 #define dev_to_framer(a) (container_of((a), struct framer, dev))
33 int framer_pm_runtime_get(struct framer *framer) argument
37 if (!pm_runtime_enabled(&framer->dev))
40 ret = pm_runtime_get(&framer
48 framer_pm_runtime_get_sync(struct framer *framer) argument
63 framer_pm_runtime_put(struct framer *framer) argument
72 framer_pm_runtime_put_sync(struct framer *framer) argument
92 framer_init(struct framer *framer) argument
143 framer_exit(struct framer *framer) argument
179 framer_power_on(struct framer *framer) argument
223 framer_power_off(struct framer *framer) argument
257 framer_get_status(struct framer *framer, struct framer_status *status) argument
285 framer_set_config(struct framer *framer, const struct framer_config *config) argument
310 framer_get_config(struct framer *framer, struct framer_config *config) argument
327 struct framer *framer = container_of(work, struct framer, polling_work.work); local
358 framer_notifier_register(struct framer *framer, struct notifier_block *nb) argument
374 framer_notifier_unregister(struct framer *framer, struct notifier_block *nb) argument
395 struct framer *framer; local
418 struct framer *framer; local
441 struct framer *framer; local
471 struct framer *framer = ERR_PTR(-ENODEV); local
516 framer_put(struct device *dev, struct framer *framer) argument
527 struct framer *framer = *(struct framer **)res; local
543 struct framer **ptr, *framer; local
574 struct framer *framer = devm_framer_get(dev, con_id); local
585 struct framer *framer = container_of(work, struct framer, notify_status_work); local
590 framer_notify_status_change(struct framer *framer) argument
610 struct framer *framer; local
682 framer_destroy(struct framer *framer) argument
696 struct framer *framer = *(struct framer **)res; local
715 struct framer **ptr, *framer; local
747 struct framer *framer; local
868 struct framer *framer; local
[all...]
H A DMakefile3 # Makefile for the framer drivers.
6 obj-$(CONFIG_GENERIC_FRAMER) += framer-core.o
/linux-master/sound/soc/codecs/
H A Dframer-codec.c10 #include <linux/framer/framer.h>
24 struct framer *framer; member in struct:framer_codec
36 struct framer_codec *framer = snd_soc_component_get_drvdata(dai->component); local
48 framer->max_chan_playback = hweight32(tx_mask);
49 if (framer->max_chan_playback > FRAMER_NB_CHANNEL) {
55 framer->max_chan_capture = hweight32(rx_mask);
56 if (framer->max_chan_capture > FRAMER_NB_CHANNEL) {
95 struct framer_codec *framer local
104 struct framer_codec *framer = snd_soc_component_get_drvdata(dai->component); local
141 struct framer_codec *framer = snd_soc_component_get_drvdata(dai->component); local
150 struct framer_codec *framer = snd_soc_component_get_drvdata(dai->component); local
188 struct framer_codec *framer = snd_soc_component_get_drvdata(dai->component); local
273 struct framer_codec *framer = container_of(work, struct framer_codec, carrier_work); local
291 struct framer_codec *framer = container_of(nb, struct framer_codec, nb); local
306 struct framer_codec *framer = snd_soc_component_get_drvdata(component); local
368 struct framer_codec *framer = snd_soc_component_get_drvdata(component); local
384 struct framer_codec *framer; local
[all...]
H A DMakefile127 snd-soc-framer-objs := framer-codec.o
522 obj-$(CONFIG_SND_SOC_FRAMER) += snd-soc-framer.o
/linux-master/drivers/net/wan/
H A Dfsl_qmc_hdlc.c17 #include <linux/framer/framer.h>
39 struct framer *framer; member in struct:qmc_hdlc
60 if (!qmc_hdlc->framer)
65 ret = framer_get_status(qmc_hdlc->framer, &framer_status);
67 dev_err(qmc_hdlc->dev, "get framer status failed (%d)\n", ret);
96 if (!qmc_hdlc->framer)
99 ret = framer_power_on(qmc_hdlc->framer);
101 dev_err(qmc_hdlc->dev, "framer powe
[all...]
H A DMakefile17 obj-y += framer/
/linux-master/drivers/slimbus/
H A Dqcom-ctrl.c104 struct slim_framer framer; member in struct:qcom_slim_ctrl
287 /* Make sure framer wakeup write goes through before ISR fires */
546 ctrl->framer.rootfreq = SLIM_ROOT_FREQ / 8;
547 ctrl->framer.superfreq =
548 ctrl->framer.rootfreq / SLIM_CL_PER_SUPERFRAME_DIV8;
549 sctrl->a_framer = &ctrl->framer;
H A Dqcom-ngd-ctrl.c150 struct slim_framer framer; member in struct:qcom_slim_ngd_ctrl
1197 * external MDM restart case where ADSP itself was active framer
1201 dev_info(ctrl->dev, "Subsys restart: ADSP active framer\n");
1638 ctrl->framer.rootfreq = SLIM_ROOT_FREQ >> 3;
1639 ctrl->framer.superfreq =
1640 ctrl->framer.rootfreq / SLIM_CL_PER_SUPERFRAME_DIV8;
1642 ctrl->ctrl.a_framer = &ctrl->framer;
/linux-master/drivers/pinctrl/
H A Dpinctrl-pef2256.c11 #include <linux/framer/pef2256.h>
/linux-master/drivers/gpu/drm/bridge/cadence/
H A Dcdns-mhdp8546-core.c1463 /* Disable framer for link training */
1779 u32 bpp, bpc, pxlfmt, framer; local
1929 ret = cdns_mhdp_reg_read(mhdp, CDNS_DP_FRAMER_GLOBAL_CONFIG, &framer);
1936 framer |= CDNS_DP_FRAMER_EN;
1937 framer &= ~CDNS_DP_NO_VIDEO_MODE;
1938 cdns_mhdp_reg_write(mhdp, CDNS_DP_FRAMER_GLOBAL_CONFIG, framer);

Completed in 392 milliseconds