| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sun/ |
| H A D | sungem.c | 117 static u16 __sungem_phy_read(struct gem *gp, int phy_addr, int reg) in __sungem_phy_read() argument 127 writel(cmd, gp->regs + MIF_FRAME); in __sungem_phy_read() 130 cmd = readl(gp->regs + MIF_FRAME); in __sungem_phy_read() 145 struct gem *gp = netdev_priv(dev); in _sungem_phy_read() local 146 return __sungem_phy_read(gp, mii_id, reg); in _sungem_phy_read() 149 static inline u16 sungem_phy_read(struct gem *gp, int reg) in sungem_phy_read() argument 151 return __sungem_phy_read(gp, gp->mii_phy_addr, reg); in sungem_phy_read() 154 static void __sungem_phy_write(struct gem *gp, int phy_addr, int reg, u16 val) in __sungem_phy_write() argument 165 writel(cmd, gp->regs + MIF_FRAME); in __sungem_phy_write() 168 cmd = readl(gp->regs + MIF_FRAME); in __sungem_phy_write() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | sunxvr1000.c | 29 static int gfb_get_props(struct gfb_info *gp) in gfb_get_props() argument 31 gp->width = of_getintprop_default(gp->of_node, "width", 0); in gfb_get_props() 32 gp->height = of_getintprop_default(gp->of_node, "height", 0); in gfb_get_props() 33 gp->depth = of_getintprop_default(gp->of_node, "depth", 32); in gfb_get_props() 35 if (!gp->width || !gp->height) { in gfb_get_props() 37 gp->of_node); in gfb_get_props() 70 static int gfb_set_fbinfo(struct gfb_info *gp) in gfb_set_fbinfo() argument 72 struct fb_info *info = gp->info; in gfb_set_fbinfo() 77 info->screen_base = gp->fb_base; in gfb_set_fbinfo() 78 info->screen_size = gp->fb_size; in gfb_set_fbinfo() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | book3s_hv_nested.c | 25 static void kvmhv_update_ptbl_cache(struct kvm_nested_guest *gp); 445 static void kvmhv_set_nested_ptbl(struct kvm_nested_guest *gp) in kvmhv_set_nested_ptbl() argument 450 __pa(gp->shadow_pgtable) | RADIX_PGD_INDEX_SIZE; in kvmhv_set_nested_ptbl() 451 kvmhv_set_ptbl_entry(gp->shadow_lpid, dw0, gp->process_table); in kvmhv_set_nested_ptbl() 496 struct kvm_nested_guest *gp; in kvmhv_copy_tofrom_guest_nested() local 517 gp = kvmhv_get_nested(vcpu->kvm, l1_lpid, false); in kvmhv_copy_tofrom_guest_nested() 518 if (!gp) { in kvmhv_copy_tofrom_guest_nested() 523 mutex_lock(&gp->tlb_lock); in kvmhv_copy_tofrom_guest_nested() 527 rc = __kvmhv_copy_tofrom_guest_radix(gp->shadow_lpid, pid, in kvmhv_copy_tofrom_guest_nested() 547 rc = __kvmhv_copy_tofrom_guest_radix(gp->shadow_lpid, pid, in kvmhv_copy_tofrom_guest_nested() [all …]
|
| /OK3568_Linux_fs/kernel/net/phonet/ |
| H A D | pep-gprs.c | 51 static void gprs_writeable(struct gprs_dev *gp) in gprs_writeable() argument 53 struct net_device *dev = gp->dev; in gprs_writeable() 55 if (pep_writeable(gp->sk)) in gprs_writeable() 65 struct gprs_dev *gp = sk->sk_user_data; in gprs_state_change() local 68 struct net_device *dev = gp->dev; in gprs_state_change() 75 static int gprs_recv(struct gprs_dev *gp, struct sk_buff *skb) in gprs_recv() argument 77 struct net_device *dev = gp->dev; in gprs_recv() 138 struct gprs_dev *gp = sk->sk_user_data; in gprs_data_ready() local 143 gprs_recv(gp, skb); in gprs_data_ready() 149 struct gprs_dev *gp = sk->sk_user_data; in gprs_write_space() local [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/um/shared/sysdep/ |
| H A D | ptrace.h | 26 #define UPT_IP(r) REGS_IP((r)->gp) 27 #define UPT_SP(r) REGS_SP((r)->gp) 28 #define UPT_EFLAGS(r) REGS_EFLAGS((r)->gp) 29 #define UPT_AX(r) REGS_AX((r)->gp) 30 #define UPT_BX(r) REGS_BX((r)->gp) 31 #define UPT_CX(r) REGS_CX((r)->gp) 32 #define UPT_DX(r) REGS_DX((r)->gp) 33 #define UPT_SI(r) REGS_SI((r)->gp) 34 #define UPT_DI(r) REGS_DI((r)->gp) 35 #define UPT_BP(r) REGS_BP((r)->gp) [all …]
|
| H A D | ptrace_64.h | 44 #define UPT_R8(r) REGS_R8((r)->gp) 45 #define UPT_R9(r) REGS_R9((r)->gp) 46 #define UPT_R10(r) REGS_R10((r)->gp) 47 #define UPT_R11(r) REGS_R11((r)->gp) 48 #define UPT_R12(r) REGS_R12((r)->gp) 49 #define UPT_R13(r) REGS_R13((r)->gp) 50 #define UPT_R14(r) REGS_R14((r)->gp) 51 #define UPT_R15(r) REGS_R15((r)->gp)
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-imx/ |
| H A D | i2c-mxv7.c | 23 gpio_direction_input(p->sda.gp); in force_idle_bus() 24 gpio_direction_input(p->scl.gp); in force_idle_bus() 29 sda = gpio_get_value(p->sda.gp); in force_idle_bus() 30 scl = gpio_get_value(p->scl.gp); in force_idle_bus() 34 printf("%s: sda=%d scl=%d sda.gp=0x%x scl.gp=0x%x\n", __func__, in force_idle_bus() 35 sda, scl, p->sda.gp, p->scl.gp); in force_idle_bus() 38 gpio_direction_output(p->scl.gp, 0); in force_idle_bus() 40 gpio_direction_input(p->scl.gp); in force_idle_bus() 45 sda = gpio_get_value(p->sda.gp); in force_idle_bus() 46 scl = gpio_get_value(p->scl.gp); in force_idle_bus() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/um/asm/ |
| H A D | elf.h | 150 (pr_reg)[0] = (_regs)->regs.gp[0]; \ 151 (pr_reg)[1] = (_regs)->regs.gp[1]; \ 152 (pr_reg)[2] = (_regs)->regs.gp[2]; \ 153 (pr_reg)[3] = (_regs)->regs.gp[3]; \ 154 (pr_reg)[4] = (_regs)->regs.gp[4]; \ 155 (pr_reg)[5] = (_regs)->regs.gp[5]; \ 156 (pr_reg)[6] = (_regs)->regs.gp[6]; \ 157 (pr_reg)[7] = (_regs)->regs.gp[7]; \ 158 (pr_reg)[8] = (_regs)->regs.gp[8]; \ 159 (pr_reg)[9] = (_regs)->regs.gp[9]; \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/gameport/ |
| H A D | fm801-gp.c | 67 struct fm801_gp *gp; in fm801_gp_probe() local 71 gp = kzalloc(sizeof(struct fm801_gp), GFP_KERNEL); in fm801_gp_probe() 73 if (!gp || !port) { in fm801_gp_probe() 74 printk(KERN_ERR "fm801-gp: Memory allocation failed\n"); in fm801_gp_probe() 92 gp->gameport = port; in fm801_gp_probe() 93 gp->res_port = request_region(port->io, 0x10, "FM801 GP"); in fm801_gp_probe() 94 if (!gp->res_port) { in fm801_gp_probe() 95 printk(KERN_DEBUG "fm801-gp: unable to grab region 0x%x-0x%x\n", in fm801_gp_probe() 101 pci_set_drvdata(pci, gp); in fm801_gp_probe() 112 kfree(gp); in fm801_gp_probe() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/au88x0/ |
| H A D | au88x0_game.c | 84 struct gameport *gp; in vortex_gameport_register() local 86 vortex->gameport = gp = gameport_allocate_port(); in vortex_gameport_register() 87 if (!gp) { in vortex_gameport_register() 93 gameport_set_name(gp, "AU88x0 Gameport"); in vortex_gameport_register() 94 gameport_set_phys(gp, "pci%s/gameport0", pci_name(vortex->pci_dev)); in vortex_gameport_register() 95 gameport_set_dev_parent(gp, &vortex->pci_dev->dev); in vortex_gameport_register() 97 gp->read = vortex_game_read; in vortex_gameport_register() 98 gp->trigger = vortex_game_trigger; in vortex_gameport_register() 99 gp->cooked_read = vortex_game_cooked_read; in vortex_gameport_register() 100 gp->open = vortex_game_open; in vortex_gameport_register() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl12xx/ |
| H A D | cmd.c | 52 struct wl1271_ini_general_params *gp = in wl1271_cmd_general_parms() local 61 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl1271_cmd_general_parms() 72 memcpy(&gen_parms->general_params, gp, sizeof(*gp)); in wl1271_cmd_general_parms() 90 gp->tx_bip_fem_manufacturer = in wl1271_cmd_general_parms() 93 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl1271_cmd_general_parms() 101 wl->fem_manuf = gp->tx_bip_fem_manufacturer; in wl1271_cmd_general_parms() 109 gp->tx_bip_fem_manufacturer); in wl1271_cmd_general_parms() 119 struct wl128x_ini_general_params *gp = in wl128x_cmd_general_parms() local 128 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl128x_cmd_general_parms() 139 memcpy(&gen_parms->general_params, gp, sizeof(*gp)); in wl128x_cmd_general_parms() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-amd8111.c | 161 static struct amd_gpio gp = { variable 201 err = pci_read_config_dword(pdev, 0x58, &gp.pmbase); in amd_gpio_init() 205 gp.pmbase &= 0x0000FF00; in amd_gpio_init() 206 if (gp.pmbase == 0) in amd_gpio_init() 208 if (!devm_request_region(&pdev->dev, gp.pmbase + PMBASE_OFFSET, in amd_gpio_init() 211 gp.pmbase + PMBASE_OFFSET); in amd_gpio_init() 215 gp.pm = ioport_map(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_gpio_init() 216 if (!gp.pm) { in amd_gpio_init() 221 gp.pdev = pdev; in amd_gpio_init() 222 gp.chip.parent = &pdev->dev; in amd_gpio_init() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/rcu/ |
| H A D | tree.h | 45 unsigned long gp_seq_needed; /* Track furthest future GP request. */ 53 unsigned long rcu_gp_init_mask; /* Mask of offline CPUs at GP init. */ 55 /* Per-GP initial value for qsmask. */ 61 /* to allow the current expedited GP */ 64 /* Per-GP initial values for expmask. */ 66 /* beginning of each expedited GP. */ 68 /* Online CPUs for next expedited GP. */ 119 /* Place for rcu_nocb_kthread() to wait GP. */ 153 unsigned long gp_seq_needed; /* Track furthest future GP request. */ 182 int dynticks_snap; /* Per-GP tracking for dynticks. */ [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | test_tcpbpf_kern.c | 34 struct tcpbpf_globals g, *gp; in update_event_map() local 36 gp = bpf_map_lookup_elem(&global_map, &key); in update_event_map() 37 if (gp == NULL) { in update_event_map() 44 g = *gp; in update_event_map() 120 struct tcpbpf_globals g, *gp; in bpf_testcb() local 122 gp = bpf_map_lookup_elem(&global_map, &key); in bpf_testcb() 123 if (!gp) in bpf_testcb() 125 g = *gp; in bpf_testcb() 160 struct tcpbpf_globals g, *gp; in bpf_testcb() local 162 gp = bpf_map_lookup_elem(&global_map, &key); in bpf_testcb() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/gp/ |
| H A D | prepare_suite.sh | 6 echo "usage: prepare_suite.sh <optee_test base dir> <gp suite archive>" 12 if [ -e $1/host/xtest/gp-suite ]; then 14 rm -rf $1/host/xtest/gp-suite 16 mkdir -p $1/host/xtest/gp-suite 17 7z x -o$1/host/xtest/gp-suite $2 18 cd $1/host/xtest/gp-suite 23 for p in `echo ../gp/patches/*.patch | sort -n` ;do
|
| /OK3568_Linux_fs/kernel/sound/ppc/ |
| H A D | tumbler.c | 158 #define do_gpio_write(gp, val) \ argument 159 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, (gp)->addr, val) 160 #define do_gpio_read(gp) \ argument 161 pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, (gp)->addr, 0) 162 #define tumbler_gpio_free(gp) /* NOP */ argument 164 static void write_audio_gpio(struct pmac_gpio *gp, int active) in write_audio_gpio() argument 166 if (! gp->addr) in write_audio_gpio() 168 active = active ? gp->active_val : gp->inactive_val; in write_audio_gpio() 169 do_gpio_write(gp, active); in write_audio_gpio() 170 DBG("(I) gpio %x write %d\n", gp->addr, active); in write_audio_gpio() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/um/os-Linux/ |
| H A D | mcontext.c | 10 #define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y] in get_regs_from_mc() 11 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] in get_regs_from_mc() 12 #define COPY_SEG(X) regs->gp[X] = mc->gregs[REG_##X] & 0xffff; in get_regs_from_mc() 13 #define COPY_SEG_CPL3(X) regs->gp[X] = (mc->gregs[REG_##X] & 0xffff) | 3; in get_regs_from_mc() 20 #define COPY2(X,Y) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##Y] in get_regs_from_mc() 21 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X] in get_regs_from_mc() 29 regs->gp[CS / sizeof(unsigned long)] &= 0xffff; in get_regs_from_mc() 30 regs->gp[CS / sizeof(unsigned long)] |= 3; in get_regs_from_mc()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/boot/dts/ |
| H A D | ebony.dts | 36 model = "PowerPC,440GP"; 55 compatible = "ibm,uic-440gp", "ibm,uic"; 66 compatible = "ibm,uic-440gp", "ibm,uic"; 78 compatible = "ibm,cpc-440gp"; 84 compatible = "ibm,plb-440gp", "ibm,plb4"; 91 compatible = "ibm,sdram-440gp"; 97 compatible = "ibm,sram-440gp"; 103 compatible = "ibm,dma-440gp"; 108 compatible = "ibm,mcmal-440gp", "ibm,mcmal"; 126 compatible = "ibm,opb-440gp", "ibm,opb"; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/ |
| H A D | mali_gp.c | 33 MALI_DEBUG_PRINT(2, ("Mali GP: Creating Mali GP core: %s\n", resource->description)); in mali_gp_create() 54 …MALI_DEBUG_PRINT(4, ("Mali GP: set global gp core from 0x%08X to 0x%08X\n", mali_global_gp_core, c… in mali_gp_create() 59 …MALI_PRINT_ERROR(("Mali GP: Failed to setup interrupt handlers for GP core %s\n", core->hw_core.de… in mali_gp_create() 63 MALI_PRINT_ERROR(("Mali GP: Failed to add core %s to group\n", core->hw_core.description)); in mali_gp_create() 71 MALI_PRINT_ERROR(("Failed to allocate memory for GP core\n")); in mali_gp_create() 111 MALI_PRINT_ERROR(("Mali GP: Failed to stop bus on %s\n", core->hw_core.description)); in mali_gp_stop_bus_wait() 126 MALI_DEBUG_PRINT(4, ("Mali GP: Hard reset of core %s\n", core->hw_core.description)); in mali_gp_hard_reset() 140 MALI_PRINT_ERROR(("Mali GP: The hard reset loop didn't work, unable to recover\n")); in mali_gp_hard_reset() 154 MALI_DEBUG_PRINT(4, ("Mali GP: Reset of core %s\n", core->hw_core.description)); in mali_gp_reset_async() 177 MALI_PRINT_ERROR(("Mali GP: Failed to reset core %s, rawstat: 0x%08x\n", in mali_gp_reset_wait() [all …]
|
| H A D | mali_gp_job.c | 50 /* add to gp job varying alloc list*/ in _mali_gp_add_varying_allocations() 124 MALI_PRINT_ERROR(("Mali GP job: The number of varying buffer to defer bind is invalid !\n")); in mali_gp_job_create() 133 …MALI_PRINT_ERROR(("Mali GP job: allocate varying_list failed varying_alloc_num = %d !\n", job->uar… in mali_gp_job_create() 143 MALI_PRINT_ERROR(("Mali GP job: Failed to copy varying list from user space!\n")); in mali_gp_job_create() 149 MALI_PRINT_ERROR(("Mali GP job: _mali_gp_add_varying_allocations failed!\n")); in mali_gp_job_create() 156 MALI_PRINT_ERROR(("Mali GP job: mali_mem_defer_bind_allocation_prepare failed!\n")); in mali_gp_job_create() 171 MALI_PRINT_ERROR(("Mali GP job: mali_mem_prepare_mem_for_job failed!\n")); in mali_gp_job_create() 175 MALI_PRINT_ERROR(("gp job create, mali_mem_defer_bind failed! GP %x fail!", job)); in mali_gp_job_create() 186 /* Take a reference on PP job's tracker that will be released when the GP in mali_gp_job_create() 196 MALI_PRINT_ERROR(("Mali GP job: _mali_osk_calloc failed!\n")); in mali_gp_job_create()
|
| /OK3568_Linux_fs/kernel/tools/memory-model/ |
| H A D | linux-kernel.cat | 42 let gp = po ; [Sync-rcu | Sync-srcu] ; po? 43 let strong-fence = mb | gp 111 let rcu-gp = [Sync-rcu] (* Compare with gp *) 112 let srcu-gp = [Sync-srcu] 131 let rec rcu-order = rcu-gp | srcu-gp | 132 (rcu-gp ; rcu-link ; rcu-rscsi) | 133 ((srcu-gp ; rcu-link ; srcu-rscsi) & loc) | 134 (rcu-rscsi ; rcu-link ; rcu-gp) | 135 ((srcu-rscsi ; rcu-link ; srcu-gp) & loc) | 136 (rcu-gp ; rcu-link ; rcu-order ; rcu-link ; rcu-rscsi) | [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-armada100/ |
| H A D | gpio.h | 21 #define GPIO_TO_REG(gp) (gp >> 5) argument 22 #define GPIO_TO_BIT(gp) (1 << (gp & 0x1F)) argument 23 #define GPIO_VAL(gp, val) ((val >> (gp & 0x1F)) & 0x01) argument
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_memory_defer_bind.c | 207 _mali_osk_errcode_t mali_mem_defer_bind(struct mali_gp_job *gp, in mali_mem_defer_bind() argument 214 …if (gp->required_varying_memsize != (atomic_read(&dmem_block->num_free_pages) * _MALI_OSK_MALI_PAG… in mali_mem_defer_bind() 219 MALI_DEBUG_PRINT(4, ("#BIND: GP job=%x## \n", gp)); in mali_mem_defer_bind() 223 gp->dmem = dmem; in mali_mem_defer_bind() 230 list_for_each_entry_safe(bkn, bkn_tmp , &gp->vary_todo, node) { in mali_mem_defer_bind() 239 _mali_osk_free(gp->dmem); in mali_mem_defer_bind() 244 if (!list_empty(&gp->vary_todo)) { in mali_mem_defer_bind() 246 _mali_osk_free(gp->dmem); in mali_mem_defer_bind() 255 void mali_mem_defer_dmem_free(struct mali_gp_job *gp) in mali_mem_defer_dmem_free() argument 257 if (gp->dmem) { in mali_mem_defer_dmem_free() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | rcu_segcblist.h | 39 * Callbacks waiting for the current GP from the current CPU's viewpoint. 41 * Callbacks that arrived before the next GP started, again from 42 * the current CPU's viewpoint. These can be handled by the next GP. 44 * Callbacks that might have arrived after the next GP started. 45 * There is some uncertainty as to when a given GP starts and 47 * or ending the GP. Other CPUs know that the previous GP ends
|
| /OK3568_Linux_fs/kernel/sound/mips/ |
| H A D | ad1843.c | 282 const struct ad1843_gain *gp = ad1843_gain[id]; in ad1843_get_gain_max() local 285 ret = (1 << gp->lfield->nbits); in ad1843_get_gain_max() 286 if (!gp->lmute) in ad1843_get_gain_max() 299 const struct ad1843_gain *gp = ad1843_gain[id]; in ad1843_get_gain() local 300 unsigned short mask = (1 << gp->lfield->nbits) - 1; in ad1843_get_gain() 302 ad1843_read_multi(ad1843, 2, gp->lfield, &lg, gp->rfield, &rg); in ad1843_get_gain() 303 if (gp->negative) { in ad1843_get_gain() 307 if (gp->lmute) { in ad1843_get_gain() 308 ad1843_read_multi(ad1843, 2, gp->lmute, &lm, gp->rmute, &rm); in ad1843_get_gain() 325 const struct ad1843_gain *gp = ad1843_gain[id]; in ad1843_set_gain() local [all …]
|