Home
last modified time | relevance | path

Searched refs:apc (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/arch/mips/pci/
Dpci-ar2315.c191 static inline u32 ar2315_pci_reg_read(struct ar2315_pci_ctrl *apc, u32 reg) in ar2315_pci_reg_read() argument
193 return __raw_readl(apc->mmr_mem + reg); in ar2315_pci_reg_read()
196 static inline void ar2315_pci_reg_write(struct ar2315_pci_ctrl *apc, u32 reg, in ar2315_pci_reg_write() argument
199 __raw_writel(val, apc->mmr_mem + reg); in ar2315_pci_reg_write()
202 static inline void ar2315_pci_reg_mask(struct ar2315_pci_ctrl *apc, u32 reg, in ar2315_pci_reg_mask() argument
205 u32 ret = ar2315_pci_reg_read(apc, reg); in ar2315_pci_reg_mask()
209 ar2315_pci_reg_write(apc, reg, ret); in ar2315_pci_reg_mask()
212 static int ar2315_pci_cfg_access(struct ar2315_pci_ctrl *apc, unsigned devfn, in ar2315_pci_cfg_access() argument
227 ar2315_pci_reg_write(apc, AR2315_PCI_ISR, AR2315_PCI_INT_ABORT); in ar2315_pci_cfg_access()
229 ar2315_pci_reg_mask(apc, AR2315_PCI_MISC_CONFIG, 0, in ar2315_pci_cfg_access()
[all …]
Dpci-ar724x.c56 static inline bool ar724x_pci_check_link(struct ar724x_pci_controller *apc) in ar724x_pci_check_link() argument
60 reset = __raw_readl(apc->ctrl_base + AR724X_PCI_REG_RESET); in ar724x_pci_check_link()
73 static int ar724x_pci_local_write(struct ar724x_pci_controller *apc, in ar724x_pci_local_write() argument
82 if (!apc->link_up) in ar724x_pci_local_write()
85 base = apc->crp_base; in ar724x_pci_local_write()
116 struct ar724x_pci_controller *apc; in ar724x_pci_read() local
120 apc = pci_bus_to_ar724x_controller(bus); in ar724x_pci_read()
121 if (!apc->link_up) in ar724x_pci_read()
127 base = apc->devcfg_base; in ar724x_pci_read()
150 apc->bar0_is_cached) { in ar724x_pci_read()
[all …]
Dpci-ar71xx.c107 static int ar71xx_pci_check_error(struct ar71xx_pci_controller *apc, int quiet) in ar71xx_pci_check_error() argument
109 void __iomem *base = apc->cfg_base; in ar71xx_pci_check_error()
144 static inline void ar71xx_pci_local_write(struct ar71xx_pci_controller *apc, in ar71xx_pci_local_write() argument
147 void __iomem *base = apc->cfg_base; in ar71xx_pci_local_write()
163 struct ar71xx_pci_controller *apc = pci_bus_to_ar71xx_controller(bus); in ar71xx_pci_set_cfgaddr() local
164 void __iomem *base = apc->cfg_base; in ar71xx_pci_set_cfgaddr()
173 return ar71xx_pci_check_error(apc, 1); in ar71xx_pci_set_cfgaddr()
179 struct ar71xx_pci_controller *apc = pci_bus_to_ar71xx_controller(bus); in ar71xx_pci_read_config() local
180 void __iomem *base = apc->cfg_base; in ar71xx_pci_read_config()
203 struct ar71xx_pci_controller *apc = pci_bus_to_ar71xx_controller(bus); in ar71xx_pci_write_config() local
[all …]
/linux-6.1.9/drivers/net/ethernet/microsoft/mana/
Dmana_en.c21 struct mana_port_context *apc = netdev_priv(ndev); in mana_open() local
28 apc->port_is_up = true; in mana_open()
41 struct mana_port_context *apc = netdev_priv(ndev); in mana_close() local
43 if (!apc->port_is_up) in mana_close()
78 static int mana_map_skb(struct sk_buff *skb, struct mana_port_context *apc, in mana_map_skb() argument
82 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_map_skb()
134 struct mana_port_context *apc = netdev_priv(ndev); in mana_start_xmit() local
136 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_start_xmit()
147 if (unlikely(!apc->port_is_up)) in mana_start_xmit()
153 txq = &apc->tx_qp[txq_idx].txq; in mana_start_xmit()
[all …]
Dmana_ethtool.c20 struct mana_port_context *apc = netdev_priv(ndev); in mana_get_sset_count() local
21 unsigned int num_queues = apc->num_queues; in mana_get_sset_count()
31 struct mana_port_context *apc = netdev_priv(ndev); in mana_get_strings() local
32 unsigned int num_queues = apc->num_queues; in mana_get_strings()
70 struct mana_port_context *apc = netdev_priv(ndev); in mana_get_ethtool_stats() local
71 unsigned int num_queues = apc->num_queues; in mana_get_ethtool_stats()
72 void *eth_stats = &apc->eth_stats; in mana_get_ethtool_stats()
83 if (!apc->port_is_up) in mana_get_ethtool_stats()
90 rx_stats = &apc->rxqs[q]->stats; in mana_get_ethtool_stats()
109 tx_stats = &apc->tx_qp[q].txq.stats; in mana_get_ethtool_stats()
[all …]
Dmana_bpf.c54 struct mana_port_context *apc = netdev_priv(ndev); in mana_xdp_xmit() local
59 if (unlikely(!apc->port_is_up)) in mana_xdp_xmit()
71 tx_stats = &apc->tx_qp[q_idx].txq.stats; in mana_xdp_xmit()
142 struct bpf_prog *mana_xdp_get(struct mana_port_context *apc) in mana_xdp_get() argument
146 return apc->bpf_prog; in mana_xdp_get()
149 static struct bpf_prog *mana_chn_xdp_get(struct mana_port_context *apc) in mana_chn_xdp_get() argument
151 return rtnl_dereference(apc->rxqs[0]->bpf_prog); in mana_chn_xdp_get()
155 void mana_chn_setxdp(struct mana_port_context *apc, struct bpf_prog *prog) in mana_chn_setxdp() argument
157 struct bpf_prog *old_prog = mana_chn_xdp_get(apc); in mana_chn_setxdp()
158 unsigned int num_queues = apc->num_queues; in mana_chn_setxdp()
[all …]
Dmana.h407 struct bpf_prog *mana_xdp_get(struct mana_port_context *apc);
408 void mana_chn_setxdp(struct mana_port_context *apc, struct bpf_prog *prog);
/linux-6.1.9/Documentation/devicetree/bindings/power/avs/
Dqcom,cpr.yaml42 vdd-apc-supply:
95 - vdd-apc-supply
130 vdd-apc-supply = <&pms405_s3>;
/linux-6.1.9/net/9p/
Dclient.c278 va_list apc; in p9_tag_alloc() local
280 va_copy(apc, ap); in p9_tag_alloc()
282 t_size ?: p9_msg_buf_size(c, type, fmt, apc)); in p9_tag_alloc()
283 va_end(apc); in p9_tag_alloc()
623 va_list apc; in p9_client_prepare_req() local
635 va_copy(apc, ap); in p9_client_prepare_req()
636 req = p9_tag_alloc(c, type, t_size, r_size, fmt, apc); in p9_client_prepare_req()
637 va_end(apc); in p9_client_prepare_req()
/linux-6.1.9/arch/sparc/kernel/
DMakefile87 obj-$(CONFIG_SUN_PM) += apc.o pmc.o
/linux-6.1.9/arch/sparc/include/asm/
Dvio.h192 u16 apc; /* Alts per cylinder (SCSI) */ member
/linux-6.1.9/arch/arm64/boot/dts/qcom/
Dqcs404.dtsi1170 vdd-apc-supply = <&pms405_s3>;
/linux-6.1.9/Documentation/admin-guide/
Dkernel-parameters.txt352 apc= [HW,SPARC]