/linux/drivers/net/ethernet/sun/ |
H A D | sungem.c | 1 // SPDX-License-Identifier: GPL-2.0 30 #include <linux/dma-mapping.h> 93 * they only support 10/100 speeds. -DaveM 96 * the BCM54xx PHYs. -BenH 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() 129 while (- in __sungem_phy_read() 145 struct gem *gp = netdev_priv(dev); _sungem_phy_read() local 149 sungem_phy_read(struct gem * gp,int reg) sungem_phy_read() argument 154 __sungem_phy_write(struct gem * gp,int phy_addr,int reg,u16 val) __sungem_phy_write() argument 178 struct gem *gp = netdev_priv(dev); _sungem_phy_write() local 182 sungem_phy_write(struct gem * gp,int reg,u16 val) sungem_phy_write() argument 187 gem_enable_ints(struct gem * gp) gem_enable_ints() argument 193 gem_disable_ints(struct gem * gp) gem_disable_ints() argument 200 gem_get_cell(struct gem * gp) gem_get_cell() argument 214 gem_put_cell(struct gem * gp) gem_put_cell() argument 227 gem_netif_stop(struct gem * gp) gem_netif_stop() argument 234 gem_netif_start(struct gem * gp) gem_netif_start() argument 244 gem_schedule_reset(struct gem * gp) gem_schedule_reset() argument 250 gem_handle_mif_event(struct gem * gp,u32 reg_val,u32 changed_bits) gem_handle_mif_event() argument 256 gem_pcs_interrupt(struct net_device * dev,struct gem * gp,u32 gem_status) gem_pcs_interrupt() argument 306 gem_txmac_interrupt(struct net_device * dev,struct gem * gp,u32 gem_status) gem_txmac_interrupt() argument 359 gem_rxmac_reset(struct gem * gp) gem_rxmac_reset() argument 459 gem_rxmac_interrupt(struct net_device * dev,struct gem * gp,u32 gem_status) gem_rxmac_interrupt() argument 493 gem_mac_interrupt(struct net_device * dev,struct gem * gp,u32 gem_status) gem_mac_interrupt() argument 514 gem_mif_interrupt(struct net_device * dev,struct gem * gp,u32 gem_status) gem_mif_interrupt() argument 527 gem_pci_interrupt(struct net_device * dev,struct gem * gp,u32 gem_status) gem_pci_interrupt() argument 578 gem_abnormal_irq(struct net_device * dev,struct gem * gp,u32 gem_status) gem_abnormal_irq() argument 631 gem_tx(struct net_device * dev,struct gem * gp,u32 gem_status) gem_tx() argument 702 gem_post_rxds(struct gem * gp,int limit) gem_post_rxds() argument 746 gem_rx(struct gem * gp,int work_to_do) gem_rx() argument 876 struct gem *gp = container_of(napi, struct gem, napi); gem_poll() local 927 struct gem *gp = netdev_priv(dev); gem_interrupt() local 954 struct gem *gp = netdev_priv(dev); gem_tx_timeout() local 982 struct gem *gp = netdev_priv(dev); gem_start_xmit() local 1098 gem_pcs_reset(struct gem * gp) gem_pcs_reset() argument 1118 gem_pcs_reinit_adv(struct gem * gp) gem_pcs_reinit_adv() argument 1163 gem_reset(struct gem * gp) gem_reset() argument 1191 gem_start_dma(struct gem * gp) gem_start_dma() argument 1215 gem_stop_dma(struct gem * gp) gem_stop_dma() argument 1236 gem_begin_auto_negotiation(struct gem * gp,const struct ethtool_link_ksettings * ep) gem_begin_auto_negotiation() argument 1327 gem_set_link_modes(struct gem * gp) gem_set_link_modes() argument 1438 gem_mdio_link_not_up(struct gem * gp) gem_mdio_link_not_up() argument 1484 struct gem *gp = timer_container_of(gp, t, link_timer); gem_link_timer() local 1555 gem_clean_rings(struct gem * gp) gem_clean_rings() argument 1605 gem_init_rings(struct gem * gp) gem_init_rings() argument 1654 gem_init_phy(struct gem * gp) gem_init_phy() argument 1731 gem_init_dma(struct gem * gp) gem_init_dma() argument 1768 gem_setup_multicast(struct gem * gp) gem_setup_multicast() argument 1800 gem_init_mac(struct gem * gp) gem_init_mac() argument 1882 gem_init_pause_thresholds(struct gem * gp) gem_init_pause_thresholds() argument 1926 gem_check_invariants(struct gem * gp) gem_check_invariants() argument 2042 gem_reinit_chip(struct gem * gp) gem_reinit_chip() argument 2062 gem_stop_phy(struct gem * gp,int wol) gem_stop_phy() argument 2131 struct gem *gp = netdev_priv(dev); gem_do_start() local 2170 struct gem *gp = netdev_priv(dev); gem_do_stop() local 2215 struct gem *gp = container_of(work, struct gem, reset_task); gem_reset_task() local 2262 struct gem *gp = netdev_priv(dev); gem_open() local 2291 struct gem *gp = netdev_priv(dev); gem_close() local 2309 struct gem *gp = netdev_priv(dev); gem_suspend() local 2350 struct gem *gp = netdev_priv(dev); gem_resume() local 2386 struct gem *gp = netdev_priv(dev); gem_get_stats() local 2424 struct gem *gp = netdev_priv(dev); gem_set_mac_address() local 2448 struct gem *gp = netdev_priv(dev); gem_set_multicast() local 2489 struct gem *gp = netdev_priv(dev); gem_change_mtu() local 2512 struct gem *gp = netdev_priv(dev); gem_get_drvinfo() local 2522 struct gem *gp = netdev_priv(dev); gem_get_link_ksettings() local 2587 struct gem *gp = netdev_priv(dev); gem_set_link_ksettings() local 2622 struct gem *gp = netdev_priv(dev); gem_nway_reset() local 2638 struct gem *gp = netdev_priv(dev); gem_get_msglevel() local 2644 struct gem *gp = netdev_priv(dev); gem_set_msglevel() local 2656 struct gem *gp = netdev_priv(dev); gem_get_wol() local 2670 struct gem *gp = netdev_priv(dev); gem_set_wol() local 2692 struct gem *gp = netdev_priv(dev); gem_ioctl() local 2773 gem_get_device_address(struct gem * gp) gem_get_device_address() argument 2804 struct gem *gp = netdev_priv(dev); gem_remove_one() local 2837 struct gem *gp; gem_init_one() local [all...] |
/linux/drivers/video/fbdev/ |
H A D | sunxvr1000.c | 1 /* sunxvr1000.c: Sun XVR-1000 fb driver for sparc64 systems 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_nod in gfb_get_props() 69 gfb_set_fbinfo(struct gfb_info * gp) gfb_set_fbinfo() argument 117 struct gfb_info *gp; gfb_probe() local [all...] |
/linux/net/phonet/ |
H A D | pep-gprs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * File: pep-gprs.c 9 * Author: Rémi Denis-Courmont 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 in gprs_writeable() 67 struct gprs_dev *gp = sk->sk_user_data; gprs_state_change() local 77 gprs_recv(struct gprs_dev * gp,struct sk_buff * skb) gprs_recv() argument 140 struct gprs_dev *gp = sk->sk_user_data; gprs_data_ready() local 153 struct gprs_dev *gp = sk->sk_user_data; gprs_write_space() local 165 struct gprs_dev *gp = netdev_priv(dev); gprs_open() local 179 struct gprs_dev *gp = netdev_priv(dev); gprs_xmit() local 244 struct gprs_dev *gp; gprs_attach() local 297 struct gprs_dev *gp = sk->sk_user_data; gprs_detach() local [all...] |
/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_nested.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Description: KVM functions specific to running nested KVM-HV guests 20 #include <asm/pte-walk.h> 27 static void kvmhv_update_ptbl_cache(struct kvm_nested_guest *gp); 32 struct kvmppc_vcore *vc = vcpu->arch.vcore; in kvmhv_save_hv_regs() 34 hr->pcr = vc->pcr | PCR_MASK; in kvmhv_save_hv_regs() 35 hr->dpde in kvmhv_save_hv_regs() 554 kvmhv_set_nested_ptbl(struct kvm_nested_guest * gp) kvmhv_set_nested_ptbl() argument 598 struct kvm_nested_guest *gp; kvmhv_copy_tofrom_guest_nested() local 670 kvmhv_update_ptbl_cache(struct kvm_nested_guest * gp) kvmhv_update_ptbl_cache() argument 713 __add_nested(struct kvm * kvm,int lpid,struct kvm_nested_guest * gp) __add_nested() argument 726 struct kvm_nested_guest *gp; kvmhv_alloc_nested() local 758 kvmhv_release_nested(struct kvm_nested_guest * gp) kvmhv_release_nested() argument 777 kvmhv_remove_nested(struct kvm_nested_guest * gp) kvmhv_remove_nested() argument 803 struct kvm_nested_guest *gp; kvmhv_release_all_nested() local 831 kvmhv_flush_nested(struct kvm_nested_guest * gp) kvmhv_flush_nested() argument 847 struct kvm_nested_guest *gp, *newgp; kvmhv_get_nested() local 887 kvmhv_put_nested(struct kvm_nested_guest * gp) kvmhv_put_nested() argument 902 struct kvm_nested_guest *gp; find_kvm_nested_guest_pte() local 1004 struct kvm_nested_guest *gp; kvmhv_remove_nest_rmap() local 1074 kvmhv_invalidate_shadow_pte(struct kvm_vcpu * vcpu,struct kvm_nested_guest * gp,long gpa,int * shift_ret) kvmhv_invalidate_shadow_pte() argument 1136 struct kvm_nested_guest *gp; kvmhv_emulate_tlbie_tlb_addr() local 1169 kvmhv_emulate_tlbie_lpid(struct kvm_vcpu * vcpu,struct kvm_nested_guest * gp,int ric) kvmhv_emulate_tlbie_lpid() argument 1202 struct kvm_nested_guest *gp; kvmhv_emulate_tlbie_all_lpid() local 1218 struct kvm_nested_guest *gp; kvmhv_emulate_priv_tlbie() local 1292 struct kvm_nested_guest *gp; do_tlb_invalidate_nested_all() local 1397 kvmhv_translate_addr_nested(struct kvm_vcpu * vcpu,struct kvm_nested_guest * gp,unsigned long n_gpa,unsigned long dsisr,struct kvmppc_pte * gpte_p) kvmhv_translate_addr_nested() argument 1459 kvmhv_handle_nested_set_rc(struct kvm_vcpu * vcpu,struct kvm_nested_guest * gp,unsigned long n_gpa,struct kvmppc_pte gpte,unsigned long dsisr) kvmhv_handle_nested_set_rc() argument 1524 __kvmhv_nested_page_fault(struct kvm_vcpu * vcpu,struct kvm_nested_guest * gp) __kvmhv_nested_page_fault() argument 1695 struct kvm_nested_guest *gp = vcpu->arch.nested; kvmhv_nested_page_fault() local [all...] |
/linux/arch/x86/um/shared/sysdep/ |
H A D | ptrace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 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)->g 50 unsigned long gp[MAX_REG_NR]; global() member [all...] |
H A D | ptrace_64.h | 3 * Copyright (C) 2003 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 27 /* Also defined in asm/ptrace-x86_64.h, but not in libc headers. So, these 42 #define UPT_R8(r) REGS_R8((r)->gp) 43 #define UPT_R9(r) REGS_R9((r)->gp) 44 #define UPT_R10(r) REGS_R10((r)->gp) 45 #define UPT_R11(r) REGS_R11((r)->gp) [all...] |
/linux/arch/x86/um/asm/ |
H A D | elf.h | 2 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 32 (((x)->e_machine == EM_386) || ((x)->e_machine == EM_486)) 48 /* Shamelessly stolen from include/asm-i386/elf.h */ 87 * Architecture-neutral AT_ values in 0-17, leave some room 88 * for more of them, start the x86-specific ones at 32. 103 /* x86-64 relocation types, taken from asm-x86_64/elf.h */ 121 #define R_X86_64_PC64 24 /* Place relative 64-bi [all...] |
/linux/drivers/input/gameport/ |
H A D | fm801-gp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 w = inw(gameport->io + 2); in fm801_gp_cooked_read() 35 axes[0] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read() 36 w = inw(gameport->io + 4); in fm801_gp_cooked_read() 37 axes[1] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read() 38 w = inw(gameport->i in fm801_gp_cooked_read() 67 struct fm801_gp *gp; fm801_gp_probe() local 118 struct fm801_gp *gp = pci_get_drvdata(pci); fm801_gp_remove() local [all...] |
/linux/arch/riscv/include/asm/ |
H A D | scs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <asm/asm-offsets.h> 10 /* Load init_shadow_call_stack to gp. */ 12 la gp, init_shadow_call_stack 13 XIP_FIXUP_OFFSET gp 16 /* Load the per-CPU IRQ shadow call stack to gp. */ 18 load_per_cpu gp, irq_shadow_call_stack_pt [all...] |
/linux/sound/pci/au88x0/ |
H A D | au88x0_game.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * e-mail - mail your message to <vojtech@suse.cz>, or by paper mail: 33 return hwread(vortex->mmio, VORTEX_GAME_LEGACY); in vortex_game_read() 39 hwwrite(vortex->mmio, VORTEX_GAME_LEGACY, 0xff); in vortex_game_trigger() 48 *buttons = (~hwread(vortex->mmi in vortex_game_cooked_read() 84 struct gameport *gp; vortex_gameport_register() local [all...] |
/linux/drivers/net/wireless/ti/wl12xx/ |
H A D | cmd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Nokia Corporation 18 struct wl12xx_priv *priv = wl->priv; in wl1271_cmd_ext_radio_parms() 19 struct wl12xx_conf_rf *rf = &priv->conf.rf; in wl1271_cmd_ext_radio_parms() 22 if (!wl->nvs) in wl1271_cmd_ext_radio_parms() 23 return -ENODEV; in wl1271_cmd_ext_radio_parms() 27 return -ENOME in wl1271_cmd_ext_radio_parms() 52 struct wl1271_ini_general_params *gp = wl1271_cmd_general_parms() local 119 struct wl128x_ini_general_params *gp = wl128x_cmd_general_parms() local 188 struct wl1271_ini_general_params *gp = &nvs->general_params; wl1271_cmd_radio_parms() local 232 struct wl128x_ini_general_params *gp = &nvs->general_params; wl128x_cmd_radio_parms() local [all...] |
/linux/kernel/rcu/ |
H A D | tree.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Read-Copy Update mechanism for mutual exclusion (tree-based version) 4 * Internal non-public definitions. 39 * Definition for node within the RCU grace-period-detection hierarchy. 45 unsigned long gp_seq; /* Track rsp->gp_seq. */ 46 unsigned long gp_seq_needed; /* Track furthest future GP reques [all...] |
/linux/drivers/gpio/ |
H A D | gpio-amd8111.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2012 Dmitry Eremin-Solenikov 80 agp->orig[offset] = ioread8(agp->pm + AMD_REG_GPIO(offset)) & in amd_gpio_request() 83 dev_dbg(&agp->pdev->dev, "Requested gpio %d, data %x\n", offset, agp->orig[offset]); in amd_gpio_request() 92 dev_dbg(&agp->pde in amd_gpio_free() 160 static struct amd_gpio gp = { global() variable [all...] |
H A D | gpio-altera-a10sr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright Intel Corporation (C) 2014-2016. All Rights Reserved 7 * Adapted from gpio-tps65910.c 11 #include <linux/mfd/altera-a10sr.h> 17 * struct altr_a10sr_gpio - Altera Max5 GPIO device private data structure 18 * @gp: : instance of the gpio_chip 22 struct gpio_chip gp; member [all...] |
/linux/arch/powerpc/boot/dts/ |
H A D | ebony.dts | 14 /dts-v1/; 17 #address-cells = <2>; 18 #size-cells = <1>; 21 dcr-parent = <&{/cpus/cpu@0}>; 31 #address-cells = <1>; 32 #size-cells = <0>; 36 model = "PowerPC,440GP"; 38 clock-frequency = <0>; // Filled in by zImage 39 timebase-frequency = <0>; // Filled in by zImage 40 i-cach [all...] |
H A D | sam440ep.dts | 16 /dts-v1/; 19 #address-cells = <2>; 20 #size-cells = <1>; 34 #address-cells = <1>; 35 #size-cells = <0>; 41 clock-frequency = <0>; /* Filled in by zImage */ 42 timebase-frequency = <0>; /* Filled in by zImage */ 43 i-cache-line-siz [all...] |
H A D | bamboo.dts | 14 /dts-v1/; 17 #address-cells = <2>; 18 #size-cells = <1>; 21 dcr-parent = <&{/cpus/cpu@0}>; 33 #address-cells = <1>; 34 #size-cells = <0>; 40 clock-frequency = <0>; /* Filled in by zImage */ 41 timebase-frequency = <0>; /* Filled in by zImage */ 42 i-cache-lin [all...] |
H A D | yosemite.dts | 12 /dts-v1/; 15 #address-cells = <2>; 16 #size-cells = <1>; 19 dcr-parent = <&{/cpus/cpu@0}>; 31 #address-cells = <1>; 32 #size-cells = <0>; 38 clock-frequency = <0>; /* Filled in by zImage */ 39 timebase-frequency = <0>; /* Filled in by zImage */ 40 i-cache-lin [all...] |
/linux/Documentation/hwmon/ |
H A D | twl4030-madc-hwmon.rst | 1 Kernel driver twl4030-madc 8 Prefix: 'twl4030-madc' 12 J Keerthy <j-keerthy@ti.com> 15 ------- [all...] |
/linux/tools/memory-model/ |
H A D | linux-kernel.cat | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * "Frightening small children and disconcerting grown-ups: Concurrency 14 "Linux-kernel memory consistency model" 28 let acq-po = [Acquire] ; po ; [M] 29 let po-rel = [M] ; po ; [Release] 30 let po-unlock-lock-p [all...] |
/linux/include/linux/ |
H A D | rcu_segcblist.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * This seemingly RCU-private file must be available to SRCU users 29 /* Complicated segmented callback lists. ;-) */ 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 start [all...] |
H A D | srcutree.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Sleepable Read-Copy Update mechanism for mutual exclusion, 27 * Per-CPU structure feeding into leaf srcu_node, similar in function 31 /* Read-side state. */ 36 /* Update-side state. */ 39 unsigned long srcu_gp_seq_needed; /* Furthest future GP needed. */ 40 unsigned long srcu_gp_seq_needed_exp; /* Furthest future exp GP. */ 47 /* ->srcu_data_have_cb [all...] |
/linux/sound/mips/ |
H A D | ad1843.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org> 35 ad1843_PDNO = { 0, 14, 1 }, /* Converter Power-Down Flag */ 177 w = ad1843->read(ad1843->chip, field->re in ad1843_read_bits() 282 const struct ad1843_gain *gp = ad1843_gain[id]; ad1843_get_gain_max() local 299 const struct ad1843_gain *gp = ad1843_gain[id]; ad1843_get_gain() local 325 const struct ad1843_gain *gp = ad1843_gain[id]; ad1843_set_gain() local [all...] |
/linux/tools/testing/selftests/kvm/x86/ |
H A D | nested_exceptions_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * the "real" exceptions used, #SS/#GP/#DF (12/13/8). 16 /* Arbitrary 32-bit error code injected by this test. */ 38 * The #GP that occurs when vectoring #SS should show the index into the IDT 77 struct vmcb *vmcb = svm->vmcb; in svm_run_l2() 78 struct vmcb_control_area *ctrl = &vmcb->control; in svm_run_l2() 80 vmcb->sav in svm_run_l2() [all...] |
/linux/fs/xfs/ |
H A D | xfs_handle.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 * Copyright (c) 2022-2024 Oracle. 38 return sizeof(struct xfs_fid) - sizeof(handle->ha_fid.fid_len); in xfs_filehandle_fid_len() 48 memcpy(&handle->ha_fsid, mp->m_fixedfsid, sizeof(struct xfs_fsid)); in xfs_filehandle_init() 50 handle->ha_fi in xfs_filehandle_init() 715 struct xfs_getparents *gp = &gpx->gph.gph_request; xfs_getparents_put_listent() local 762 struct xfs_getparents *gp = &gpx->gph.gph_request; xfs_getparents_expand_lastrec() local 778 struct xfs_getparents *gp = &gpx->gph.gph_request; xfs_getparents() local [all...] |