/Linux-v5.10/drivers/net/ethernet/sun/ |
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 …]
|
/Linux-v5.10/drivers/video/fbdev/ |
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 …]
|
/Linux-v5.10/arch/powerpc/kvm/ |
D | book3s_hv_nested.c | 25 static void kvmhv_update_ptbl_cache(struct kvm_nested_guest *gp); 424 static void kvmhv_set_nested_ptbl(struct kvm_nested_guest *gp) in kvmhv_set_nested_ptbl() argument 429 __pa(gp->shadow_pgtable) | RADIX_PGD_INDEX_SIZE; in kvmhv_set_nested_ptbl() 430 kvmhv_set_ptbl_entry(gp->shadow_lpid, dw0, gp->process_table); in kvmhv_set_nested_ptbl() 475 struct kvm_nested_guest *gp; in kvmhv_copy_tofrom_guest_nested() local 496 gp = kvmhv_get_nested(vcpu->kvm, l1_lpid, false); in kvmhv_copy_tofrom_guest_nested() 497 if (!gp) { in kvmhv_copy_tofrom_guest_nested() 502 mutex_lock(&gp->tlb_lock); in kvmhv_copy_tofrom_guest_nested() 506 rc = __kvmhv_copy_tofrom_guest_radix(gp->shadow_lpid, pid, in kvmhv_copy_tofrom_guest_nested() 526 rc = __kvmhv_copy_tofrom_guest_radix(gp->shadow_lpid, pid, in kvmhv_copy_tofrom_guest_nested() [all …]
|
/Linux-v5.10/net/phonet/ |
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 …]
|
/Linux-v5.10/arch/x86/um/shared/sysdep/ |
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 …]
|
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)
|
/Linux-v5.10/drivers/input/gameport/ |
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 …]
|
/Linux-v5.10/arch/x86/um/asm/ |
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 …]
|
/Linux-v5.10/sound/pci/au88x0/ |
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 …]
|
/Linux-v5.10/drivers/net/wireless/ti/wl12xx/ |
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 …]
|
/Linux-v5.10/drivers/gpio/ |
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 …]
|
D | gpio-altera-a10sr.c | 16 * @gp: : instance of the gpio_chip 20 struct gpio_chip gp; member 90 gpio->gp = altr_a10sr_gc; in altr_a10sr_gpio_probe() 91 gpio->gp.parent = pdev->dev.parent; in altr_a10sr_gpio_probe() 92 gpio->gp.of_node = pdev->dev.of_node; in altr_a10sr_gpio_probe() 94 ret = devm_gpiochip_add_data(&pdev->dev, &gpio->gp, gpio); in altr_a10sr_gpio_probe()
|
/Linux-v5.10/kernel/rcu/ |
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 …]
|
/Linux-v5.10/arch/x86/um/os-Linux/ |
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()
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
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 …]
|
/Linux-v5.10/arch/powerpc/boot/dts/ |
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 …]
|
D | bamboo.dts | 89 compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4"; 96 compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; 101 compatible = "ibm,dma-440ep", "ibm,dma-440gp"; 106 compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; 123 compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb"; 136 compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; 190 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; 197 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; 204 compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii"; 210 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; [all …]
|
D | sam440ep.dts | 90 compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4"; 97 compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; 102 compatible = "ibm,dma-440ep", "ibm,dma-440gp"; 107 compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; 124 compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb"; 137 compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; 193 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; 205 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; 213 compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii"; 220 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; [all …]
|
/Linux-v5.10/sound/ppc/ |
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 …]
|
/Linux-v5.10/include/linux/ |
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
|
D | srcutree.h | 32 unsigned long srcu_gp_seq_needed; /* Furthest future GP needed. */ 33 unsigned long srcu_gp_seq_needed_exp; /* Furthest future exp GP. */ 50 unsigned long srcu_have_cbs[4]; /* GP seq for children */ 54 /* have CBs for given GP? */ 55 unsigned long srcu_gp_seq_needed_exp; /* Furthest future exp GP. */ 70 struct mutex srcu_gp_mutex; /* Serialize GP work. */ 74 unsigned long srcu_gp_seq_needed_exp; /* Furthest future exp GP. */ 75 unsigned long srcu_last_gp_end; /* Last GP end timestamp (ns) */
|
/Linux-v5.10/tools/memory-model/ |
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 …]
|
/Linux-v5.10/Documentation/hwmon/ |
D | twl4030-madc-hwmon.rst | 29 2 GP analog input 30 3 GP analog input 31 4 GP analog input 32 5 GP analog input 33 6 GP analog input 34 7 GP analog input
|
/Linux-v5.10/sound/mips/ |
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 …]
|
/Linux-v5.10/arch/mips/kernel/ |
D | smp-cmp.c | 64 * Setup the PC, SP, and GP of a secondary processor and start it running 67 * (unsigned long)idle->thread_info the gp 71 struct thread_info *gp = task_thread_info(idle); in cmp_boot_secondary() local 81 flush_icache_range((unsigned long)gp, in cmp_boot_secondary() 82 (unsigned long)(gp + sizeof(struct thread_info))); in cmp_boot_secondary() 85 amon_cpu_start(cpu, pc, sp, (unsigned long)gp, a0); in cmp_boot_secondary()
|