Home
last modified time | relevance | path

Searched refs:lbt (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/net/mac802154/
H A Dmac_cmd.c77 wpan_dev->lbt = params->lbt; in mac802154_set_mac_params()
118 params->lbt = wpan_dev->lbt; in mac802154_get_mac_params()
H A Diface.c159 ret = drv_set_lbt_mode(local, wpan_dev->lbt); in ieee802154_setup_hw()
245 if (wpan_dev->lbt != nwpan_dev->lbt) in ieee802154_check_mac_settings()
H A Dmain.c113 phy->supported.lbt = NL802154_SUPPORTED_BOOL_FALSE; in ieee802154_alloc_hw()
H A Dcfg.c254 wpan_dev->lbt = mode; in ieee802154_set_lbt_mode()
/openbmc/qemu/target/loongarch/
H A Dmachine.c126 VMSTATE_UINT64(env.lbt.scr0, LoongArchCPU),
127 VMSTATE_UINT64(env.lbt.scr1, LoongArchCPU),
128 VMSTATE_UINT64(env.lbt.scr2, LoongArchCPU),
129 VMSTATE_UINT64(env.lbt.scr3, LoongArchCPU),
130 VMSTATE_UINT32(env.lbt.eflags, LoongArchCPU),
131 VMSTATE_UINT32(env.lbt.ftop, LoongArchCPU),
H A Dcpu.c669 return LOONGARCH_CPU(obj)->lbt != ON_OFF_AUTO_OFF; in loongarch_get_lbt()
676 cpu->lbt = value ? ON_OFF_AUTO_ON : ON_OFF_AUTO_OFF; in loongarch_set_lbt()
701 cpu->lbt = ON_OFF_AUTO_AUTO; in loongarch_cpu_post_init()
714 cpu->lbt = ON_OFF_AUTO_OFF; in loongarch_cpu_post_init()
H A Dcpu.h308 lbt_t lbt; member
405 OnOffAuto lbt; member
/openbmc/linux/arch/loongarch/kernel/
H A Dsignal.c90 struct _ctx_layout lbt; member
238 err |= __put_user(current->thread.lbt.scr0, &regs[0]); in copy_lbt_to_sigcontext()
239 err |= __put_user(current->thread.lbt.scr1, &regs[1]); in copy_lbt_to_sigcontext()
240 err |= __put_user(current->thread.lbt.scr2, &regs[2]); in copy_lbt_to_sigcontext()
241 err |= __put_user(current->thread.lbt.scr3, &regs[3]); in copy_lbt_to_sigcontext()
242 err |= __put_user(current->thread.lbt.eflags, eflags); in copy_lbt_to_sigcontext()
253 err |= __get_user(current->thread.lbt.scr0, &regs[0]); in copy_lbt_from_sigcontext()
254 err |= __get_user(current->thread.lbt.scr1, &regs[1]); in copy_lbt_from_sigcontext()
255 err |= __get_user(current->thread.lbt.scr2, &regs[2]); in copy_lbt_from_sigcontext()
256 err |= __get_user(current->thread.lbt.scr3, &regs[3]); in copy_lbt_from_sigcontext()
[all …]
H A Dptrace.c349 r = membuf_write(&to, &target->thread.lbt.scr0, sizeof(target->thread.lbt.scr0)); in lbt_get()
350 r = membuf_write(&to, &target->thread.lbt.scr1, sizeof(target->thread.lbt.scr1)); in lbt_get()
351 r = membuf_write(&to, &target->thread.lbt.scr2, sizeof(target->thread.lbt.scr2)); in lbt_get()
352 r = membuf_write(&to, &target->thread.lbt.scr3, sizeof(target->thread.lbt.scr3)); in lbt_get()
353 r = membuf_write(&to, &target->thread.lbt.eflags, sizeof(u32)); in lbt_get()
365 const int eflags_start = 4 * sizeof(target->thread.lbt.scr0); in lbt_set()
369 &target->thread.lbt.scr0, in lbt_set()
370 0, 4 * sizeof(target->thread.lbt.scr0)); in lbt_set()
372 &target->thread.lbt.eflags, in lbt_set()
H A Dgenex.S91 BUILD_HANDLER lbt lbt none
H A Dprocess.c132 memcpy(dst, src, offsetof(struct task_struct, thread.lbt.scr0)); in arch_dup_task_struct()
135 memcpy(&dst->thread.lbt, &src->thread.lbt, sizeof(struct loongarch_lbt)); in arch_dup_task_struct()
H A DMakefile18 obj-$(CONFIG_CPU_HAS_LBT) += lbt.o
/openbmc/qemu/target/loongarch/kvm/
H A Dkvm.c541 ret = kvm_set_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR0, &env->lbt.scr0); in kvm_loongarch_put_lbt()
542 ret |= kvm_set_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR1, &env->lbt.scr1); in kvm_loongarch_put_lbt()
543 ret |= kvm_set_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR2, &env->lbt.scr2); in kvm_loongarch_put_lbt()
544 ret |= kvm_set_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR3, &env->lbt.scr3); in kvm_loongarch_put_lbt()
549 val = env->lbt.eflags; in kvm_loongarch_put_lbt()
551 val = env->lbt.ftop; in kvm_loongarch_put_lbt()
569 ret = kvm_get_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR0, &env->lbt.scr0); in kvm_loongarch_get_lbt()
570 ret |= kvm_get_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR1, &env->lbt.scr1); in kvm_loongarch_get_lbt()
571 ret |= kvm_get_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR2, &env->lbt.scr2); in kvm_loongarch_get_lbt()
572 ret |= kvm_get_one_reg(cs, KVM_REG_LOONGARCH_LBT_SCR3, &env->lbt.scr3); in kvm_loongarch_get_lbt()
[all …]
/openbmc/linux/arch/loongarch/include/asm/
H A Dlbt.h59 _restore_lbt(&current->thread.lbt); in own_lbt_inatomic()
74 _save_lbt(&tsk->thread.lbt); in lose_lbt_inatomic()
H A Dprocessor.h138 struct loongarch_lbt lbt; /* Also conditionally copied */ member
/openbmc/linux/include/net/
H A Dcfg802154.h147 enum nl802154_supported_bool_states lbt; member
478 bool lbt; member
H A Dieee802154_netdev.h370 bool lbt; member
/openbmc/linux/net/ieee802154/
H A Dnl-mac.c117 nla_put_u8(msg, IEEE802154_ATTR_LBT_ENABLED, params.lbt) || in ieee802154_nl_fill_iface()
509 params.lbt = nla_get_u8(info->attrs[IEEE802154_ATTR_LBT_ENABLED]); in ieee802154_set_macparams()
H A Dnl802154.c442 nla_put_u32(msg, NL802154_CAP_ATTR_LBT, caps->lbt)) in nl802154_put_capabilities()
834 if (nla_put_u8(msg, NL802154_ATTR_LBT_MODE, wpan_dev->lbt)) in nl802154_send_iface()
1243 if (!wpan_phy_supported_bool(mode, rdev->wpan_phy.supported.lbt)) in nl802154_set_lbt_mode()
/openbmc/linux/drivers/net/ieee802154/
H A Datusb.c883 atusb->hw->phy->supported.lbt = NL802154_SUPPORTED_BOOL_BOTH; in atusb_get_and_conf_chip()
H A Dat86rf230.c1488 lp->hw->phy->supported.lbt = NL802154_SUPPORTED_BOOL_BOTH; in at86rf230_detect_device()
/openbmc/linux/
H A Dopengrok0.0.log[all...]
H A Dopengrok1.0.log[all...]