Lines Matching refs:be16_to_cpu

29 	option_end = (void *)(option + 1) + be16_to_cpu(option->option_length);  in gve_get_next_option()
30 descriptor_end = (void *)descriptor + be16_to_cpu(descriptor->total_length); in gve_get_next_option()
45 u16 option_length = be16_to_cpu(option->option_length); in gve_parse_device_option()
46 u16 option_id = be16_to_cpu(option->option_id); in gve_parse_device_option()
151 const int num_options = be16_to_cpu(descriptor->num_device_options); in gve_process_device_options()
653 priv->tx_desc_cnt = be16_to_cpu(descriptor->tx_queue_entries); in gve_set_desc_cnt()
659 priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries); in gve_set_desc_cnt()
674 priv->tx_desc_cnt = be16_to_cpu(descriptor->tx_queue_entries); in gve_set_desc_cnt_dqo()
676 be16_to_cpu(dev_op_dqo_rda->tx_comp_ring_entries); in gve_set_desc_cnt_dqo()
677 priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries); in gve_set_desc_cnt_dqo()
679 be16_to_cpu(dev_op_dqo_rda->rx_buff_ring_entries); in gve_set_desc_cnt_dqo()
697 priv->dev->max_mtu = be16_to_cpu(dev_op_jumbo_frames->max_mtu); in gve_enable_supported_features()
776 mtu = be16_to_cpu(descriptor->mtu); in gve_adminq_describe_device()
783 priv->num_event_counters = be16_to_cpu(descriptor->counters); in gve_adminq_describe_device()
787 priv->tx_pages_per_qpl = be16_to_cpu(descriptor->tx_pages_per_qpl); in gve_adminq_describe_device()
788 priv->rx_data_slot_cnt = be16_to_cpu(descriptor->rx_pages_per_qpl); in gve_adminq_describe_device()
795 priv->default_num_queues = be16_to_cpu(descriptor->default_num_queues); in gve_adminq_describe_device()