/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
H A D | cc_cipher.c | 49 int flow_mode; member 73 switch (ctx_p->flow_mode) { in validate_keys_sizes() 109 switch (ctx_p->flow_mode) { in validate_data_size() 165 ctx_p->flow_mode = cc_alg->flow_mode; in cc_cipher_init() 335 if (ctx_p->flow_mode == S_DIN_to_SM4) { in cc_cipher_sethkey() 381 if (ctx_p->flow_mode == S_DIN_to_AES) in cc_cipher_sethkey() 450 if (ctx_p->flow_mode == S_DIN_to_DES) { in cc_cipher_setkey() 495 switch (ctx_p->flow_mode) { in cc_out_setup_mode() 503 return ctx_p->flow_mode; in cc_out_setup_mode() 515 int flow_mode = cc_out_setup_mode(ctx_p); cc_setup_readiv_desc() local 572 int flow_mode = ctx_p->flow_mode; cc_setup_state_desc() local 616 int flow_mode = ctx_p->flow_mode; cc_setup_xex_state_desc() local 693 int flow_mode = ctx_p->flow_mode; cc_setup_key_desc() local 802 unsigned int flow_mode = cc_out_flow_mode(ctx_p); cc_setup_flow_desc() local [all...] |
H A D | cc_aead.c | 60 enum cc_flow_mode flow_mode; member 138 ctx->flow_mode = cc_alg->flow_mode; in cc_aead_init() 388 if (ctx->flow_mode == S_DIN_to_DES) { in validate_keys_sizes() 721 static void cc_set_assoc_desc(struct aead_request *areq, unsigned int flow_mode, in cc_set_assoc_desc() argument 737 set_flow_mode(&desc[idx], flow_mode); in cc_set_assoc_desc() 747 set_flow_mode(&desc[idx], flow_mode); in cc_set_assoc_desc() 761 unsigned int flow_mode, in cc_proc_authen_desc() 787 set_flow_mode(&desc[idx], flow_mode); in cc_proc_authen_desc() 813 set_flow_mode(&desc[idx], flow_mode); in cc_proc_authen_desc() 760 cc_proc_authen_desc(struct aead_request *areq, unsigned int flow_mode, struct cc_hw_desc desc[], unsigned int *seq_size, int direct) cc_proc_authen_desc() argument 824 cc_proc_cipher_desc(struct aead_request *areq, unsigned int flow_mode, struct cc_hw_desc desc[], unsigned int *seq_size) cc_proc_cipher_desc() argument [all...] |
H A D | cc_driver.h | 163 int flow_mode; /* Note: currently, refers to the cipher mode only. */ member 179 int flow_mode; /* Note: currently, refers to the cipher mode only. */ member
|
H A D | cc_hash.c | 104 unsigned int flow_mode, struct cc_hw_desc desc[], 2163 struct cc_hash_ctx *ctx, unsigned int flow_mode, in cc_set_desc() 2175 set_flow_mode(&desc[idx], flow_mode); in cc_set_desc() 2197 set_flow_mode(&desc[idx], flow_mode); in cc_set_desc() 2162 cc_set_desc(struct ahash_req_ctx *areq_ctx, struct cc_hash_ctx *ctx, unsigned int flow_mode, struct cc_hw_desc desc[], bool is_not_last_data, unsigned int *seq_size) cc_set_desc() argument
|
/kernel/linux/linux-6.6/drivers/crypto/ccree/ |
H A D | cc_cipher.c | 49 int flow_mode; member 73 switch (ctx_p->flow_mode) { in validate_keys_sizes() 110 switch (ctx_p->flow_mode) { in validate_data_size() 168 ctx_p->flow_mode = cc_alg->flow_mode; in cc_cipher_init() 338 if (ctx_p->flow_mode == S_DIN_to_SM4) { in cc_cipher_sethkey() 384 if (ctx_p->flow_mode == S_DIN_to_AES) in cc_cipher_sethkey() 453 if (ctx_p->flow_mode == S_DIN_to_DES) { in cc_cipher_setkey() 498 switch (ctx_p->flow_mode) { in cc_out_setup_mode() 506 return ctx_p->flow_mode; in cc_out_setup_mode() 518 int flow_mode = cc_out_setup_mode(ctx_p); cc_setup_readiv_desc() local 575 int flow_mode = ctx_p->flow_mode; cc_setup_state_desc() local 619 int flow_mode = ctx_p->flow_mode; cc_setup_xex_state_desc() local 696 int flow_mode = ctx_p->flow_mode; cc_setup_key_desc() local 805 unsigned int flow_mode = cc_out_flow_mode(ctx_p); cc_setup_flow_desc() local [all...] |
H A D | cc_aead.c | 60 enum cc_flow_mode flow_mode; member 138 ctx->flow_mode = cc_alg->flow_mode; in cc_aead_init() 388 if (ctx->flow_mode == S_DIN_to_DES) { in validate_keys_sizes() 721 static void cc_set_assoc_desc(struct aead_request *areq, unsigned int flow_mode, in cc_set_assoc_desc() argument 737 set_flow_mode(&desc[idx], flow_mode); in cc_set_assoc_desc() 747 set_flow_mode(&desc[idx], flow_mode); in cc_set_assoc_desc() 761 unsigned int flow_mode, in cc_proc_authen_desc() 787 set_flow_mode(&desc[idx], flow_mode); in cc_proc_authen_desc() 813 set_flow_mode(&desc[idx], flow_mode); in cc_proc_authen_desc() 760 cc_proc_authen_desc(struct aead_request *areq, unsigned int flow_mode, struct cc_hw_desc desc[], unsigned int *seq_size, int direct) cc_proc_authen_desc() argument 824 cc_proc_cipher_desc(struct aead_request *areq, unsigned int flow_mode, struct cc_hw_desc desc[], unsigned int *seq_size) cc_proc_cipher_desc() argument [all...] |
H A D | cc_driver.h | 163 int flow_mode; /* Note: currently, refers to the cipher mode only. */ member 179 int flow_mode; /* Note: currently, refers to the cipher mode only. */ member
|
H A D | cc_hash.c | 104 unsigned int flow_mode, struct cc_hw_desc desc[], 2163 struct cc_hash_ctx *ctx, unsigned int flow_mode, in cc_set_desc() 2175 set_flow_mode(&desc[idx], flow_mode); in cc_set_desc() 2197 set_flow_mode(&desc[idx], flow_mode); in cc_set_desc() 2162 cc_set_desc(struct ahash_req_ctx *areq_ctx, struct cc_hash_ctx *ctx, unsigned int flow_mode, struct cc_hw_desc desc[], bool is_not_last_data, unsigned int *seq_size) cc_set_desc() argument
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_cake.c | 209 u8 flow_mode; member 636 static bool cake_dsrc(int flow_mode) in cake_dsrc() argument 638 return (flow_mode & CAKE_FLOW_DUAL_SRC) == CAKE_FLOW_DUAL_SRC; in cake_dsrc() 641 static bool cake_ddst(int flow_mode) in cake_ddst() argument 643 return (flow_mode & CAKE_FLOW_DUAL_DST) == CAKE_FLOW_DUAL_DST; in cake_ddst() 647 int flow_mode, u16 flow_override, u16 host_override) in cake_hash() 649 bool hash_flows = (!flow_override && !!(flow_mode & CAKE_FLOW_FLOWS)); in cake_hash() 650 bool hash_hosts = (!host_override && !!(flow_mode & CAKE_FLOW_HOSTS)); in cake_hash() 651 bool nat_enabled = !!(flow_mode & CAKE_FLOW_NAT_FLAG); in cake_hash() 657 if (unlikely(flow_mode in cake_hash() 646 cake_hash(struct cake_tin_data *q, const struct sk_buff *skb, int flow_mode, u16 flow_override, u16 host_override) cake_hash() argument 1654 cake_classify(struct Qdisc *sch, struct cake_tin_data **t, struct sk_buff *skb, int flow_mode, int *qerr) cake_classify() argument [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_cake.c | 210 u8 flow_mode; member 637 static bool cake_dsrc(int flow_mode) in cake_dsrc() argument 639 return (flow_mode & CAKE_FLOW_DUAL_SRC) == CAKE_FLOW_DUAL_SRC; in cake_dsrc() 642 static bool cake_ddst(int flow_mode) in cake_ddst() argument 644 return (flow_mode & CAKE_FLOW_DUAL_DST) == CAKE_FLOW_DUAL_DST; in cake_ddst() 648 int flow_mode, u16 flow_override, u16 host_override) in cake_hash() 650 bool hash_flows = (!flow_override && !!(flow_mode & CAKE_FLOW_FLOWS)); in cake_hash() 651 bool hash_hosts = (!host_override && !!(flow_mode & CAKE_FLOW_HOSTS)); in cake_hash() 652 bool nat_enabled = !!(flow_mode & CAKE_FLOW_NAT_FLAG); in cake_hash() 658 if (unlikely(flow_mode in cake_hash() 647 cake_hash(struct cake_tin_data *q, const struct sk_buff *skb, int flow_mode, u16 flow_override, u16 host_override) cake_hash() argument 1655 cake_classify(struct Qdisc *sch, struct cake_tin_data **t, struct sk_buff *skb, int flow_mode, int *qerr) cake_classify() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/mcde/ |
H A D | mcde_drm.h | 76 enum mcde_flow_mode flow_mode; member 94 return (mcde->flow_mode == MCDE_VIDEO_TE_FLOW || in mcde_flow_is_video() 95 mcde->flow_mode == MCDE_VIDEO_FORMATTER_FLOW); in mcde_flow_is_video()
|
H A D | mcde_display.c | 93 if (mcde->flow_mode == MCDE_COMMAND_ONESHOT_FLOW) { in mcde_display_irq() 528 switch (mcde->flow_mode) { in mcde_configure_channel() 566 mcde->flow_mode); in mcde_configure_channel() 1016 switch (mcde->flow_mode) { in mcde_display_enable() 1046 if (mcde->flow_mode != MCDE_COMMAND_ONESHOT_FLOW) { in mcde_display_enable() 1096 if (mcde->flow_mode == MCDE_COMMAND_BTA_TE_FLOW) in mcde_start_flow() 1109 if (mcde->flow_mode == MCDE_COMMAND_ONESHOT_FLOW) { in mcde_start_flow()
|
H A D | mcde_dsi.c | 165 d->mcde->flow_mode = MCDE_VIDEO_FORMATTER_FLOW; in mcde_dsi_attach_to_mcde() 167 d->mcde->flow_mode = MCDE_COMMAND_TE_FLOW; in mcde_dsi_attach_to_mcde()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/mcde/ |
H A D | mcde_drm.h | 79 enum mcde_flow_mode flow_mode; member 102 return (mcde->flow_mode == MCDE_VIDEO_TE_FLOW || in mcde_flow_is_video() 103 mcde->flow_mode == MCDE_VIDEO_FORMATTER_FLOW); in mcde_flow_is_video()
|
H A D | mcde_display.c | 101 if (mcde->flow_mode == MCDE_COMMAND_ONESHOT_FLOW) { in mcde_display_irq() 533 switch (mcde->flow_mode) { in mcde_configure_channel() 572 mcde->flow_mode); in mcde_configure_channel() 1257 switch (mcde->flow_mode) { in mcde_display_enable() 1287 if (mcde->flow_mode != MCDE_COMMAND_ONESHOT_FLOW) { in mcde_display_enable() 1341 if (mcde->flow_mode == MCDE_COMMAND_BTA_TE_FLOW) in mcde_start_flow() 1354 if (mcde->flow_mode == MCDE_COMMAND_ONESHOT_FLOW) { in mcde_start_flow()
|
H A D | mcde_drv.c | 163 mcde->flow_mode = MCDE_DPI_FORMATTER_FLOW; in mcde_modeset_init()
|
H A D | mcde_dsi.c | 165 d->mcde->flow_mode = MCDE_VIDEO_FORMATTER_FLOW; in mcde_dsi_attach_to_mcde() 167 d->mcde->flow_mode = MCDE_COMMAND_TE_FLOW; in mcde_dsi_attach_to_mcde()
|
/kernel/linux/linux-5.10/drivers/soundwire/ |
H A D | bus.h | 194 int flow_mode, int data_mode) in sdw_fill_port_params() 198 params->flow_mode = flow_mode; in sdw_fill_port_params() 192 sdw_fill_port_params(struct sdw_port_params *params, int port_num, int bps, int flow_mode, int data_mode) sdw_fill_port_params() argument
|
H A D | cadence_master.c | 1312 u32p_replace_bits(&dpn_config, p_params->flow_mode, CDNS_DPN_CONFIG_PORT_FLOW); in cdns_port_params()
|
H A D | stream.c | 160 wbuf |= FIELD_PREP(SDW_DPN_PORTCTRL_FLOWMODE, p_params->flow_mode); in sdw_program_slave_port_params()
|
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | bus.h | 191 int flow_mode, int data_mode) in sdw_fill_port_params() 195 params->flow_mode = flow_mode; in sdw_fill_port_params() 189 sdw_fill_port_params(struct sdw_port_params *params, int port_num, int bps, int flow_mode, int data_mode) sdw_fill_port_params() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 463 sky2->flow_mode = FC_NONE; in sky2_phy_init() 468 adv |= copper_fc_adv[sky2->flow_mode]; in sky2_phy_init() 470 adv |= fiber_fc_adv[sky2->flow_mode]; in sky2_phy_init() 473 reg |= gm_fc_disable[sky2->flow_mode]; in sky2_phy_init() 476 if (sky2->flow_mode & FC_RX) in sky2_phy_init() 824 save_mode = sky2->flow_mode; in sky2_wol_init() 828 sky2->flow_mode = FC_NONE; in sky2_wol_init() 835 sky2->flow_mode = save_mode; in sky2_wol_init() 4016 switch (sky2->flow_mode) { in sky2_get_pauseparam() 4044 sky2->flow_mode in sky2_set_pauseparam() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 462 sky2->flow_mode = FC_NONE; in sky2_phy_init() 467 adv |= copper_fc_adv[sky2->flow_mode]; in sky2_phy_init() 469 adv |= fiber_fc_adv[sky2->flow_mode]; in sky2_phy_init() 472 reg |= gm_fc_disable[sky2->flow_mode]; in sky2_phy_init() 475 if (sky2->flow_mode & FC_RX) in sky2_phy_init() 823 save_mode = sky2->flow_mode; in sky2_wol_init() 827 sky2->flow_mode = FC_NONE; in sky2_wol_init() 834 sky2->flow_mode = save_mode; in sky2_wol_init() 4016 switch (sky2->flow_mode) { in sky2_get_pauseparam() 4044 sky2->flow_mode in sky2_set_pauseparam() [all...] |
/kernel/linux/linux-5.10/include/linux/soundwire/ |
H A D | sdw.h | 704 * @flow_mode: Port Data flow mode 713 unsigned int flow_mode; member
|
/kernel/linux/linux-6.6/include/linux/soundwire/ |
H A D | sdw.h | 753 * @flow_mode: Port Data flow mode 762 unsigned int flow_mode; member
|