Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c128 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()
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.h89 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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ieee802154/
Dcc2520.txt13 - cca-gpio: GPIO spec for the CCA pin
30 cca-gpio = <&gpio1 16 0>;
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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.c472 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.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()
[all …]
/kernel/linux/linux-5.10/arch/mips/kernel/
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-5.10/include/linux/spi/
Dcc2520.h15 int cca; member
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-address.h133 uint64_t cca:3; /* ignored by octeon */ member
226 uint64_t cca:3; member
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
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()
Dp54.h211 u64 cca; member
/kernel/linux/linux-5.10/arch/mips/mm/
Dc-r4k.c1793 static int cca = -1; variable
1797 get_option(&str, &cca); in 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-5.10/include/net/
Dcfg802154.h50 const struct wpan_phy_cca *cca);
197 struct wpan_phy_cca cca; member
Dmac802154.h225 const struct wpan_phy_cca *cca);
/kernel/linux/linux-5.10/arch/mips/configs/
Dtb0226_defconfig72 CONFIG_CMDLINE="cca=3 mem=32M console=ttyVR0,115200"
Dtb0219_defconfig77 CONFIG_CMDLINE="cca=3 mem=64M console=ttyVR0,115200 ip=any root=/dev/nfs"
Dtb0287_defconfig85 CONFIG_CMDLINE="cca=3 mem=64M console=ttyVR0,115200 ip=any root=/dev/nfs"
/kernel/linux/linux-5.10/drivers/net/ieee802154/
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()
1003 phy->cca.mode = NL802154_CCA_ENERGY; in mcr20a_hw_setup()
Datusb.c549 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()
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()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/
Dr819xU_phy.c1643 priv->initgain_backup.cca = in InitialGainOperateWorkItemCallBack()
1655 priv->initgain_backup.cca); in InitialGainOperateWorkItemCallBack()
1684 (u32)priv->initgain_backup.cca); in InitialGainOperateWorkItemCallBack()
1695 priv->initgain_backup.cca); in InitialGainOperateWorkItemCallBack()

12