Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/net/ethernet/microsoft/mana/
Dmana_en.c37 struct mana_port_context *apc = netdev_priv(ndev); in mana_open() local
44 apc->port_is_up = true; in mana_open()
57 struct mana_port_context *apc = netdev_priv(ndev); in mana_close() local
59 if (!apc->port_is_up) in mana_close()
105 static int mana_map_skb(struct sk_buff *skb, struct mana_port_context *apc, in mana_map_skb() argument
110 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_map_skb()
223 struct mana_port_context *apc = netdev_priv(ndev); in mana_start_xmit() local
226 struct gdma_dev *gd = apc->ac->gdma_dev; in mana_start_xmit()
237 if (unlikely(!apc->port_is_up)) in mana_start_xmit()
243 txq = &apc->tx_qp[txq_idx].txq; in mana_start_xmit()
[all …]
Dmana_ethtool.c40 struct mana_port_context *apc = netdev_priv(ndev); in mana_get_sset_count() local
41 unsigned int num_queues = apc->num_queues; in mana_get_sset_count()
52 struct mana_port_context *apc = netdev_priv(ndev); in mana_get_strings() local
53 unsigned int num_queues = apc->num_queues; in mana_get_strings()
107 struct mana_port_context *apc = netdev_priv(ndev); in mana_get_ethtool_stats() local
108 unsigned int num_queues = apc->num_queues; in mana_get_ethtool_stats()
109 void *eth_stats = &apc->eth_stats; in mana_get_ethtool_stats()
128 if (!apc->port_is_up) in mana_get_ethtool_stats()
131 mana_query_gf_stats(apc); in mana_get_ethtool_stats()
137 rx_stats = &apc->rxqs[q]->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()
136 struct bpf_prog *mana_xdp_get(struct mana_port_context *apc) in mana_xdp_get() argument
140 return apc->bpf_prog; in mana_xdp_get()
143 static struct bpf_prog *mana_chn_xdp_get(struct mana_port_context *apc) in mana_chn_xdp_get() argument
145 return rtnl_dereference(apc->rxqs[0]->bpf_prog); in mana_chn_xdp_get()
149 void mana_chn_setxdp(struct mana_port_context *apc, struct bpf_prog *prog) in mana_chn_setxdp() argument
151 struct bpf_prog *old_prog = mana_chn_xdp_get(apc); in mana_chn_setxdp()
152 unsigned int num_queues = apc->num_queues; in mana_chn_setxdp()
[all …]
/linux-6.6.21/include/net/mana/
Dmana.h450 struct bpf_prog *mana_xdp_get(struct mana_port_context *apc);
451 void mana_chn_setxdp(struct mana_port_context *apc, struct bpf_prog *prog);
453 void mana_query_gf_stats(struct mana_port_context *apc);
767 int mana_create_wq_obj(struct mana_port_context *apc,
773 void mana_destroy_wq_obj(struct mana_port_context *apc, u32 wq_type,
776 int mana_cfg_vport(struct mana_port_context *apc, u32 protection_dom_id,
778 void mana_uncfg_vport(struct mana_port_context *apc);
/linux-6.6.21/Documentation/devicetree/bindings/power/avs/
Dqcom,cpr.yaml42 vdd-apc-supply:
95 - vdd-apc-supply
130 vdd-apc-supply = <&pms405_s3>;
/linux-6.6.21/net/9p/
Dclient.c282 va_list apc; in p9_tag_alloc() local
284 va_copy(apc, ap); in p9_tag_alloc()
286 t_size ?: p9_msg_buf_size(c, type, fmt, apc)); in p9_tag_alloc()
287 va_end(apc); in p9_tag_alloc()
628 va_list apc; in p9_client_prepare_req() local
640 va_copy(apc, ap); in p9_client_prepare_req()
641 req = p9_tag_alloc(c, type, t_size, r_size, fmt, apc); in p9_client_prepare_req()
642 va_end(apc); in p9_client_prepare_req()
/linux-6.6.21/arch/sparc/kernel/
DMakefile87 obj-$(CONFIG_SUN_PM) += apc.o pmc.o
/linux-6.6.21/arch/sparc/include/asm/
Dvio.h192 u16 apc; /* Alts per cylinder (SCSI) */ member
/linux-6.6.21/arch/arm64/boot/dts/qcom/
Dqcs404.dtsi1340 vdd-apc-supply = <&pms405_s3>;
/linux-6.6.21/Documentation/admin-guide/
Dkernel-parameters.txt376 apc= [HW,SPARC]