Home
last modified time | relevance | path

Searched refs:dev_idx (Results 1 – 25 of 46) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/md/
Ddm-zoned-reclaim.c24 int dev_idx; member
204 dmz_metadata_label(zmd), zrc->dev_idx, in dmz_reclaim_buf()
243 dmz_metadata_label(zmd), zrc->dev_idx, in dmz_reclaim_seq_data()
291 szone = dmz_alloc_zone(zmd, zrc->dev_idx, in dmz_reclaim_rnd_data()
302 dmz_metadata_label(zmd), zrc->dev_idx, chunk, in dmz_reclaim_rnd_data()
373 dzone = dmz_get_zone_for_reclaim(zmd, zrc->dev_idx, in dmz_do_reclaim()
377 dmz_metadata_label(zmd), zrc->dev_idx); in dmz_do_reclaim()
423 dmz_metadata_label(zmd), zrc->dev_idx, in dmz_do_reclaim()
427 dmz_metadata_label(zmd), zrc->dev_idx, in dmz_do_reclaim()
436 dmz_metadata_label(zmd), zrc->dev_idx, rzone->id, ret); in dmz_do_reclaim()
[all …]
Ddm-zoned.h64 unsigned int dev_idx; member
220 unsigned int dev_idx, unsigned long flags);
249 unsigned int dev_idx, bool idle);
/kernel/linux/linux-5.10/tools/iio/
Dlsiio.c61 int dev_idx; in dump_one_device() local
65 &dev_idx); in dump_one_device()
73 printf("Device %03d: %s\n", dev_idx, name); in dump_one_device()
84 int dev_idx; in dump_one_trigger() local
88 "%i", &dev_idx); in dump_one_trigger()
96 printf("Trigger %03d: %s\n", dev_idx, name); in dump_one_trigger()
/kernel/linux/linux-5.10/drivers/edac/
De7xxx_edac.c342 static inline int dual_channel_active(u32 drc, int dev_idx) in dual_channel_active() argument
344 return (dev_idx == E7501) ? ((drc >> 22) & 0x1) : 1; in dual_channel_active()
348 static inline int drb_granularity(u32 drc, int dev_idx) in drb_granularity() argument
351 return (dev_idx == E7501) ? ((drc >> 18) & 0x3) : 1; in drb_granularity()
355 int dev_idx, u32 drc) in e7xxx_init_csrows() argument
367 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_init_csrows()
368 drc_drbg = drb_granularity(drc, dev_idx); in e7xxx_init_csrows()
421 static int e7xxx_probe1(struct pci_dev *pdev, int dev_idx) in e7xxx_probe1() argument
435 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_probe1()
463 pvt->dev_info = &e7xxx_devs[dev_idx]; in e7xxx_probe1()
[all …]
Dedac_device.c41 edac_dev, edac_dev->dev_idx); in edac_device_dump_device()
129 dev_ctl->dev_idx = device_index; in edac_device_alloc_ctl_info()
289 if (rover->dev_idx >= edac_dev->dev_idx) { in add_edac_dev_to_global_list()
290 if (unlikely(rover->dev_idx == edac_dev->dev_idx)) in add_edac_dev_to_global_list()
305 rover->mod_name, rover->ctl_name, rover->dev_idx); in add_edac_dev_to_global_list()
311 " duplicate dev_idx %d in %s()\n", rover->dev_idx, in add_edac_dev_to_global_list()
534 edac_dev->dev_idx, in edac_device_del_device()
De752x_edac.c1175 static int e752x_get_devs(struct pci_dev *pdev, int dev_idx, in e752x_get_devs() argument
1190 PCI_VENDOR_ID_INTEL, e752x_devs[dev_idx].err_dev); in e752x_get_devs()
1195 e752x_devs[dev_idx].ctl_dev, in e752x_get_devs()
1256 static int e752x_probe1(struct pci_dev *pdev, int dev_idx) in e752x_probe1() argument
1301 mci->edac_ctl_cap = (dev_idx == I3100) ? EDAC_FLAG_SECDED : in e752x_probe1()
1309 pvt->dev_info = &e752x_devs[dev_idx]; in e752x_probe1()
1312 if (e752x_get_devs(pdev, dev_idx, pvt)) { in e752x_probe1()
1335 if (dev_idx == I3100) in e752x_probe1()
Damd76x_edac.c229 static int amd76x_probe1(struct pci_dev *pdev, int dev_idx) in amd76x_probe1() argument
265 mci->ctl_name = amd76x_devs[dev_idx].ctl_name; in amd76x_probe1()
Di82860_edac.c185 static int i82860_probe1(struct pci_dev *pdev, int dev_idx) in i82860_probe1() argument
218 mci->ctl_name = i82860_devs[dev_idx].ctl_name; in i82860_probe1()
Di5400_edac.c717 static int i5400_get_devices(struct mem_ctl_info *mci, int dev_idx) in i5400_get_devices() argument
1252 static int i5400_probe1(struct pci_dev *pdev, int dev_idx) in i5400_probe1() argument
1258 if (dev_idx >= ARRAY_SIZE(i5400_devs)) in i5400_probe1()
1297 if (i5400_get_devices(mci, dev_idx)) in i5400_probe1()
1308 mci->ctl_name = i5400_devs[dev_idx].ctl_name; in i5400_probe1()
Dedac_mc.h58 printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg)
Dedac_device.h157 int dev_idx; member
Dedac_device_sysfs.c205 edac_dbg(4, "control index=%d\n", edac_dev->dev_idx); in edac_device_ctrl_master_release()
807 edac_dbg(0, "idx=%d\n", edac_dev->dev_idx); in edac_device_create_sysfs()
838 edac_dbg(4, "create-instances done, idx=%d\n", edac_dev->dev_idx); in edac_device_create_sysfs()
Di3200_edac.c336 static int i3200_probe1(struct pci_dev *pdev, int dev_idx) in i3200_probe1() argument
376 mci->ctl_name = i3200_devs[dev_idx].ctl_name; in i3200_probe1()
Dx38_edac.c318 static int x38_probe1(struct pci_dev *pdev, int dev_idx) in x38_probe1() argument
358 mci->ctl_name = x38_devs[dev_idx].ctl_name; in x38_probe1()
Di3000_edac.c309 static int i3000_probe1(struct pci_dev *pdev, int dev_idx) in i3000_probe1() argument
376 mci->ctl_name = i3000_devs[dev_idx].ctl_name; in i3000_probe1()
/kernel/linux/linux-5.10/net/hsr/
Dhsr_netlink.h26 void hsr_nl_framedrop(int dropcount, int dev_idx);
27 void hsr_nl_linkdown(int dev_idx);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2.c114 u16 dev_idx) in mlxfw_mfa2_file_dev_validate() argument
124 pr_debug("Device %d\n", dev_idx); in mlxfw_mfa2_file_dev_validate()
128 pr_err("Device %d is not a valid TLV error\n", dev_idx); in mlxfw_mfa2_file_dev_validate()
139 pr_err("Device %d does not have PSID\n", dev_idx); in mlxfw_mfa2_file_dev_validate()
145 pr_err("Device %d PSID TLV is not valid\n", dev_idx); in mlxfw_mfa2_file_dev_validate()
160 pr_err("Device %d has no components\n", dev_idx); in mlxfw_mfa2_file_dev_validate()
174 dev_idx); in mlxfw_mfa2_file_dev_validate()
/kernel/linux/linux-5.10/net/phonet/
Dpn_netlink.c125 int dev_idx = 0, dev_start_idx = cb->args[0]; in getaddr_dumpit() local
133 if (dev_idx > dev_start_idx) in getaddr_dumpit()
135 if (dev_idx++ < dev_start_idx) in getaddr_dumpit()
152 cb->args[0] = dev_idx; in getaddr_dumpit()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dnfc.h143 __u32 dev_idx; member
150 __u32 dev_idx; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dnfc.h267 __u32 dev_idx; member
275 __u32 dev_idx; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dnfc.h130 __u32 dev_idx; member
137 __u32 dev_idx; member
/kernel/linux/linux-5.10/drivers/staging/gasket/
Dgasket_core.c189 int dev_idx; in gasket_alloc_dev() local
200 dev_idx = gasket_find_dev_slot(internal_desc, parent_name); in gasket_alloc_dev()
201 if (dev_idx < 0) in gasket_alloc_dev()
202 return dev_idx; in gasket_alloc_dev()
209 internal_desc->devs[dev_idx] = gasket_dev; in gasket_alloc_dev()
214 gasket_dev->dev_idx = dev_idx; in gasket_alloc_dev()
225 gasket_dev->dev_idx); in gasket_alloc_dev()
228 gasket_dev->dev_idx); in gasket_alloc_dev()
246 internal_desc->devs[gasket_dev->dev_idx] = NULL; in gasket_free_dev()
/kernel/linux/linux-5.10/drivers/staging/gdm724x/
Dgdm_lte.h44 int dev_idx, int nic_type);
/kernel/linux/linux-5.10/net/nfc/
Dnetlink.c1451 u32 dev_idx; member
1472 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, ctx->dev_idx) || in se_io_cb()
1497 u32 dev_idx, se_idx; in nfc_genl_se_io() local
1507 dev_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_se_io()
1510 dev = nfc_get_device(dev_idx); in nfc_genl_se_io()
1537 ctx->dev_idx = dev_idx; in nfc_genl_se_io()
1552 u32 dev_idx, vid, subcmd; in nfc_genl_vendor_cmd() local
1562 dev_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_vendor_cmd()
1566 dev = nfc_get_device(dev_idx); in nfc_genl_vendor_cmd()
Dllcp_sock.c89 dev = nfc_get_device(llcp_addr.dev_idx); in llcp_sock_bind()
171 dev = nfc_get_device(llcp_addr.dev_idx); in llcp_raw_sock_bind()
519 llcp_addr->dev_idx = llcp_sock->dev->idx; in llcp_sock_getname()
671 pr_debug("addr dev_idx=%u target_idx=%u protocol=%u\n", addr->dev_idx, in llcp_sock_connect()
685 dev = nfc_get_device(addr->dev_idx); in llcp_sock_connect()

12