| /linux/drivers/iio/ |
| H A D | industrialio-backend.c | 72 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 D | backend.h | 122 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 D | ad3552r-hs.c | 52 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 D | adi-axi-dac.c | 121 static int axi_dac_enable(struct iio_backend *back) in axi_dac_enable() argument 123 struct axi_dac_state *st = iio_backend_get_priv(back); in axi_dac_enable() 148 static void axi_dac_disable(struct iio_backend *back) in axi_dac_disable() argument 150 struct axi_dac_state *st = iio_backend_get_priv(back); in axi_dac_disable() 156 static struct iio_buffer *axi_dac_request_buffer(struct iio_backend *back, in axi_dac_request_buffer() argument 159 struct axi_dac_state *st = iio_backend_get_priv(back); in axi_dac_request_buffer() 169 static void axi_dac_free_buffer(struct iio_backend *back, in axi_dac_free_buffer() argument 437 static int axi_dac_ext_info_set(struct iio_backend *back, uintptr_t private, in axi_dac_ext_info_set() argument 441 struct axi_dac_state *st = iio_backend_get_priv(back); in axi_dac_ext_info_set() 461 static int axi_dac_ext_info_get(struct iio_backend *back, uintptr_t private, in axi_dac_ext_info_get() argument [all …]
|
| H A D | ad9739a.c | 74 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 D | ice_fltr.c | 61 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 D | ice_vsi_vlan_lib.c | 11 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 D | ice_arfs.c | 28 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() 595 if (!vsi || vsi->type != ICE_VSI_PF || !vsi->back || in ice_clear_arfs() [all …]
|
| H A D | ice_vf_vsi_vlan_ops.c | 27 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 D | sd-parameters.rst | 27 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 D | ad7606_par.c | 32 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() 52 st->back = devm_iio_backend_get(dev, NULL); in ad7606_par_bus_setup_iio_backend() 53 if (IS_ERR(st->back)) in ad7606_par_bus_setup_iio_backend() 54 return PTR_ERR(st->back); in ad7606_par_bus_setup_iio_backend() 61 ret = devm_iio_backend_request_buffer(dev, st->back, indio_dev); in ad7606_par_bus_setup_iio_backend() 65 ret = devm_iio_backend_enable(dev, st->back); in ad7606_par_bus_setup_iio_backend() 70 ret = iio_backend_data_format_set(st->back, c, &data); in ad7606_par_bus_setup_iio_backend() 83 ret = pdata->bus_reg_read(st->back, addr, &val); in ad7606_par_bus_reg_read() 95 return pdata->bus_reg_write(st->back, addr, val); in ad7606_par_bus_reg_write()
|
| H A D | ad7405.c | 32 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 D | ad4851.c | 178 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 …]
|
| H A D | ad4080.c | 180 struct iio_backend *back; member 317 ret = iio_backend_interface_data_align(st->back, 10000); in ad4080_lvds_sync_write() 358 ret = iio_backend_filter_type_set(st->back, mode); in ad4080_set_filter_type() 551 ret = iio_backend_num_lanes_set(st->back, st->num_lanes); in ad4080_setup() 647 st->back = devm_iio_backend_get(dev, NULL); in ad4080_probe() 648 if (IS_ERR(st->back)) in ad4080_probe() 649 return PTR_ERR(st->back); in ad4080_probe() 651 ret = devm_iio_backend_request_buffer(dev, st->back, indio_dev); in ad4080_probe() 655 ret = devm_iio_backend_enable(dev, st->back); in ad4080_probe()
|
| /linux/Documentation/scsi/ |
| H A D | sd-parameters.rst | 16 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 D | namei.c | 50 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/ABI/testing/ |
| H A D | sysfs-class-bdi | 38 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 D | sysfs-bus-surface_aggregator-tabletsw | 18 - "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.
|
| H A D | debugfs-scmi-raw | 12 and sent while the replies are read back one message at time 30 and sent while the replies are read back one message at time 46 and sent while the replies are read back one message at time 66 and sent while the replies are read back one message at time 77 Each read gives back one message at time (receiving an EOF at 88 Each read gives back one message at time (receiving an EOF at 117 and sent while the replies are read back one message at time 144 and sent while the replies are read back one message at time 170 and sent while the replies are read back one message at time 199 and sent while the replies are read back one message at time
|
| /linux/Documentation/driver-api/md/ |
| H A D | raid5-cache.rst | 8 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 D | util.h | 115 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 D | list_entry_update.cocci | 5 /// 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/fs/xfs/libxfs/ |
| H A D | xfs_da_btree.c | 150 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() 692 node->hdr.info.back = cpu_to_be32(oldblk->blkno); in xfs_da3_split() 698 if (node->hdr.info.back) { in xfs_da3_split() 699 if (be32_to_cpu(node->hdr.info.back) != addblk->blkno) { in xfs_da3_split() 1226 ASSERT(!blkinfo->back); in xfs_da_blkinfo_onlychild_validate() 1258 ASSERT(oldroothdr.back == 0); in xfs_da3_root_join() 1378 forward = nodehdr.forw < nodehdr.back; in xfs_da3_node_toosmall() [all …]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-packet.h | 52 uint64_t back:4; member 63 uint64_t back:4;
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_dcb.c | 72 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()
|