Home
last modified time | relevance | path

Searched refs:ag (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/net/ethernet/atheros/
H A Dag71xx.c400 static bool ag71xx_is(struct ag71xx *ag, enum ag71xx_type type) in ag71xx_is() argument
402 return ag->dcfg->type == type; in ag71xx_is()
405 static void ag71xx_wr(struct ag71xx *ag, unsigned int reg, u32 value) in ag71xx_wr() argument
407 iowrite32(value, ag->mac_base + reg); in ag71xx_wr()
409 (void)ioread32(ag->mac_base + reg); in ag71xx_wr()
412 static u32 ag71xx_rr(struct ag71xx *ag, unsigned int reg) in ag71xx_rr() argument
414 return ioread32(ag->mac_base + reg); in ag71xx_rr()
417 static void ag71xx_sb(struct ag71xx *ag, unsigned int reg, u32 mask) in ag71xx_sb() argument
421 r = ag->mac_base + reg; in ag71xx_sb()
427 static void ag71xx_cb(struct ag71xx *ag, unsigned int reg, u32 mask) in ag71xx_cb() argument
[all …]
/linux/kernel/sched/
H A Dautogroup.c51 struct autogroup *ag = container_of(kref, struct autogroup, kref); in autogroup_destroy() local
55 ag->tg->rt_se = NULL; in autogroup_destroy()
56 ag->tg->rt_rq = NULL; in autogroup_destroy()
58 sched_release_group(ag->tg); in autogroup_destroy()
59 sched_destroy_group(ag->tg); in autogroup_destroy()
62 static inline void autogroup_kref_put(struct autogroup *ag) in autogroup_kref_put() argument
64 kref_put(&ag->kref, autogroup_destroy); in autogroup_kref_put()
67 static inline struct autogroup *autogroup_kref_get(struct autogroup *ag) in autogroup_kref_get() argument
69 kref_get(&ag->kref); in autogroup_kref_get()
70 return ag; in autogroup_kref_get()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dcore.c668 struct ath12k_hw_group *ag = ab->ag; in ath12k_core_to_group_ref_get() local
670 lockdep_assert_held(&ag->mutex); in ath12k_core_to_group_ref_get()
674 ag->id); in ath12k_core_to_group_ref_get()
679 ag->num_started++; in ath12k_core_to_group_ref_get()
682 ag->id, ag->num_started); in ath12k_core_to_group_ref_get()
688 struct ath12k_hw_group *ag = ab->ag; in ath12k_core_to_group_ref_put() local
690 lockdep_assert_held(&ag->mutex); in ath12k_core_to_group_ref_put()
694 ag->id); in ath12k_core_to_group_ref_put()
699 ag->num_started--; in ath12k_core_to_group_ref_put()
702 ag->id, ag->num_started); in ath12k_core_to_group_ref_put()
[all …]
H A Dqmi.c2062 static void ath12k_host_cap_hw_link_id_init(struct ath12k_hw_group *ag) in ath12k_host_cap_hw_link_id_init() argument
2067 for (i = 0; i < ag->num_devices; i++) { in ath12k_host_cap_hw_link_id_init()
2069 ab = ag->ab[i]; in ath12k_host_cap_hw_link_id_init()
2071 for (j = 0; j < ag->num_devices; j++) { in ath12k_host_cap_hw_link_id_init()
2072 partner_ab = ag->ab[j]; in ath12k_host_cap_hw_link_id_init()
2083 ag->hw_link_id_init_done = true; in ath12k_host_cap_hw_link_id_init()
2090 struct ath12k_hw_group *ag = ab->ag; in ath12k_host_cap_parse_mlo() local
2095 if (!ag->mlo_capable) { in ath12k_host_cap_parse_mlo()
2102 ag->mlo_capable = false; in ath12k_host_cap_parse_mlo()
2119 req->mlo_group_id = ag->id; in ath12k_host_cap_parse_mlo()
[all …]
H A Dmac.h153 void ath12k_mac_destroy(struct ath12k_hw_group *ag);
154 void ath12k_mac_unregister(struct ath12k_hw_group *ag);
155 int ath12k_mac_register(struct ath12k_hw_group *ag);
156 int ath12k_mac_allocate(struct ath12k_hw_group *ag);
190 int ath12k_mac_mlo_setup(struct ath12k_hw_group *ag);
191 int ath12k_mac_mlo_ready(struct ath12k_hw_group *ag);
192 void ath12k_mac_mlo_teardown(struct ath12k_hw_group *ag);
H A Dcore.h1120 struct ath12k_hw_group *ag; member
1240 void ath12k_core_hw_group_cleanup(struct ath12k_hw_group *ag);
1269 void ath12k_core_hw_group_set_mlo_capable(struct ath12k_hw_group *ag);
1389 static inline struct ath12k_hw *ath12k_ag_to_ah(struct ath12k_hw_group *ag, int idx) in ath12k_ag_to_ah() argument
1391 return ag->ah[idx]; in ath12k_ag_to_ah()
1394 static inline void ath12k_ag_set_ah(struct ath12k_hw_group *ag, int idx, in ath12k_ag_set_ah() argument
1397 ag->ah[idx] = ah; in ath12k_ag_set_ah()
1402 return ab->ag; in ath12k_ab_to_ag()
1405 static inline struct ath12k_base *ath12k_ag_to_ab(struct ath12k_hw_group *ag, in ath12k_ag_to_ab() argument
1408 return ag->ab[device_id]; in ath12k_ag_to_ab()
H A Ddp_cmn.h94 struct ath12k_hw_group *ag);
96 struct ath12k_hw_group *ag);
H A Ddp.c1331 struct ath12k_hw_group *ag = ab->ag; in ath12k_dp_partner_cc_init() local
1334 for (i = 0; i < ag->num_devices; i++) { in ath12k_dp_partner_cc_init()
1335 if (ag->ab[i] == ab) in ath12k_dp_partner_cc_init()
1338 ath12k_dp_cmem_init(ab, ath12k_ab_to_dp(ag->ab[i]), ATH12K_DP_RX_DESC); in ath12k_dp_partner_cc_init()
1610 struct ath12k_hw_group *ag) in ath12k_dp_cmn_hw_group_unassign() argument
1612 struct ath12k_dp_hw_group *dp_hw_grp = &ag->dp_hw_grp; in ath12k_dp_cmn_hw_group_unassign()
1614 lockdep_assert_held(&ag->mutex); in ath12k_dp_cmn_hw_group_unassign()
1618 dp->ag = NULL; in ath12k_dp_cmn_hw_group_unassign()
1623 struct ath12k_hw_group *ag) in ath12k_dp_cmn_hw_group_assign() argument
1626 struct ath12k_dp_hw_group *dp_hw_grp = &ag->dp_hw_grp; in ath12k_dp_cmn_hw_group_assign()
[all …]
H A Dpci.c1700 ath12k_core_hw_group_cleanup(ab->ag); in ath12k_pci_remove()
1719 static void ath12k_pci_hw_group_power_down(struct ath12k_hw_group *ag) in ath12k_pci_hw_group_power_down() argument
1724 if (!ag) in ath12k_pci_hw_group_power_down()
1727 mutex_lock(&ag->mutex); in ath12k_pci_hw_group_power_down()
1729 for (i = 0; i < ag->num_devices; i++) { in ath12k_pci_hw_group_power_down()
1730 ab = ag->ab[i]; in ath12k_pci_hw_group_power_down()
1737 mutex_unlock(&ag->mutex); in ath12k_pci_hw_group_power_down()
1746 ath12k_pci_hw_group_power_down(ab->ag); in ath12k_pci_shutdown()
H A Dmac.c7706 if (ab->ag->num_devices == 1) { in ath12k_mac_op_sta_state()
14607 if (ab->ag->mlo_capable) { in ath12k_mac_hw_register()
14813 struct ath12k_hw_group *ag = ab->ag; in __ath12k_mac_mlo_setup() local
14819 lockdep_assert_held(&ag->mutex); in __ath12k_mac_mlo_setup()
14823 for (i = 0; i < ag->num_devices; i++) { in __ath12k_mac_mlo_setup()
14824 partner_ab = ag->ab[i]; in __ath12k_mac_mlo_setup()
14844 mlo.group_id = cpu_to_le32(ag->id); in __ath12k_mac_mlo_setup()
14849 ath12k_dbg(ab, ATH12K_DBG_MAC, "group id %d num_link %d\n", ag->id, num_link); in __ath12k_mac_mlo_setup()
14895 int ath12k_mac_mlo_setup(struct ath12k_hw_group *ag) in ath12k_mac_mlo_setup() argument
14902 for (i = 0; i < ag->num_hw; i++) { in ath12k_mac_mlo_setup()
[all …]
H A Dqmi.h649 void ath12k_qmi_reset_mlo_mem(struct ath12k_hw_group *ag);
H A Ddp.h535 struct ath12k_hw_group *ag; member
H A Dahb.c1168 ath12k_core_hw_group_cleanup(ab->ag); in ath12k_ahb_remove()
/linux/fs/jfs/
H A Djfs_extent.c316 int ag; in extBalloc() local
355 ag = BLKTOAG(daddr, sbi); in extBalloc()
358 atomic_inc(&bmp->db_active[ag]); in extBalloc()
359 ji->active_ag = ag; in extBalloc()
360 } else if (ji->active_ag != ag) { in extBalloc()
362 atomic_inc(&bmp->db_active[ag]); in extBalloc()
363 ji->active_ag = ag; in extBalloc()
H A Djfs_imap.c1706 int ag, rc; in diAllocAny() local
1713 for (ag = agno + 1; ag <= maxag; ag++) { in diAllocAny()
1714 AG_LOCK(imap, ag); in diAllocAny()
1716 rc = diAllocAG(imap, ag, dir, ip); in diAllocAny()
1718 AG_UNLOCK(imap, ag); in diAllocAny()
1726 for (ag = 0; ag < agno; ag++) { in diAllocAny()
1727 AG_LOCK(imap, ag); in diAllocAny()
1729 rc = diAllocAG(imap, ag, dir, ip); in diAllocAny()
1731 AG_UNLOCK(imap, ag); in diAllocAny()
/linux/drivers/infiniband/core/
H A Dsecurity.c674 struct ib_mad_agent *ag; in ib_mad_agent_security_change() local
677 list_for_each_entry(ag, in ib_mad_agent_security_change()
680 WRITE_ONCE(ag->smp_allowed, in ib_mad_agent_security_change()
681 !security_ib_endport_manage_subnet(ag->security, in ib_mad_agent_security_change()
682 dev_name(&ag->device->dev), ag->port_num)); in ib_mad_agent_security_change()
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Ddp_rx.c575 struct ath12k_hw_group *ag = dp->ag; in ath12k_wifi7_dp_rx_process_received_packets() local
576 struct ath12k_dp_hw_group *dp_hw_grp = &ag->dp_hw_grp; in ath12k_wifi7_dp_rx_process_received_packets()
582 struct ath12k_hw_link *hw_links = ag->hw_links; in ath12k_wifi7_dp_rx_process_received_packets()
639 struct ath12k_hw_group *ag = dp->ag; in ath12k_wifi7_dp_rx_process() local
642 struct ath12k_dp_hw_group *dp_hw_grp = &ag->dp_hw_grp; in ath12k_wifi7_dp_rx_process()
644 struct ath12k_hw_link *hw_links = ag->hw_links; in ath12k_wifi7_dp_rx_process()
1397 struct ath12k_hw_group *ag = dp->ag; in ath12k_wifi7_dp_rx_process_err() local
1398 struct ath12k_dp_hw_group *dp_hw_grp = &ag->dp_hw_grp; in ath12k_wifi7_dp_rx_process_err()
1410 struct ath12k_hw_link *hw_links = ag->hw_links; in ath12k_wifi7_dp_rx_process_err()
1828 struct ath12k_hw_group *ag = dp->ag; in ath12k_wifi7_dp_rx_process_wbm_err() local
[all …]
/linux/tools/testing/selftests/tc-testing/
H A Dtdc.py698 ag = parser.add_argument_group(
715 ag.add_argument(
718 ag.add_argument(
721 ag.add_argument(
/linux/tools/testing/selftests/efivarfs/
H A Defivarfs.sh240 declare -ag p
/linux/arch/x86/events/intel/
H A Duncore_snbep.c3851 struct attribute_group *ag) in pmu_clear_mapping_attr() argument
3856 if (groups[i] == ag) { in pmu_clear_mapping_attr()
3866 pmu_set_mapping(struct intel_uncore_type *type, struct attribute_group *ag, in pmu_set_mapping() argument
3905 ag->attrs = attrs; in pmu_set_mapping()
3917 pmu_clear_mapping_attr(type->attr_update, ag); in pmu_set_mapping()
3921 pmu_cleanup_mapping(struct intel_uncore_type *type, struct attribute_group *ag) in pmu_cleanup_mapping() argument
3923 struct attribute **attr = ag->attrs; in pmu_cleanup_mapping()
3930 kfree(attr_to_ext_attr(*ag->attrs)); in pmu_cleanup_mapping()
3931 kfree(ag->attrs); in pmu_cleanup_mapping()
3932 ag->attrs = NULL; in pmu_cleanup_mapping()
[all …]
/linux/Documentation/kernel-hacking/
H A Dfalse-sharing.rst103 $ perf c2c record -ag sleep 3
/linux/Documentation/RCU/
H A DRTFP.txt1040 https://lore.kernel.org/r/Pine.LNX.4.44.0405222141260.11106-100000@dbl.q-ag.de (cpu_quiet() patch)
1041 https://lore.kernel.org/r/200405250535.i4P5ZJo8017583@dbl.q-ag.de (0/5)
1042 https://lore.kernel.org/r/200405250535.i4P5ZKAQ017591@dbl.q-ag.de (1/5)
1044 https://lore.kernel.org/r/200405250535.i4P5ZLiR017599@dbl.q-ag.de (2/5)
1045 https://lore.kernel.org/r/200405250535.i4P5ZMFt017607@dbl.q-ag.de (3/5)
1046 https://lore.kernel.org/r/200405250535.i4P5ZN6g017615@dbl.q-ag.de (4/5)
1047 https://lore.kernel.org/r/200405250535.i4P5ZO7I017623@dbl.q-ag.de (5/5)
/linux/arch/alpha/
H A DKconfig148 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>.
/linux/Documentation/networking/device_drivers/wifi/intel/
H A Dipw2200.rst230 5 802.11ag (2915 only)
/linux/Documentation/filesystems/xfs/
H A Dxfs-self-describing-metadata.rst211 - short btree blocks have a 32 bit owner (ag number) and a 32 bit block

12