Home
last modified time | relevance | path

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

/linux/arch/mips/pci/
H A Dpci-ar2315.c397 apc->irq_ext = irq_create_mapping(apc->domain, AR2315_PCI_IRQ_EXT); in ar2315_pci_irq_init()
400 apc); in ar2315_pci_irq_init()
416 apc = devm_kzalloc(dev, sizeof(*apc), GFP_KERNEL); in ar2315_pci_probe()
417 if (!apc) in ar2315_pci_probe()
423 apc->irq = irq; in ar2315_pci_probe()
444 if (!apc->cfg_mem) { in ar2315_pci_probe()
474 if (!apc->domain) { in ar2315_pci_probe()
483 apc->io_res.start = 0; in ar2315_pci_probe()
484 apc->io_res.end = 0; in ar2315_pci_probe()
488 apc->pci_ctrl.mem_resource = &apc->mem_res; in ar2315_pci_probe()
[all …]
H A Dpci-ar724x.c82 if (!apc->link_up) in ar724x_pci_local_write()
85 base = apc->crp_base; in ar724x_pci_local_write()
121 if (!apc->link_up) in ar724x_pci_read()
169 if (!apc->link_up) in ar724x_pci_write()
326 apc); in ar724x_pci_irq_init()
372 if (!apc) in ar724x_pci_probe()
388 if (apc->irq < 0) in ar724x_pci_probe()
412 apc->pci_controller.io_resource = &apc->io_res; in ar724x_pci_probe()
413 apc->pci_controller.mem_resource = &apc->mem_res; in ar724x_pci_probe()
422 apc->link_up = ar724x_pci_check_link(apc); in ar724x_pci_probe()
[all …]
H A Dpci-ar71xx.c305 for (i = apc->irq_base; in ar71xx_pci_irq_init()
309 irq_set_chip_data(i, apc); in ar71xx_pci_irq_init()
313 apc); in ar71xx_pci_irq_init()
336 if (!apc) in ar71xx_pci_probe()
341 if (IS_ERR(apc->cfg_base)) in ar71xx_pci_probe()
345 if (apc->irq < 0) in ar71xx_pci_probe()
352 apc->io_res.parent = res; in ar71xx_pci_probe()
362 apc->mem_res.parent = res; in ar71xx_pci_probe()
378 ar71xx_pci_irq_init(apc); in ar71xx_pci_probe()
381 apc->pci_ctrl.mem_resource = &apc->mem_res; in ar71xx_pci_probe()
[all …]
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c1856 mana_deinit_cq(apc, &apc->tx_qp[i].tx_cq); in mana_destroy_txq()
1858 mana_deinit_txq(apc, &apc->tx_qp[i].txq); in mana_destroy_txq()
1947 err = mana_create_wq_obj(apc, apc->port_handle, GDMA_SQ, in mana_create_txq()
2230 err = mana_create_wq_obj(apc, apc->port_handle, GDMA_RQ, in mana_create_rxq()
2299 apc->default_rxobj = apc->rxqs[0]->rxobj; in mana_add_rx_queues()
2366 apc->rxobj_table[i] = apc->rxqs[queue_idx]->rxobj; in mana_config_rss()
2488 if (apc->num_queues > apc->max_queues) in mana_init_port()
2489 apc->num_queues = apc->max_queues; in mana_init_port()
2537 mana_chn_setxdp(apc, mana_xdp_get(apc)); in mana_alloc_queues()
2565 apc->port_is_up = apc->port_st_save; in mana_attach()
[all …]
H A Dmana_ethtool.c149 void *eth_stats = &apc->eth_stats; in mana_get_ethtool_stats()
168 if (!apc->port_is_up) in mana_get_ethtool_stats()
171 mana_query_gf_stats(apc); in mana_get_ethtool_stats()
177 rx_stats = &apc->rxqs[q]->stats; in mana_get_ethtool_stats()
196 tx_stats = &apc->tx_qp[q].txq.stats; in mana_get_ethtool_stats()
234 cmd->data = apc->num_queues; in mana_get_rxnfc()
261 rxfh->indir[i] = apc->indir_table[i]; in mana_get_rxfh()
280 if (!apc->port_is_up) in mana_set_rxfh()
294 save_table[i] = apc->indir_table[i]; in mana_set_rxfh()
345 apc->num_queues = new_count; in mana_set_channels()
[all …]
H A 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()
140 return apc->bpf_prog; in mana_xdp_get()
145 return rtnl_dereference(apc->rxqs[0]->bpf_prog); in mana_chn_xdp_get()
152 unsigned int num_queues = apc->num_queues; in mana_chn_setxdp()
178 gc = apc->ac->gdma_dev->gdma_context; in mana_xdp_set()
180 old_prog = mana_xdp_get(apc); in mana_xdp_set()
196 apc->bpf_prog = prog; in mana_xdp_set()
201 if (apc->port_is_up) in mana_xdp_set()
[all …]
/linux/include/net/mana/
H A Dmana.h469 struct bpf_prog *mana_xdp_get(struct mana_port_context *apc);
470 void mana_chn_setxdp(struct mana_port_context *apc, struct bpf_prog *prog);
472 void mana_query_gf_stats(struct mana_port_context *apc);
787 int mana_create_wq_obj(struct mana_port_context *apc,
793 void mana_destroy_wq_obj(struct mana_port_context *apc, u32 wq_type,
796 int mana_cfg_vport(struct mana_port_context *apc, u32 protection_dom_id,
798 void mana_uncfg_vport(struct mana_port_context *apc);
/linux/Documentation/devicetree/bindings/power/avs/
H A Dqcom,cpr.yaml42 vdd-apc-supply:
95 - vdd-apc-supply
130 vdd-apc-supply = <&pms405_s3>;
/linux/net/9p/
H A Dclient.c285 va_list apc; in p9_tag_alloc() local
287 va_copy(apc, ap); in p9_tag_alloc()
289 t_size ?: p9_msg_buf_size(c, type, fmt, apc)); in p9_tag_alloc()
290 va_end(apc); in p9_tag_alloc()
631 va_list apc; in p9_client_prepare_req() local
643 va_copy(apc, ap); in p9_client_prepare_req()
644 req = p9_tag_alloc(c, type, t_size, r_size, fmt, apc); in p9_client_prepare_req()
645 va_end(apc); in p9_client_prepare_req()
/linux/arch/sparc/kernel/
H A DMakefile86 obj-$(CONFIG_SUN_PM) += apc.o pmc.o
/linux/arch/sparc/include/asm/
H A Dvio.h192 u16 apc; /* Alts per cylinder (SCSI) */ member
/linux/arch/arm64/boot/dts/qcom/
H A Dqcs404.dtsi1347 vdd-apc-supply = <&pms405_s3>;
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt392 apc= [HW,SPARC]