Home
last modified time | relevance | path

Searched refs:rpc (Results 1 - 25 of 61) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/memory/
H A Drenesas-rpc-if.c19 #include <memory/renesas-rpc-if.h>
220 struct rpcif_priv *rpc = context; in rpcif_reg_read() local
225 switch (rpc->xfer_size) { in rpcif_reg_read()
227 *val = readb(rpc->base + reg); in rpcif_reg_read()
231 *val = readw(rpc->base + reg); in rpcif_reg_read()
236 *val = readl(rpc->base + reg); in rpcif_reg_read()
245 if (rpc->xfer_size != 8) in rpcif_reg_read()
250 *val = readl(rpc->base + reg); in rpcif_reg_read()
256 struct rpcif_priv *rpc = context; in rpcif_reg_write() local
260 switch (rpc in rpcif_reg_write()
305 struct rpcif_priv *rpc = dev_get_drvdata(dev); rpcif_sw_init() local
314 rpcif_rzg2l_timing_adjust_sdr(struct rpcif_priv *rpc) rpcif_rzg2l_timing_adjust_sdr() argument
330 struct rpcif_priv *rpc = dev_get_drvdata(dev); rpcif_hw_init() local
393 wait_msg_xfer_end(struct rpcif_priv *rpc) wait_msg_xfer_end() argument
402 rpcif_bits_set(struct rpcif_priv *rpc, u32 nbytes) rpcif_bits_set() argument
418 struct rpcif_priv *rpc = dev_get_drvdata(dev); rpcif_prepare() local
504 struct rpcif_priv *rpc = dev_get_drvdata(dev); rpcif_manual_xfer() local
675 struct rpcif_priv *rpc = dev_get_drvdata(dev); rpcif_dirmap_read() local
714 struct rpcif_priv *rpc; rpcif_probe() local
782 struct rpcif_priv *rpc = platform_get_drvdata(pdev); rpcif_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/memory/
H A Drenesas-rpc-if.c19 #include <memory/renesas-rpc-if.h>
171 struct rpcif *rpc = context; in rpcif_reg_read() local
176 switch (rpc->xfer_size) { in rpcif_reg_read()
178 *val = readb(rpc->base + reg); in rpcif_reg_read()
182 *val = readw(rpc->base + reg); in rpcif_reg_read()
187 *val = readl(rpc->base + reg); in rpcif_reg_read()
196 if (rpc->xfer_size != 8) in rpcif_reg_read()
201 *val = readl(rpc->base + reg); in rpcif_reg_read()
208 struct rpcif *rpc = context; in rpcif_reg_write() local
212 switch (rpc in rpcif_reg_write()
255 rpcif_sw_init(struct rpcif *rpc, struct device *dev) rpcif_sw_init() argument
287 rpcif_enable_rpm(struct rpcif *rpc) rpcif_enable_rpm() argument
293 rpcif_disable_rpm(struct rpcif *rpc) rpcif_disable_rpm() argument
299 rpcif_hw_init(struct rpcif *rpc, bool hyperflash) rpcif_hw_init() argument
347 wait_msg_xfer_end(struct rpcif *rpc) wait_msg_xfer_end() argument
356 rpcif_bits_set(struct rpcif *rpc, u32 nbytes) rpcif_bits_set() argument
369 rpcif_prepare(struct rpcif *rpc, const struct rpcif_op *op, u64 *offs, size_t *len) rpcif_prepare() argument
455 rpcif_manual_xfer(struct rpcif *rpc) rpcif_manual_xfer() argument
593 rpcif_dirmap_read(struct rpcif *rpc, u64 offs, size_t len, void *buf) rpcif_dirmap_read() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/pci/
H A Dpci-rt3883.c80 static inline u32 rt3883_pci_r32(struct rt3883_pci_controller *rpc, in rt3883_pci_r32() argument
83 return ioread32(rpc->base + reg); in rt3883_pci_r32()
86 static inline void rt3883_pci_w32(struct rt3883_pci_controller *rpc, in rt3883_pci_w32() argument
89 iowrite32(val, rpc->base + reg); in rt3883_pci_w32()
99 static u32 rt3883_pci_read_cfg32(struct rt3883_pci_controller *rpc, in rt3883_pci_read_cfg32() argument
109 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_read_cfg32()
110 ret = rt3883_pci_r32(rpc, RT3883_PCI_REG_CFGDATA); in rt3883_pci_read_cfg32()
115 static void rt3883_pci_write_cfg32(struct rt3883_pci_controller *rpc, in rt3883_pci_write_cfg32() argument
124 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_write_cfg32()
125 rt3883_pci_w32(rpc, va in rt3883_pci_write_cfg32()
130 struct rt3883_pci_controller *rpc; rt3883_pci_irq_handler() local
155 struct rt3883_pci_controller *rpc; rt3883_pci_irq_unmask() local
168 struct rt3883_pci_controller *rpc; rt3883_pci_irq_mask() local
200 rt3883_pci_irq_init(struct device *dev, struct rt3883_pci_controller *rpc) rt3883_pci_irq_init() argument
231 struct rt3883_pci_controller *rpc; rt3883_pci_config_read() local
265 struct rt3883_pci_controller *rpc; rt3883_pci_config_write() local
305 rt3883_pci_preinit(struct rt3883_pci_controller *rpc, unsigned mode) rt3883_pci_preinit() argument
410 struct rt3883_pci_controller *rpc; rt3883_pci_probe() local
[all...]
/kernel/linux/linux-6.6/arch/mips/pci/
H A Dpci-rt3883.c81 static inline u32 rt3883_pci_r32(struct rt3883_pci_controller *rpc, in rt3883_pci_r32() argument
84 return ioread32(rpc->base + reg); in rt3883_pci_r32()
87 static inline void rt3883_pci_w32(struct rt3883_pci_controller *rpc, in rt3883_pci_w32() argument
90 iowrite32(val, rpc->base + reg); in rt3883_pci_w32()
100 static u32 rt3883_pci_read_cfg32(struct rt3883_pci_controller *rpc, in rt3883_pci_read_cfg32() argument
108 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_read_cfg32()
110 return rt3883_pci_r32(rpc, RT3883_PCI_REG_CFGDATA); in rt3883_pci_read_cfg32()
113 static void rt3883_pci_write_cfg32(struct rt3883_pci_controller *rpc, in rt3883_pci_write_cfg32() argument
121 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_write_cfg32()
122 rt3883_pci_w32(rpc, va in rt3883_pci_write_cfg32()
127 struct rt3883_pci_controller *rpc; rt3883_pci_irq_handler() local
151 struct rt3883_pci_controller *rpc; rt3883_pci_irq_unmask() local
164 struct rt3883_pci_controller *rpc; rt3883_pci_irq_mask() local
196 rt3883_pci_irq_init(struct device *dev, struct rt3883_pci_controller *rpc) rt3883_pci_irq_init() argument
227 struct rt3883_pci_controller *rpc; rt3883_pci_config_read() local
260 struct rt3883_pci_controller *rpc; rt3883_pci_config_write() local
299 rt3883_pci_preinit(struct rt3883_pci_controller *rpc, unsigned mode) rt3883_pci_preinit() argument
404 struct rt3883_pci_controller *rpc; rt3883_pci_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/mtd/hyperbus/
H A Drpc-if.c18 #include <memory/renesas-rpc-if.h>
21 struct rpcif rpc; member
46 static void rpcif_hb_prepare_read(struct rpcif *rpc, void *to, in rpcif_hb_prepare_read() argument
59 rpcif_prepare(rpc, &op, NULL, NULL); in rpcif_hb_prepare_read()
62 static void rpcif_hb_prepare_write(struct rpcif *rpc, unsigned long to, in rpcif_hb_prepare_write() argument
73 rpcif_prepare(rpc, &op, NULL, NULL); in rpcif_hb_prepare_write()
82 rpcif_hb_prepare_read(&hyperbus->rpc, &data, addr, 2); in rpcif_hb_read16()
84 rpcif_manual_xfer(&hyperbus->rpc); in rpcif_hb_read16()
95 rpcif_hb_prepare_write(&hyperbus->rpc, addr, &data, 2); in rpcif_hb_write16()
97 rpcif_manual_xfer(&hyperbus->rpc); in rpcif_hb_write16()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/hyperbus/
H A Drpc-if.c18 #include <memory/renesas-rpc-if.h>
21 struct rpcif rpc; member
46 static void rpcif_hb_prepare_read(struct rpcif *rpc, void *to, in rpcif_hb_prepare_read() argument
59 rpcif_prepare(rpc->dev, &op, NULL, NULL); in rpcif_hb_prepare_read()
62 static void rpcif_hb_prepare_write(struct rpcif *rpc, unsigned long to, in rpcif_hb_prepare_write() argument
73 rpcif_prepare(rpc->dev, &op, NULL, NULL); in rpcif_hb_prepare_write()
82 rpcif_hb_prepare_read(&hyperbus->rpc, &data, addr, 2); in rpcif_hb_read16()
84 rpcif_manual_xfer(hyperbus->rpc.dev); in rpcif_hb_read16()
95 rpcif_hb_prepare_write(&hyperbus->rpc, addr, &data, 2); in rpcif_hb_write16()
97 rpcif_manual_xfer(hyperbus->rpc in rpcif_hb_write16()
[all...]
/kernel/linux/linux-6.6/drivers/clk/renesas/
H A Drcar-cpg-lib.c144 struct rpc_clock *rpc; in cpg_rpc_clk_register() local
147 rpc = kzalloc(sizeof(*rpc), GFP_KERNEL); in cpg_rpc_clk_register()
148 if (!rpc) in cpg_rpc_clk_register()
151 rpc->div.reg = rpcckcr; in cpg_rpc_clk_register()
152 rpc->div.width = 3; in cpg_rpc_clk_register()
153 rpc->div.table = cpg_rpc_div_table; in cpg_rpc_clk_register()
154 rpc->div.lock = &cpg_lock; in cpg_rpc_clk_register()
156 rpc->gate.reg = rpcckcr; in cpg_rpc_clk_register()
157 rpc in cpg_rpc_clk_register()
[all...]
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-rpc-if.c15 #include <memory/renesas-rpc-if.h>
23 struct rpcif *rpc = spi_controller_get_devdata(spi_dev->controller); in rpcif_spi_mem_prepare() local
61 rpcif_prepare(rpc, &rpc_op, offs, len); in rpcif_spi_mem_prepare()
81 struct rpcif *rpc = in rpcif_spi_mem_dirmap_read() local
89 return rpcif_dirmap_read(rpc, offs, len, buf); in rpcif_spi_mem_dirmap_read()
94 struct rpcif *rpc = in rpcif_spi_mem_dirmap_create() local
103 if (!rpc->dirmap && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in rpcif_spi_mem_dirmap_create()
115 struct rpcif *rpc = in rpcif_spi_mem_exec_op() local
120 return rpcif_manual_xfer(rpc); in rpcif_spi_mem_exec_op()
134 struct rpcif *rpc; in rpcif_spi_probe() local
173 struct rpcif *rpc = spi_controller_get_devdata(ctlr); rpcif_spi_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-rpc-if.c15 #include <memory/renesas-rpc-if.h>
23 struct rpcif *rpc = spi_controller_get_devdata(spi_dev->controller); in rpcif_spi_mem_prepare() local
61 rpcif_prepare(rpc->dev, &rpc_op, offs, len); in rpcif_spi_mem_prepare()
81 struct rpcif *rpc = in rpcif_spi_mem_dirmap_read() local
89 return rpcif_dirmap_read(rpc->dev, offs, len, buf); in rpcif_spi_mem_dirmap_read()
94 struct rpcif *rpc = in rpcif_spi_mem_dirmap_create() local
103 if (!rpc->dirmap && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in rpcif_spi_mem_dirmap_create()
115 struct rpcif *rpc = in rpcif_spi_mem_exec_op() local
120 return rpcif_manual_xfer(rpc->dev); in rpcif_spi_mem_exec_op()
134 struct rpcif *rpc; in rpcif_spi_probe() local
179 struct rpcif *rpc = spi_controller_get_devdata(ctlr); rpcif_spi_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/greybus/
H A Des2.c884 struct arpc *rpc; in arpc_alloc() local
886 if (size + sizeof(*rpc->req) > ARPC_OUT_SIZE_MAX) in arpc_alloc()
889 rpc = kzalloc(sizeof(*rpc), GFP_KERNEL); in arpc_alloc()
890 if (!rpc) in arpc_alloc()
893 INIT_LIST_HEAD(&rpc->list); in arpc_alloc()
894 rpc->req = kzalloc(sizeof(*rpc->req) + size, GFP_KERNEL); in arpc_alloc()
895 if (!rpc->req) in arpc_alloc()
898 rpc in arpc_alloc()
918 arpc_free(struct arpc *rpc) arpc_free() argument
927 struct arpc *rpc; arpc_find() local
937 arpc_add(struct es2_ap_dev *es2, struct arpc *rpc) arpc_add() argument
944 arpc_del(struct es2_ap_dev *es2, struct arpc *rpc) arpc_del() argument
952 arpc_send(struct es2_ap_dev *es2, struct arpc *rpc, int timeout) arpc_send() argument
979 struct arpc *rpc; arpc_sync() local
1034 struct arpc *rpc; arpc_in_callback() local
[all...]
/kernel/linux/linux-6.6/drivers/greybus/
H A Des2.c881 struct arpc *rpc; in arpc_alloc() local
883 if (size + sizeof(*rpc->req) > ARPC_OUT_SIZE_MAX) in arpc_alloc()
886 rpc = kzalloc(sizeof(*rpc), GFP_KERNEL); in arpc_alloc()
887 if (!rpc) in arpc_alloc()
890 INIT_LIST_HEAD(&rpc->list); in arpc_alloc()
891 rpc->req = kzalloc(sizeof(*rpc->req) + size, GFP_KERNEL); in arpc_alloc()
892 if (!rpc->req) in arpc_alloc()
895 rpc in arpc_alloc()
915 arpc_free(struct arpc *rpc) arpc_free() argument
924 struct arpc *rpc; arpc_find() local
934 arpc_add(struct es2_ap_dev *es2, struct arpc *rpc) arpc_add() argument
941 arpc_del(struct es2_ap_dev *es2, struct arpc *rpc) arpc_del() argument
949 arpc_send(struct es2_ap_dev *es2, struct arpc *rpc, int timeout) arpc_send() argument
974 struct arpc *rpc; arpc_sync() local
1029 struct arpc *rpc; arpc_in_callback() local
[all...]
/kernel/linux/linux-5.10/include/memory/
H A Drenesas-rpc-if.h80 int rpcif_sw_init(struct rpcif *rpc, struct device *dev);
81 void rpcif_hw_init(struct rpcif *rpc, bool hyperflash);
82 void rpcif_enable_rpm(struct rpcif *rpc);
83 void rpcif_disable_rpm(struct rpcif *rpc);
84 void rpcif_prepare(struct rpcif *rpc, const struct rpcif_op *op, u64 *offs,
86 int rpcif_manual_xfer(struct rpcif *rpc);
87 ssize_t rpcif_dirmap_read(struct rpcif *rpc, u64 offs, size_t len, void *buf);
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-era-target.c1177 struct rpc { struct
1303 struct rpc *rpc, *tmp; in process_rpc_calls() local
1310 list_for_each_entry_safe(rpc, tmp, &calls, list) { in process_rpc_calls()
1311 rpc->result = rpc->fn0 ? rpc->fn0(era->md) : rpc->fn1(era->md, rpc->arg); in process_rpc_calls()
1318 list_for_each_entry_safe(rpc, tm in process_rpc_calls()
1356 perform_rpc(struct era *era, struct rpc *rpc) perform_rpc() argument
1373 struct rpc rpc; in_worker0() local
1383 struct rpc rpc; in_worker1() local
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-era-target.c1196 struct rpc { struct
1326 struct rpc *rpc, *tmp; in process_rpc_calls() local
1333 list_for_each_entry_safe(rpc, tmp, &calls, list) { in process_rpc_calls()
1334 rpc->result = rpc->fn0 ? rpc->fn0(era->md) : rpc->fn1(era->md, rpc->arg); in process_rpc_calls()
1341 list_for_each_entry_safe(rpc, tm in process_rpc_calls()
1379 perform_rpc(struct era *era, struct rpc *rpc) perform_rpc() argument
1396 struct rpc rpc; in_worker0() local
1407 struct rpc rpc; in_worker1() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/renesas/
H A Drcar-gen3-cpg.c452 struct rpc_clock *rpc; in cpg_rpc_clk_register() local
455 rpc = kzalloc(sizeof(*rpc), GFP_KERNEL); in cpg_rpc_clk_register()
456 if (!rpc) in cpg_rpc_clk_register()
459 rpc->div.reg = base + CPG_RPCCKCR; in cpg_rpc_clk_register()
460 rpc->div.width = 3; in cpg_rpc_clk_register()
461 rpc->div.table = cpg_rpc_div_table; in cpg_rpc_clk_register()
462 rpc->div.lock = &cpg_lock; in cpg_rpc_clk_register()
464 rpc->gate.reg = base + CPG_RPCCKCR; in cpg_rpc_clk_register()
465 rpc in cpg_rpc_clk_register()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
H A Dvpu_core.c549 dev_err(core->dev, "need 2 memory-region for boot and rpc\n"); in vpu_core_parse_dt()
570 dev_err(core->dev, "rpc-region of_parse_phandle error\n"); in vpu_core_parse_dt()
574 dev_err(core->dev, "rpc-region of_address_to_resource error\n"); in vpu_core_parse_dt()
578 core->rpc.phys = res.start; in vpu_core_parse_dt()
579 core->rpc.length = resource_size(&res); in vpu_core_parse_dt()
581 if (core->rpc.length < core->res->rpc_size + core->res->fwlog_size) { in vpu_core_parse_dt()
582 dev_err(core->dev, "the rpc-region <%pad, 0x%x> is not enough\n", in vpu_core_parse_dt()
583 &core->rpc.phys, core->rpc.length); in vpu_core_parse_dt()
589 core->rpc in vpu_core_parse_dt()
[all...]
H A Dvpu_windsor.c554 struct vpu_buffer *rpc, dma_addr_t boot_addr) in vpu_windsor_init_rpc()
564 if (rpc->phys < boot_addr) in vpu_windsor_init_rpc()
567 base_phy_addr = rpc->phys - boot_addr; in vpu_windsor_init_rpc()
568 iface = rpc->virt; in vpu_windsor_init_rpc()
574 iface->exec_area_size = rpc->length; in vpu_windsor_init_rpc()
579 shared->cmd_mem_vir = rpc->virt + offset; in vpu_windsor_init_rpc()
588 shared->msg_mem_vir = rpc->virt + offset; in vpu_windsor_init_rpc()
600 ctrl = rpc->virt + (iface->ctrl_iface[i] - base_phy_addr); in vpu_windsor_init_rpc()
603 hcs->ctrls[i].yuv_desc = rpc->virt + offset; in vpu_windsor_init_rpc()
607 hcs->ctrls[i].stream_desc = rpc in vpu_windsor_init_rpc()
553 vpu_windsor_init_rpc(struct vpu_shared_addr *shared, struct vpu_buffer *rpc, dma_addr_t boot_addr) vpu_windsor_init_rpc() argument
[all...]
H A Dvpu_rpc.h53 struct vpu_buffer *rpc, dma_addr_t boot_addr);
196 struct vpu_buffer *rpc, in vpu_iface_init()
204 ops->init_rpc(shared, rpc, boot_addr); in vpu_iface_init()
207 if (rpc->bytesused > rpc->length) in vpu_iface_init()
194 vpu_iface_init(struct vpu_core *core, struct vpu_shared_addr *shared, struct vpu_buffer *rpc, dma_addr_t boot_addr) vpu_iface_init() argument
H A Dvpu_malone.c346 struct vpu_buffer *rpc, dma_addr_t boot_addr) in vpu_malone_init_rpc()
355 if (rpc->phys < boot_addr) in vpu_malone_init_rpc()
358 iface = rpc->virt; in vpu_malone_init_rpc()
359 base_phy_addr = rpc->phys - boot_addr; in vpu_malone_init_rpc()
366 iface->exec_area_size = rpc->length; in vpu_malone_init_rpc()
372 shared->cmd_mem_vir = rpc->virt + offset; in vpu_malone_init_rpc()
381 shared->msg_mem_vir = rpc->virt + offset; in vpu_malone_init_rpc()
390 hc->codec_param = rpc->virt + offset; in vpu_malone_init_rpc()
395 hc->jpg = rpc->virt + offset; in vpu_malone_init_rpc()
400 hc->seq_mem = rpc in vpu_malone_init_rpc()
345 vpu_malone_init_rpc(struct vpu_shared_addr *shared, struct vpu_buffer *rpc, dma_addr_t boot_addr) vpu_malone_init_rpc() argument
[all...]
/kernel/linux/linux-5.10/drivers/pci/pcie/
H A Daer.c1117 * @rpc: pointer to the root port which holds an error
1120 static void aer_isr_one_error(struct aer_rpc *rpc, in aer_isr_one_error() argument
1123 struct pci_dev *pdev = rpc->rpd; in aer_isr_one_error()
1176 struct aer_rpc *rpc = get_service_data(dev); in aer_isr() local
1179 if (kfifo_is_empty(&rpc->aer_fifo)) in aer_isr()
1182 while (kfifo_get(&rpc->aer_fifo, &e_src)) in aer_isr()
1183 aer_isr_one_error(rpc, &e_src); in aer_isr()
1197 struct aer_rpc *rpc = get_service_data(pdev); in aer_irq() local
1198 struct pci_dev *rp = rpc->rpd; in aer_irq()
1209 if (!kfifo_put(&rpc in aer_irq()
1257 aer_enable_rootport(struct aer_rpc *rpc) aer_enable_rootport() argument
1298 aer_disable_rootport(struct aer_rpc *rpc) aer_disable_rootport() argument
1328 struct aer_rpc *rpc = get_service_data(dev); aer_remove() local
1342 struct aer_rpc *rpc; aer_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/pci/pcie/
H A Daer.c1134 * @rpc: pointer to the root port which holds an error
1137 static void aer_isr_one_error(struct aer_rpc *rpc, in aer_isr_one_error() argument
1140 struct pci_dev *pdev = rpc->rpd; in aer_isr_one_error()
1193 struct aer_rpc *rpc = get_service_data(dev); in aer_isr() local
1196 if (kfifo_is_empty(&rpc->aer_fifo)) in aer_isr()
1199 while (kfifo_get(&rpc->aer_fifo, &e_src)) in aer_isr()
1200 aer_isr_one_error(rpc, &e_src); in aer_isr()
1214 struct aer_rpc *rpc = get_service_data(pdev); in aer_irq() local
1215 struct pci_dev *rp = rpc->rpd; in aer_irq()
1226 if (!kfifo_put(&rpc in aer_irq()
1238 aer_enable_rootport(struct aer_rpc *rpc) aer_enable_rootport() argument
1273 aer_disable_rootport(struct aer_rpc *rpc) aer_disable_rootport() argument
1297 struct aer_rpc *rpc = get_service_data(dev); aer_remove() local
1311 struct aer_rpc *rpc; aer_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils.c524 err = hw_atl_write_fwcfg_dwords(self, (u32 *)(void *)&self->rpc, in hw_atl_utils_fw_rpc_call()
539 struct hw_atl_utils_fw_rpc **rpc) in hw_atl_utils_fw_rpc_wait()
562 if (sw.len > sizeof(self->rpc)) { in hw_atl_utils_fw_rpc_wait()
573 if (rpc) { in hw_atl_utils_fw_rpc_wait()
575 if (fw.len > sizeof(self->rpc)) { in hw_atl_utils_fw_rpc_wait()
584 &self->rpc, in hw_atl_utils_fw_rpc_wait()
592 *rpc = &self->rpc; in hw_atl_utils_fw_rpc_wait()
538 hw_atl_utils_fw_rpc_wait(struct aq_hw_s *self, struct hw_atl_utils_fw_rpc **rpc) hw_atl_utils_fw_rpc_wait() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils.c524 err = hw_atl_write_fwcfg_dwords(self, (u32 *)(void *)&self->rpc, in hw_atl_utils_fw_rpc_call()
539 struct hw_atl_utils_fw_rpc **rpc) in hw_atl_utils_fw_rpc_wait()
562 if (sw.len > sizeof(self->rpc)) { in hw_atl_utils_fw_rpc_wait()
573 if (rpc) { in hw_atl_utils_fw_rpc_wait()
575 if (fw.len > sizeof(self->rpc)) { in hw_atl_utils_fw_rpc_wait()
584 &self->rpc, in hw_atl_utils_fw_rpc_wait()
592 *rpc = &self->rpc; in hw_atl_utils_fw_rpc_wait()
538 hw_atl_utils_fw_rpc_wait(struct aq_hw_s *self, struct hw_atl_utils_fw_rpc **rpc) hw_atl_utils_fw_rpc_wait() argument
/kernel/linux/linux-5.10/drivers/staging/most/dim2/
H A Dhal.c69 u16 rpc; member
389 g.atx_dbr.rpc = dim2_rpc(ch_addr); in dbrcnt_init()
390 g.atx_dbr.wpc = g.atx_dbr.rpc; in dbrcnt_init()
410 while (norm_pc(dbr->rpc) != cur_rpc) { in dim_dbr_space()
411 dbr->rest_size += dbr->sz_queue[norm_pc(dbr->rpc)]; in dim_dbr_space()
412 dbr->rpc++; in dim_dbr_space()
415 if ((u16)(dbr->wpc - dbr->rpc) >= CDT0_RPC_MASK) in dim_dbr_space()
/kernel/linux/linux-6.6/drivers/staging/most/dim2/
H A Dhal.c69 u16 rpc; member
388 g.atx_dbr.rpc = dim2_rpc(ch_addr); in dbrcnt_init()
389 g.atx_dbr.wpc = g.atx_dbr.rpc; in dbrcnt_init()
409 while (norm_pc(dbr->rpc) != cur_rpc) { in dim_dbr_space()
410 dbr->rest_size += dbr->sz_queue[norm_pc(dbr->rpc)]; in dim_dbr_space()
411 dbr->rpc++; in dim_dbr_space()
414 if ((u16)(dbr->wpc - dbr->rpc) >= CDT0_RPC_MASK) in dim_dbr_space()

Completed in 27 milliseconds

123