Home
last modified time | relevance | path

Searched refs:location (Results 1 – 25 of 197) sorted by relevance

12345678

/drivers/gpu/drm/amd/display/dc/dml2/
A Ddml2_translation_helper.c898 out->PitchY[location] = ((out->SurfaceWidthY[location] + 127) / 128) * 128; in populate_dummy_dml_surface_cfg()
899 out->PitchC[location] = 1; in populate_dummy_dml_surface_cfg()
1039 out->HTaps[location] = 1; in populate_dummy_dml_plane_cfg()
1040 out->VTaps[location] = 1; in populate_dummy_dml_plane_cfg()
1106 out->HTaps[location] = 1; in populate_dml_plane_cfg_from_plane_state()
1134 int location = -1; in map_stream_to_dml_display_cfg() local
1138 location = i; in map_stream_to_dml_display_cfg()
1143 return location; in map_stream_to_dml_display_cfg()
1175 int location = -1; in map_plane_to_dml_display_cfg() local
1184 location = i; in map_plane_to_dml_display_cfg()
[all …]
/drivers/net/ethernet/engleder/
A Dtsnep_rxnfc.c39 int location) in tsnep_get_rule() argument
44 if (rule->location == location) in tsnep_get_rule()
46 if (rule->location > location) in tsnep_get_rule()
62 if (cur->location >= rule->location) in tsnep_add_rule()
156 int location = 0; in tsnep_rxnfc_find_location() local
159 if (tmp->location == location) in tsnep_rxnfc_find_location()
160 location++; in tsnep_rxnfc_find_location()
162 return location; in tsnep_rxnfc_find_location()
168 return location; in tsnep_rxnfc_find_location()
177 rule->location = fsp->location; in tsnep_rxnfc_init_rule()
[all …]
/drivers/net/ethernet/aquantia/atlantic/
A Daq_filters.c76 if (rule->aq_fsp.location == fsp->location) in aq_rule_already_exists()
316 data->location = fsp->location - AQ_RX_FIRST_LOC_FETHERT; in aq_set_data_fl2()
406 int location = fsp->location - AQ_RX_FIRST_LOC_FVLANID; in aq_set_data_fvlan() local
409 memset(&aq_vlans[location], 0, sizeof(aq_vlans[location])); in aq_set_data_fvlan()
422 aq_vlans[location].location = location; in aq_set_data_fvlan()
446 cmd.fs.location = rule->aq_fsp.location; in aq_del_fvlan_by_vlan()
479 data->location = HW_ATL_GET_REG_LOCATION_FL3L4(fsp->location); in aq_set_data_fl3l4()
727 if (rule->aq_fsp.location == cmd->fs.location) in aq_del_rxnfc_rule()
731 if (rule && rule->aq_fsp.location == cmd->fs.location) { in aq_del_rxnfc_rule()
750 if (fsp->location <= rule->aq_fsp.location) in aq_get_rxnfc_rule()
[all …]
/drivers/staging/media/atomisp/pci/runtime/queue/src/
A Dqueue_access.c23 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_load()
57 } else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) { in ia_css_queue_load()
62 } else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) { in ia_css_queue_load()
78 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_store()
104 } else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) { in ia_css_queue_store()
109 } else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) { in ia_css_queue_store()
125 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_item_load()
131 } else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) { in ia_css_queue_item_load()
136 } else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) { in ia_css_queue_item_load()
152 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_item_store()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
A Den_fs_ethtool.c403 if (iter->flow_spec.location > rule->flow_spec.location) in add_rule_to_list()
523 int location) in find_ethtool_rule() argument
529 if (iter->flow_spec.location == location) in find_ethtool_rule()
536 int location) in get_ethtool_rule() argument
540 eth_rule = find_ethtool_rule(priv, location); in get_ethtool_rule()
775 if (location >= MAX_NUM_OF_ETHTOOL_RULES) in mlx5e_ethtool_flow_remove()
796 if (location < 0 || location >= MAX_NUM_OF_ETHTOOL_RULES) in mlx5e_ethtool_get_flow()
802 if (eth_rule->flow_spec.location != location) in mlx5e_ethtool_get_flow()
823 int location = 0; in mlx5e_ethtool_get_all_flows() local
831 rule_locs[idx++] = location; in mlx5e_ethtool_get_all_flows()
[all …]
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
A Dhw_atl_a0.c893 u8 location = data->location; in hw_atl_a0_hw_fl3l4_clear() local
896 hw_atl_rpfl3l4_cmd_clear(self, location); in hw_atl_a0_hw_fl3l4_clear()
897 hw_atl_rpf_l4_spd_set(self, 0U, location); in hw_atl_a0_hw_fl3l4_clear()
898 hw_atl_rpf_l4_dpd_set(self, 0U, location); in hw_atl_a0_hw_fl3l4_clear()
905 hw_atl_rpfl3l4_cmd_clear(self, location + i); in hw_atl_a0_hw_fl3l4_clear()
906 hw_atl_rpf_l4_spd_set(self, 0U, location + i); in hw_atl_a0_hw_fl3l4_clear()
919 u8 location = data->location; in hw_atl_a0_hw_fl3l4_set() local
926 location, in hw_atl_a0_hw_fl3l4_set()
929 location, in hw_atl_a0_hw_fl3l4_set()
933 location, in hw_atl_a0_hw_fl3l4_set()
[all …]
A Dhw_atl_b0.c1451 u8 location = data->location; in hw_atl_b0_hw_fl3l4_clear() local
1454 hw_atl_rpfl3l4_cmd_clear(self, location); in hw_atl_b0_hw_fl3l4_clear()
1455 hw_atl_rpf_l4_spd_set(self, 0U, location); in hw_atl_b0_hw_fl3l4_clear()
1456 hw_atl_rpf_l4_dpd_set(self, 0U, location); in hw_atl_b0_hw_fl3l4_clear()
1477 u8 location = data->location; in hw_atl_b0_hw_fl3l4_set() local
1485 location, in hw_atl_b0_hw_fl3l4_set()
1488 location, in hw_atl_b0_hw_fl3l4_set()
1492 location, in hw_atl_b0_hw_fl3l4_set()
1495 location, in hw_atl_b0_hw_fl3l4_set()
1518 data->location); in hw_atl_b0_hw_fl2_set()
[all …]
A Dhw_atl_llh.c1730 aq_hw_write_reg(aq_hw, HW_ATL_RPF_L3_DSTA_ADR(location), 0U); in hw_atl_rpfl3l4_ipv4_dest_addr_clear()
1735 aq_hw_write_reg(aq_hw, HW_ATL_RPF_L3_SRCA_ADR(location), 0U); in hw_atl_rpfl3l4_ipv4_src_addr_clear()
1738 void hw_atl_rpfl3l4_cmd_clear(struct aq_hw_s *aq_hw, u8 location) in hw_atl_rpfl3l4_cmd_clear() argument
1740 aq_hw_write_reg(aq_hw, HW_ATL_RPF_L3_REG_CTRL_ADR(location), 0U); in hw_atl_rpfl3l4_cmd_clear()
1749 HW_ATL_RPF_L3_DSTA_ADR(location + i), in hw_atl_rpfl3l4_ipv6_dest_addr_clear()
1759 HW_ATL_RPF_L3_SRCA_ADR(location + i), in hw_atl_rpfl3l4_ipv6_src_addr_clear()
1766 aq_hw_write_reg(aq_hw, HW_ATL_RPF_L3_DSTA_ADR(location), in hw_atl_rpfl3l4_ipv4_dest_addr_set()
1774 HW_ATL_RPF_L3_SRCA_ADR(location), in hw_atl_rpfl3l4_ipv4_src_addr_set()
1780 aq_hw_write_reg(aq_hw, HW_ATL_RPF_L3_REG_CTRL_ADR(location), cmd); in hw_atl_rpfl3l4_cmd_set()
1790 HW_ATL_RPF_L3_SRCA_ADR(location + i), in hw_atl_rpfl3l4_ipv6_src_addr_set()
[all …]
A Dhw_atl_llh.h810 void hw_atl_rpfl3l4_ipv4_dest_addr_clear(struct aq_hw_s *aq_hw, u8 location);
813 void hw_atl_rpfl3l4_ipv4_src_addr_clear(struct aq_hw_s *aq_hw, u8 location);
816 void hw_atl_rpfl3l4_cmd_clear(struct aq_hw_s *aq_hw, u8 location);
819 void hw_atl_rpfl3l4_ipv6_dest_addr_clear(struct aq_hw_s *aq_hw, u8 location);
822 void hw_atl_rpfl3l4_ipv6_src_addr_clear(struct aq_hw_s *aq_hw, u8 location);
825 void hw_atl_rpfl3l4_ipv4_dest_addr_set(struct aq_hw_s *aq_hw, u8 location,
829 void hw_atl_rpfl3l4_ipv4_src_addr_set(struct aq_hw_s *aq_hw, u8 location,
833 void hw_atl_rpfl3l4_cmd_set(struct aq_hw_s *aq_hw, u8 location, u32 cmd);
836 void hw_atl_rpfl3l4_ipv6_src_addr_set(struct aq_hw_s *aq_hw, u8 location,
840 void hw_atl_rpfl3l4_ipv6_dest_addr_set(struct aq_hw_s *aq_hw, u8 location,
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_flows.c18 u32 location; member
462 if (iter->location == location) in otx2_find_flow()
475 if (iter->location > flow->location) in otx2_add_flow_to_list()
498 u32 location) in otx2_get_flow() argument
506 if (iter->location == location) { in otx2_get_flow()
520 u32 location = 0; in otx2_get_all_flows() local
529 location++; in otx2_get_all_flows()
1075 pf_mac->flow_spec.location = pf_mac->location; in otx2_add_flow_with_pfmac()
1137 flow->location = fsp->location; in otx2_add_flow()
1176 flow->flow_spec.location = fsp->location; in otx2_add_flow()
[all …]
/drivers/platform/x86/dell/
A Dalienware-wmi-legacy.c24 struct wmi_device *wdev, u8 location) in legacy_wmi_update_led() argument
27 .colors = priv->colors[location], in legacy_wmi_update_led()
41 location + 1, &input, NULL); in legacy_wmi_update_led()
48 return alienware_wmi_command(wdev, location + 1, &legacy_args, in legacy_wmi_update_led()
A Dalienware-wmi-base.c204 char *buf, u8 location) in zone_show() argument
207 struct color_platform *colors = &priv->colors[location]; in zone_show()
215 const char *buf, size_t count, u8 location) in zone_store() argument
218 struct color_platform *colors = &priv->colors[location]; in zone_store()
226 ret = pdata->ops.upd_led(priv, pdata->wdev, location); in zone_store()
/drivers/net/ethernet/google/gve/
A Dgve_flow_rule.c209 fsp->location < be32_to_cpu(rules_cache[0].location) || in gve_get_flow_rule_entry()
210 fsp->location > be32_to_cpu(rules_cache[*cache_num - 1].location)) { in gve_get_flow_rule_entry()
211 err = gve_adminq_query_flow_rules(priv, GVE_FLOW_RULE_QUERY_RULES, fsp->location); in gve_get_flow_rule_entry()
219 if (fsp->location == be32_to_cpu(rules_cache[i].location)) { in gve_get_flow_rule_entry()
280 err = gve_adminq_add_flow_rule(priv, rule, fsp->location); in gve_add_flow_rule()
285 dev_err(&priv->pdev->dev, "Failed to add the flow rule: %u", fsp->location); in gve_add_flow_rule()
297 return gve_adminq_del_flow_rule(priv, fsp->location); in gve_del_flow_rule()
/drivers/net/ethernet/dec/tulip/
A Dmedia.c47 int tulip_mdio_read(struct net_device *dev, int phy_id, int location) in tulip_mdio_read() argument
51 int read_cmd = (0xf6 << 10) | ((phy_id & 0x1f) << 5) | location; in tulip_mdio_read()
57 if (location & ~0x1f) in tulip_mdio_read()
61 if (comet_miireg2offset[location]) in tulip_mdio_read()
62 return ioread32(ioaddr + comet_miireg2offset[location]); in tulip_mdio_read()
68 iowrite32(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0); in tulip_mdio_read()
109 void tulip_mdio_write(struct net_device *dev, int phy_id, int location, int val) in tulip_mdio_write() argument
113 int cmd = (0x5002 << 16) | ((phy_id & 0x1f) << 23) | (location<<18) | (val & 0xffff); in tulip_mdio_write()
118 if (location & ~0x1f) in tulip_mdio_write()
122 if (comet_miireg2offset[location]) in tulip_mdio_write()
[all …]
/drivers/platform/x86/
A Duv_sysfs.c75 if (sscanf(location, "%c%03d%c%02d%c%2d%c%d", in location_to_bpos()
128 return sysfs_emit(buf, "%s\n", hub_info->location); in hub_location_show()
160 __ATTR(location, 0444, hub_location_show, NULL);
454 char *location; member
469 return sysfs_emit(buf, "%s\n", top_obj->location); in uv_pci_location_show()
509 kfree(top_obj->location); in uv_pci_top_release()
540 char type[11], location[14], ppb_addr[15]; in init_pci_top_obj() local
579 location, type, &top_obj->iio_stack); in init_pci_top_obj()
585 top_obj->location = kstrdup(location, GFP_KERNEL); in init_pci_top_obj()
586 if (!top_obj->location) { in init_pci_top_obj()
[all …]
/drivers/net/dsa/
A Dbcm_sf2_cfp.c384 if (fs->location == RX_CLS_LOC_ANY) in bcm_sf2_cfp_ipv4_rule_set()
388 rule_index = fs->location; in bcm_sf2_cfp_ipv4_rule_set()
473 fs->location = rule_index; in bcm_sf2_cfp_ipv4_rule_set()
568 int port, u32 location) in bcm_sf2_cfp_rule_find() argument
573 if (rule->port == port && rule->fs.location == location) in bcm_sf2_cfp_rule_find()
682 if (fs->location == RX_CLS_LOC_ANY) in bcm_sf2_cfp_ipv6_rule_set()
686 rule_index[1] = fs->location; in bcm_sf2_cfp_ipv6_rule_set()
835 fs->location = rule_index[1]; in bcm_sf2_cfp_ipv6_rule_set()
937 if (fs->location != RX_CLS_LOC_ANY && in bcm_sf2_cfp_rule_set()
945 if (fs->location != RX_CLS_LOC_ANY && in bcm_sf2_cfp_rule_set()
[all …]
/drivers/edac/
A Dedac_mc.c71 dimm->location[i]); in edac_dimm_info_location()
92 char location[80]; in edac_mc_dump_dimm() local
97 edac_dimm_info_location(dimm, location, sizeof(location)); in edac_mc_dump_dimm()
101 dimm->idx, location, dimm->csrow, dimm->cschannel); in edac_mc_dump_dimm()
300 dimm->location[layer] = pos[layer]; in edac_mc_alloc_dimms()
842 e->label, e->location, e->page_frame_number, e->offset_in_page, in edac_ce_error()
1022 if (top_layer >= 0 && top_layer != dimm->location[0]) in edac_mc_handle_error()
1024 if (mid_layer >= 0 && mid_layer != dimm->location[1]) in edac_mc_handle_error()
1026 if (low_layer >= 0 && low_layer != dimm->location[2]) in edac_mc_handle_error()
1077 p = e->location; in edac_mc_handle_error()
[all …]
A Di82860_edac.c123 dimm->location[0], dimm->location[1], -1, in i82860_process_error_info()
128 dimm->location[0], dimm->location[1], -1, in i82860_process_error_info()
A Dnpcm_edac.c100 u8 location; member
211 priv->error_type, priv->location, priv->bit); in force_ecc_error()
228 if (priv->location == ERROR_LOCATION_DATA && in force_ecc_error()
236 if (priv->location == ERROR_LOCATION_CHECKCODE && in force_ecc_error()
244 syndrome = priv->location ? 1 << priv->bit in force_ecc_error()
297 edac_debugfs_create_x8("location", 0644, priv->debugfs, &priv->location); in setup_debugfs()
/drivers/net/ethernet/freescale/fs_enet/
A Dmii-fec.c51 static int fs_enet_fec_mii_read(struct mii_bus *bus , int phy_id, int location) in fs_enet_fec_mii_read() argument
60 out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_read(location)); in fs_enet_fec_mii_read()
74 static int fs_enet_fec_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val) in fs_enet_fec_mii_write() argument
84 out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_write(location, val)); in fs_enet_fec_mii_write()
/drivers/block/
A Dswim.c170 enum drive_location location; /* internal or external drive */ member
309 enum drive_location location) in swim_drive() argument
311 if (location == INTERNAL_DRIVE) { in swim_drive()
314 } else if (location == EXTERNAL_DRIVE) { in swim_drive()
447 swim_drive(base, fs->location); in floppy_eject()
504 swim_drive(base, fs->location); in floppy_read_sectors()
625 swim_drive(base, fs->location); in floppy_open()
748 static int swim_add_floppy(struct swim_priv *swd, enum drive_location location) in swim_add_floppy() argument
753 fs->location = location; in swim_add_floppy()
755 swim_drive(base, location); in swim_add_floppy()
/drivers/misc/mei/
A Dvsc-fw-loader.c200 u32 location; member
438 frag->location = le32_to_cpu(img->image_location[i]); in vsc_identify_csi_image()
515 frag->location = le32_to_cpu(img->image_location[i]); in vsc_identify_ace_image()
518 if (!frag->location) { in vsc_identify_ace_image()
520 frag->location = in vsc_identify_ace_image()
521 ALIGN(last_frag->location + last_frag->size, SZ_4K); in vsc_identify_ace_image()
568 frag->location = VSC_SKU_CFG_LOCATION; in vsc_identify_cfg_image()
604 cmd->data.dl_start.img_loc = cpu_to_le32(frag->location); in vsc_download_bootloader()
652 cmd->data.dl_set.payload[index++] = cpu_to_le32(frag->location); in vsc_download_firmware()
672 cmd->data.dl_start.img_loc = cpu_to_le32(frag->location); in vsc_download_firmware()
/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
A Dhw_atl2_llh.c145 void hw_atl2_rpf_act_rslvr_record_set(struct aq_hw_s *aq_hw, u8 location, in hw_atl2_rpf_act_rslvr_record_set() argument
149 HW_ATL2_RPF_ACT_RSLVR_REQ_TAG_ADR(location), in hw_atl2_rpf_act_rslvr_record_set()
152 HW_ATL2_RPF_ACT_RSLVR_TAG_MASK_ADR(location), in hw_atl2_rpf_act_rslvr_record_set()
155 HW_ATL2_RPF_ACT_RSLVR_ACTN_ADR(location), in hw_atl2_rpf_act_rslvr_record_set()
/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-ethtool.c642 i, fs->location, &rule_cfg, in dpaa2_eth_do_cls_rule()
673 unsigned int location) in dpaa2_eth_update_cls_rule() argument
682 if (location >= dpaa2_eth_fs_count(priv)) in dpaa2_eth_update_cls_rule()
685 rule = &priv->cls_rules[location]; in dpaa2_eth_update_cls_rule()
731 if (rxnfc->fs.location >= max_rules) in dpaa2_eth_get_rxnfc()
733 rxnfc->fs.location = array_index_nospec(rxnfc->fs.location, in dpaa2_eth_get_rxnfc()
735 if (!priv->cls_rules[rxnfc->fs.location].in_use) in dpaa2_eth_get_rxnfc()
737 rxnfc->fs = priv->cls_rules[rxnfc->fs.location].fs; in dpaa2_eth_get_rxnfc()
764 err = dpaa2_eth_update_cls_rule(net_dev, &rxnfc->fs, rxnfc->fs.location); in dpaa2_eth_set_rxnfc()
767 err = dpaa2_eth_update_cls_rule(net_dev, NULL, rxnfc->fs.location); in dpaa2_eth_set_rxnfc()
/drivers/usb/core/
A Dport.c171 return sysfs_emit(buf, "0x%08x\n", port_dev->location); in location_show()
173 static DEVICE_ATTR_RO(location);
497 if (left->location && left->location == right->location) in link_peers()
628 peer->location == port_dev->location) { in match_location()
655 if (port_dev->location) { in find_and_link_peer()
691 if (peer && peer->location == 0) in find_and_link_peer()

Completed in 69 milliseconds

12345678