/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_mbox.c | 189 u16 func_idx; in check_func_id() local 191 if (in_size < offset + sizeof(func_idx)) { in check_func_id() 198 func_idx = *((u16 *)((u8 *)buf_in + offset)); in check_func_id() 200 if (src_func_idx != func_idx) { in check_func_id() 203 src_func_idx, func_idx); in check_func_id() 210 bool hinic_mbox_check_func_id_8B(struct hinic_hwdev *hwdev, u16 func_idx, in hinic_mbox_check_func_id_8B() argument 213 return check_func_id(hwdev, func_idx, buf_in, in_size, in hinic_mbox_check_func_id_8B() 525 rand_info.func_idx = func_id; in set_vf_mbox_random_id() 1156 u16 func_idx, i; in alloc_mbox_info() local 1159 for (func_idx = 0; func_idx < HINIC_MAX_FUNCTIONS; func_idx++) { in alloc_mbox_info() [all …]
|
D | hinic_hw_dev.h | 197 u16 func_idx; member 208 u16 func_idx; member 230 u16 func_idx; member 241 u16 func_idx; member 251 u16 func_idx; member 273 u16 func_idx; member 282 u16 func_idx; member 327 u16 func_idx; member
|
D | hinic_port.h | 129 u16 func_idx; member 140 u16 func_idx; member 150 u16 func_idx; member 159 u16 func_idx; member 169 u16 func_idx; member 223 u16 func_idx; member 234 u16 func_idx; member
|
D | hinic_hw_io.h | 99 u16 func_idx; member 106 int hinic_set_wq_page_size(struct hinic_hwdev *hwdev, u16 func_idx,
|
D | hinic_port.c | 53 port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in change_mac() 126 port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_get_mac() 169 port_mtu_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_set_mtu() 196 port_vlan_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_add_vlan() 216 port_vlan_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_del_vlan() 236 rx_mode_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_set_rx_mode() 261 link_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_link_state() 326 func_state.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_set_func_state() 357 port_cap->func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_get_cap()
|
D | hinic_sriov.c | 36 mac_info.func_idx = func_id; in hinic_set_mac() 433 static bool check_func_table(struct hinic_hwdev *hwdev, u16 func_idx, in check_func_table() argument 438 if (!hinic_mbox_check_func_id_8B(hwdev, func_idx, buf_in, in_size) || in check_func_table() 1139 u16 func_idx, idx; in hinic_deinit_vf_hw() local 1144 func_idx = hinic_glb_pf_vf_offset(nic_dev->hwdev->hwif) + idx; in hinic_deinit_vf_hw() 1145 hinic_set_wq_page_size(nic_dev->hwdev, func_idx, in hinic_deinit_vf_hw() 1243 u16 i, func_idx; in hinic_init_vf_hw() local 1248 func_idx = hinic_glb_pf_vf_offset(hwdev->hwif) + i; in hinic_init_vf_hw() 1249 err = hinic_set_wq_page_size(hwdev, func_idx, in hinic_init_vf_hw()
|
D | hinic_hw_dev.c | 247 fw_ctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in init_fw_ctxt() 277 hw_ioctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in set_hw_ioctxt() 358 cmd_clear_io_res.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in clear_io_resources() 388 res_state.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in set_resources_state() 415 cmd_base_qpn.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in get_base_qpn() 1146 hw_ci.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_hwdev_hw_ci_addr_set()
|
D | hinic_hw_if.h | 145 #define HINIC_HWIF_FUNC_IDX(hwif) ((hwif)->attr.func_idx) 223 u16 func_idx; member
|
D | hinic_hw_io.c | 491 int hinic_set_wq_page_size(struct hinic_hwdev *hwdev, u16 func_idx, in hinic_set_wq_page_size() argument 501 page_size_info.func_idx = func_idx; in hinic_set_wq_page_size()
|
D | hinic_hw_cmdq.h | 131 u16 func_idx; member
|
D | hinic_hw_mbox.h | 131 bool hinic_mbox_check_func_id_8B(struct hinic_hwdev *hwdev, u16 func_idx,
|
D | hinic_hw_cmdq.c | 724 cmdq_ctxt->func_idx = HINIC_HWIF_FUNC_IDX(cmdqs->hwif); in cmdq_init_queue_ctxt() 855 hw_ioctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_set_cmdq_depth()
|
D | hinic_hw_if.c | 203 hwif->attr.func_idx = HINIC_FA0_GET(attr0, FUNC_IDX); in set_hwif_attr()
|
/drivers/gpu/drm/i915/ |
D | i915_query.c | 575 unsigned long func_idx; in i915_query_ioctl() local 587 func_idx = item.query_id - 1; in i915_query_ioctl() 590 if (func_idx < ARRAY_SIZE(i915_query_funcs)) { in i915_query_ioctl() 591 func_idx = array_index_nospec(func_idx, in i915_query_ioctl() 593 ret = i915_query_funcs[func_idx](dev_priv, &item); in i915_query_ioctl()
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | testmode.h | 78 __le32 func_idx; member
|
D | testmode.c | 523 u32 func_idx = en ? TX_CONT_START : TX_CONT_STOP; in mt7915_tm_set_tx_cont() local 529 .op.rf.func_idx = cpu_to_le32(func_idx), in mt7915_tm_set_tx_cont()
|
/drivers/pinctrl/cirrus/ |
D | pinctrl-lochnagar.c | 769 unsigned int func_idx) in lochnagar_get_func_name() argument 773 return priv->funcs[func_idx].name; in lochnagar_get_func_name() 777 unsigned int func_idx, in lochnagar_get_func_groups() argument 784 func_type = priv->funcs[func_idx].type; in lochnagar_get_func_groups() 908 unsigned int func_idx, unsigned int group_idx) in lochnagar_set_mux() argument 911 const struct lochnagar_func *func = &priv->funcs[func_idx]; in lochnagar_set_mux()
|