/linux-master/include/linux/framer/ |
H A D | framer.h | 3 * 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 D | framer-provider.h | 3 * 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 D | Makefile | 6 obj-$(CONFIG_FRAMER_PEF2256) += framer-pef2256.o 8 framer-pef2256-objs := pef2256.o
|
H A D | pef2256.c | 10 #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 D | framer-core.c | 11 #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 D | Makefile | 3 # Makefile for the framer drivers. 6 obj-$(CONFIG_GENERIC_FRAMER) += framer-core.o
|
/linux-master/sound/soc/codecs/ |
H A D | framer-codec.c | 10 #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 D | Makefile | 127 snd-soc-framer-objs := framer-codec.o 522 obj-$(CONFIG_SND_SOC_FRAMER) += snd-soc-framer.o
|
/linux-master/drivers/net/wan/ |
H A D | fsl_qmc_hdlc.c | 17 #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 D | Makefile | 17 obj-y += framer/
|
/linux-master/drivers/slimbus/ |
H A D | qcom-ctrl.c | 104 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 D | qcom-ngd-ctrl.c | 150 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 D | pinctrl-pef2256.c | 11 #include <linux/framer/pef2256.h>
|
/linux-master/drivers/gpu/drm/bridge/cadence/ |
H A D | cdns-mhdp8546-core.c | 1463 /* 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);
|