Home
last modified time | relevance | path

Searched refs:fct (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/macintosh/
Dwindfarm_smu_controls.c111 struct smu_fan_control *fct = to_smu_fan(ct); in smu_fan_release() local
113 kfree(fct); in smu_fan_release()
118 struct smu_fan_control *fct = to_smu_fan(ct); in smu_fan_set() local
120 if (value < fct->min) in smu_fan_set()
121 value = fct->min; in smu_fan_set()
122 if (value > fct->max) in smu_fan_set()
123 value = fct->max; in smu_fan_set()
124 fct->value = value; in smu_fan_set()
126 return smu_set_fan(fct->fan_type, fct->reg, value); in smu_fan_set()
131 struct smu_fan_control *fct = to_smu_fan(ct); in smu_fan_get() local
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dsar.c152 static s8 rtw89_txpwr_sar_to_mac(struct rtw89_dev *rtwdev, u8 fct, s32 cfg) in rtw89_txpwr_sar_to_mac() argument
157 cfg_mac = fct > fct_mac ? in rtw89_txpwr_sar_to_mac()
158 cfg >> (fct - fct_mac) : cfg << (fct_mac - fct); in rtw89_txpwr_sar_to_mac()
168 const u8 fct = sar_hdl->txpwr_factor_sar; in rtw89_txpwr_tas_to_sar() local
170 if (fct > RTW89_TAS_FACTOR) in rtw89_txpwr_tas_to_sar()
171 return cfg << (fct - RTW89_TAS_FACTOR); in rtw89_txpwr_tas_to_sar()
173 return cfg >> (RTW89_TAS_FACTOR - fct); in rtw89_txpwr_tas_to_sar()
179 const u8 fct = sar_hdl->txpwr_factor_sar; in rtw89_txpwr_sar_to_tas() local
181 if (fct > RTW89_TAS_FACTOR) in rtw89_txpwr_sar_to_tas()
182 return cfg >> (fct - RTW89_TAS_FACTOR); in rtw89_txpwr_sar_to_tas()
[all …]
Ddebug.c533 u8 fct = rtwdev->chip->txpwr_factor_mac; in __print_txpwr_map() local
559 buf[cur + i] = tmp >> fct; in __print_txpwr_map()
/linux-6.6.21/drivers/misc/cxl/
Dtrace.h517 TP_PROTO(u64 unit_address, char *fct, u64 p1, u64 p2, u64 p3,
520 TP_ARGS(unit_address, fct, p1, p2, p3, p4, r4, rc),
524 __field(char *, fct)
535 __entry->fct = fct;
546 __entry->fct,
598 TP_PROTO(u64 unit_address, char *fct, u64 p1, u64 p2, u64 p3,
600 TP_ARGS(unit_address, fct, p1, p2, p3, p4, r4, rc)
646 TP_PROTO(u64 unit_address, char *fct, u64 p1, u64 p2, u64 p3,
648 TP_ARGS(unit_address, fct, p1, p2, p3, p4, r4, rc)
652 TP_PROTO(u64 unit_address, char *fct, u64 list_address, u64 num,
[all …]
Dflash.c229 long (*fct)(u64, u64, u64, u64 *), in handle_image()
312 rc = fct(adapter->guest->handle, virt_to_phys(le), entries, in handle_image()
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dsar.c41 static s8 rtw_sar_to_phy(struct rtw_dev *rtwdev, u8 fct, s32 sar, in rtw_sar_to_phy() argument
50 tmp = fct > txgi ? sar >> (fct - txgi) : sar << (txgi - fct); in rtw_sar_to_phy()
/linux-6.6.21/samples/trace_events/
Dtrace_custom_sched.c39 static void fct(struct tracepoint *tp, void *priv) in fct() function
47 for_each_kernel_tracepoint(fct, NULL); in trace_sched_init()
/linux-6.6.21/kernel/
Dtracepoint.c559 void (*fct)(struct tracepoint *tp, void *priv), in for_each_tracepoint_range()
567 fct(tracepoint_ptr_deref(iter), priv); in for_each_tracepoint_range()
745 void for_each_kernel_tracepoint(void (*fct)(struct tracepoint *tp, void *priv), in for_each_kernel_tracepoint()
749 __stop___tracepoints_ptrs, fct, priv); in for_each_kernel_tracepoint()
/linux-6.6.21/drivers/net/wwan/iosm/
Diosm_ipc_mux_codec.c388 struct ipc_mem_lite_gen_tbl *fct = (struct ipc_mem_lite_gen_tbl *)block; in ipc_mux_dl_fcth_decode() local
393 if (fct->vfl_length != sizeof(fct->vfl.nr_of_bytes)) { in ipc_mux_dl_fcth_decode()
395 fct->vfl_length); in ipc_mux_dl_fcth_decode()
399 if_id = fct->if_id; in ipc_mux_dl_fcth_decode()
413 ul_credits = le32_to_cpu(fct->vfl.nr_of_bytes); in ipc_mux_dl_fcth_decode()
/linux-6.6.21/include/linux/
Dtracepoint.h56 for_each_kernel_tracepoint(void (*fct)(struct tracepoint *tp, void *priv),