Home
last modified time | relevance | path

Searched refs:f_index (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/media/i2c/
Dog01a1b.c442 static u64 to_pixel_rate(u32 f_index) in to_pixel_rate() argument
444 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OG01A1B_DATA_LANES; in to_pixel_rate()
451 static u64 to_pixels_per_line(u32 hts, u32 f_index) in to_pixels_per_line() argument
453 u64 ppl = hts * to_pixel_rate(f_index); in to_pixels_per_line()
Dov9734.c350 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()
Dov2740.c357 static u64 to_pixel_rate(u32 f_index) in to_pixel_rate() argument
359 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV2740_DATA_LANES; in to_pixel_rate()
366 static u64 to_pixels_per_line(u32 hts, u32 f_index) in to_pixels_per_line() argument
368 u64 ppl = hts * to_pixel_rate(f_index); in to_pixels_per_line()
Dov08d10.c639 u32 f_index, u8 nlanes) in to_rate() argument
641 u64 pixel_rate = link_freq_menu[f_index] * 2 * nlanes; in to_rate()
649 u32 f_index, u8 nlanes) in to_pixels_per_line() argument
651 u64 ppl = hts * to_rate(link_freq_menu, f_index, nlanes); in to_pixels_per_line()
Dov5675.c523 static u64 to_pixel_rate(u32 f_index) in to_pixel_rate() argument
525 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV5675_DATA_LANES; in to_pixel_rate()
532 static u64 to_pixels_per_line(u32 hts, u32 f_index) in to_pixels_per_line() argument
534 u64 ppl = hts * to_pixel_rate(f_index); in to_pixels_per_line()
Dov8856.c1606 u32 f_index, u8 nlanes) in to_rate() argument
1608 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * nlanes; in to_rate()
1616 u32 f_index, u8 nlanes) in to_pixels_per_line() argument
1618 u64 ppl = hts * to_rate(link_freq_menu_items, f_index, nlanes); in to_pixels_per_line()
Dov02a10.c249 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()
Dhi556.c587 static u64 to_pixel_rate(u32 f_index) in to_pixel_rate() argument
589 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * HI556_DATA_LANES; in to_pixel_rate()
Dhi847.c2192 static u64 to_pixel_rate(u32 f_index) in to_pixel_rate() argument
2194 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * HI847_DATA_LANES; in to_pixel_rate()
/Linux-v6.6/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c444 static void bcmgenet_hfb_enable_filter(struct bcmgenet_priv *priv, u32 f_index) in bcmgenet_hfb_enable_filter() argument
449 offset = HFB_FLT_ENABLE_V3PLUS + (f_index < 32) * sizeof(u32); in bcmgenet_hfb_enable_filter()
451 reg |= (1 << (f_index % 32)); in bcmgenet_hfb_enable_filter()
458 static void bcmgenet_hfb_disable_filter(struct bcmgenet_priv *priv, u32 f_index) in bcmgenet_hfb_disable_filter() argument
465 if (f_index < 32) { in bcmgenet_hfb_disable_filter()
466 reg1 &= ~(1 << (f_index % 32)); in bcmgenet_hfb_disable_filter()
469 reg &= ~(1 << (f_index % 32)); in bcmgenet_hfb_disable_filter()
480 u32 f_index, u32 rx_queue) in bcmgenet_hfb_set_filter_rx_queue_mapping() argument
485 offset = f_index / 8; in bcmgenet_hfb_set_filter_rx_queue_mapping()
487 reg &= ~(0xF << (4 * (f_index % 8))); in bcmgenet_hfb_set_filter_rx_queue_mapping()
[all …]