Searched refs:gen_cfg (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/microchip/ |
D | lan743x_ptp.c | 650 u32 gen_cfg; in lan743x_ptp_io_perout_off() local 663 gen_cfg = lan743x_csr_read(adapter, HS_PTP_GENERAL_CONFIG); in lan743x_ptp_io_perout_off() 664 gen_cfg &= ~(HS_PTP_GENERAL_CONFIG_CLOCK_EVENT_X_MASK_ in lan743x_ptp_io_perout_off() 666 gen_cfg &= ~(HS_PTP_GENERAL_CONFIG_EVENT_POL_X_(event_ch)); in lan743x_ptp_io_perout_off() 667 gen_cfg |= HS_PTP_GENERAL_CONFIG_RELOAD_ADD_X_(event_ch); in lan743x_ptp_io_perout_off() 668 lan743x_csr_write(adapter, HS_PTP_GENERAL_CONFIG, gen_cfg); in lan743x_ptp_io_perout_off() 706 u32 gen_cfg; in lan743x_ptp_io_perout() local 792 gen_cfg = lan743x_csr_read(adapter, HS_PTP_GENERAL_CONFIG); in lan743x_ptp_io_perout() 793 gen_cfg &= ~(HS_PTP_GENERAL_CONFIG_CLOCK_EVENT_X_MASK_(event_ch)); in lan743x_ptp_io_perout() 794 gen_cfg |= HS_PTP_GENERAL_CONFIG_CLOCK_EVENT_X_SET_ in lan743x_ptp_io_perout() [all …]
|
/linux-6.12.1/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptpf_mbox.c | 180 nix_req->gen_cfg.egrp = egrp; in rx_inline_ipsec_lf_cfg() 182 nix_req->gen_cfg.opcode = req->opcode; in rx_inline_ipsec_lf_cfg() 184 nix_req->gen_cfg.opcode = cpt_inline_rx_opcode(pdev); in rx_inline_ipsec_lf_cfg() 185 nix_req->gen_cfg.param1 = req->param1; in rx_inline_ipsec_lf_cfg() 186 nix_req->gen_cfg.param2 = req->param2; in rx_inline_ipsec_lf_cfg()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 5425 val |= FIELD_PREP(IPSEC_GEN_CFG_EGRP, req->gen_cfg.egrp); in nix_inline_ipsec_cfg() 5426 val |= FIELD_PREP(IPSEC_GEN_CFG_OPCODE, req->gen_cfg.opcode); in nix_inline_ipsec_cfg() 5427 val |= FIELD_PREP(IPSEC_GEN_CFG_PARAM1, req->gen_cfg.param1); in nix_inline_ipsec_cfg() 5428 val |= FIELD_PREP(IPSEC_GEN_CFG_PARAM2, req->gen_cfg.param2); in nix_inline_ipsec_cfg() 5492 rsp->gen_cfg.egrp = FIELD_GET(IPSEC_GEN_CFG_EGRP, val); in rvu_mbox_handler_nix_read_inline_ipsec_cfg() 5493 rsp->gen_cfg.opcode = FIELD_GET(IPSEC_GEN_CFG_OPCODE, val); in rvu_mbox_handler_nix_read_inline_ipsec_cfg() 5494 rsp->gen_cfg.param1 = FIELD_GET(IPSEC_GEN_CFG_PARAM1, val); in rvu_mbox_handler_nix_read_inline_ipsec_cfg() 5495 rsp->gen_cfg.param2 = FIELD_GET(IPSEC_GEN_CFG_PARAM2, val); in rvu_mbox_handler_nix_read_inline_ipsec_cfg()
|
D | mbox.h | 1297 } gen_cfg; member
|