Home
last modified time | relevance | path

Searched refs:ft (Results 1 – 25 of 32) sorted by relevance

12

/drivers/isdn/hisax/
Dfsm.c88 FsmExpireTimer(struct FsmTimer *ft) in FsmExpireTimer() argument
91 if (ft->fi->debug) in FsmExpireTimer()
92 ft->fi->printdebug(ft->fi, "FsmExpireTimer %lx", (long) ft); in FsmExpireTimer()
94 FsmEvent(ft->fi, ft->event, ft->arg); in FsmExpireTimer()
98 FsmInitTimer(struct FsmInst *fi, struct FsmTimer *ft) in FsmInitTimer() argument
100 ft->fi = fi; in FsmInitTimer()
101 ft->tl.function = (void *) FsmExpireTimer; in FsmInitTimer()
102 ft->tl.data = (long) ft; in FsmInitTimer()
104 if (ft->fi->debug) in FsmInitTimer()
105 ft->fi->printdebug(ft->fi, "FsmInitTimer %lx", (long) ft); in FsmInitTimer()
[all …]
Dfsm.h54 void FsmInitTimer(struct FsmInst *fi, struct FsmTimer *ft);
55 int FsmAddTimer(struct FsmTimer *ft, int millisec, int event,
57 void FsmRestartTimer(struct FsmTimer *ft, int millisec, int event,
59 void FsmDelTimer(struct FsmTimer *ft, int where);
Dhisax.h1280 void FsmInitTimer(struct FsmInst *fi, struct FsmTimer *ft);
1281 int FsmAddTimer(struct FsmTimer *ft, int millisec, int event,
1283 void FsmRestartTimer(struct FsmTimer *ft, int millisec, int event,
1285 void FsmDelTimer(struct FsmTimer *ft, int where);
/drivers/isdn/mISDN/
Dfsm.c100 FsmExpireTimer(struct FsmTimer *ft) in FsmExpireTimer() argument
103 if (ft->fi->debug) in FsmExpireTimer()
104 ft->fi->printdebug(ft->fi, "FsmExpireTimer %lx", (long) ft); in FsmExpireTimer()
106 mISDN_FsmEvent(ft->fi, ft->event, ft->arg); in FsmExpireTimer()
110 mISDN_FsmInitTimer(struct FsmInst *fi, struct FsmTimer *ft) in mISDN_FsmInitTimer() argument
112 ft->fi = fi; in mISDN_FsmInitTimer()
113 ft->tl.function = (void *) FsmExpireTimer; in mISDN_FsmInitTimer()
114 ft->tl.data = (long) ft; in mISDN_FsmInitTimer()
116 if (ft->fi->debug) in mISDN_FsmInitTimer()
117 ft->fi->printdebug(ft->fi, "mISDN_FsmInitTimer %lx", (long) ft); in mISDN_FsmInitTimer()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c161 struct mlx5_flow_table *ft = priv->fs.vlan.ft.t; in __mlx5e_add_vlan_rule() local
167 dest.ft = priv->fs.l2.ft.t; in __mlx5e_add_vlan_rule()
190 *rule_p = mlx5_add_flow_rule(ft, spec, in __mlx5e_add_vlan_rule()
532 static void mlx5e_destroy_groups(struct mlx5e_flow_table *ft) in mlx5e_destroy_groups() argument
536 for (i = ft->num_groups - 1; i >= 0; i--) { in mlx5e_destroy_groups()
537 if (!IS_ERR_OR_NULL(ft->g[i])) in mlx5e_destroy_groups()
538 mlx5_destroy_flow_group(ft->g[i]); in mlx5e_destroy_groups()
539 ft->g[i] = NULL; in mlx5e_destroy_groups()
541 ft->num_groups = 0; in mlx5e_destroy_groups()
549 void mlx5e_destroy_flow_table(struct mlx5e_flow_table *ft) in mlx5e_destroy_flow_table() argument
[all …]
Dfs_core.c346 struct mlx5_flow_table *ft; in del_flow_table() local
351 fs_get_obj(ft, node); in del_flow_table()
352 dev = get_dev(&ft->node); in del_flow_table()
354 err = mlx5_cmd_destroy_flow_table(dev, ft); in del_flow_table()
357 fs_get_obj(prio, ft->node.parent); in del_flow_table()
364 struct mlx5_flow_table *ft; in del_rule() local
383 fs_get_obj(ft, fg->node.parent); in del_rule()
386 mutex_lock(&rule->dest_attr.ft->lock); in del_rule()
388 mutex_unlock(&rule->dest_attr.ft->lock); in del_rule()
393 err = mlx5_cmd_update_fte(dev, ft, in del_rule()
[all …]
Dfs_cmd.c42 struct mlx5_flow_table *ft) in mlx5_cmd_update_root_ft() argument
49 MLX5_SET(set_flow_table_root_in, in, table_type, ft->type); in mlx5_cmd_update_root_ft()
50 MLX5_SET(set_flow_table_root_in, in, table_id, ft->id); in mlx5_cmd_update_root_ft()
51 if (ft->vport) { in mlx5_cmd_update_root_ft()
52 MLX5_SET(set_flow_table_root_in, in, vport_number, ft->vport); in mlx5_cmd_update_root_ft()
105 struct mlx5_flow_table *ft) in mlx5_cmd_destroy_flow_table() argument
112 MLX5_SET(destroy_flow_table_in, in, table_type, ft->type); in mlx5_cmd_destroy_flow_table()
113 MLX5_SET(destroy_flow_table_in, in, table_id, ft->id); in mlx5_cmd_destroy_flow_table()
114 if (ft->vport) { in mlx5_cmd_destroy_flow_table()
115 MLX5_SET(destroy_flow_table_in, in, vport_number, ft->vport); in mlx5_cmd_destroy_flow_table()
[all …]
Den_arfs.c136 dest.ft = priv->fs.arfs.arfs_tables[i].ft.t; in mlx5e_arfs_enable()
155 mlx5e_destroy_flow_table(&arfs_t->ft); in arfs_destroy_table()
168 if (!IS_ERR_OR_NULL(priv->fs.arfs.arfs_tables[i].ft.t)) in mlx5e_arfs_destroy_tables()
208 arfs_t->default_rule = mlx5_add_flow_rule(arfs_t->ft.t, spec, in arfs_add_default_rule()
228 static int arfs_create_groups(struct mlx5e_flow_table *ft, in arfs_create_groups() argument
238 ft->g = kcalloc(MLX5E_ARFS_NUM_GROUPS, in arfs_create_groups()
239 sizeof(*ft->g), GFP_KERNEL); in arfs_create_groups()
241 if (!in || !ft->g) { in arfs_create_groups()
242 kvfree(ft->g); in arfs_create_groups()
293 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in arfs_create_groups()
[all …]
Dfs_cmd.h44 struct mlx5_flow_table *ft);
47 struct mlx5_flow_table *ft,
51 struct mlx5_flow_table *ft,
55 struct mlx5_flow_table *ft,
59 struct mlx5_flow_table *ft,
64 struct mlx5_flow_table *ft,
70 struct mlx5_flow_table *ft,
74 struct mlx5_flow_table *ft);
Den_fs_ethtool.c46 mlx5_destroy_flow_table(eth_ft->ft); in put_flow_table()
47 eth_ft->ft = NULL; in put_flow_table()
61 struct mlx5_flow_table *ft; in get_flow_table() local
89 if (eth_ft->ft) in get_flow_table()
100 ft = mlx5_create_auto_grouped_flow_table(ns, prio, in get_flow_table()
103 if (IS_ERR(ft)) in get_flow_table()
104 return (void *)ft; in get_flow_table()
106 eth_ft->ft = ft; in get_flow_table()
289 struct mlx5_flow_table *ft, in add_ethtool_flow_rule() argument
321 rule = mlx5_add_flow_rule(ft, spec, action, in add_ethtool_flow_rule()
[all …]
Den.h548 struct mlx5e_flow_table ft; member
557 struct mlx5e_flow_table ft; member
570 struct mlx5e_flow_table ft; member
577 struct mlx5e_flow_table ft; member
608 struct mlx5_flow_table *ft; member
739 void mlx5e_destroy_flow_table(struct mlx5e_flow_table *ft);
Dfs_core.h223 #define fs_for_each_fg(pos, ft) \ argument
224 fs_list_for_each_entry(pos, &(ft)->node.children)
/drivers/scsi/fcoe/
Dfcoe_transport.c522 struct fcoe_transport *ft = NULL; in fcoe_transport_lookup() local
524 list_for_each_entry(ft, &fcoe_transports, list) in fcoe_transport_lookup()
525 if (ft->match && ft->match(netdev)) in fcoe_transport_lookup()
526 return ft; in fcoe_transport_lookup()
536 int fcoe_transport_attach(struct fcoe_transport *ft) in fcoe_transport_attach() argument
541 if (ft->attached) { in fcoe_transport_attach()
543 ft->name); in fcoe_transport_attach()
549 if (strcmp(ft->name, FCOE_TRANSPORT_DEFAULT)) in fcoe_transport_attach()
550 list_add(&ft->list, &fcoe_transports); in fcoe_transport_attach()
552 list_add_tail(&ft->list, &fcoe_transports); in fcoe_transport_attach()
[all …]
/drivers/media/rc/img-ir/
Dimg-ir-hw.c99 timings->ft.ft_min = (timings->ft.ft_min*unit + 999)/1000; in img_ir_timings_preprocess()
128 if (!timings->ft.ft_min) in img_ir_timings_defaults()
129 timings->ft.ft_min = defaults->ft.ft_min; in img_ir_timings_defaults()
311 regs->ft = img_ir_free_timing(&timings->ft, clock_hz); in img_ir_timings_convert()
383 u32 ft = regs->ft; in img_ir_write_timings() local
385 ft = img_ir_free_timing_dynamic(regs->ft, &hw->filters[type]); in img_ir_write_timings()
392 img_ir_write(priv, IMG_IR_FREE_SYMB_TIMING, ft); in img_ir_write_timings()
394 regs->ldr, regs->s00, regs->s01, regs->s10, regs->s11, ft); in img_ir_write_timings()
Dimg-ir-sanyo.c107 .ft = {
121 .ft = {
Dimg-ir-nec.c138 .ft = {
152 .ft = {
Dimg-ir-hw.h102 struct img_ir_free_timing ft; member
129 u32 ldr, s00, s01, s10, s11, ft; member
Dimg-ir-rc5.c78 .ft = {
Dimg-ir-rc6.c107 .ft = {
Dimg-ir-jvc.c79 .ft = {
Dimg-ir-sharp.c97 .ft = {
/drivers/net/wireless/ath/wcn36xx/
Dtxrx.h66 u32 ft:1; member
128 u32 ft:1; member
/drivers/scsi/
Dscsi_transport_srp.c852 srp_attach_transport(struct srp_function_template *ft) in srp_attach_transport() argument
880 if (ft->has_rport_state) { in srp_attach_transport()
885 if (ft->reconnect) { in srp_attach_transport()
889 if (ft->rport_delete) in srp_attach_transport()
896 i->f = ft; in srp_attach_transport()
Draid_class.c262 raid_class_attach(struct raid_function_template *ft) in raid_class_attach() argument
271 i->f = ft; in raid_class_attach()
/drivers/infiniband/hw/mlx5/
Dmain.c1835 struct mlx5_flow_table *ft; in get_flow_table() local
1879 ft = prio->flow_table; in get_flow_table()
1880 if (!ft) { in get_flow_table()
1881 ft = mlx5_create_auto_grouped_flow_table(ns, priority, in get_flow_table()
1886 if (!IS_ERR(ft)) { in get_flow_table()
1888 prio->flow_table = ft; in get_flow_table()
1890 err = PTR_ERR(ft); in get_flow_table()
1902 struct mlx5_flow_table *ft = ft_prio->flow_table; in create_flow_rule() local
1934 handler->rule = mlx5_add_flow_rule(ft, spec, in create_flow_rule()
1947 ft_prio->flow_table = ft; in create_flow_rule()
[all …]

12