Home
last modified time | relevance | path

Searched refs:back (Results 1 – 25 of 147) sorted by relevance

123456

/drivers/iio/
Dindustrialio-backend.c60 struct iio_backend *back; member
70 #define iio_backend_check_op(back, op) ({ \ argument
71 struct iio_backend *____back = back; \
80 #define iio_backend_op_call(back, op, args...) ({ \ argument
81 struct iio_backend *__back = back; \
91 #define iio_backend_ptr_op_call(back, op, args...) ({ \ argument
92 struct iio_backend *__back = back; \
105 #define iio_backend_void_op_call(back, op, args...) { \ argument
106 struct iio_backend *__back = back; \
122 int iio_backend_chan_enable(struct iio_backend *back, unsigned int chan) in iio_backend_chan_enable() argument
[all …]
/drivers/net/ethernet/intel/ice/
Dice_fltr.c61 struct ice_pf *pf = hw->back; in ice_fltr_set_vlan_vsi_promisc()
85 struct ice_pf *pf = hw->back; in ice_fltr_clear_vlan_vsi_promisc()
108 struct ice_pf *pf = hw->back; in ice_fltr_clear_vsi_promisc()
131 struct ice_pf *pf = hw->back; in ice_fltr_set_vsi_promisc()
150 return ice_add_mac(&vsi->back->hw, list); in ice_fltr_add_mac_list()
160 return ice_remove_mac(&vsi->back->hw, list); in ice_fltr_remove_mac_list()
170 return ice_add_vlan(&vsi->back->hw, list); in ice_fltr_add_vlan_list()
181 return ice_remove_vlan(&vsi->back->hw, list); in ice_fltr_remove_vlan_list()
191 return ice_add_eth_mac(&vsi->back->hw, list); in ice_fltr_add_eth_list()
201 return ice_remove_eth_mac(&vsi->back->hw, list); in ice_fltr_remove_eth_list()
[all …]
Dice_vsi_vlan_lib.c11 dev_err(ice_pf_to_dev(vsi->back), "%s %d specified invalid VLAN tpid 0x%04x\n", in print_invalid_tpid()
53 dev_err(ice_pf_to_dev(vsi->back), "Failure Adding VLAN %d on VSI %i, status %d\n", in ice_vsi_add_vlan()
66 struct ice_pf *pf = vsi->back; in ice_vsi_del_vlan()
93 struct ice_hw *hw = &vsi->back->hw; in ice_vsi_manage_vlan_insertion()
115 dev_err(ice_pf_to_dev(vsi->back), "update VSI for VLAN insert failed, err %d aq_err %s\n", in ice_vsi_manage_vlan_insertion()
133 struct ice_hw *hw = &vsi->back->hw; in ice_vsi_manage_vlan_stripping()
171 dev_err(ice_pf_to_dev(vsi->back), "update VSI for VLAN strip failed, ena = %d err %d aq_err %s\n", in ice_vsi_manage_vlan_stripping()
237 struct ice_hw *hw = &vsi->back->hw; in __ice_vsi_set_inner_port_vlan()
290 struct ice_hw *hw = &vsi->back->hw; in ice_vsi_clear_inner_port_vlan()
338 pf = vsi->back; in ice_cfg_vlan_pruning()
[all …]
Dice_lib.c55 ice_flush(&vsi->back->hw); in ice_vsi_ctrl_all_rx_rings()
75 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays()
154 dev_dbg(ice_pf_to_dev(vsi->back), "Not setting number of Tx/Rx descriptors for VSI type %d\n", in ice_vsi_set_num_desc()
169 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs()
284 struct ice_pf *pf = vsi->back; in ice_vsi_delete_from_hw()
313 struct ice_pf *pf = vsi->back; in ice_vsi_free_arrays()
338 struct ice_pf *pf = vsi->back; in ice_vsi_free_stats()
379 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_ring_stats()
443 if (!vsi || !vsi->back) in ice_vsi_free()
446 pf = vsi->back; in ice_vsi_free()
[all …]
Dice_arfs.c27 struct ice_pf *pf = hw->back; in ice_is_arfs_using_perfect_flow()
90 …dev_err(ice_pf_to_dev(vsi->back), "aRFS: Failed to update filter counters, invalid filter type %d\… in ice_arfs_update_active_fltr_cntrs()
111 dev = ice_pf_to_dev(vsi->back); in ice_arfs_del_flow_rules()
116 result = ice_fdir_write_fltr(vsi->back, &e->fltr_info, false, in ice_arfs_del_flow_rules()
148 dev = ice_pf_to_dev(vsi->back); in ice_arfs_add_flow_rules()
153 result = ice_fdir_write_fltr(vsi->back, in ice_arfs_add_flow_rules()
222 dev = ice_pf_to_dev(vsi->back); in ice_arfs_update_flow_rules()
307 arfs_entry = devm_kzalloc(ice_pf_to_dev(vsi->back), in ice_arfs_build_entry()
413 pf = vsi->back; in ice_rx_flow_steer()
546 if (!vsi || vsi->type != ICE_VSI_PF || !vsi->back || in ice_clear_arfs()
[all …]
Dice_base.c104 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_q_vector()
180 struct ice_pf *pf = vsi->back; in ice_free_q_vector()
324 struct ice_hw *hw = &vsi->back->hw; in ice_setup_tx_ctx()
418 hw = &vsi->back->hw; in ice_setup_rx_ctx()
499 …dev_err(ice_pf_to_dev(vsi->back), "Failed to set LAN Rx queue context for absolute Rx queue %d err… in ice_setup_rx_ctx()
508 if (!vsi->netdev || test_bit(ICE_FLAG_LEGACY_RX, vsi->back->flags)) in ice_setup_rx_ctx()
549 struct device *dev = ice_pf_to_dev(ring->vsi->back); in ice_vsi_cfg_rxq()
677 struct ice_pf *pf = vsi->back; in ice_vsi_ctrl_one_rx_ring()
715 struct ice_pf *pf = vsi->back; in ice_vsi_wait_one_rx_ring()
729 struct device *dev = ice_pf_to_dev(vsi->back); in ice_vsi_alloc_q_vectors()
[all …]
Dice_vf_vsi_vlan_ops.c27 struct ice_pf *pf = vsi->back; in ice_port_vlan_on()
60 struct ice_pf *pf = vsi->back; in ice_port_vlan_off()
133 struct ice_pf *pf = vsi->back; in ice_vf_vsi_init_vlan_ops()
176 if (!ice_is_dvm_ena(&vsi->back->hw) || ice_vf_is_port_vlan_ena(vf)) in ice_vf_vsi_cfg_dvm_legacy_vlan_mode()
243 if (ice_is_dvm_ena(&vsi->back->hw) || ice_vf_is_port_vlan_ena(vf)) in ice_vf_vsi_cfg_svm_legacy_vlan_mode()
Dice_main.c131 hw = &vsi->back->hw; in ice_check_for_hang_subtask()
271 status = ice_fltr_set_vlan_vsi_promisc(&vsi->back->hw, vsi, in ice_set_promisc()
274 status = ice_fltr_set_vsi_promisc(&vsi->back->hw, vsi->idx, in ice_set_promisc()
300 status = ice_fltr_clear_vlan_vsi_promisc(&vsi->back->hw, vsi, in ice_clear_promisc()
303 status = ice_fltr_clear_vsi_promisc(&vsi->back->hw, vsi->idx, in ice_clear_promisc()
321 struct device *dev = ice_pf_to_dev(vsi->back); in ice_vsi_sync_fltr()
324 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr()
767 if (test_bit(ICE_FLAG_LINK_LENIENT_MODE_ENA, vsi->back->flags)) in ice_print_topo_conflict()
1902 if (!vsi || !vsi->port_info || !vsi->back) in ice_force_phys_link_state()
1907 dev = ice_pf_to_dev(vsi->back); in ice_force_phys_link_state()
[all …]
Dice_ethtool.c352 struct ice_pf *pf = vsi->back; in __ice_get_drvinfo()
391 struct ice_pf *pf = np->vsi->back; in ice_get_regs()
405 struct ice_pf *pf = np->vsi->back; in ice_get_msglevel()
419 struct ice_pf *pf = np->vsi->back; in ice_set_msglevel()
434 struct ice_pf *pf = np->vsi->back; in ice_get_eeprom_len()
445 struct ice_pf *pf = vsi->back; in ice_get_eeprom()
545 struct ice_pf *pf = np->vsi->back; in ice_eeprom_test()
559 struct ice_pf *pf = (struct ice_pf *)hw->back; in ice_reg_pattern_test()
861 struct ice_pf *pf = orig_vsi->back; in ice_loopback_test()
955 struct ice_pf *pf = np->vsi->back; in ice_intr_test()
[all …]
Dice_vsi_vlan_ops.c82 dev_dbg(ice_pf_to_dev(vsi->back), "%s does not support VLAN operations\n", in ice_vsi_init_vlan_ops()
99 if (ice_is_dvm_ena(&vsi->back->hw)) in ice_get_compat_vsi_vlan_ops()
Dice_vf_lib.c450 struct ice_pf *pf = vsi->back; in ice_vf_rebuild_aggregator_node_cfg()
655 struct ice_hw *hw = &vsi->back->hw; in ice_vf_set_vsi_promisc()
667 …dev_err(ice_pf_to_dev(vsi->back), "enable Tx/Rx filter promiscuous mode on VF-%u failed, error: %d… in ice_vf_set_vsi_promisc()
684 struct ice_hw *hw = &vsi->back->hw; in ice_vf_clear_vsi_promisc()
696 …dev_err(ice_pf_to_dev(vsi->back), "disable Tx/Rx filter promiscuous mode on VF-%u failed, error: %… in ice_vf_clear_vsi_promisc()
1091 err = ice_update_vsi(&vsi->back->hw, vsi->idx, ctx, NULL); in ice_cfg_mac_antispoof()
1093 …dev_err(ice_pf_to_dev(vsi->back), "Failed to configure Tx MAC anti-spoof %s for VSI %d, error %d\n… in ice_cfg_mac_antispoof()
/drivers/iio/adc/
Dadi-axi-adc.c64 static int axi_adc_enable(struct iio_backend *back) in axi_adc_enable() argument
66 struct adi_axi_adc_state *st = iio_backend_get_priv(back); in axi_adc_enable()
79 static void axi_adc_disable(struct iio_backend *back) in axi_adc_disable() argument
81 struct adi_axi_adc_state *st = iio_backend_get_priv(back); in axi_adc_disable()
86 static int axi_adc_data_format_set(struct iio_backend *back, unsigned int chan, in axi_adc_data_format_set() argument
89 struct adi_axi_adc_state *st = iio_backend_get_priv(back); in axi_adc_data_format_set()
107 static int axi_adc_chan_enable(struct iio_backend *back, unsigned int chan) in axi_adc_chan_enable() argument
109 struct adi_axi_adc_state *st = iio_backend_get_priv(back); in axi_adc_chan_enable()
115 static int axi_adc_chan_disable(struct iio_backend *back, unsigned int chan) in axi_adc_chan_disable() argument
117 struct adi_axi_adc_state *st = iio_backend_get_priv(back); in axi_adc_chan_disable()
[all …]
Dad9467.c117 struct iio_backend *back; member
396 ret = iio_backend_chan_enable(st->back, c); in ad9467_update_scan_mode()
398 ret = iio_backend_chan_disable(st->back, c); in ad9467_update_scan_mode()
460 ret = iio_backend_data_format_set(st->back, c, &data); in ad9467_setup()
488 st->back = devm_iio_backend_get(dev, NULL); in ad9467_iio_backend_get()
489 if (!IS_ERR(st->back)) in ad9467_iio_backend_get()
492 if (PTR_ERR(st->back) != -ENOENT) in ad9467_iio_backend_get()
493 return PTR_ERR(st->back); in ad9467_iio_backend_get()
515 st->back = __devm_iio_backend_get_from_fwnode_lookup(dev, in ad9467_iio_backend_get()
518 return PTR_ERR_OR_ZERO(st->back); in ad9467_iio_backend_get()
[all …]
/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c189 return &req->back; in nfp_net_tls_set_ipv4()
209 return &req->back; in nfp_net_tls_set_ipv6()
214 struct nfp_crypto_req_add_back *back, struct sock *sk, in nfp_net_tls_set_l4() argument
222 back->src_port = 0; in nfp_net_tls_set_l4()
223 back->dst_port = 0; in nfp_net_tls_set_l4()
225 back->src_port = inet->inet_dport; in nfp_net_tls_set_l4()
226 back->dst_port = inet->inet_sport; in nfp_net_tls_set_l4()
273 struct nfp_crypto_req_add_back *back; in nfp_net_tls_add() local
328 back = nfp_net_tls_set_ipv6(nn, req, sk, direction); in nfp_net_tls_add()
330 back = nfp_net_tls_set_ipv4(nn, req, sk, direction); in nfp_net_tls_add()
[all …]
Dfw.h61 struct nfp_crypto_req_add_back back; member
68 struct nfp_crypto_req_add_back back; member
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c36 struct hclge_dev *hdev = vport->back; in hclge_gen_resp_to_vf()
95 struct hclge_dev *hdev = vport->back; in hclge_send_mbx_msg()
142 struct hclge_dev *hdev = vport->back; in hclge_inform_reset_assert_to_vf()
186 struct hclge_dev *hdev = vport->back; in hclge_get_ring_chain_from_mbx()
265 struct hclge_dev *hdev = vport->back; in hclge_query_ring_vector_map()
338 struct hclge_dev *hdev = vport->back; in hclge_set_vf_promisc_mode()
360 struct hclge_dev *hdev = vport->back; in hclge_set_vf_uc_mac_addr()
402 struct hclge_dev *hdev = vport->back; in hclge_set_vf_mc_mac_addr()
443 struct hclge_dev *hdev = vport->back; in hclge_set_vf_vlan_cfg()
494 struct hnae3_ae_dev *ae_dev = vport->back->ae_dev; in hclge_get_basic_info()
[all …]
Dhclge_dcb.c72 struct hclge_dev *hdev = vport->back; in hclge_ieee_getets()
256 struct hclge_dev *hdev = vport->back; in hclge_ieee_setets()
306 struct hclge_dev *hdev = vport->back; in hclge_ieee_getpfc()
330 struct hclge_dev *hdev = vport->back; in hclge_ieee_setpfc()
398 struct hclge_dev *hdev = vport->back; in hclge_ieee_setapp()
444 struct hclge_dev *hdev = vport->back; in hclge_ieee_delapp()
485 struct hclge_dev *hdev = vport->back; in hclge_getdcbx()
497 struct hclge_dev *hdev = vport->back; in hclge_setdcbx()
599 struct hclge_dev *hdev = vport->back; in hclge_setup_tc()
Dhclge_main.c599 struct hclge_dev *hdev = vport->back; in hclge_update_stats()
629 struct hclge_dev *hdev = vport->back; in hclge_get_sset_count()
674 struct hclge_dev *hdev = vport->back; in hclge_get_strings()
716 struct hclge_dev *hdev = vport->back; in hclge_get_stats()
728 struct hclge_dev *hdev = vport->back; in hclge_get_mac_stat()
907 struct hclge_dev *hdev = vport->back; in hclge_check_port_speed()
1657 struct hclge_dev *hdev = vport->back; in hclge_assign_tqp()
1689 struct hclge_dev *hdev = vport->back; in hclge_knic_setup()
1756 struct hclge_dev *hdev = vport->back; in hclge_vport_setup()
1807 vport->back = hdev; in hclge_alloc_vport()
[all …]
Dhclge_mdio.c179 struct hclge_dev *hdev = vport->back; in hclge_mac_adjust_link()
205 struct hclge_dev *hdev = vport->back; in hclge_mac_connect_phy()
245 struct hclge_dev *hdev = vport->back; in hclge_mac_disconnect_phy()
/drivers/md/bcache/
Dutil.h116 size_t front, back, size, mask; \
122 c = (fifo)->data[iter], iter != (fifo)->back; \
134 (fifo)->front = (fifo)->back = 0; \
160 #define fifo_used(fifo) (((fifo)->back - (fifo)->front) & (fifo)->mask)
168 ((fifo)->data[((fifo)->back - 1) & (fifo)->mask])
176 (fifo)->data[(fifo)->back++] = (i); \
177 (fifo)->back &= (fifo)->mask; \
207 --(fifo)->back; \
208 (fifo)->back &= (fifo)->mask; \
209 (i) = (fifo)->data[(fifo)->back] \
[all …]
/drivers/net/ethernet/intel/iavf/
Diavf_client.c42 params->link_up = vsi->back->link_up; in iavf_client_get_params()
65 cinst = vsi->back->cinst; in iavf_notify_client_message()
68 dev_dbg(&vsi->back->pdev->dev, in iavf_notify_client_message()
90 cinst = vsi->back->cinst; in iavf_notify_client_l2_params()
94 dev_dbg(&vsi->back->pdev->dev, in iavf_notify_client_l2_params()
112 struct iavf_adapter *adapter = vsi->back; in iavf_notify_client_open()
118 dev_dbg(&vsi->back->pdev->dev, in iavf_notify_client_open()
164 struct iavf_adapter *adapter = vsi->back; in iavf_notify_client_close()
169 dev_dbg(&vsi->back->pdev->dev, in iavf_notify_client_close()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c349 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout()
723 struct i40e_pf *pf = vsi->back; in i40e_update_eth_stats()
874 struct i40e_pf *pf = vsi->back; in i40e_update_vsi_stats()
1245 struct i40e_pf *pf = vsi->back; in i40e_update_stats()
1491 struct i40e_pf *pf = vsi->back; in i40e_get_vf_new_vlan()
1589 struct i40e_pf *pf = vsi->back; in i40e_rm_default_mac_filter()
1652 set_bit(__I40E_MACVLAN_SYNC_PENDING, vsi->back->state); in i40e_add_filter()
1702 set_bit(__I40E_MACVLAN_SYNC_PENDING, vsi->back->state); in __i40e_del_filter()
1807 struct i40e_pf *pf = vsi->back; in i40e_set_mac()
1864 struct i40e_pf *pf = vsi->back; in i40e_config_rss_aq()
[all …]
Di40e_ethtool.c1068 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings()
1225 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings()
1487 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_cfg()
1549 struct i40e_pf *pf = np->vsi->back; in i40e_get_fec_param()
1591 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_param()
1635 struct i40e_pf *pf = np->vsi->back; in i40e_nway_reset()
1662 struct i40e_pf *pf = np->vsi->back; in i40e_get_pauseparam()
1697 struct i40e_pf *pf = np->vsi->back; in i40e_set_pauseparam()
1790 struct i40e_pf *pf = np->vsi->back; in i40e_get_msglevel()
1802 struct i40e_pf *pf = np->vsi->back; in i40e_set_msglevel()
[all …]
Di40e_client.c47 struct i40e_dcbx_config *dcb_cfg = &vsi->back->hw.local_dcbx_config; in i40e_client_get_params()
62 dev_err(&vsi->back->pdev->dev, "Invalid queue set handle for TC = %d, vsi id = %d\n", in i40e_client_get_params()
84 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg()
110 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_l2_param_changes()
117 dev_dbg(&vsi->back->pdev->dev, in i40e_notify_client_of_l2_param_changes()
122 dev_dbg(&vsi->back->pdev->dev, "Client is not open, abort l2 param change\n"); in i40e_notify_client_of_l2_param_changes()
169 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_netdev_close()
175 dev_dbg(&vsi->back->pdev->dev, in i40e_notify_client_of_netdev_close()
713 err = i40e_aq_update_vsi_params(&vsi->back->hw, &ctxt, NULL); in i40e_client_update_vsi_ctxt()
Di40e_txrx.c25 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_fdir()
390 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_udp()
438 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_tcp()
492 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_sctp()
541 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir_ip()
595 struct i40e_pf *pf = vsi->back; in i40e_add_del_fdir()
687 struct i40e_pf *pf = rx_ring->vsi->back; in i40e_fd_handle_status()
1074 if (vsi->back->flags & I40E_FLAG_MSIX_ENABLED) { in i40e_enable_wb_on_itr()
1078 wr32(&vsi->back->hw, in i40e_enable_wb_on_itr()
1085 wr32(&vsi->back->hw, I40E_PFINT_DYN_CTL0, val); in i40e_enable_wb_on_itr()
[all …]

123456