Home
last modified time | relevance | path

Searched +defs:val +defs:table (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/linux-6.14.4/drivers/clk/
Dclk-divider.c37 static inline void clk_div_writel(struct clk_divider *divider, u32 val) in clk_div_writel()
45 static unsigned int _get_table_maxdiv(const struct clk_div_table *table, in _get_table_maxdiv()
57 static unsigned int _get_table_mindiv(const struct clk_div_table *table) in _get_table_mindiv()
68 static unsigned int _get_maxdiv(const struct clk_div_table *table, u8 width, in _get_maxdiv()
82 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div()
83 unsigned int val) in _get_table_div()
93 static unsigned int _get_div(const struct clk_div_table *table, in _get_div()
94 unsigned int val, unsigned long flags, u8 width) in _get_div()
109 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val()
120 static unsigned int _get_val(const struct clk_div_table *table, in _get_val()
[all …]
Dclk-mux.c35 static inline void clk_mux_writel(struct clk_mux *mux, u32 val) in clk_mux_writel()
43 int clk_mux_val_to_index(struct clk_hw *hw, const u32 *table, unsigned int flags, in clk_mux_val_to_index()
44 unsigned int val) in clk_mux_val_to_index()
70 unsigned int clk_mux_index_to_val(const u32 *table, unsigned int flags, u8 index) in clk_mux_index_to_val()
72 unsigned int val = index; in clk_mux_index_to_val() local
91 u32 val; in clk_mux_get_parent() local
102 u32 val = clk_mux_index_to_val(mux->table, mux->flags, index); in clk_mux_set_parent() local
155 u8 clk_mux_flags, const u32 *table, spinlock_t *lock) in __clk_hw_register_mux()
221 u8 clk_mux_flags, const u32 *table, spinlock_t *lock) in __devm_clk_hw_register_mux()
247 u8 clk_mux_flags, const u32 *table, spinlock_t *lock) in clk_register_mux_table()
Dclk-milbeaut.c75 const struct clk_div_table *table; member
95 u32 *table; member
283 u32 val; in m10v_mux_get_parent() local
294 u32 val = clk_mux_index_to_val(mux->table, mux->flags, index); in m10v_mux_set_parent() local
328 u8 shift, u32 mask, u8 clk_mux_flags, u32 *table, in m10v_clk_hw_register_mux()
371 const struct clk_div_table *table; member
380 unsigned int val; in m10v_clk_divider_recalc_rate() local
396 u32 val; in m10v_clk_divider_round_rate() local
416 u32 val; in m10v_clk_divider_set_rate() local
460 u8 clk_divider_flags, const struct clk_div_table *table, in m10v_clk_hw_register_divider()
/linux-6.14.4/kernel/
Dsysctl.c208 static void warn_sysctl_write(const struct ctl_table *table) in warn_sysctl_write()
226 const struct ctl_table *table) in proc_first_pos_non_zero_ignore()
259 int proc_dostring(const struct ctl_table *table, int write, in proc_dostring()
342 unsigned long *val, bool *neg, in proc_get_long()
400 static void proc_put_long(void **buf, size_t *size, unsigned long val, bool neg) in proc_put_long()
442 int val = READ_ONCE(*valp); in do_proc_dointvec_conv() local
463 unsigned int val = READ_ONCE(*valp); in do_proc_douintvec_conv() local
471 static int __do_proc_dointvec(void *tbl_data, const struct ctl_table *table, in __do_proc_dointvec()
544 static int do_proc_dointvec(const struct ctl_table *table, int write, in do_proc_dointvec()
555 const struct ctl_table *table, in do_proc_douintvec_w()
[all …]
/linux-6.14.4/arch/powerpc/boot/
Dplanetcore.c26 void planetcore_prepare_table(char *table) in planetcore_prepare_table()
38 const char *planetcore_get_key(const char *table, const char *key) in planetcore_get_key()
52 int planetcore_get_decimal(const char *table, const char *key, u64 *val) in planetcore_get_decimal()
62 int planetcore_get_hex(const char *table, const char *key, u64 *val) in planetcore_get_hex()
79 void planetcore_set_mac_addrs(const char *table) in planetcore_set_mac_addrs()
104 void planetcore_set_stdout_path(const char *table) in planetcore_set_stdout_path()
/linux-6.14.4/drivers/clk/ti/
Ddivider.c21 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div()
22 unsigned int val) in _get_table_div()
60 static unsigned int _get_div(struct clk_omap_divider *divider, unsigned int val) in _get_div()
71 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val()
97 unsigned int div, val; in ti_clk_divider_recalc_rate() local
119 static bool _is_valid_table_div(const struct clk_div_table *table, in _is_valid_table_div()
139 static int _div_round_up(const struct clk_div_table *table, in _div_round_up()
159 static int _div_round(const struct clk_div_table *table, in _div_round()
240 u32 val; in ti_clk_divider_set_rate() local
275 u32 val; in clk_divider_save_context() local
[all …]
/linux-6.14.4/drivers/net/wireless/realtek/rtw89/
Dfw.h450 static inline void RTW89_SET_FWCMD_SEC_IDX(void *cmd, u32 val) in RTW89_SET_FWCMD_SEC_IDX()
455 static inline void RTW89_SET_FWCMD_SEC_OFFSET(void *cmd, u32 val) in RTW89_SET_FWCMD_SEC_OFFSET()
460 static inline void RTW89_SET_FWCMD_SEC_LEN(void *cmd, u32 val) in RTW89_SET_FWCMD_SEC_LEN()
465 static inline void RTW89_SET_FWCMD_SEC_TYPE(void *cmd, u32 val) in RTW89_SET_FWCMD_SEC_TYPE()
470 static inline void RTW89_SET_FWCMD_SEC_EXT_KEY(void *cmd, u32 val) in RTW89_SET_FWCMD_SEC_EXT_KEY()
475 static inline void RTW89_SET_FWCMD_SEC_SPP_MODE(void *cmd, u32 val) in RTW89_SET_FWCMD_SEC_SPP_MODE()
480 static inline void RTW89_SET_FWCMD_SEC_KEY0(void *cmd, u32 val) in RTW89_SET_FWCMD_SEC_KEY0()
485 static inline void RTW89_SET_FWCMD_SEC_KEY1(void *cmd, u32 val) in RTW89_SET_FWCMD_SEC_KEY1()
490 static inline void RTW89_SET_FWCMD_SEC_KEY2(void *cmd, u32 val) in RTW89_SET_FWCMD_SEC_KEY2()
495 static inline void RTW89_SET_FWCMD_SEC_KEY3(void *cmd, u32 val) in RTW89_SET_FWCMD_SEC_KEY3()
[all …]
/linux-6.14.4/drivers/clk/actions/
Dowl-factor.c16 static unsigned int _get_table_maxval(const struct clk_factor_table *table) in _get_table_maxval()
27 static int _get_table_div_mul(const struct clk_factor_table *table, in _get_table_div_mul()
28 unsigned int val, unsigned int *mul, unsigned int *div) in _get_table_div_mul()
43 static unsigned int _get_table_val(const struct clk_factor_table *table, in _get_table_val()
47 int val = -1; in _get_table_val() local
125 unsigned int val, mul = 0, div = 1; in owl_factor_helper_round_rate() local
149 u32 reg, val, mul, div; in owl_factor_helper_recalc_rate() local
188 u32 val, reg; in owl_factor_helper_set_rate() local
Dowl-pll.c31 static unsigned long _get_table_rate(const struct clk_pll_table *table, in _get_table_rate()
32 unsigned int val) in _get_table_rate()
44 const struct clk_pll_table *table, unsigned long rate) in _get_pll_table()
87 u32 val; in owl_pll_recalc_rate() local
162 u32 val, reg; in owl_pll_set_rate() local
/linux-6.14.4/drivers/sh/clk/
Dcpg.c117 struct clk_div_mult_table *table = clk_to_div_mult_table(clk); in sh_clk_div_recalc() local
164 unsigned int val; in sh_clk_div_disable() local
196 u32 val; in sh_clk_init_parent() local
227 struct clk_div_table *table, struct sh_clk_ops *ops) in sh_clk_div_register_ops()
281 struct clk_div_mult_table *table = clk_to_div_mult_table(clk); in sh_clk_div6_set_parent() local
338 struct clk_div_mult_table *table = clk_to_div_mult_table(clk); in sh_clk_div4_set_parent() local
375 struct clk_div4_table *table) in sh_clk_div4_register()
381 struct clk_div4_table *table) in sh_clk_div4_enable_register()
388 struct clk_div4_table *table) in sh_clk_div4_reparent_register()
/linux-6.14.4/drivers/thermal/
Drockchip_thermal.c110 struct chip_tsadc_table table; member
549 static u32 rk_tsadcv2_temp_to_code(const struct chip_tsadc_table *table, in rk_tsadcv2_temp_to_code()
601 static int rk_tsadcv2_code_to_temp(const struct chip_tsadc_table *table, in rk_tsadcv2_code_to_temp()
840 u32 val; in rk_tsadcv2_irq_ack() local
848 u32 val; in rk_tsadcv3_irq_ack() local
856 u32 val; in rk_tsadcv4_irq_ack() local
867 u32 val; in rk_tsadcv2_control() local
889 u32 val; in rk_tsadcv3_control() local
902 u32 val; in rk_tsadcv4_control() local
912 static int rk_tsadcv2_get_temp(const struct chip_tsadc_table *table, in rk_tsadcv2_get_temp()
[all …]
/linux-6.14.4/arch/s390/mm/
Dpgalloc.c47 unsigned long *table; in crst_table_alloc() local
56 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free()
146 u64 *table; in page_table_alloc_pgste() local
168 unsigned long *table; in page_table_alloc() local
184 void page_table_free(struct mm_struct *mm, unsigned long *table) in page_table_free()
221 unsigned long *table; in base_pgt_alloc() local
229 static void base_pgt_free(unsigned long *table) in base_pgt_free()
234 static unsigned long *base_crst_alloc(unsigned long val) in base_crst_alloc()
236 unsigned long *table; in base_crst_alloc() local
247 static void base_crst_free(unsigned long *table) in base_crst_free()
[all …]
/linux-6.14.4/drivers/gpu/drm/imagination/
Dpvr_mmu.c420 u32 val; member
543 u64 val; member
685 u64 val; member
703 struct pvr_page_table_l0_entry_raw val; member
884 pvr_page_table_l2_init(struct pvr_page_table_l2 *table, in pvr_page_table_l2_init()
897 pvr_page_table_l2_fini(struct pvr_page_table_l2 *table) in pvr_page_table_l2_fini()
916 pvr_page_table_l2_sync(struct pvr_page_table_l2 *table) in pvr_page_table_l2_sync()
935 pvr_page_table_l2_get_raw(struct pvr_page_table_l2 *table) in pvr_page_table_l2_get_raw()
959 pvr_page_table_l2_get_entry_raw(struct pvr_page_table_l2 *table, u16 idx) in pvr_page_table_l2_get_entry_raw()
975 pvr_page_table_l2_entry_is_valid(struct pvr_page_table_l2 *table, u16 idx) in pvr_page_table_l2_entry_is_valid()
[all …]
/linux-6.14.4/arch/x86/kernel/
Dparavirt.c63 static void native_tlb_remove_table(struct mmu_gather *tlb, void *table) in native_tlb_remove_table()
71 static void native_tlb_remove_table(struct mmu_gather *tlb, void *table) in native_tlb_remove_table()
119 static noinstr void pv_native_write_cr2(unsigned long val) in pv_native_write_cr2()
129 static noinstr void pv_native_set_debugreg(int regno, unsigned long val) in pv_native_set_debugreg()
/linux-6.14.4/drivers/net/netdevsim/
Dudp_tunnels.c12 nsim_udp_tunnel_set_port(struct net_device *dev, unsigned int table, in nsim_udp_tunnel_set_port()
41 nsim_udp_tunnel_unset_port(struct net_device *dev, unsigned int table, in nsim_udp_tunnel_unset_port()
53 u32 val = be16_to_cpu(ti->port) << 16 | ti->type; in nsim_udp_tunnel_unset_port() local
71 nsim_udp_tunnel_sync_table(struct net_device *dev, unsigned int table) in nsim_udp_tunnel_sync_table()
/linux-6.14.4/drivers/gpu/drm/sun4i/
Dsun8i_csc.c115 const u32 *table; in sun8i_csc_set_coefficients() local
148 const u32 *table; in sun8i_de3_ccsc_set_coefficients() local
183 u32 val; in sun8i_csc_enable() local
195 u32 val, mask; in sun8i_de3_ccsc_enable() local
/linux-6.14.4/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.c429 struct npc_exact_table *table = rvu->hw->table; in rvu_exact_calculate_hash() local
468 struct npc_exact_table *table; in rvu_npc_exact_alloc_mem_table_entry() local
504 struct npc_exact_table *table; in rvu_npc_exact_free_id() local
521 struct npc_exact_table *table; in rvu_npc_exact_alloc_id() local
554 struct npc_exact_table *table; in rvu_npc_exact_alloc_cam_table_entry() local
723 struct npc_exact_table *table; in rvu_npc_exact_get_max_entries() local
750 struct npc_exact_table *table = rvu->hw->table; in __rvu_npc_exact_find_entry_by_seq_id() local
789 struct npc_exact_table *table = rvu->hw->table; in rvu_npc_exact_add_to_list() local
903 struct npc_exact_table *table; in rvu_npc_exact_dealloc_table_entry() local
976 struct npc_exact_table *table; in rvu_npc_exact_alloc_table_entry() local
[all …]
/linux-6.14.4/drivers/platform/x86/siemens/
Dsimatic-ipc-batt.c71 u8 val; in simatic_ipc_batt_read_io() local
109 u32 attr, int channel, long *val) in simatic_ipc_batt_read()
149 void simatic_ipc_batt_remove(struct platform_device *pdev, struct gpiod_lookup_table *table) in simatic_ipc_batt_remove()
155 int simatic_ipc_batt_probe(struct platform_device *pdev, struct gpiod_lookup_table *table) in simatic_ipc_batt_probe()
/linux-6.14.4/drivers/infiniband/core/
Dcache.c170 static bool is_gid_index_default(const struct ib_gid_table *table, in is_gid_index_default()
241 struct ib_gid_table *table = rdma_gid_table(device, port_num); in free_gid_entry_locked() local
286 struct ib_gid_table *table = rdma_gid_table(device, port_num); in free_gid_work() local
321 static void store_gid_entry(struct ib_gid_table *table, in store_gid_entry()
383 struct ib_gid_table *table, int ix) in del_gid()
426 static int add_modify_gid(struct ib_gid_table *table, in add_modify_gid()
466 static int find_gid(struct ib_gid_table *table, const union ib_gid *gid, in find_gid()
467 const struct ib_gid_attr *val, bool default_gid, in find_gid()
550 struct ib_gid_table *table; in __ib_cache_gid_add() local
605 struct ib_gid_table *table; in _ib_cache_gid_del() local
[all …]
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c96 struct mlx5_cq_table *table = &eq->cq_table; in mlx5_eq_cq_get() local
400 struct mlx5_cq_table *table = &eq->cq_table; in mlx5_eq_add_cq() local
412 struct mlx5_cq_table *table = &eq->cq_table; in mlx5_eq_del_cq() local
459 struct mlx5_eq_table *table = dev->priv.eq_table; in mlx5_eq_table_cleanup() local
631 union devlink_param_value val; in async_eq_depth_devlink_param_get() local
645 struct mlx5_eq_table *table = dev->priv.eq_table; in create_async_eqs() local
714 struct mlx5_eq_table *table = dev->priv.eq_table; in destroy_async_eqs() local
811 struct mlx5_eq_table *table = dev->priv.eq_table; in comp_irq_release_pci() local
842 struct mlx5_eq_table *table = dev->priv.eq_table; in comp_irq_request_pci() local
858 struct mlx5_eq_table *table = dev->priv.eq_table; in comp_irq_release_sf() local
[all …]
/linux-6.14.4/drivers/watchdog/
Dmax63xx_wdt.c101 max63xx_select_timeout(const struct max63xx_timeout *table, int value) in max63xx_select_timeout()
160 u8 val; in max63xx_mmap_ping() local
174 u8 val; in max63xx_mmap_set() local
203 const struct max63xx_timeout *table; in max63xx_wdt_probe() local
/linux-6.14.4/drivers/crypto/intel/qat/qat_common/
Dadf_gen4_pm_debugfs.c112 static int pm_scnprint_table(char *buff, const struct pm_status_row *table, in pm_scnprint_table()
134 static int pm_scnprint_table_upper_keys(char *buff, const struct pm_status_row *table, in pm_scnprint_table_upper_keys()
142 static int pm_scnprint_table_lower_keys(char *buff, const struct pm_status_row *table, in pm_scnprint_table_lower_keys()
163 u32 val; in adf_gen4_print_pm_status() local
/linux-6.14.4/net/ipv4/
Dsysctl_net_ipv4.c66 static int ipv4_local_port_range(const struct ctl_table *table, int write, in ipv4_local_port_range()
100 static int ipv4_privileged_ports(const struct ctl_table *table, int write, in ipv4_privileged_ports()
134 static void inet_get_ping_group_range_table(const struct ctl_table *table, in inet_get_ping_group_range_table()
150 static void set_ping_group_range(const struct ctl_table *table, in set_ping_group_range()
163 static int ipv4_ping_group_range(const struct ctl_table *table, int write, in ipv4_ping_group_range()
198 static int ipv4_fwd_update_priority(const struct ctl_table *table, int write, in ipv4_fwd_update_priority()
219 char val[TCP_CA_NAME_MAX]; in proc_tcp_congestion_control() local
287 static int proc_tcp_fastopen_key(const struct ctl_table *table, int write, in proc_tcp_fastopen_key()
358 static int proc_tfo_blackhole_detect_timeout(const struct ctl_table *table, in proc_tfo_blackhole_detect_timeout()
390 static int proc_tcp_ehash_entries(const struct ctl_table *table, int write, in proc_tcp_ehash_entries()
[all …]
/linux-6.14.4/drivers/platform/x86/amd/pmc/
Dpmc.c163 static inline void amd_pmc_reg_write(struct amd_pmc_dev *dev, int reg_offset, u32 val) in amd_pmc_reg_write()
248 static int get_metrics_table(struct amd_pmc_dev *pdev, struct smu_metrics *table) in get_metrics_table()
265 struct smu_metrics table; in amd_pmc_validate_deepest() local
279 u32 val; in amd_pmc_get_smu_version() local
359 struct smu_metrics table; in smu_fw_info_show() local
424 u32 val; in amd_pmc_idlemask_read() local
523 u32 val, message, argument, response; in amd_pmc_send_cmd() local
724 struct smu_metrics table; in amd_pmc_s2idle_check() local
823 u32 val; in amd_pmc_probe() local
/linux-6.14.4/drivers/cpufreq/
Dsparc-us3-cpufreq.c23 struct cpufreq_frequency_table table[4]; member
39 unsigned long ret, *val = arg; in read_safari_cfg() local
124 struct cpufreq_frequency_table *table = in us3_freq_cpu_init() local

12345678910>>...13