Home
last modified time | relevance | path

Searched refs:feat (Results 1 – 25 of 34) sorted by relevance

12

/drivers/gpu/drm/tidss/
Dtidss_dispc.c294 const struct dispc_features *feat; member
681 for (i = 0; i < dispc->feat->num_vps; ++i) { in dispc_k3_clear_irqstatus()
687 for (i = 0; i < dispc->feat->num_planes; ++i) { in dispc_k3_clear_irqstatus()
693 if (dispc->feat->subrev == DISPC_K2G) in dispc_k3_clear_irqstatus()
708 for (i = 0; i < dispc->feat->num_vps; ++i) in dispc_k3_read_and_clear_irqstatus()
711 for (i = 0; i < dispc->feat->num_planes; ++i) in dispc_k3_read_and_clear_irqstatus()
724 for (i = 0; i < dispc->feat->num_vps; ++i) in dispc_k3_read_irqenable()
727 for (i = 0; i < dispc->feat->num_planes; ++i) in dispc_k3_read_irqenable()
745 for (i = 0; i < dispc->feat->num_vps; ++i) { in dispc_k3_set_irqenable()
753 for (i = 0; i < dispc->feat->num_planes; ++i) { in dispc_k3_set_irqenable()
[all …]
Dtidss_kms.c119 const struct dispc_features *feat = tidss->feat; in tidss_dispc_modeset_init() local
120 u32 max_vps = feat->num_vps; in tidss_dispc_modeset_init()
121 u32 max_planes = feat->num_planes; in tidss_dispc_modeset_init()
150 switch (feat->vp_bus_type[i]) { in tidss_dispc_modeset_init()
196 u32 hw_plane_id = feat->vid_order[tidss->num_planes]; in tidss_dispc_modeset_init()
234 u32 hw_plane_id = feat->vid_order[tidss->num_planes]; in tidss_dispc_modeset_init()
Dtidss_drv.h21 const struct dispc_features *feat; member
Dtidss_crtc.c136 for (layer = 0; layer < tidss->feat->num_planes; layer++) { in tidss_crtc_position_planes()
413 bool has_ctm = tidss->feat->vp_feat.color.has_ctm; in tidss_crtc_create()
439 if (tidss->feat->vp_feat.color.gamma_size) in tidss_crtc_create()
Dtidss_drv.c140 tidss->feat = of_device_get_match_data(dev); in tidss_probe()
/drivers/misc/
Dad525x_dpot.c90 unsigned int feat; member
133 if (dpot->feat & F_RDACS_WONLY) in dpot_read_spi()
169 if (dpot->feat & F_SPI_16BIT) in dpot_read_spi()
171 else if (dpot->feat & F_SPI_24BIT) in dpot_read_spi()
233 if (dpot->feat & F_SPI) in dpot_read()
244 if (dpot->feat & F_RDACS_WONLY) in dpot_write_spi()
247 if (dpot->feat & F_AD_APPDATA) { in dpot_write_spi()
248 if (dpot->feat & F_SPI_8BIT) { in dpot_write_spi()
253 } else if (dpot->feat & F_SPI_16BIT) { in dpot_write_spi()
320 if (dpot->feat & F_SPI_16BIT) in dpot_write_spi()
[all …]
/drivers/gpu/drm/omapdrm/dss/
Ddss.c116 if (dss->feat->outputs[OMAP_DSS_CHANNEL_LCD] & OMAP_DSS_OUTPUT_SDI) { in dss_save_context()
135 if (dss->feat->outputs[OMAP_DSS_CHANNEL_LCD] & OMAP_DSS_OUTPUT_SDI) { in dss_restore_context()
369 if (dss->feat->outputs[OMAP_DSS_CHANNEL_LCD] & OMAP_DSS_OUTPUT_SDI) { in dss_dump_regs()
413 if (WARN_ON(dss->feat->has_lcd_clk_src && clk_src != DSS_CLK_SRC_FCK)) in dss_select_dispc_clk_source()
432 dss->feat->dispc_clk_switch.start, in dss_select_dispc_clk_source()
433 dss->feat->dispc_clk_switch.end); in dss_select_dispc_clk_source()
561 if (!dss->feat->has_lcd_clk_src) { in dss_select_lcd_clk_source()
567 r = dss->feat->ops->select_lcd_source(dss, channel, clk_src); in dss_select_lcd_clk_source()
588 if (dss->feat->has_lcd_clk_src) { in dss_get_lcd_clk_source()
608 fck_hw_max = dss->feat->fck_freq_max; in dss_div_calc()
[all …]
Ddispc.c182 const struct dispc_features *feat; member
382 return dispc->feat->num_ovls; in dispc_get_num_ovls()
387 return dispc->feat->num_mgrs; in dispc_get_num_mgrs()
394 BUG_ON(id >= dispc->feat->num_reg_fields); in dispc_get_reg_field()
396 *start = dispc->feat->reg_fields[id].start; in dispc_get_reg_field()
397 *end = dispc->feat->reg_fields[id].end; in dispc_get_reg_field()
405 for (i = 0; i < dispc->feat->num_features; i++) { in dispc_has_feature()
406 if (dispc->feat->features[i] == id) in dispc_has_feature()
680 if (channel == OMAP_DSS_CHANNEL_DIGIT && dispc->feat->no_framedone_tv) in dispc_mgr_get_framedone_irq()
1271 if (dispc->feat->has_writeback) in dispc_configure_burst_sizes()
[all …]
/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c91 const struct dss_features *feat; member
534 fckd_hw_max = dss.feat->fck_div_max; in dss_div_calc()
536 m = dss.feat->dss_fck_multiplier; in dss_div_calc()
592 fck_div = DIV_ROUND_UP(prate * dss.feat->dss_fck_multiplier, in dss_setup_default_clock()
594 fck = DIV_ROUND_UP(prate, fck_div) * dss.feat->dss_fck_multiplier; in dss_setup_default_clock()
728 return dss.feat->dpi_select_source(port, channel); in dss_dpi_select_source()
743 if (dss.feat->parent_clk_name) { in dss_get_clocks()
744 clk = clk_get(NULL, dss.feat->parent_clk_name); in dss_get_clocks()
746 DSSERR("Failed to get %s\n", dss.feat->parent_clk_name); in dss_get_clocks()
931 if (dss.feat->num_ports == 0) in dss_init_ports()
[all …]
Ddispc.c118 const struct dispc_features *feat; member
550 if (channel == OMAP_DSS_CHANNEL_DIGIT && dispc.feat->no_framedone_tv) in dispc_mgr_get_framedone_irq()
695 if (dispc.feat->has_writeback) in dispc_setup_color_conv_coef()
1023 if (dispc.feat->has_writeback) in dispc_configure_burst_sizes()
1105 val = FLD_VAL(height - 1, dispc.feat->mgr_height_start, 16) | in dispc_mgr_set_size()
1106 FLD_VAL(width - 1, dispc.feat->mgr_width_start, 0); in dispc_mgr_set_size()
1123 for (fifo = 0; fifo < dispc.feat->num_fifos; ++fifo) { in dispc_init_fifos()
1142 if (dispc.feat->gfx_fifo_workaround) { in dispc_init_fifos()
1172 if (dispc.feat->has_writeback) { in dispc_init_fifos()
1189 for (fifo = 0; fifo < dispc.feat->num_fifos; ++fifo) { in dispc_ovl_get_fifo_size()
[all …]
/drivers/thermal/qcom/
Dtsens.c163 if (priv->feat->adc) in tsens_hw_to_mC()
185 if (priv->feat->adc) in tsens_mC_to_hw()
194 return priv->feat->ver_major; in tsens_version()
296 if (priv->feat->crit_int) { in tsens_threshold_violated()
394 if (priv->feat->has_watchdog) { in tsens_critical_irq_thread()
664 priv->feat->max_sensors, priv->num_sensors); in dbg_sensors_show()
864 for (i = 0; i < priv->feat->max_sensors; i++) { in init_common()
877 if (priv->feat->crit_int || tsens_version(priv) < VER_0_1) { in init_common()
880 for (i = 0; i < priv->feat->max_sensors; i++) { in init_common()
897 priv->feat->has_watchdog = 1; in init_common()
[all …]
Dtsens-v2.c100 .feat = &tsens_v2_feat,
108 .feat = &tsens_v2_feat,
Dtsens-v1.c360 .feat = &tsens_v1_feat,
373 .feat = &tsens_v1_feat,
387 .feat = &tsens_v1_feat,
Dtsens-v0_1.c604 .feat = &tsens_v0_1_feat,
619 .feat = &tsens_v0_1_feat,
632 .feat = &tsens_v0_1_feat,
646 .feat = &tsens_v0_1_feat,
Dtsens.h525 struct tsens_features *feat; member
570 struct tsens_features *feat; member
/drivers/net/ethernet/google/gve/
Dgve_rx.c371 netdev_features_t feat, u32 idx) in gve_rx() argument
438 if (likely(feat & NETIF_F_RXCSUM)) { in gve_rx()
448 if (likely(feat & NETIF_F_RXHASH) && in gve_rx()
535 netdev_features_t feat) in gve_clean_rx_done() argument
556 dropped = !gve_rx(rx, desc, feat, idx); in gve_clean_rx_done()
604 netdev_features_t feat; in gve_rx_poll() local
607 feat = block->napi.dev->features; in gve_rx_poll()
614 repoll |= gve_clean_rx_done(rx, budget, feat); in gve_rx_poll()
Dgve_rx_dqo.c632 netdev_features_t feat) in gve_rx_complete_skb() argument
640 if (feat & NETIF_F_RXHASH) in gve_rx_complete_skb()
643 if (feat & NETIF_F_RXCSUM) in gve_rx_complete_skb()
666 netdev_features_t feat = napi->dev->features; in gve_rx_poll_dqo() local
735 if (gve_rx_complete_skb(rx, napi, compl_desc, feat) != 0) { in gve_rx_poll_dqo()
/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c622 u8 port, u16 feat) in ast_vhub_set_port_feature() argument
632 switch(feat) { in ast_vhub_set_port_feature()
665 u8 port, u16 feat) in ast_vhub_clr_port_feature() argument
675 switch(feat) { in ast_vhub_clr_port_feature()
703 p->change &= ~(1u << (feat - 16)); in ast_vhub_clr_port_feature()
/drivers/media/usb/em28xx/
Dem28xx-core.c504 int vid1, vid2, feat, cfg; in em28xx_audio_setup() local
575 feat = em28xx_read_ac97(dev, AC97_RESET); in em28xx_audio_setup()
576 if (feat < 0) in em28xx_audio_setup()
579 dev_warn(&dev->intf->dev, "AC97 features = 0x%04x\n", feat); in em28xx_audio_setup()
582 if ((vid == 0xffffffff || vid == 0x83847650) && feat == 0x6a90) in em28xx_audio_setup()
/drivers/gpu/drm/panfrost/
Dpanfrost_features.h304 enum panfrost_hw_feature feat) in panfrost_has_hw_feature() argument
306 return test_bit(feat, pfdev->features.hw_features); in panfrost_has_hw_feature()
/drivers/virt/vboxguest/
Dvboxguest_linux.c204 u32 feat = VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE | VMMDEV_MOUSE_NEW_PROTOCOL; in vbg_input_open() local
206 return vbg_core_set_mouse_status(gdev, feat); in vbg_input_open()
/drivers/net/wireless/ath/carl9170/
Dfw.c239 #define SUPP(feat) \ in carl9170_fw() argument
240 (carl9170fw_supports(otus_desc->feature_set, feat)) in carl9170_fw()
/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2782 enum iommu_dev_features feat) in arm_smmu_dev_has_feature() argument
2789 switch (feat) { in arm_smmu_dev_has_feature()
2800 enum iommu_dev_features feat) in arm_smmu_dev_feature_enabled() argument
2807 switch (feat) { in arm_smmu_dev_feature_enabled()
2818 enum iommu_dev_features feat) in arm_smmu_dev_enable_feature() argument
2822 if (!arm_smmu_dev_has_feature(dev, feat)) in arm_smmu_dev_enable_feature()
2825 if (arm_smmu_dev_feature_enabled(dev, feat)) in arm_smmu_dev_enable_feature()
2828 switch (feat) { in arm_smmu_dev_enable_feature()
2840 enum iommu_dev_features feat) in arm_smmu_dev_disable_feature() argument
2844 if (!arm_smmu_dev_feature_enabled(dev, feat)) in arm_smmu_dev_disable_feature()
[all …]
/drivers/net/ethernet/amazon/ena/
Dena_netdev.c4075 static void ena_set_dev_offloads(struct ena_com_dev_get_features_ctx *feat, in ena_set_dev_offloads() argument
4081 if (feat->offload.tx & in ena_set_dev_offloads()
4085 if (feat->offload.tx & in ena_set_dev_offloads()
4089 if (feat->offload.tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK) in ena_set_dev_offloads()
4092 if (feat->offload.tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK) in ena_set_dev_offloads()
4095 if (feat->offload.tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK) in ena_set_dev_offloads()
4098 if (feat->offload.rx_supported & in ena_set_dev_offloads()
4102 if (feat->offload.rx_supported & in ena_set_dev_offloads()
4117 struct ena_com_dev_get_features_ctx *feat) in ena_set_conf_feat_params() argument
4122 if (!is_valid_ether_addr(feat->dev_attr.mac_addr)) { in ena_set_conf_feat_params()
[all …]
/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c671 u64 feat; in nfp_flower_wait_host_bit() local
677 feat = nfp_rtsym_read_le(app->pf->rtbl, in nfp_flower_wait_host_bit()
686 } while (!err && !(feat & NFP_FL_FEATS_HOST_ACK)); in nfp_flower_wait_host_bit()

12