Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/mmc/host/
Dmeson-gx-mmc.c145 u32 cmd_cfg; member
703 static void meson_mmc_set_response_bits(struct mmc_command *cmd, u32 *cmd_cfg) in meson_mmc_set_response_bits() argument
707 *cmd_cfg |= CMD_CFG_RESP_128; in meson_mmc_set_response_bits()
708 *cmd_cfg |= CMD_CFG_RESP_NUM; in meson_mmc_set_response_bits()
711 *cmd_cfg |= CMD_CFG_RESP_NOCRC; in meson_mmc_set_response_bits()
714 *cmd_cfg |= CMD_CFG_R1B; in meson_mmc_set_response_bits()
716 *cmd_cfg |= CMD_CFG_NO_RESP; in meson_mmc_set_response_bits()
720 static void meson_mmc_desc_chain_transfer(struct mmc_host *mmc, u32 cmd_cfg) in meson_mmc_desc_chain_transfer() argument
730 cmd_cfg |= CMD_CFG_DATA_WR; in meson_mmc_desc_chain_transfer()
733 cmd_cfg |= CMD_CFG_BLOCK_MODE; in meson_mmc_desc_chain_transfer()
[all …]
/Linux-v6.1/drivers/net/dsa/
Drzn1_a5psw.c243 u32 cmd_cfg; in a5psw_phylink_mac_link_down() local
245 cmd_cfg = a5psw_reg_readl(a5psw, A5PSW_CMD_CFG(port)); in a5psw_phylink_mac_link_down()
246 cmd_cfg &= ~(A5PSW_CMD_CFG_RX_ENA | A5PSW_CMD_CFG_TX_ENA); in a5psw_phylink_mac_link_down()
247 a5psw_reg_writel(a5psw, A5PSW_CMD_CFG(port), cmd_cfg); in a5psw_phylink_mac_link_down()
256 u32 cmd_cfg = A5PSW_CMD_CFG_RX_ENA | A5PSW_CMD_CFG_TX_ENA | in a5psw_phylink_mac_link_up() local
261 cmd_cfg |= A5PSW_CMD_CFG_ETH_SPEED; in a5psw_phylink_mac_link_up()
264 cmd_cfg |= A5PSW_CMD_CFG_HD_ENA; in a5psw_phylink_mac_link_up()
266 cmd_cfg |= A5PSW_CMD_CFG_CNTL_FRM_ENA; in a5psw_phylink_mac_link_up()
269 cmd_cfg &= ~A5PSW_CMD_CFG_PAUSE_IGNORE; in a5psw_phylink_mac_link_up()
271 a5psw_reg_writel(a5psw, A5PSW_CMD_CFG(port), cmd_cfg); in a5psw_phylink_mac_link_up()
/Linux-v6.1/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c1038 u32 rbmr, cmd_cfg; in enetc_pl_mac_link_up() local
1091 cmd_cfg = enetc_port_rd(hw, ENETC_PM0_CMD_CFG); in enetc_pl_mac_link_up()
1094 cmd_cfg &= ~ENETC_PM0_PAUSE_IGN; in enetc_pl_mac_link_up()
1096 cmd_cfg |= ENETC_PM0_PAUSE_IGN; in enetc_pl_mac_link_up()
1098 enetc_port_wr(hw, ENETC_PM0_CMD_CFG, cmd_cfg); in enetc_pl_mac_link_up()
1099 enetc_port_wr(hw, ENETC_PM1_CMD_CFG, cmd_cfg); in enetc_pl_mac_link_up()