Home
last modified time | relevance | path

Searched refs:cca (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.6.21/net/mac802154/
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()
Dcfg.c133 const struct wpan_phy_cca *cca) in ieee802154_set_cca_mode() argument
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()
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),
Ddriver-ops.h263 const struct wpan_phy_cca *cca) in drv_set_cca_mode() argument
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()
/linux-6.6.21/drivers/net/wireless/ath/carl9170/
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()
Dfwcmd.h308 __le32 cca; member
/linux-6.6.21/Documentation/devicetree/bindings/net/ieee802154/
Dcc2520.txt13 - cca-gpio: GPIO spec for the CCA pin
30 cca-gpio = <&gpio1 16 0>;
/linux-6.6.21/Documentation/devicetree/bindings/gpio/
Dbrcm,xgs-iproc-gpio.yaml18 const: brcm,iproc-gpio-cca
58 compatible = "brcm,iproc-gpio-cca";
/linux-6.6.21/net/ieee802154/
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),
Drdev-ops.h88 const struct wpan_phy_cca *cca) in rdev_set_cca_mode() argument
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()
Dnl802154.c491 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.mode == NL802154_CCA_ENERGY_CARRIER) { in nl802154_set_cca_mode()
1014 cca.opt = nla_get_u32(info->attrs[NL802154_ATTR_CCA_OPT]); in nl802154_set_cca_mode()
[all …]
/linux-6.6.21/arch/mips/kernel/
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()
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-address.h133 uint64_t cca:3; /* ignored by octeon */ member
226 uint64_t cca:3; member
/linux-6.6.21/arch/mips/mm/
Dc-r4k.c1635 static int cca = -1; variable
1639 get_option(&str, &cca); in 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()
/linux-6.6.21/drivers/net/wireless/intersil/p54/
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()
Dp54.h211 u64 cca; member
/linux-6.6.21/include/net/
Dcfg802154.h52 const struct wpan_phy_cca *cca);
214 struct wpan_phy_cca cca; member
Dmac802154.h221 const struct wpan_phy_cca *cca);
/linux-6.6.21/drivers/net/ieee802154/
Datusb.c513 atusb_set_cca_mode(struct ieee802154_hw *hw, const struct wpan_phy_cca *cca) in atusb_set_cca_mode() argument
519 switch (cca->mode) { in atusb_set_cca_mode()
527 switch (cca->opt) { in atusb_set_cca_mode()
847 hw->phy->cca.mode = NL802154_CCA_ENERGY; in atusb_get_and_conf_chip()
Dcc2520.c1036 struct gpio_desc *cca; in cc2520_probe() local
1074 cca = devm_gpiod_get(&spi->dev, "cca", GPIOD_IN); in cc2520_probe()
1075 if (IS_ERR(cca)) { in cc2520_probe()
1077 ret = PTR_ERR(cca); in cc2520_probe()
Dmcr20a.c638 const struct wpan_phy_cca *cca) in mcr20a_set_cca_mode() argument
648 switch (cca->mode) { in mcr20a_set_cca_mode()
656 switch (cca->opt) { in mcr20a_set_cca_mode()
999 phy->cca.mode = NL802154_CCA_ENERGY; in mcr20a_hw_setup()
Dmrf24j40.c851 const struct wpan_phy_cca *cca) in mrf24j40_set_cca_mode() argument
857 switch (cca->mode) { in mrf24j40_set_cca_mode()
865 switch (cca->opt) { in mrf24j40_set_cca_mode()
1249 devrec->hw->phy->cca.mode = NL802154_CCA_CARRIER; in mrf24j40_phy_setup()
Dat86rf230.c1150 const struct wpan_phy_cca *cca) in at86rf230_set_cca_mode() argument
1156 switch (cca->mode) { in at86rf230_set_cca_mode()
1164 switch (cca->opt) { in at86rf230_set_cca_mode()
1464 lp->hw->phy->cca.mode = NL802154_CCA_ENERGY; in at86rf230_detect_device()
/linux-6.6.21/drivers/staging/rtl8192u/
Dr819xU_phy.c1582 priv->initgain_backup.cca = in InitialGainOperateWorkItemCallBack()
1594 priv->initgain_backup.cca); in InitialGainOperateWorkItemCallBack()
1623 (u32)priv->initgain_backup.cca); in InitialGainOperateWorkItemCallBack()
1634 priv->initgain_backup.cca); in InitialGainOperateWorkItemCallBack()
/linux-6.6.21/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h164 u8 cca; member

12