Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/kmb/
Dkmb_drv.h77 static inline void kmb_write_lcd(struct kmb_drm_private *dev_p, in kmb_write_lcd() argument
80 writel(value, (dev_p->lcd_mmio + reg)); in kmb_write_lcd()
83 static inline u32 kmb_read_lcd(struct kmb_drm_private *dev_p, unsigned int reg) in kmb_read_lcd() argument
85 return readl(dev_p->lcd_mmio + reg); in kmb_read_lcd()
88 static inline void kmb_set_bitmask_lcd(struct kmb_drm_private *dev_p, in kmb_set_bitmask_lcd() argument
91 u32 reg_val = kmb_read_lcd(dev_p, reg); in kmb_set_bitmask_lcd()
93 kmb_write_lcd(dev_p, reg, (reg_val | mask)); in kmb_set_bitmask_lcd()
96 static inline void kmb_clr_bitmask_lcd(struct kmb_drm_private *dev_p, in kmb_clr_bitmask_lcd() argument
99 u32 reg_val = kmb_read_lcd(dev_p, reg); in kmb_clr_bitmask_lcd()
101 kmb_write_lcd(dev_p, reg, (reg_val & (~mask))); in kmb_clr_bitmask_lcd()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_common.c2460 ice_parse_valid_functions_cap(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_parse_valid_functions_cap() argument
2465 dev_p->num_funcs = hweight32(number); in ice_parse_valid_functions_cap()
2467 dev_p->num_funcs); in ice_parse_valid_functions_cap()
2479 ice_parse_vf_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_parse_vf_dev_caps() argument
2484 dev_p->num_vfs_exposed = number; in ice_parse_vf_dev_caps()
2486 dev_p->num_vfs_exposed); in ice_parse_vf_dev_caps()
2498 ice_parse_vsi_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_parse_vsi_dev_caps() argument
2503 dev_p->num_vsi_allocd_to_host = number; in ice_parse_vsi_dev_caps()
2505 dev_p->num_vsi_allocd_to_host); in ice_parse_vsi_dev_caps()
2517 ice_parse_1588_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_parse_1588_dev_caps() argument
[all …]