Home
last modified time | relevance | path

Searched refs:scheme_id (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/freescale/fman/
Dfman_keygen.c295 static u32 build_ar_scheme(u8 scheme_id, bool update_counter, bool write) in build_ar_scheme() argument
303 ((u32)scheme_id << FM_KG_KGAR_NUM_SHIFT) | in build_ar_scheme()
396 static int keygen_write_scheme(struct fman_kg_regs __iomem *regs, u8 scheme_id, in keygen_write_scheme() argument
425 ar_reg = build_ar_scheme(scheme_id, update_counter, true); in keygen_write_scheme()
444 static int get_free_scheme_id(struct fman_keygen *keygen, u8 *scheme_id) in get_free_scheme_id() argument
450 *scheme_id = i; in get_free_scheme_id()
467 u8 scheme_id) in get_scheme() argument
469 if (scheme_id >= FM_KG_MAX_NUM_OF_SCHEMES) in get_scheme()
471 return &keygen->schemes[scheme_id]; in get_scheme()
485 u8 scheme_id, in keygen_bind_port_to_schemes() argument
[all …]
/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c4102 unsigned int scheme_id; in pvr2_led_ctrl() local
4109 scheme_id = hdw->hdw_desc->led_scheme; in pvr2_led_ctrl()
4110 if (scheme_id < ARRAY_SIZE(led_methods)) { in pvr2_led_ctrl()
4111 fp = led_methods[scheme_id]; in pvr2_led_ctrl()