/linux/net/mac802154/ |
A D | mac_cmd.c | 69 wpan_dev->wpan_phy->cca = params->cca; in mac802154_set_mac_params() 86 ret = drv_set_cca_mode(local, ¶ms->cca); in mac802154_set_mac_params() 110 params->cca = wpan_dev->wpan_phy->cca; in mac802154_get_mac_params()
|
A D | cfg.c | 128 const struct wpan_phy_cca *cca) in ieee802154_set_cca_mode() argument 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()
|
A D | trace.h | 26 (__entry->cca_mode) = cca->mode; \ 27 (__entry->cca_opt) = cca->opt; \ 97 const struct wpan_phy_cca *cca), 98 TP_ARGS(local, cca),
|
A D | driver-ops.h | 89 const struct wpan_phy_cca *cca) in drv_set_cca_mode() argument 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()
|
/linux/drivers/net/wireless/ath/carl9170/ |
A D | cmd.c | 184 ar->tally.cca += le32_to_cpu(tally.cca) / tick; in carl9170_collect_tally() 192 info->time_busy = ar->tally.cca; in carl9170_collect_tally()
|
A D | fwcmd.h | 308 __le32 cca; member
|
/linux/net/ieee802154/ |
A D | trace.h | 32 (__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),
|
A D | rdev-ops.h | 88 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()
|
A D | nl802154.c | 472 rdev->wpan_phy.cca.mode)) 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 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.mode == NL802154_CCA_ENERGY_CARRIER) { in nl802154_set_cca_mode() 996 cca.opt = nla_get_u32(info->attrs[NL802154_ATTR_CCA_OPT]); in nl802154_set_cca_mode() 997 if (cca.opt > NL802154_CCA_OPT_ATTR_MAX || in nl802154_set_cca_mode() 998 !(rdev->wpan_phy.supported.cca_opts & BIT(cca.opt))) in nl802154_set_cca_mode() [all …]
|
/linux/Documentation/devicetree/bindings/net/ieee802154/ |
A D | cc2520.txt | 13 - cca-gpio: GPIO spec for the CCA pin 30 cca-gpio = <&gpio1 16 0>;
|
/linux/Documentation/devicetree/bindings/gpio/ |
A D | brcm,xgs-iproc-gpio.yaml | 18 const: brcm,iproc-gpio-cca 58 compatible = "brcm,iproc-gpio-cca";
|
/linux/arch/mips/kernel/ |
A D | smp-cps.c | 121 unsigned ncores, core_vpes, c, cca; in cps_prepare_cpus() local 128 cca = read_c0_config() & CONF_CM_CMASK; in cps_prepare_cpus() 129 switch (cca) { in cps_prepare_cpus() 164 uasm_i_addiu(&entry_code, 16, 0, cca); in cps_prepare_cpus()
|
/linux/arch/mips/include/asm/octeon/ |
A D | cvmx-address.h | 133 uint64_t cca:3; /* ignored by octeon */ member 226 uint64_t cca:3; member
|
/linux/include/linux/spi/ |
A D | cc2520.h | 15 int cca; member
|
/linux/arch/mips/mm/ |
A D | c-r4k.c | 1790 static int cca = -1; variable 1794 get_option(&str, &cca); in cca_setup() 1803 if (cca < 0 || cca > 7) in coherency_setup() 1804 cca = read_c0_config() & CONF_CM_CMASK; in coherency_setup() 1805 _page_cachable_default = cca << _CACHE_SHIFT; in coherency_setup() 1807 pr_debug("Using cache attribute %d\n", cca); in coherency_setup() 1808 change_c0_config(CONF_CM_CMASK, cca); in coherency_setup()
|
/linux/drivers/net/wireless/intersil/p54/ |
A D | txrx.c | 522 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()
|
/linux/include/net/ |
A D | cfg802154.h | 50 const struct wpan_phy_cca *cca); 197 struct wpan_phy_cca cca; member
|
A D | mac802154.h | 225 const struct wpan_phy_cca *cca);
|
/linux/arch/mips/configs/ |
A D | tb0226_defconfig | 72 CONFIG_CMDLINE="cca=3 mem=32M console=ttyVR0,115200"
|
A D | tb0219_defconfig | 77 CONFIG_CMDLINE="cca=3 mem=64M console=ttyVR0,115200 ip=any root=/dev/nfs"
|
A D | tb0287_defconfig | 85 CONFIG_CMDLINE="cca=3 mem=64M console=ttyVR0,115200 ip=any root=/dev/nfs"
|
/linux/drivers/net/ieee802154/ |
A D | atusb.c | 549 atusb_set_cca_mode(struct ieee802154_hw *hw, const struct wpan_phy_cca *cca) in atusb_set_cca_mode() argument 555 switch (cca->mode) { in atusb_set_cca_mode() 563 switch (cca->opt) { in atusb_set_cca_mode() 905 hw->phy->cca.mode = NL802154_CCA_ENERGY; in atusb_get_and_conf_chip()
|
A D | mcr20a.c | 638 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() 1003 phy->cca.mode = NL802154_CCA_ENERGY; in mcr20a_hw_setup()
|
A D | mrf24j40.c | 851 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()
|
/linux/drivers/staging/rtl8192u/ |
A D | r819xU_phy.c | 1669 priv->initgain_backup.cca = in InitialGainOperateWorkItemCallBack() 1681 priv->initgain_backup.cca); in InitialGainOperateWorkItemCallBack() 1710 (u32)priv->initgain_backup.cca); in InitialGainOperateWorkItemCallBack() 1721 priv->initgain_backup.cca); in InitialGainOperateWorkItemCallBack()
|