Home
last modified time | relevance | path

Searched refs:cmd_cfg (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/mmc/host/
Dmeson-gx-mmc.c145 u32 cmd_cfg; member
688 static void meson_mmc_set_response_bits(struct mmc_command *cmd, u32 *cmd_cfg) in meson_mmc_set_response_bits() argument
692 *cmd_cfg |= CMD_CFG_RESP_128; in meson_mmc_set_response_bits()
693 *cmd_cfg |= CMD_CFG_RESP_NUM; in meson_mmc_set_response_bits()
696 *cmd_cfg |= CMD_CFG_RESP_NOCRC; in meson_mmc_set_response_bits()
699 *cmd_cfg |= CMD_CFG_R1B; in meson_mmc_set_response_bits()
701 *cmd_cfg |= CMD_CFG_NO_RESP; in meson_mmc_set_response_bits()
705 static void meson_mmc_desc_chain_transfer(struct mmc_host *mmc, u32 cmd_cfg) in meson_mmc_desc_chain_transfer() argument
715 cmd_cfg |= CMD_CFG_DATA_WR; in meson_mmc_desc_chain_transfer()
718 cmd_cfg |= CMD_CFG_BLOCK_MODE; in meson_mmc_desc_chain_transfer()
[all …]
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_mac.c620 u32 cmd_cfg, mac_ctrl; in fbnic_mac_link_down_asic() local
622 cmd_cfg = __fbnic_mac_cmd_config_asic(fbd, false, false); in fbnic_mac_link_down_asic()
631 wr32(fbd, FBNIC_MAC_COMMAND_CONFIG, cmd_cfg); in fbnic_mac_link_down_asic()
637 u32 cmd_cfg, mac_ctrl; in fbnic_mac_link_up_asic() local
641 cmd_cfg = __fbnic_mac_cmd_config_asic(fbd, tx_pause, rx_pause); in fbnic_mac_link_up_asic()
648 cmd_cfg |= FBNIC_MAC_COMMAND_CONFIG_RX_ENA | in fbnic_mac_link_up_asic()
652 wr32(fbd, FBNIC_MAC_COMMAND_CONFIG, cmd_cfg); in fbnic_mac_link_up_asic()
/linux-6.12.1/drivers/net/dsa/
Drzn1_a5psw.c267 u32 cmd_cfg; in a5psw_phylink_mac_link_down() local
269 cmd_cfg = a5psw_reg_readl(a5psw, A5PSW_CMD_CFG(port)); in a5psw_phylink_mac_link_down()
270 cmd_cfg &= ~(A5PSW_CMD_CFG_RX_ENA | A5PSW_CMD_CFG_TX_ENA); in a5psw_phylink_mac_link_down()
271 a5psw_reg_writel(a5psw, A5PSW_CMD_CFG(port), cmd_cfg); in a5psw_phylink_mac_link_down()
281 u32 cmd_cfg = A5PSW_CMD_CFG_RX_ENA | A5PSW_CMD_CFG_TX_ENA | in a5psw_phylink_mac_link_up() local
287 cmd_cfg |= A5PSW_CMD_CFG_ETH_SPEED; in a5psw_phylink_mac_link_up()
290 cmd_cfg |= A5PSW_CMD_CFG_HD_ENA; in a5psw_phylink_mac_link_up()
292 cmd_cfg |= A5PSW_CMD_CFG_CNTL_FRM_ENA; in a5psw_phylink_mac_link_up()
295 cmd_cfg &= ~A5PSW_CMD_CFG_PAUSE_IGNORE; in a5psw_phylink_mac_link_up()
297 a5psw_reg_writel(a5psw, A5PSW_CMD_CFG(dp->index), cmd_cfg); in a5psw_phylink_mac_link_up()
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c1006 u32 rbmr, cmd_cfg; in enetc_pl_mac_link_up() local
1057 cmd_cfg = enetc_port_mac_rd(si, ENETC_PM0_CMD_CFG); in enetc_pl_mac_link_up()
1060 cmd_cfg &= ~ENETC_PM0_PAUSE_IGN; in enetc_pl_mac_link_up()
1062 cmd_cfg |= ENETC_PM0_PAUSE_IGN; in enetc_pl_mac_link_up()
1064 enetc_port_mac_wr(si, ENETC_PM0_CMD_CFG, cmd_cfg); in enetc_pl_mac_link_up()
/linux-6.12.1/drivers/spi/
Dspi-amlogic-spifc-a1.c170 u32 cmd_cfg) in amlogic_spifc_a1_set_cmd() argument
176 val |= cmd_cfg; in amlogic_spifc_a1_set_cmd()