Home
last modified time | relevance | path

Searched refs:sgc (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpio-sa1100.c119 grer = sgc->irqrising & sgc->irqmask; in sa1100_update_edge_regs()
120 gfer = sgc->irqfalling & sgc->irqmask; in sa1100_update_edge_regs()
132 if ((sgc->irqrising | sgc->irqfalling) & mask) in sa1100_gpio_type()
138 sgc->irqrising |= mask; in sa1100_gpio_type()
140 sgc->irqrising &= ~mask; in sa1100_gpio_type()
142 sgc->irqfalling |= mask; in sa1100_gpio_type()
166 sgc->irqmask &= ~mask; in sa1100_gpio_mask()
176 sgc->irqmask |= mask; in sa1100_gpio_unmask()
244 irq = sgc->irqbase; in sa1100_gpio_handler()
263 writel_relaxed(sgc->irqwake & sgc->irqrising, sgc->membase + R_GRER); in sa1100_gpio_suspend()
[all …]
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_io.c198 len = (*sgc->get_phys_addr)(sgc, &addr); in esas2r_build_sg_list_sge()
205 len = sgc->length; in esas2r_build_sg_list_sge()
222 if (unlikely(sgc->sge.a64.curr > sgc->sge.a64.limit)) { in esas2r_build_sg_list_sge()
279 ((u8 *)sgc-> in esas2r_build_sg_list_sge()
299 sgc->sge.a64.chain = sgc->sge.a64.last; in esas2r_build_sg_list_sge()
306 sgc->sge.a64.last = sgc->sge.a64.curr; in esas2r_build_sg_list_sge()
313 sgc->length -= len; in esas2r_build_sg_list_sge()
383 len = (*sgc->get_phys_addr)(sgc, &addr); in esas2r_build_prd_iblk()
467 sgc->sge.prd.chain = sgc->sge.prd.curr; in esas2r_build_prd_iblk()
482 sgc->sge.prd.sge_cnt = sgc->sge.prd.sgl_max_cnt - 1; in esas2r_build_prd_iblk()
[all …]
H A Desas2r_flash.c181 struct esas2r_sg_context *sgc = &fc->sgc; in build_flash_msg() local
186 if (sgc->cur_offset) in build_flash_msg()
188 sgc->length, in build_flash_msg()
199 sgc->length); in build_flash_msg()
210 if (sgc->cur_offset) { in build_flash_msg()
219 fc->sgc.length = 0; in build_flash_msg()
364 fc->sgc.length = FM_BUF_SZ; in fw_download_proc()
916 sgc->length = datalen; in esas2r_process_fs_ioctl()
1403 memcpy(&fc->sgc, sgc, sizeof(struct esas2r_sg_context)); in esas2r_fm_api()
1404 sgc = &fc->sgc; in esas2r_fm_api()
[all …]
H A Desas2r_ioctl.c209 struct esas2r_sg_context sgc; in handle_buffered_ioctl() local
344 struct esas2r_sg_context *sgc, in csmi_ioctl_tunnel() argument
670 struct esas2r_sg_context *sgc) in hba_ioctl_tunnel() argument
1004 esas2r_sgc_init(sgc, a, rq, NULL); in hba_ioctl_callback()
1006 sgc->length = hi->data_length; in hba_ioctl_callback()
1033 if (sgc->length) { in hba_ioctl_callback()
1832 struct esas2r_sg_context sgc; in esas2r_read_vda() local
1850 sgc.first_req = rq; in esas2r_read_vda()
1851 sgc.adapter = a; in esas2r_read_vda()
1952 struct esas2r_sg_context sgc; in esas2r_read_fs() local
[all …]
H A Desas2r_main.c766 if (likely(sgc->cur_offset == sgc->exp_offset)) { in get_physaddr_from_sgc()
772 if (sgc->sgel_count < sgc->num_sgel) { in get_physaddr_from_sgc()
776 sgc->cur_sgel = sg_next(sgc->cur_sgel); in get_physaddr_from_sgc()
777 ++(sgc->sgel_count); in get_physaddr_from_sgc()
790 } else if (sgc->cur_offset < sgc->exp_offset) { in get_physaddr_from_sgc()
803 (sgc->cur_offset - sgc->exp_offset); in get_physaddr_from_sgc()
809 sgc->exp_offset - sgc->cur_offset); in get_physaddr_from_sgc()
863 sgc.length = bufflen; in esas2r_queuecommand()
864 sgc.cur_offset = NULL; in esas2r_queuecommand()
867 sgc.exp_offset = NULL; in esas2r_queuecommand()
[all …]
H A Desas2r_vda.c68 struct esas2r_sg_context *sgc) in esas2r_process_vda_ioctl() argument
135 u8 *cmdcurr_offset = sgc->cur_offset in esas2r_process_vda_ioctl()
162 cmdcurr_offset = sgc->cur_offset; in esas2r_process_vda_ioctl()
175 esas2r_sgc_init(sgc, a, rq, in esas2r_process_vda_ioctl()
177 sgc->length = payldlen; in esas2r_process_vda_ioctl()
179 if (!esas2r_build_sg_list(a, rq, sgc)) { in esas2r_process_vda_ioctl()
195 sgc->cur_offset = cmdcurr_offset; in esas2r_process_vda_ioctl()
255 esas2r_sgc_init(sgc, a, rq, firstsg); in esas2r_process_vda_ioctl()
256 sgc->length = datalen; in esas2r_process_vda_ioctl()
258 if (!esas2r_build_sg_list(a, rq, sgc)) { in esas2r_process_vda_ioctl()
H A Desas2r.h408 struct esas2r_sg_context *sgc);
712 struct esas2r_sg_context sgc; member
1069 struct esas2r_sg_context *sgc);
1172 sgc->adapter = a; in esas2r_sgc_init()
1173 sgc->first_req = rq; in esas2r_sgc_init()
1186 sgc->sge.a64.last = in esas2r_sgc_init()
1187 sgc->sge.a64.curr = first; in esas2r_sgc_init()
1192 sgc->sge.a64.last = in esas2r_sgc_init()
1197 sgc->sge.a64.chain = NULL; in esas2r_sgc_init()
1305 struct esas2r_sg_context *sgc) in esas2r_build_sg_list() argument
[all …]
H A Desas2r_disc.c53 static u32 esas2r_disc_get_phys_addr(struct esas2r_sg_context *sgc, u64 *addr);
888 struct esas2r_sg_context sgc; in esas2r_disc_passthru_dev_addr() local
896 sgc.cur_offset = NULL; in esas2r_disc_passthru_dev_addr()
897 sgc.get_phys_addr = (PGETPHYSADDR)esas2r_disc_get_phys_addr; in esas2r_disc_passthru_dev_addr()
898 sgc.length = offsetof(struct atto_ioctl, data) in esas2r_disc_passthru_dev_addr()
901 esas2r_sgc_init(&sgc, a, rq, rq->vrq->ioctl.sge); in esas2r_disc_passthru_dev_addr()
903 esas2r_build_ioctl_req(a, rq, sgc.length, VDA_IOCTL_HBA); in esas2r_disc_passthru_dev_addr()
905 if (!esas2r_build_sg_list(a, rq, &sgc)) { in esas2r_disc_passthru_dev_addr()
1032 struct esas2r_adapter *a = sgc->adapter; in esas2r_disc_get_phys_addr()
1034 if (sgc->length > ESAS2R_DISC_BUF_LEN) { in esas2r_disc_get_phys_addr()
[all …]
/openbmc/linux/kernel/sched/
H A Dtopology.c94 group->sgc->id, in sched_domain_debug_one()
618 kfree(sg->sgc); in free_sched_groups()
975 sg->sgc = *per_cpu_ptr(sdd->sgc, cpu); in init_overlap_sched_group()
1194 sg->sgc = *per_cpu_ptr(sdd->sgc, cpu); in get_group()
2206 if (!sdd->sgc) in __sdt_alloc()
2240 if (!sgc) in __sdt_alloc()
2244 sgc->id = j; in __sdt_alloc()
2247 *per_cpu_ptr(sdd->sgc, j) = sgc; in __sdt_alloc()
2276 if (sdd->sgc) in __sdt_free()
2285 free_percpu(sdd->sgc); in __sdt_free()
[all …]
H A Dfair.c9443 sdg->sgc->capacity = capacity; in update_cpu_capacity()
9444 sdg->sgc->min_capacity = capacity; in update_cpu_capacity()
9445 sdg->sgc->max_capacity = capacity; in update_cpu_capacity()
9489 struct sched_group_capacity *sgc = group->sgc; in update_group_capacity() local
9491 capacity += sgc->capacity; in update_group_capacity()
9498 sdg->sgc->capacity = capacity; in update_group_capacity()
9499 sdg->sgc->min_capacity = min_capacity; in update_group_capacity()
9500 sdg->sgc->max_capacity = max_capacity; in update_group_capacity()
9558 return group->sgc->imbalance; in sg_imbalanced()
10199 if (idlest->sgc->max_capacity >= group->sgc->max_capacity) in update_pick_idlest()
[all …]
H A Dsched.h1909 struct sched_group_capacity *sgc; member
1933 return to_cpumask(sg->sgc->cpumask); in group_balance_mask()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c30 ddp->sgc = 0; in ixgbe_fcoe_clear_ddp()
111 dma_unmap_sg(&adapter->pdev->dev, ddp->sgl, ddp->sgc, in ixgbe_fcoe_ddp_put()
134 struct scatterlist *sgl, unsigned int sgc, in ixgbe_fcoe_ddp_setup() argument
171 xid, ddp->sgl, ddp->sgc); in ixgbe_fcoe_ddp_setup()
203 ddp->sgc = sgc; in ixgbe_fcoe_ddp_setup()
345 struct scatterlist *sgl, unsigned int sgc) in ixgbe_fcoe_ddp_get() argument
347 return ixgbe_fcoe_ddp_setup(netdev, xid, sgl, sgc, 0); in ixgbe_fcoe_ddp_get()
366 struct scatterlist *sgl, unsigned int sgc) in ixgbe_fcoe_ddp_target() argument
368 return ixgbe_fcoe_ddp_setup(netdev, xid, sgl, sgc, 1); in ixgbe_fcoe_ddp_target()
443 ddp->sgc, DMA_FROM_DEVICE); in ixgbe_fcoe_ddp()
[all …]
H A Dixgbe_fcoe.h38 unsigned int sgc; member
H A Dixgbe.h990 struct scatterlist *sgl, unsigned int sgc);
992 struct scatterlist *sgl, unsigned int sgc);
/openbmc/qemu/hw/ppc/
H A Dppc405.h68 uint32_t sgc; member
H A Dppc405_uc.c259 dma->sgc = 0x00000000; in ppc405_dma_reset()
/openbmc/linux/include/linux/sched/
H A Dtopology.h192 struct sched_group_capacity *__percpu *sgc; member
/openbmc/linux/net/8021q/
H A Dvlan_dev.c416 struct scatterlist *sgl, unsigned int sgc) in vlan_dev_fcoe_ddp_setup() argument
423 rc = ops->ndo_fcoe_ddp_setup(real_dev, xid, sgl, sgc); in vlan_dev_fcoe_ddp_setup()
463 struct scatterlist *sgl, unsigned int sgc) in vlan_dev_fcoe_ddp_target() argument
470 rc = ops->ndo_fcoe_ddp_target(real_dev, xid, sgl, sgc); in vlan_dev_fcoe_ddp_target()
/openbmc/linux/drivers/android/
H A Dbinder.c2392 struct binder_sg_copy *sgc, *tmpsgc; in binder_do_deferred_txn_copies() local
2398 list_for_each_entry_safe(sgc, tmpsgc, sgc_head, node) { in binder_do_deferred_txn_copies()
2401 while (bytes_copied < sgc->length) { in binder_do_deferred_txn_copies()
2403 size_t bytes_left = sgc->length - bytes_copied; in binder_do_deferred_txn_copies()
2404 size_t offset = sgc->offset + bytes_copied; in binder_do_deferred_txn_copies()
2415 sgc->sender_uaddr + bytes_copied, in binder_do_deferred_txn_copies()
2445 list_del(&sgc->node); in binder_do_deferred_txn_copies()
2446 kfree(sgc); in binder_do_deferred_txn_copies()
2469 struct binder_sg_copy *sgc, *tmpsgc; in binder_cleanup_deferred_txn_lists() local
2473 list_del(&sgc->node); in binder_cleanup_deferred_txn_lists()
[all …]
/openbmc/linux/drivers/scsi/fcoe/
H A Dfcoe.c1062 struct scatterlist *sgl, unsigned int sgc) in fcoe_ddp_setup() argument
1069 sgc); in fcoe_ddp_setup()
1084 struct scatterlist *sgl, unsigned int sgc) in fcoe_ddp_target() argument
1090 sgl, sgc); in fcoe_ddp_target()
/openbmc/linux/include/linux/
H A Dnetdevice.h1512 unsigned int sgc);
1518 unsigned int sgc);