/openbmc/linux/drivers/iio/ |
H A D | industrialio-backend.c | 60 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 …]
|
/openbmc/linux/include/linux/iio/ |
H A D | backend.h | 42 int (*enable)(struct iio_backend *back); 43 void (*disable)(struct iio_backend *back); 44 int (*chan_enable)(struct iio_backend *back, unsigned int chan); 45 int (*chan_disable)(struct iio_backend *back, unsigned int chan); 46 int (*data_format_set)(struct iio_backend *back, unsigned int chan, 48 struct iio_buffer *(*request_buffer)(struct iio_backend *back, 50 void (*free_buffer)(struct iio_backend *back, 54 int iio_backend_chan_enable(struct iio_backend *back, unsigned int chan); 55 int iio_backend_chan_disable(struct iio_backend *back, unsigned int chan); 56 int devm_iio_backend_enable(struct device *dev, struct iio_backend *back); [all …]
|
/openbmc/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_lib.c | 55 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 …]
|
H A D | ice_arfs.c | 27 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 …]
|
H A D | ice_base.c | 104 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 …]
|
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()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | adi-axi-adc.c | 64 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 …]
|
H A D | ad9467.c | 117 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 …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | tls.c | 189 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 …]
|
/openbmc/qemu/docs/interop/ |
H A D | vhost-user.rst | 27 *back-end*. The *front-end* is the application that shares its virtqueues, in 28 our case QEMU. The *back-end* is the consumer of the virtqueues. 30 In the current implementation QEMU is the *front-end*, and the *back-end* 33 or a block device back-end processing read & write to a virtual 34 disk. In order to facilitate interoperability between various back-end 38 The *front-end* and *back-end* can be either a client (i.e. connecting) or 55 available, QEMU will automatically fall back to pipe2 or, as a last 80 - Bit 2 is the reply flag - needs to be sent on each reply from the back-end 124 back-end will process. This is a free-running index that is not 140 back-end will process. This is a free-running index that is not [all …]
|
/openbmc/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
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_mbx.c | 36 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 …]
|
/openbmc/telemetry/src/metrics/ |
H A D | collection_function.cpp | 26 return readings.back().second; in calculateForStartupInterval() 48 return readings.back().second; in calculateForStartupInterval() 71 const auto duration = timestamp - readings.back().first; in calculate() 72 valueSum += readings.back().second * duration.count(); in calculate() 85 ReadingItem(timestamp, readings.back().second)}); in calculateForStartupInterval() 112 calculateMultiplier(timestamp - readings.back().first); in calculate() 113 valueSum += readings.back().second * multiplier.count(); in calculate() 132 ReadingItem(timestamp, readings.back().second)}); in calculateForStartupInterval()
|
/openbmc/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.
|
/openbmc/linux/lib/lz4/ |
H A D | lz4hc_compress.c | 208 int back = 0; in LZ4HC_InsertAndGetWiderMatch() local 210 while ((ip + back > iLowLimit) in LZ4HC_InsertAndGetWiderMatch() 211 && (matchPtr + back > lowPrefixPtr) in LZ4HC_InsertAndGetWiderMatch() 212 && (ip[back - 1] == matchPtr[back - 1])) in LZ4HC_InsertAndGetWiderMatch() 213 back--; in LZ4HC_InsertAndGetWiderMatch() 215 mlt -= back; in LZ4HC_InsertAndGetWiderMatch() 219 *matchpos = matchPtr + back; in LZ4HC_InsertAndGetWiderMatch() 220 *startpos = ip + back; in LZ4HC_InsertAndGetWiderMatch() 229 int back = 0; in LZ4HC_InsertAndGetWiderMatch() local 241 while ((ip + back > iLowLimit) in LZ4HC_InsertAndGetWiderMatch() [all …]
|
/openbmc/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 …]
|
/openbmc/u-boot/drivers/dfu/ |
H A D | Kconfig | 27 bool "MMC back end for DFU" 32 bool "NAND back end for DFU" 39 bool "RAM back end for DFU" 44 bool "SPI flash back end for DFU"
|
/openbmc/linux/drivers/md/bcache/ |
H A D | util.h | 116 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 …]
|
/openbmc/u-boot/drivers/video/ |
H A D | video-uclass.c | 121 int fore, back; in video_set_default_colors() local 126 back = VID_BLACK; in video_set_default_colors() 129 back = VID_WHITE; in video_set_default_colors() 135 fore = back; in video_set_default_colors() 136 back = temp; in video_set_default_colors() 140 priv->colour_bg = vid_console_color(priv, back); in video_set_default_colors()
|
/openbmc/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@
|
/openbmc/u-boot/scripts/coccinelle/iterators/ |
H A D | list_entry_update.cocci | 4 /// that there is a path from the reassignment back to the top of the loop. 38 @back depends on (org || report) && !context exists@ 48 @script:python depends on back && org@ 56 @script:python depends on back && report@
|