Searched refs:f_index (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 462 static void bcmgenet_hfb_enable_filter(struct bcmgenet_priv *priv, u32 f_index) in bcmgenet_hfb_enable_filter() argument 467 offset = HFB_FLT_ENABLE_V3PLUS + (f_index < 32) * sizeof(u32); in bcmgenet_hfb_enable_filter() 469 reg |= (1 << (f_index % 32)); in bcmgenet_hfb_enable_filter() 476 static void bcmgenet_hfb_disable_filter(struct bcmgenet_priv *priv, u32 f_index) in bcmgenet_hfb_disable_filter() argument 483 if (f_index < 32) { in bcmgenet_hfb_disable_filter() 484 reg1 &= ~(1 << (f_index % 32)); in bcmgenet_hfb_disable_filter() 487 reg &= ~(1 << (f_index % 32)); in bcmgenet_hfb_disable_filter() 498 u32 f_index, u32 rx_queue) in bcmgenet_hfb_set_filter_rx_queue_mapping() argument 503 offset = f_index / 8; in bcmgenet_hfb_set_filter_rx_queue_mapping() 505 reg &= ~(0xF << (4 * (f_index % 8))); in bcmgenet_hfb_set_filter_rx_queue_mapping() [all …]
|
/drivers/media/i2c/ |
D | ov5675.c | 498 static u64 to_pixel_rate(u32 f_index) in to_pixel_rate() argument 500 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV5675_DATA_LANES; in to_pixel_rate() 507 static u64 to_pixels_per_line(u32 hts, u32 f_index) in to_pixels_per_line() argument 509 u64 ppl = hts * to_pixel_rate(f_index); in to_pixels_per_line()
|
D | ov9734.c | 350 static u64 to_pixel_rate(u32 f_index) in to_pixel_rate() argument 352 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV9734_DATA_LANES; in to_pixel_rate() 359 static u64 to_pixels_per_line(u32 hts, u32 f_index) in to_pixels_per_line() argument 361 u64 ppl = hts * to_pixel_rate(f_index); in to_pixels_per_line()
|
D | ov2740.c | 355 static u64 to_pixel_rate(u32 f_index) in to_pixel_rate() argument 357 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV2740_DATA_LANES; in to_pixel_rate() 364 static u64 to_pixels_per_line(u32 hts, u32 f_index) in to_pixels_per_line() argument 366 u64 ppl = hts * to_pixel_rate(f_index); in to_pixels_per_line()
|
D | ov8856.c | 1561 u32 f_index, u8 nlanes) in to_rate() argument 1563 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * nlanes; in to_rate() 1571 u32 f_index, u8 nlanes) in to_pixels_per_line() argument 1573 u64 ppl = hts * to_rate(link_freq_menu_items, f_index, nlanes); in to_pixels_per_line()
|
D | hi556.c | 500 static u64 to_pixel_rate(u32 f_index) in to_pixel_rate() argument 502 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * HI556_DATA_LANES; in to_pixel_rate()
|
D | ov02a10.c | 249 static u64 to_pixel_rate(u32 f_index) in to_pixel_rate() argument 251 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV02A10_DATA_LANES; in to_pixel_rate()
|