Searched refs:swt (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/iio/trigger/ |
D | iio-trig-loop.c | 34 struct iio_sw_trigger swt; member 87 trig_info->swt.trigger = iio_trigger_alloc(NULL, "%s", name); in iio_trig_loop_probe() 88 if (!trig_info->swt.trigger) { in iio_trig_loop_probe() 93 iio_trigger_set_drvdata(trig_info->swt.trigger, trig_info); in iio_trig_loop_probe() 94 trig_info->swt.trigger->ops = &iio_loop_trigger_ops; in iio_trig_loop_probe() 96 ret = iio_trigger_register(trig_info->swt.trigger); in iio_trig_loop_probe() 100 iio_swt_group_init_type_name(&trig_info->swt, name, &iio_loop_type); in iio_trig_loop_probe() 102 return &trig_info->swt; in iio_trig_loop_probe() 105 iio_trigger_free(trig_info->swt.trigger); in iio_trig_loop_probe() 112 static int iio_trig_loop_remove(struct iio_sw_trigger *swt) in iio_trig_loop_remove() argument [all …]
|
D | iio-trig-hrtimer.c | 26 struct iio_sw_trigger swt; member 105 iio_trigger_poll(info->swt.trigger); in iio_hrtimer_trig_handler() 138 trig_info->swt.trigger = iio_trigger_alloc(NULL, "%s", name); in iio_trig_hrtimer_probe() 139 if (!trig_info->swt.trigger) { in iio_trig_hrtimer_probe() 144 iio_trigger_set_drvdata(trig_info->swt.trigger, trig_info); in iio_trig_hrtimer_probe() 145 trig_info->swt.trigger->ops = &iio_hrtimer_trigger_ops; in iio_trig_hrtimer_probe() 146 trig_info->swt.trigger->dev.groups = iio_hrtimer_attr_groups; in iio_trig_hrtimer_probe() 154 ret = iio_trigger_register(trig_info->swt.trigger); in iio_trig_hrtimer_probe() 158 iio_swt_group_init_type_name(&trig_info->swt, name, &iio_hrtimer_type); in iio_trig_hrtimer_probe() 159 return &trig_info->swt; in iio_trig_hrtimer_probe() [all …]
|
/linux-6.12.1/Documentation/translations/zh_CN/iio/ |
D | iio_configfs.rst | 61 static int iio_trig_sample_remove(struct iio_sw_trigger *swt)
|
/linux-6.12.1/Documentation/iio/ |
D | iio_configfs.rst | 56 static int iio_trig_sample_remove(struct iio_sw_trigger *swt)
|
/linux-6.12.1/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 1821 struct hns_roce_vf_switch *swt; in __hns_roce_set_vf_switch_param() local 1825 swt = (struct hns_roce_vf_switch *)desc.data; in __hns_roce_set_vf_switch_param() 1827 swt->rocee_sel |= cpu_to_le32(HNS_ICL_SWITCH_CMD_ROCEE_SEL); in __hns_roce_set_vf_switch_param() 1828 hr_reg_write(swt, VF_SWITCH_VF_ID, vf_id); in __hns_roce_set_vf_switch_param() 1835 hr_reg_enable(swt, VF_SWITCH_ALW_LPBK); in __hns_roce_set_vf_switch_param() 1836 hr_reg_clear(swt, VF_SWITCH_ALW_LCL_LPBK); in __hns_roce_set_vf_switch_param() 1837 hr_reg_enable(swt, VF_SWITCH_ALW_DST_OVRD); in __hns_roce_set_vf_switch_param()
|