| /linux/drivers/spi/ |
| H A D | spi-rockchip-sfc.c | 190 static int rockchip_sfc_reset(struct rockchip_sfc *sfc) in rockchip_sfc_reset() argument 195 writel_relaxed(SFC_RCVR_RESET, sfc->regbase + SFC_RCVR); in rockchip_sfc_reset() 197 err = readl_poll_timeout(sfc->regbase + SFC_RCVR, status, in rockchip_sfc_reset() 201 dev_err(sfc->dev, "SFC reset never finished\n"); in rockchip_sfc_reset() 204 writel_relaxed(0xFFFFFFFF, sfc->regbase + SFC_ICLR); in rockchip_sfc_reset() 206 dev_dbg(sfc->dev, "reset\n"); in rockchip_sfc_reset() 211 static u16 rockchip_sfc_get_version(struct rockchip_sfc *sfc) in rockchip_sfc_get_version() argument 213 return (u16)(readl(sfc->regbase + SFC_VER) & 0xffff); in rockchip_sfc_get_version() 216 static u32 rockchip_sfc_get_max_iosize(struct rockchip_sfc *sfc) in rockchip_sfc_get_max_iosize() argument 221 static int rockchip_sfc_clk_set_rate(struct rockchip_sfc *sfc, unsigned long speed) in rockchip_sfc_clk_set_rate() argument [all …]
|
| H A D | spi-amlogic-spifc-a4.c | 225 static inline void *aml_sfc_to_ecc_ctx(struct aml_sfc *sfc) in aml_sfc_to_ecc_ctx() argument 227 return sfc->priv; in aml_sfc_to_ecc_ctx() 230 static int aml_sfc_wait_cmd_finish(struct aml_sfc *sfc, u64 timeout_ms) in aml_sfc_wait_cmd_finish() argument 247 regmap_write(sfc->regmap_base, SFC_CMD, CMD_IDLE(sfc->cs_sel, 0)); in aml_sfc_wait_cmd_finish() 248 regmap_write(sfc->regmap_base, SFC_CMD, CMD_IDLE(sfc->cs_sel, 0)); in aml_sfc_wait_cmd_finish() 251 ret = regmap_read_poll_timeout(sfc->regmap_base, SFC_CMD, cmd_size, in aml_sfc_wait_cmd_finish() 255 dev_err(sfc->dev, "wait for empty CMD FIFO time out\n"); in aml_sfc_wait_cmd_finish() 260 static int aml_sfc_pre_transfer(struct aml_sfc *sfc, u32 idle_cycle, u32 cs2clk_cycle) in aml_sfc_pre_transfer() argument 264 ret = regmap_write(sfc->regmap_base, SFC_CMD, CMD_IDLE(CS_NONE, idle_cycle)); in aml_sfc_pre_transfer() 268 return regmap_write(sfc->regmap_base, SFC_CMD, CMD_IDLE(sfc->cs_sel, cs2clk_cycle)); in aml_sfc_pre_transfer() [all …]
|
| /linux/arch/m68k/include/asm/ |
| H A D | sun3mmu.h | 75 unsigned char sfc, c; in sun3_get_buserr() local 77 GET_SFC (sfc); in sun3_get_buserr() 80 SET_SFC (sfc); in sun3_get_buserr() 89 unsigned char c, sfc; in sun3_get_segmap() local 91 GET_SFC (sfc); in sun3_get_segmap() 94 SET_SFC (sfc); in sun3_get_segmap() 103 unsigned char sfc; in sun3_put_segmap() local 105 GET_DFC (sfc); in sun3_put_segmap() 108 SET_DFC (sfc); in sun3_put_segmap() 117 unsigned char sfc; in sun3_get_pte() local [all …]
|
| /linux/sound/soc/tegra/ |
| H A D | tegra210_sfc.c | 3061 struct tegra210_sfc *sfc = dev_get_drvdata(dev); in tegra210_sfc_runtime_suspend() local 3063 regcache_cache_only(sfc->regmap, true); in tegra210_sfc_runtime_suspend() 3064 regcache_mark_dirty(sfc->regmap); in tegra210_sfc_runtime_suspend() 3071 struct tegra210_sfc *sfc = dev_get_drvdata(dev); in tegra210_sfc_runtime_resume() local 3073 regcache_cache_only(sfc->regmap, false); in tegra210_sfc_runtime_resume() 3074 regcache_sync(sfc->regmap); in tegra210_sfc_runtime_resume() 3095 struct tegra210_sfc *sfc = dev_get_drvdata(cmpnt->dev); in tegra210_sfc_write_coeff_ram() local 3099 if (sfc->srate_in == sfc->srate_out) in tegra210_sfc_write_coeff_ram() 3102 coeff_ram = coef_addr_table[sfc in tegra210_sfc_write_coeff_ram() 3121 tegra210_sfc_set_audio_cif(struct tegra210_sfc * sfc,struct snd_pcm_hw_params * params,unsigned int reg) tegra210_sfc_set_audio_cif() argument 3162 tegra210_sfc_soft_reset(struct tegra210_sfc * sfc) tegra210_sfc_soft_reset() argument 3203 struct tegra210_sfc *sfc = snd_soc_dai_get_drvdata(dai); tegra210_sfc_startup() local 3224 struct tegra210_sfc *sfc = snd_soc_dai_get_drvdata(dai); tegra210_sfc_in_hw_params() local 3248 struct tegra210_sfc *sfc = snd_soc_dai_get_drvdata(dai); tegra210_sfc_out_hw_params() local 3280 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); tegra210_sfc_iget_stereo_to_mono() local 3291 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); tegra210_sfc_iput_stereo_to_mono() local 3306 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); tegra210_sfc_iget_mono_to_stereo() local 3317 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); tegra210_sfc_iput_mono_to_stereo() local 3332 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); tegra210_sfc_oget_stereo_to_mono() local 3343 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); tegra210_sfc_oput_stereo_to_mono() local 3358 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); tegra210_sfc_oget_mono_to_stereo() local 3369 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); tegra210_sfc_oput_mono_to_stereo() local 3584 struct tegra210_sfc *sfc; tegra210_sfc_platform_probe() local [all...] |
| H A D | Makefile | 18 snd-soc-tegra210-sfc-y := tegra210_sfc.o 38 obj-$(CONFIG_SND_SOC_TEGRA210_SFC) += snd-soc-tegra210-sfc.o
|
| /linux/sound/firewire/oxfw/ |
| H A D | oxfw-command.c | 115 unsigned int sfc; in avc_general_inquiry_sig_fmt() local 119 for (sfc = 0; sfc < CIP_SFC_COUNT; sfc++) { in avc_general_inquiry_sig_fmt() 120 if (amdtp_rate_table[sfc] == rate) in avc_general_inquiry_sig_fmt() 123 if (sfc == CIP_SFC_COUNT) in avc_general_inquiry_sig_fmt() 138 buf[5] = 0x07 & sfc; /* FDF-hi. AM824, frequency */ in avc_general_inquiry_sig_fmt()
|
| /linux/sound/firewire/ |
| H A D | fcp.c | 32 unsigned int sfc; in avc_general_set_sig_fmt() local 38 for (sfc = 0; sfc < CIP_SFC_COUNT; sfc++) { in avc_general_set_sig_fmt() 39 if (amdtp_rate_table[sfc] == rate) { in avc_general_set_sig_fmt() 59 buf[5] = 0x07 & sfc; /* FDF-hi. AM824, frequency */ in avc_general_set_sig_fmt() 88 unsigned int sfc; in avc_general_get_sig_fmt() local 125 sfc = 0x07 & buf[5]; in avc_general_get_sig_fmt() 126 if (sfc >= CIP_SFC_COUNT) { in avc_general_get_sig_fmt() 131 *rate = amdtp_rate_table[sfc]; in avc_general_get_sig_fmt()
|
| H A D | amdtp-stream.c | 274 unsigned int sfc; in amdtp_stream_set_parameters() local 276 for (sfc = 0; sfc < ARRAY_SIZE(amdtp_rate_table); ++sfc) { in amdtp_stream_set_parameters() 277 if (amdtp_rate_table[sfc] == rate) in amdtp_stream_set_parameters() 280 if (sfc == ARRAY_SIZE(amdtp_rate_table)) in amdtp_stream_set_parameters() 283 s->sfc = sfc; in amdtp_stream_set_parameters() 285 s->syt_interval = amdtp_syt_intervals[sfc]; in amdtp_stream_set_parameters() 372 const enum cip_sfc sfc = s->sfc; in pool_ideal_nonblocking_data_blocks() local 379 if (!cip_sfc_is_base_44100(sfc)) { in pool_ideal_nonblocking_data_blocks() 393 if (sfc == CIP_SFC_44100) in pool_ideal_nonblocking_data_blocks() 398 desc->data_blocks = 11 * (sfc >> 1) + (phase == 0); in pool_ideal_nonblocking_data_blocks() [all …]
|
| H A D | amdtp-stream.h | 189 enum cip_sfc sfc; member 297 static inline bool cip_sfc_is_base_44100(enum cip_sfc sfc) in cip_sfc_is_base_44100() argument 299 return sfc & 1; in cip_sfc_is_base_44100()
|
| H A D | amdtp-am824.c | 94 s->ctx_data.rx.fdf = AMDTP_FDF_AM824 | s->sfc; in amdtp_am824_set_parameters() 292 p->midi_fifo_used[port] += amdtp_rate_table[s->sfc]; in midi_rate_use_one_byte()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | Makefile | 2 sfc-siena-y += farch.o siena.o \ 8 sfc-siena-$(CONFIG_SFC_SIENA_MTD) += mtd.o 9 sfc-siena-$(CONFIG_SFC_SIENA_SRIOV) += siena_sriov.o 11 obj-$(CONFIG_SFC_SIENA) += sfc-siena.o
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | Makefile | 2 sfc-y += efx.o efx_common.o efx_channels.o nic.o \ 11 sfc-$(CONFIG_SFC_MTD) += mtd.o 12 sfc-$(CONFIG_SFC_SRIOV) += sriov.o ef10_sriov.o ef100_sriov.o ef100_rep.o \ 16 obj-$(CONFIG_SFC) += sfc.o
|
| H A D | Kconfig | 34 will be called sfc. 70 source "drivers/net/ethernet/sfc/falcon/Kconfig" 71 source "drivers/net/ethernet/sfc/siena/Kconfig"
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | Makefile | 2 sfc-falcon-y += efx.o nic.o farch.o falcon.o tx.o rx.o selftest.o \ 6 sfc-falcon-$(CONFIG_SFC_FALCON_MTD) += mtd.o 7 obj-$(CONFIG_SFC_FALCON) += sfc-falcon.o
|
| H A D | Kconfig | 14 will be called sfc-falcon.
|
| /linux/Documentation/networking/devlink/ |
| H A D | sfc.rst | 4 sfc devlink support 7 This document describes the devlink features implemented by the ``sfc`` 13 The ``sfc`` driver reports the following versions 66 The ``sfc`` driver implements support for flash update using the
|
| /linux/sound/firewire/fireface/ |
| H A D | ff-stream.c | 12 int snd_ff_stream_get_multiplier_mode(enum cip_sfc sfc, in snd_ff_stream_get_multiplier_mode() argument 25 if (sfc >= CIP_SFC_COUNT) in snd_ff_stream_get_multiplier_mode() 28 *mode = modes[sfc]; in snd_ff_stream_get_multiplier_mode()
|
| /linux/drivers/net/phy/qcom/ |
| H A D | qcom-phy-lib.c | 244 int sfc, speed; in at803x_read_specific_status() local 246 sfc = phy_read(phydev, AT803X_SPECIFIC_FUNCTION_CONTROL); in at803x_read_specific_status() 247 if (sfc < 0) in at803x_read_specific_status() 248 return sfc; in at803x_read_specific_status() 277 switch (FIELD_GET(AT803X_SFC_MDI_CROSSOVER_MODE_M, sfc)) { in at803x_read_specific_status()
|
| /linux/sound/firewire/motu/ |
| H A D | motu-command-dsp-message-parser.c | 49 int snd_motu_command_dsp_message_parser_init(struct snd_motu *motu, enum cip_sfc sfc) in snd_motu_command_dsp_message_parser_init() argument 56 switch (sfc) { in snd_motu_command_dsp_message_parser_init()
|
| /linux/drivers/mtd/spi-nor/controllers/ |
| H A D | Makefile | 2 obj-$(CONFIG_SPI_HISI_SFC) += hisi-sfc.o
|
| /linux/arch/m68k/ifpsp060/ |
| H A D | iskeleton.S | 204 | load sfc/dfc 212 movec.l %d0,%sfc 226 | restore sfc/dfc 228 movec.l %d2,%sfc
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rv1108.dtsi | 535 sfc: spi@301c0000 { label 536 compatible = "rockchip,sfc"; 714 sfc { 715 sfc_bus4: sfc-bus4 { 723 sfc_bus2: sfc-bus2 { 729 sfc_cs0: sfc-cs0 { 734 sfc_clk: sfc-clk {
|
| H A D | rk3128.dtsi | 458 sfc: spi@1020c000 { label 459 compatible = "rockchip,sfc"; 1239 sfc { 1240 sfc_bus2: sfc-bus2 { 1245 sfc_bus4: sfc-bus4 { 1252 sfc_clk: sfc-clk { 1256 sfc_cs0: sfc-cs0 { 1260 sfc_cs1: sfc-cs1 {
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588s-orangepi-5.dts | 30 &sfc {
|
| /linux/sound/firewire/digi00x/ |
| H A D | amdtp-dot.c | 130 s->ctx_data.rx.fdf = AMDTP_FDF_AM824 | s->sfc; in amdtp_dot_set_parameters() 245 p->midi_fifo_used[port] += amdtp_rate_table[s->sfc] * count; in midi_use_bytes()
|