Home
last modified time | relevance | path

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

12

/linux/net/mac802154/
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()
A 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()
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),
A 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()
/linux/drivers/net/wireless/ath/carl9170/
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()
A Dfwcmd.h308 __le32 cca; member
/linux/net/ieee802154/
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),
A 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()
A Dnl802154.c472 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 Dcc2520.txt13 - cca-gpio: GPIO spec for the CCA pin
30 cca-gpio = <&gpio1 16 0>;
/linux/Documentation/devicetree/bindings/gpio/
A Dbrcm,xgs-iproc-gpio.yaml18 const: brcm,iproc-gpio-cca
58 compatible = "brcm,iproc-gpio-cca";
/linux/arch/mips/kernel/
A Dsmp-cps.c121 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 Dcvmx-address.h133 uint64_t cca:3; /* ignored by octeon */ member
226 uint64_t cca:3; member
/linux/include/linux/spi/
A Dcc2520.h15 int cca; member
/linux/arch/mips/mm/
A Dc-r4k.c1790 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 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()
/linux/include/net/
A Dcfg802154.h50 const struct wpan_phy_cca *cca);
197 struct wpan_phy_cca cca; member
A Dmac802154.h225 const struct wpan_phy_cca *cca);
/linux/arch/mips/configs/
A Dtb0226_defconfig72 CONFIG_CMDLINE="cca=3 mem=32M console=ttyVR0,115200"
A Dtb0219_defconfig77 CONFIG_CMDLINE="cca=3 mem=64M console=ttyVR0,115200 ip=any root=/dev/nfs"
A Dtb0287_defconfig85 CONFIG_CMDLINE="cca=3 mem=64M console=ttyVR0,115200 ip=any root=/dev/nfs"
/linux/drivers/net/ieee802154/
A 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()
A 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()
A 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()
/linux/drivers/staging/rtl8192u/
A Dr819xU_phy.c1669 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()

Completed in 59 milliseconds

12