Home
last modified time | relevance | path

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

12345678910>>...29

/linux/drivers/iio/
H A Dindustrialio-backend.c72 struct iio_backend *back; member
82 #define iio_backend_check_op(back, op) ({ \ argument
83 struct iio_backend *____back = back; \
92 #define iio_backend_op_call(back, op, args...) ({ \ argument
93 struct iio_backend *__back = back; \
103 #define iio_backend_ptr_op_call(back, op, args...) ({ \ argument
104 struct iio_backend *__back = back; \
117 #define iio_backend_void_op_call(back, op, args...) { \ argument
118 struct iio_backend *__back = back; \
133 struct iio_backend *back = file->private_data; in iio_backend_debugfs_read_reg() local
[all …]
/linux/include/linux/iio/
H A Dbackend.h122 int (*enable)(struct iio_backend *back);
123 void (*disable)(struct iio_backend *back);
124 int (*chan_enable)(struct iio_backend *back, unsigned int chan);
125 int (*chan_disable)(struct iio_backend *back, unsigned int chan);
126 int (*data_format_set)(struct iio_backend *back, unsigned int chan,
128 int (*data_source_set)(struct iio_backend *back, unsigned int chan,
130 int (*data_source_get)(struct iio_backend *back, unsigned int chan,
132 int (*set_sample_rate)(struct iio_backend *back, unsigned int chan,
134 int (*test_pattern_set)(struct iio_backend *back,
137 int (*chan_status)(struct iio_backend *back, unsigned int chan,
[all …]
/linux/drivers/iio/dac/
H A Dad3552r-hs.c52 struct iio_backend *back; member
78 return st->data->bus_reg_read(st->back, reg, val, xfer_size); in ad3552r_hs_reg_read()
87 ret = iio_backend_data_source_set(st->back, i, type); in ad3552r_hs_set_data_source()
107 return st->data->bus_reg_write(st->back, reg, rval, xfer_size); in ad3552r_hs_update_reg_bits()
166 ret = st->data->bus_reg_write(st->back, in ad3552r_hs_write_raw()
186 return st->data->bus_set_io_mode(st->back, bus_mode); in ad3552r_hs_set_bus_io_mode_hs()
206 return st->data->bus_reg_write(st->back, in ad3552r_hs_set_target_io_mode_hs()
265 ret = st->data->bus_reg_write(st->back, in ad3552r_hs_buffer_postenable()
272 ret = st->data->bus_reg_write(st->back, in ad3552r_hs_buffer_postenable()
278 ret = iio_backend_ddr_enable(st->back); in ad3552r_hs_buffer_postenable()
[all …]
H A Dad9739a.c74 struct iio_backend *back; member
140 return iio_backend_data_source_set(st->back, 0, IIO_BACKEND_EXTERNAL); in ad9739a_buffer_preenable()
147 return iio_backend_data_source_set(st->back, 0, in ad9739a_buffer_postdisable()
408 st->back = devm_iio_backend_get(dev, NULL); in ad9739a_probe()
409 if (IS_ERR(st->back)) in ad9739a_probe()
410 return PTR_ERR(st->back); in ad9739a_probe()
412 ret = devm_iio_backend_request_buffer(dev, st->back, indio_dev); in ad9739a_probe()
416 ret = iio_backend_extend_chan_spec(st->back, &ad9739a_channels[0]); in ad9739a_probe()
420 ret = iio_backend_set_sampling_freq(st->back, 0, st->sample_rate); in ad9739a_probe()
424 ret = devm_iio_backend_enable(dev, st->back); in ad9739a_probe()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A 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 …]
H A 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 …]
H A 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()
150 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()
177 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs()
286 struct ice_pf *pf = vsi->back; in ice_vsi_delete_from_hw()
315 struct ice_pf *pf = vsi->back; in ice_vsi_free_arrays()
340 struct ice_pf *pf = vsi->back; in ice_vsi_free_stats()
381 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_ring_stats()
449 if (!vsi || !vsi->back) in ice_vsi_free()
452 pf = vsi->back; in ice_vsi_free()
[all …]
H A Dice_arfs.c28 struct ice_pf *pf = hw->back; in ice_is_arfs_using_perfect_flow()
91 …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()
112 dev = ice_pf_to_dev(vsi->back); in ice_arfs_del_flow_rules()
117 result = ice_fdir_write_fltr(vsi->back, &e->fltr_info, false, in ice_arfs_del_flow_rules()
149 dev = ice_pf_to_dev(vsi->back); in ice_arfs_add_flow_rules()
154 result = ice_fdir_write_fltr(vsi->back, in ice_arfs_add_flow_rules()
223 dev = ice_pf_to_dev(vsi->back); in ice_arfs_update_flow_rules()
308 arfs_entry = devm_kzalloc(ice_pf_to_dev(vsi->back), in ice_arfs_build_entry()
458 pf = vsi->back; in ice_rx_flow_steer()
592 if (!vsi || vsi->type != ICE_VSI_PF || !vsi->back || in ice_clear_arfs()
[all …]
H A Dice_base.c105 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_q_vector()
181 struct ice_pf *pf = vsi->back; in ice_free_q_vector()
298 hw = &vsi->back->hw; in ice_set_txq_ctx_vmvf()
324 dev_info(ice_pf_to_dev(vsi->back), in ice_set_txq_ctx_vmvf()
349 hw = &vsi->back->hw; in ice_setup_tx_ctx()
408 struct ice_hw *hw = &vsi->back->hw; in ice_setup_txtime_ctx()
448 struct ice_hw *hw = &vsi->back->hw; in ice_calc_ts_ring_count()
482 hw = &vsi->back->hw; in ice_setup_rx_ctx()
575 if (ice_is_eswitch_mode_switchdev(vsi->back)) { in ice_setup_rx_ctx()
592 …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()
[all …]
H A 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()
/linux/Documentation/translations/zh_CN/scsi/
H A Dsd-parameters.rst27 write back 1 0 开启 开启
28 write back, no read (daft) 1 1 开启 关闭
31 将缓存类型设置为“write back”并将该设置保存到驱动器::
33 # echo "write back" > cache_type
38 # echo "temporary write back" > cache_type
/linux/drivers/iio/adc/
H A Dad7606_par.c32 ret = iio_backend_chan_enable(st->back, c); in ad7606_par_bus_update_scan_mode()
34 ret = iio_backend_chan_disable(st->back, c); in ad7606_par_bus_update_scan_mode()
53 st->back = devm_iio_backend_get(dev, NULL); in ad7606_par_bus_setup_iio_backend()
54 if (IS_ERR(st->back)) in ad7606_par_bus_setup_iio_backend()
55 return PTR_ERR(st->back); in ad7606_par_bus_setup_iio_backend()
62 ret = devm_iio_backend_request_buffer(dev, st->back, indio_dev); in ad7606_par_bus_setup_iio_backend()
66 ret = devm_iio_backend_enable(dev, st->back); in ad7606_par_bus_setup_iio_backend()
71 ret = iio_backend_data_format_set(st->back, c, &data); in ad7606_par_bus_setup_iio_backend()
84 ret = pdata->bus_reg_read(st->back, addr, &val); in ad7606_par_bus_reg_read()
96 return pdata->bus_reg_write(st->back, addr, val); in ad7606_par_bus_reg_write()
H A Dad7405.c32 struct iio_backend *back; member
51 ret = iio_backend_oversampling_ratio_set(st->back, chan->scan_index, dec_rate); in ad7405_set_dec_rate()
202 st->back = devm_iio_backend_get(dev, NULL); in ad7405_probe()
203 if (IS_ERR(st->back)) in ad7405_probe()
204 return dev_err_probe(dev, PTR_ERR(st->back), in ad7405_probe()
207 ret = iio_backend_chan_enable(st->back, 0); in ad7405_probe()
211 ret = devm_iio_backend_request_buffer(dev, st->back, indio_dev); in ad7405_probe()
215 ret = devm_iio_backend_enable(dev, st->back); in ad7405_probe()
H A Dad9467.c174 struct iio_backend *back; member
648 ret = iio_backend_data_format_set(st->back, chan, &data); in ad9467_backend_testmode_on()
652 ret = iio_backend_test_pattern_set(st->back, chan, pattern); in ad9467_backend_testmode_on()
656 return iio_backend_chan_enable(st->back, chan); in ad9467_backend_testmode_on()
668 ret = iio_backend_chan_disable(st->back, chan); in ad9467_backend_testmode_off()
672 ret = iio_backend_test_pattern_set(st->back, chan, in ad9467_backend_testmode_off()
677 return iio_backend_data_format_set(st->back, chan, &data); in ad9467_backend_testmode_off()
727 return iio_backend_data_sample_trigger(st->back, trigger); in ad9647_calibrate_polarity_set()
770 ret = iio_backend_iodelay_set(st->back, lane, val); in ad9467_calibrate_apply()
827 ret = iio_backend_chan_status(st->back, c, &stat); in ad9467_calibrate()
[all …]
H A Dad4851.c178 struct iio_backend *back; member
324 ret = iio_backend_oversampling_ratio_set(st->back, 0, osr); in ad4851_set_oversampling_ratio()
348 ret = iio_backend_data_size_set(st->back, val); in ad4851_set_oversampling_ratio()
503 ret = iio_backend_interface_type_get(st->back, &interface_type); in ad4851_calibrate()
519 ret = iio_backend_data_size_set(st->back, 24); in ad4851_calibrate()
528 ret = iio_backend_data_size_set(st->back, 32); in ad4851_calibrate()
559 ret = iio_backend_chan_enable(st->back, in ad4851_calibrate()
567 ret = iio_backend_iodelay_set(st->back, i, delay); in ad4851_calibrate()
571 ret = iio_backend_chan_status(st->back, i, &status); in ad4851_calibrate()
587 ret = iio_backend_iodelay_set(st->back, i, opt_delay); in ad4851_calibrate()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A 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 …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-bdi38 total write-back cache that relates to its current average
42 percentage of the write-back cache to a particular device.
52 total write-back cache that relates to its current average
56 of the write-back cache to a particular device. The value is
67 given percentage of the write-back cache. This is useful in
69 most of the write-back cache. For example in case of an NFS
80 given value of the write-back cache. The value is given as part
82 one device taking all or most of the write-back cache. For example
93 total write-back cache that relates to its current average
97 percentage of the write-back cache to a particular device
[all …]
H A Dsysfs-bus-surface_aggregator-tabletsw18 - "folded-canvas": The type-cover has been folded back
19 part-ways, but does not lie flush with the back side of the
23 - "folded-back": The type cover has been fully folded back and
24 lies flush with the back side of the device.
47 back and the device operates mainly based on touch input.
/linux/Documentation/scsi/
H A Dsd-parameters.rst16 write back 1 0 on on
17 write back, no read (daft) 1 1 on off
20 To set cache type to "write back" and save this setting to the drive::
22 # echo "write back" > cache_type
27 # echo "temporary write back" > cache_type
/linux/fs/erofs/
H A Dnamei.c50 int head, back; in find_target_dirent() local
56 back = ndirents - 1; in find_target_dirent()
59 while (head <= back) { in find_target_dirent()
60 const int mid = head + (back - head) / 2; in find_target_dirent()
81 back = mid - 1; in find_target_dirent()
93 int head = 0, back = erofs_iblks(dir) - 1; in erofs_find_target_block() local
97 while (head <= back) { in erofs_find_target_block()
98 const int mid = head + (back - head) / 2; in erofs_find_target_block()
135 back = mid - 1; in erofs_find_target_block()
/linux/Documentation/driver-api/md/
H A Draid5-cache.rst8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since
11 in write-through mode. A user can switch it to write-back mode by::
13 echo "write-back" > /sys/block/md0/md/journal_mode
15 And switch it back to write-through mode by::
30 tries to resync the array to bring it back to normal state. But before the
47 write-back mode
50 write-back mode fixes the 'write hole' issue too, since all write data is
51 cached on cache disk. But the main goal of 'write-back' cache is to speed up
56 overhead too. Write-back cache will aggregate the data and flush the data to
61 In write-back mode, MD reports IO completion to upper layer (usually
[all …]
/linux/drivers/md/bcache/
H A Dutil.h115 size_t front, back, size, mask; \
121 c = (fifo)->data[iter], iter != (fifo)->back; \
133 (fifo)->front = (fifo)->back = 0; \
159 #define fifo_used(fifo) (((fifo)->back - (fifo)->front) & (fifo)->mask)
167 ((fifo)->data[((fifo)->back - 1) & (fifo)->mask])
175 (fifo)->data[(fifo)->back++] = (i); \
176 (fifo)->back &= (fifo)->mask; \
206 --(fifo)->back; \
207 (fifo)->back &= (fifo)->mask; \
208 (i) = (fifo)->data[(fifo)->back] \
[all …]
/linux/scripts/coccinelle/iterators/
H A Dlist_entry_update.cocci5 /// that there is a path from the reassignment back to the top of the loop.
39 @back depends on (org || report) && !context exists@
49 @script:python depends on back && org@
57 @script:python depends on back && report@
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c358 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout()
724 struct i40e_pf *pf = vsi->back; in i40e_update_eth_stats()
872 struct i40e_pf *pf = vsi->back; in i40e_update_vsi_stats()
1243 struct i40e_pf *pf = vsi->back; in i40e_update_stats()
1510 struct i40e_pf *pf = vsi->back; in i40e_get_vf_new_vlan()
1610 struct i40e_pf *pf = vsi->back; in i40e_rm_default_mac_filter()
1673 set_bit(__I40E_MACVLAN_SYNC_PENDING, vsi->back->state); in i40e_add_filter()
1722 set_bit(__I40E_MACVLAN_SYNC_PENDING, vsi->back->state); in __i40e_del_filter()
1805 struct i40e_pf *pf = vsi->back; in i40e_set_mac()
1862 struct i40e_pf *pf = vsi->back; in i40e_config_rss_aq()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_da_btree.c150 to->back = be32_to_cpu(from3->hdr.info.hdr.back); in xfs_da3_node_hdr_from_disk()
158 to->back = be32_to_cpu(from->hdr.info.back); in xfs_da3_node_hdr_from_disk()
178 to3->hdr.info.hdr.back = cpu_to_be32(from->back); in xfs_da3_node_hdr_to_disk()
185 to->hdr.info.back = cpu_to_be32(from->back); in xfs_da3_node_hdr_to_disk()
572 * Walk back up the tree splitting/inserting/adjusting as necessary. in xfs_da3_split()
692 node->hdr.info.back in xfs_da3_split()
[all...]

12345678910>>...29