/linux-6.6.21/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-6.6.21/drivers/video/fbdev/ |
D | sunxvr1000.c | 30 static int gfb_get_props(struct gfb_info *gp) in gfb_get_props() argument 32 gp->width = of_getintprop_default(gp->of_node, "width", 0); in gfb_get_props() 33 gp->height = of_getintprop_default(gp->of_node, "height", 0); in gfb_get_props() 34 gp->depth = of_getintprop_default(gp->of_node, "depth", 32); in gfb_get_props() 36 if (!gp->width || !gp->height) { in gfb_get_props() 38 gp->of_node); in gfb_get_props() 69 static int gfb_set_fbinfo(struct gfb_info *gp) in gfb_set_fbinfo() argument 71 struct fb_info *info = gp->info; in gfb_set_fbinfo() 75 info->screen_base = gp->fb_base; in gfb_set_fbinfo() 76 info->screen_size = gp->fb_size; in gfb_set_fbinfo() [all …]
|
/linux-6.6.21/arch/powerpc/kvm/ |
D | book3s_hv_nested.c | 27 static void kvmhv_update_ptbl_cache(struct kvm_nested_guest *gp); 516 static void kvmhv_set_nested_ptbl(struct kvm_nested_guest *gp) in kvmhv_set_nested_ptbl() argument 521 __pa(gp->shadow_pgtable) | RADIX_PGD_INDEX_SIZE; in kvmhv_set_nested_ptbl() 522 kvmhv_set_ptbl_entry(gp->shadow_lpid, dw0, gp->process_table); in kvmhv_set_nested_ptbl() 560 struct kvm_nested_guest *gp; in kvmhv_copy_tofrom_guest_nested() local 581 gp = kvmhv_get_nested(vcpu->kvm, l1_lpid, false); in kvmhv_copy_tofrom_guest_nested() 582 if (!gp) { in kvmhv_copy_tofrom_guest_nested() 587 mutex_lock(&gp->tlb_lock); in kvmhv_copy_tofrom_guest_nested() 591 rc = __kvmhv_copy_tofrom_guest_radix(gp->shadow_lpid, pid, in kvmhv_copy_tofrom_guest_nested() 611 rc = __kvmhv_copy_tofrom_guest_radix(gp->shadow_lpid, pid, in kvmhv_copy_tofrom_guest_nested() [all …]
|
/linux-6.6.21/net/phonet/ |
D | pep-gprs.c | 53 static void gprs_writeable(struct gprs_dev *gp) in gprs_writeable() argument 55 struct net_device *dev = gp->dev; in gprs_writeable() 57 if (pep_writeable(gp->sk)) in gprs_writeable() 67 struct gprs_dev *gp = sk->sk_user_data; in gprs_state_change() local 70 struct net_device *dev = gp->dev; in gprs_state_change() 77 static int gprs_recv(struct gprs_dev *gp, struct sk_buff *skb) in gprs_recv() argument 79 struct net_device *dev = gp->dev; in gprs_recv() 140 struct gprs_dev *gp = sk->sk_user_data; in gprs_data_ready() local 147 gprs_recv(gp, skb); in gprs_data_ready() 153 struct gprs_dev *gp = sk->sk_user_data; in gprs_write_space() local [all …]
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/drivers/gpio/ |
D | gpio-amd8111.c | 158 static struct amd_gpio gp = { variable 197 err = pci_read_config_dword(pdev, 0x58, &gp.pmbase); in amd_gpio_init() 201 gp.pmbase &= 0x0000FF00; in amd_gpio_init() 202 if (gp.pmbase == 0) in amd_gpio_init() 204 if (!devm_request_region(&pdev->dev, gp.pmbase + PMBASE_OFFSET, in amd_gpio_init() 207 gp.pmbase + PMBASE_OFFSET); in amd_gpio_init() 211 gp.pm = ioport_map(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_gpio_init() 212 if (!gp.pm) { in amd_gpio_init() 217 gp.pdev = pdev; in amd_gpio_init() 218 gp.chip.parent = &pdev->dev; in amd_gpio_init() [all …]
|
D | gpio-altera-a10sr.c | 22 struct gpio_chip gp; member 91 gpio->gp = altr_a10sr_gc; in altr_a10sr_gpio_probe() 92 gpio->gp.parent = pdev->dev.parent; in altr_a10sr_gpio_probe() 93 gpio->gp.fwnode = dev_fwnode(&pdev->dev); in altr_a10sr_gpio_probe() 95 return devm_gpiochip_add_data(&pdev->dev, &gpio->gp, gpio); in altr_a10sr_gpio_probe()
|
/linux-6.6.21/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() 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() 101 pci_set_drvdata(pci, gp); in fm801_gp_probe() 112 kfree(gp); in fm801_gp_probe() 118 struct fm801_gp *gp = pci_get_drvdata(pci); in fm801_gp_remove() local 120 gameport_unregister_port(gp->gameport); in fm801_gp_remove() [all …]
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/arch/sparc/kernel/ |
D | process_64.c | 229 static void __global_reg_poll(struct global_reg_snapshot *gp) in __global_reg_poll() argument 233 while (!gp->thread && ++limit < 100) { in __global_reg_poll() 261 struct global_reg_snapshot *gp; in arch_trigger_cpumask_backtrace() local 266 gp = &global_cpu_snapshot[cpu].reg; in arch_trigger_cpumask_backtrace() 268 __global_reg_poll(gp); in arch_trigger_cpumask_backtrace() 270 tp = gp->thread; in arch_trigger_cpumask_backtrace() 273 gp->tstate, gp->tpc, gp->tnpc, in arch_trigger_cpumask_backtrace() 277 if (gp->tstate & TSTATE_PRIV) { in arch_trigger_cpumask_backtrace() 279 (void *) gp->tpc, in arch_trigger_cpumask_backtrace() 280 (void *) gp->o7, in arch_trigger_cpumask_backtrace() [all …]
|
/linux-6.6.21/arch/powerpc/boot/dts/ |
D | ebony.dts | 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"; 139 compatible = "ibm,ebc-440gp", "ibm,ebc"; [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-6.6.21/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-eeprom-read.c | 70 u32 gp = iwl_read32(trans, CSR_EEPROM_GP) & CSR_EEPROM_GP_VALID_MSK; in iwl_eeprom_verify_signature() local 72 IWL_DEBUG_EEPROM(trans->dev, "EEPROM signature=0x%08x\n", gp); in iwl_eeprom_verify_signature() 74 switch (gp) { in iwl_eeprom_verify_signature() 78 gp); in iwl_eeprom_verify_signature() 85 IWL_ERR(trans, "OTP with bad signature: 0x%08x\n", gp); in iwl_eeprom_verify_signature() 93 nvm_is_otp ? "OTP" : "EEPROM", gp); in iwl_eeprom_verify_signature() 291 u32 gp = iwl_read32(trans, CSR_EEPROM_GP); in iwl_read_eeprom() local 315 IWL_ERR(trans, "EEPROM not found, EEPROM_GP=0x%08x\n", gp); in iwl_read_eeprom()
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_tcpnotify_kern.c | 63 struct tcpnotify_globals g, *gp; in bpf_testcb() local 74 gp = bpf_map_lookup_elem(&global_map, &key); in bpf_testcb() 75 if (!gp) in bpf_testcb() 77 g = *gp; in bpf_testcb()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | esi.c | 36 u64 gp; member 42 void *gp; member 110 pdesc.gp = __va(esi->gp); in ia64_esi_call() 162 pdesc.gp = (void *)esi->gp; in ia64_esi_call_phys()
|
/linux-6.6.21/drivers/soc/renesas/ |
D | pwc-rzv2m.c | 23 struct gpio_chip gp; member 109 priv->gp = rzv2m_pwc_gc; in rzv2m_pwc_probe() 110 priv->gp.parent = pdev->dev.parent; in rzv2m_pwc_probe() 111 priv->gp.fwnode = dev_fwnode(&pdev->dev); in rzv2m_pwc_probe() 113 ret = devm_gpiochip_add_data(&pdev->dev, &priv->gp, priv); in rzv2m_pwc_probe()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | module.c | 141 unsigned long got, gp; in apply_relocate_add() local 150 gp = got + 0x8000; in apply_relocate_add() 179 value -= gp; in apply_relocate_add() 186 lo = hi - gp; in apply_relocate_add() 195 value = gp - (u64)location; in apply_relocate_add() 238 value = (long)(value - gp + 0x8000) >> 16; in apply_relocate_add() 244 value -= gp; in apply_relocate_add() 248 value -= gp; in apply_relocate_add()
|
/linux-6.6.21/arch/arc/include/asm/ |
D | entry-compact.h | 162 PUSH gp 177 GET_CURR_TASK_ON_CPU gp 216 POP gp 246 PUSH gp 258 GET_CURR_TASK_ON_CPU gp 284 POP gp
|
/linux-6.6.21/tools/memory-model/ |
D | linux-kernel.cat | 54 let gp = po ; [Sync-rcu | Sync-srcu] ; po? 55 let strong-fence = mb | gp 124 let rcu-gp = [Sync-rcu] (* Compare with gp *) 125 let srcu-gp = [Sync-srcu] 144 let rec rcu-order = rcu-gp | srcu-gp | 145 (rcu-gp ; rcu-link ; rcu-rscsi) | 146 ((srcu-gp ; rcu-link ; srcu-rscsi) & loc) | 147 (rcu-rscsi ; rcu-link ; rcu-gp) | 148 ((srcu-rscsi ; rcu-link ; srcu-gp) & loc) | 149 (rcu-gp ; rcu-link ; rcu-order ; rcu-link ; rcu-rscsi) | [all …]
|