Home
last modified time | relevance | path

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

12

/Linux-v6.1/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.h63 unsigned int dev_idx; member
219 unsigned int dev_idx, unsigned long flags);
248 unsigned int dev_idx, bool idle);
/Linux-v6.1/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()
/Linux-v6.1/drivers/edac/
De7xxx_edac.c341 static inline int dual_channel_active(u32 drc, int dev_idx) in dual_channel_active() argument
343 return (dev_idx == E7501) ? ((drc >> 22) & 0x1) : 1; in dual_channel_active()
347 static inline int drb_granularity(u32 drc, int dev_idx) in drb_granularity() argument
350 return (dev_idx == E7501) ? ((drc >> 18) & 0x3) : 1; in drb_granularity()
354 int dev_idx, u32 drc) in e7xxx_init_csrows() argument
366 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_init_csrows()
367 drc_drbg = drb_granularity(drc, dev_idx); in e7xxx_init_csrows()
420 static int e7xxx_probe1(struct pci_dev *pdev, int dev_idx) in e7xxx_probe1() argument
434 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_probe1()
462 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()
102 dev_ctl->dev_idx = device_index; in edac_device_alloc_ctl_info()
259 if (rover->dev_idx >= edac_dev->dev_idx) { in add_edac_dev_to_global_list()
260 if (unlikely(rover->dev_idx == edac_dev->dev_idx)) in add_edac_dev_to_global_list()
275 rover->mod_name, rover->ctl_name, rover->dev_idx); in add_edac_dev_to_global_list()
281 " duplicate dev_idx %d in %s()\n", rover->dev_idx, in add_edac_dev_to_global_list()
505 edac_dev->dev_idx, in edac_device_del_device()
De752x_edac.c1174 static int e752x_get_devs(struct pci_dev *pdev, int dev_idx, in e752x_get_devs() argument
1189 PCI_VENDOR_ID_INTEL, e752x_devs[dev_idx].err_dev); in e752x_get_devs()
1194 e752x_devs[dev_idx].ctl_dev, in e752x_get_devs()
1255 static int e752x_probe1(struct pci_dev *pdev, int dev_idx) in e752x_probe1() argument
1300 mci->edac_ctl_cap = (dev_idx == I3100) ? EDAC_FLAG_SECDED : in e752x_probe1()
1308 pvt->dev_info = &e752x_devs[dev_idx]; in e752x_probe1()
1311 if (e752x_get_devs(pdev, dev_idx, pvt)) { in e752x_probe1()
1334 if (dev_idx == I3100) in e752x_probe1()
Damd76x_edac.c228 static int amd76x_probe1(struct pci_dev *pdev, int dev_idx) in amd76x_probe1() argument
264 mci->ctl_name = amd76x_devs[dev_idx].ctl_name; in amd76x_probe1()
Di82860_edac.c184 static int i82860_probe1(struct pci_dev *pdev, int dev_idx) in i82860_probe1() argument
217 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_sysfs.c206 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()
Dedac_device.h157 int dev_idx; member
Di3000_edac.c308 static int i3000_probe1(struct pci_dev *pdev, int dev_idx) in i3000_probe1() argument
375 mci->ctl_name = i3000_devs[dev_idx].ctl_name; in i3000_probe1()
Di82875p_edac.c387 static int i82875p_probe1(struct pci_dev *pdev, int dev_idx) in i82875p_probe1() argument
424 mci->ctl_name = i82875p_devs[dev_idx].ctl_name; in i82875p_probe1()
Dx38_edac.c317 static int x38_probe1(struct pci_dev *pdev, int dev_idx) in x38_probe1() argument
357 mci->ctl_name = x38_devs[dev_idx].ctl_name; in x38_probe1()
Di3200_edac.c335 static int i3200_probe1(struct pci_dev *pdev, int dev_idx) in i3200_probe1() argument
375 mci->ctl_name = i3200_devs[dev_idx].ctl_name; in i3200_probe1()
/Linux-v6.1/net/hsr/
Dhsr_netlink.h26 void hsr_nl_framedrop(int dropcount, int dev_idx);
27 void hsr_nl_linkdown(int dev_idx);
/Linux-v6.1/tools/testing/selftests/nci/
Dnci_dev.c581 int start_polling(int dev_idx, int proto, int virtual_fd, int sd, int fid, int pid) in start_polling() argument
585 void *nla_start_poll_data[2] = {&dev_idx, &proto}; in start_polling()
605 int stop_polling(int dev_idx, int virtual_fd, int sd, int fid, int pid) in stop_polling() argument
617 NFC_CMD_STOP_POLL, dev_idx); in stop_polling()
638 int get_taginfo(int dev_idx, int sd, int fid, int pid) in get_taginfo() argument
658 tagid_type_data = &dev_idx; in get_taginfo()
695 int connect_socket(int dev_idx, int target_idx) in connect_socket() argument
706 addr.dev_idx = dev_idx; in connect_socket()
719 int connect_tag(int dev_idx, int virtual_fd, int sd, int fid, int pid) in connect_tag() argument
736 if (dev_idx != evt_dev) in connect_tag()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/include/uapi/linux/
Dnfc.h267 __u32 dev_idx; member
275 __u32 dev_idx; member
/Linux-v6.1/drivers/misc/
Dopen-dice.c118 static unsigned int dev_idx; in open_dice_probe() local
157 snprintf(drvdata->name, sizeof(drvdata->name), DRIVER_NAME"%u", dev_idx++); in open_dice_probe()
/Linux-v6.1/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
1506 dev_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_se_io()
1509 dev = nfc_get_device(dev_idx); in nfc_genl_se_io()
1528 ctx->dev_idx = dev_idx; in nfc_genl_se_io()
1539 u32 dev_idx, vid, subcmd; in nfc_genl_vendor_cmd() local
1549 dev_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_vendor_cmd()
1553 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()
176 dev = nfc_get_device(llcp_addr.dev_idx); in llcp_raw_sock_bind()
524 llcp_addr->dev_idx = llcp_sock->dev->idx; in llcp_sock_getname()
669 pr_debug("addr dev_idx=%u target_idx=%u protocol=%u\n", addr->dev_idx, in llcp_sock_connect()
683 dev = nfc_get_device(addr->dev_idx); in llcp_sock_connect()
/Linux-v6.1/drivers/staging/gdm724x/
Dgdm_lte.h44 int dev_idx, int nic_type);

12