Home
last modified time | relevance | path

Searched refs:cca (Results 1 - 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/net/mac802154/
H A Dmac_cmd.c69 wpan_dev->wpan_phy->cca = params->cca; in mac802154_set_mac_params()
86 ret = drv_set_cca_mode(local, &params->cca); in mac802154_set_mac_params()
110 params->cca = wpan_dev->wpan_phy->cca; in mac802154_get_mac_params()
H A Dcfg.c128 const struct wpan_phy_cca *cca) in ieee802154_set_cca_mode()
135 if (wpan_phy_cca_cmp(&wpan_phy->cca, cca)) in ieee802154_set_cca_mode()
138 ret = drv_set_cca_mode(local, cca); in ieee802154_set_cca_mode()
140 wpan_phy->cca = *cca; in ieee802154_set_cca_mode()
127 ieee802154_set_cca_mode(struct wpan_phy *wpan_phy, const struct wpan_phy_cca *cca) ieee802154_set_cca_mode() argument
H A Dtrace.h26 (__entry->cca_mode) = cca->mode; \
27 (__entry->cca_opt) = cca->opt; \
97 const struct wpan_phy_cca *cca),
98 TP_ARGS(local, cca),
H A Ddriver-ops.h89 const struct wpan_phy_cca *cca) in drv_set_cca_mode()
100 trace_802154_drv_set_cca_mode(local, cca); in drv_set_cca_mode()
101 ret = local->ops->set_cca_mode(&local->hw, cca); in drv_set_cca_mode()
88 drv_set_cca_mode(struct ieee802154_local *local, const struct wpan_phy_cca *cca) drv_set_cca_mode() argument
/kernel/linux/linux-6.6/net/mac802154/
H A Dmac_cmd.c69 wpan_dev->wpan_phy->cca = params->cca; in mac802154_set_mac_params()
86 ret = drv_set_cca_mode(local, &params->cca); in mac802154_set_mac_params()
110 params->cca = wpan_dev->wpan_phy->cca; in mac802154_get_mac_params()
H A Dcfg.c133 const struct wpan_phy_cca *cca) in ieee802154_set_cca_mode()
140 if (wpan_phy_cca_cmp(&wpan_phy->cca, cca)) in ieee802154_set_cca_mode()
143 ret = drv_set_cca_mode(local, cca); in ieee802154_set_cca_mode()
145 wpan_phy->cca = *cca; in ieee802154_set_cca_mode()
132 ieee802154_set_cca_mode(struct wpan_phy *wpan_phy, const struct wpan_phy_cca *cca) ieee802154_set_cca_mode() argument
H A Dtrace.h26 (__entry->cca_mode) = cca->mode; \
27 (__entry->cca_opt) = cca->opt; \
97 const struct wpan_phy_cca *cca),
98 TP_ARGS(local, cca),
H A Ddriver-ops.h263 const struct wpan_phy_cca *cca) in drv_set_cca_mode()
274 trace_802154_drv_set_cca_mode(local, cca); in drv_set_cca_mode()
275 ret = local->ops->set_cca_mode(&local->hw, cca); in drv_set_cca_mode()
262 drv_set_cca_mode(struct ieee802154_local *local, const struct wpan_phy_cca *cca) drv_set_cca_mode() argument
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
H A Dcmd.c184 ar->tally.cca += le32_to_cpu(tally.cca) / tick; in carl9170_collect_tally()
192 info->time_busy = ar->tally.cca; in carl9170_collect_tally()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/
H A Dcmd.c184 ar->tally.cca += le32_to_cpu(tally.cca) / tick; in carl9170_collect_tally()
192 info->time_busy = ar->tally.cca; in carl9170_collect_tally()
/kernel/linux/linux-5.10/net/ieee802154/
H A Dtrace.h32 (__entry->cca_mode) = cca->mode; \
33 (__entry->cca_opt) = cca->opt; \
135 TP_PROTO(struct wpan_phy *wpan_phy, const struct wpan_phy_cca *cca),
136 TP_ARGS(wpan_phy, cca),
H A Drdev-ops.h88 const struct wpan_phy_cca *cca) in rdev_set_cca_mode()
92 trace_802154_rdev_set_cca_mode(&rdev->wpan_phy, cca); in rdev_set_cca_mode()
93 ret = rdev->ops->set_cca_mode(&rdev->wpan_phy, cca); in rdev_set_cca_mode()
87 rdev_set_cca_mode(struct cfg802154_registered_device *rdev, const struct wpan_phy_cca *cca) rdev_set_cca_mode() argument
H A Dnl802154.c469 /* cca mode */ in nl802154_send_wpan_phy()
472 rdev->wpan_phy.cca.mode)) in nl802154_send_wpan_phy()
475 if (rdev->wpan_phy.cca.mode == NL802154_CCA_ENERGY_CARRIER) { in nl802154_send_wpan_phy()
477 rdev->wpan_phy.cca.opt)) in nl802154_send_wpan_phy()
977 struct wpan_phy_cca cca; in nl802154_set_cca_mode() local
985 cca.mode = nla_get_u32(info->attrs[NL802154_ATTR_CCA_MODE]); in nl802154_set_cca_mode()
987 if (cca.mode < NL802154_CCA_ENERGY || in nl802154_set_cca_mode()
988 cca.mode > NL802154_CCA_ATTR_MAX || in nl802154_set_cca_mode()
989 !(rdev->wpan_phy.supported.cca_modes & BIT(cca.mode))) in nl802154_set_cca_mode()
992 if (cca in nl802154_set_cca_mode()
[all...]
/kernel/linux/linux-5.10/include/linux/spi/
H A Dcc2520.h15 int cca; member
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dsmp-cps.c120 unsigned ncores, core_vpes, c, cca; in cps_prepare_cpus() local
127 cca = read_c0_config() & CONF_CM_CMASK; in cps_prepare_cpus()
128 switch (cca) { in cps_prepare_cpus()
163 uasm_i_addiu(&entry_code, 16, 0, cca); in cps_prepare_cpus()
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dsmp-cps.c111 unsigned ncores, core_vpes, c, cca; in cps_prepare_cpus() local
118 cca = read_c0_config() & CONF_CM_CMASK; in cps_prepare_cpus()
119 switch (cca) { in cps_prepare_cpus()
154 uasm_i_addiu(&entry_code, 16, 0, cca); in cps_prepare_cpus()
/kernel/linux/linux-6.6/net/ieee802154/
H A Dtrace.h32 (__entry->cca_mode) = cca->mode; \
33 (__entry->cca_opt) = cca->opt; \
135 TP_PROTO(struct wpan_phy *wpan_phy, const struct wpan_phy_cca *cca),
136 TP_ARGS(wpan_phy, cca),
H A Drdev-ops.h88 const struct wpan_phy_cca *cca) in rdev_set_cca_mode()
92 trace_802154_rdev_set_cca_mode(&rdev->wpan_phy, cca); in rdev_set_cca_mode()
93 ret = rdev->ops->set_cca_mode(&rdev->wpan_phy, cca); in rdev_set_cca_mode()
87 rdev_set_cca_mode(struct cfg802154_registered_device *rdev, const struct wpan_phy_cca *cca) rdev_set_cca_mode() argument
H A Dnl802154.c488 /* cca mode */ in nl802154_send_wpan_phy()
491 rdev->wpan_phy.cca.mode)) in nl802154_send_wpan_phy()
494 if (rdev->wpan_phy.cca.mode == NL802154_CCA_ENERGY_CARRIER) { in nl802154_send_wpan_phy()
496 rdev->wpan_phy.cca.opt)) in nl802154_send_wpan_phy()
995 struct wpan_phy_cca cca; in nl802154_set_cca_mode() local
1003 cca.mode = nla_get_u32(info->attrs[NL802154_ATTR_CCA_MODE]); in nl802154_set_cca_mode()
1005 if (cca.mode < NL802154_CCA_ENERGY || in nl802154_set_cca_mode()
1006 cca.mode > NL802154_CCA_ATTR_MAX || in nl802154_set_cca_mode()
1007 !(rdev->wpan_phy.supported.cca_modes & BIT(cca.mode))) in nl802154_set_cca_mode()
1010 if (cca in nl802154_set_cca_mode()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
H A Dtxrx.c522 unsigned int i, rssi, tx, cca, dtime, dtotal, dcca, dtx, drssi, unit; in p54_rx_stats() local
551 cca = le32_to_cpu(stats->sample_cca); in p54_rx_stats()
557 dcca = cca - priv->survey_raw.cached_cca; in p54_rx_stats()
573 priv->survey_raw.cca += dcca * unit; in p54_rx_stats()
574 priv->survey_raw.cached_cca = cca; in p54_rx_stats()
599 priv->survey_raw.cca; in p54_rx_stats()
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/p54/
H A Dtxrx.c518 unsigned int i, rssi, tx, cca, dtime, dtotal, dcca, dtx, drssi, unit; in p54_rx_stats() local
547 cca = le32_to_cpu(stats->sample_cca); in p54_rx_stats()
553 dcca = cca - priv->survey_raw.cached_cca; in p54_rx_stats()
569 priv->survey_raw.cca += dcca * unit; in p54_rx_stats()
570 priv->survey_raw.cached_cca = cca; in p54_rx_stats()
595 priv->survey_raw.cca; in p54_rx_stats()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
H A Dcvmx-address.h133 uint64_t cca:3; /* ignored by octeon */ member
226 uint64_t cca:3; member
/kernel/linux/linux-6.6/arch/mips/include/asm/octeon/
H A Dcvmx-address.h133 uint64_t cca:3; /* ignored by octeon */ member
226 uint64_t cca:3; member
/kernel/linux/linux-5.10/arch/mips/mm/
H A Dc-r4k.c1793 static int cca = -1; variable
1797 get_option(&str, &cca); in cca_setup()
1802 early_param("cca", cca_setup);
1806 if (cca < 0 || cca > 7) in coherency_setup()
1807 cca = read_c0_config() & CONF_CM_CMASK; in coherency_setup()
1808 _page_cachable_default = cca << _CACHE_SHIFT; in coherency_setup()
1810 pr_debug("Using cache attribute %d\n", cca); in coherency_setup()
1811 change_c0_config(CONF_CM_CMASK, cca); in coherency_setup()
/kernel/linux/linux-6.6/arch/mips/mm/
H A Dc-r4k.c1635 static int cca = -1; variable
1639 get_option(&str, &cca); in cca_setup()
1644 early_param("cca", cca_setup);
1648 if (cca < 0 || cca > 7) in coherency_setup()
1649 cca = read_c0_config() & CONF_CM_CMASK; in coherency_setup()
1650 _page_cachable_default = cca << _CACHE_SHIFT; in coherency_setup()
1652 pr_debug("Using cache attribute %d\n", cca); in coherency_setup()
1653 change_c0_config(CONF_CM_CMASK, cca); in coherency_setup()

Completed in 24 milliseconds

1234