/kernel/linux/linux-5.10/sound/pci/ |
H A D | atiixp_modem.c | 28 static int index = -2; /* Exclude the first card */ variable 32 module_param(index, int, 0444); 33 MODULE_PARM_DESC(index, "Index value for ATI IXP controller."); 215 int ac97_pcm_type; /* index # of ac97_pcm to access, -1 = not used */ 1250 err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); in snd_atiixp_probe()
|
H A D | sis7019.c | 29 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ variable 34 module_param(index, int, 0444); 35 MODULE_PARM_DESC(index, "Index value for SiS7019 Audio Accelerator."); 1391 rc = snd_card_new(&pci->dev, index, id, THIS_MODULE, in snd_sis7019_probe()
|
H A D | intel8x0m.c | 44 static int index = -2; /* Exclude the first card */ variable 48 module_param(index, int, 0444); 49 MODULE_PARM_DESC(index, "Index value for Intel i8x0 modemcard."); 69 ICH_REG_##name##_CIV = base + 0x04, /* byte - current index value */ \ 70 ICH_REG_##name##_LVI = base + 0x05, /* byte - last valid index */ \ 73 ICH_REG_##name##_PIV = base + 0x0a, /* byte - prefetched index value */ \ 1241 err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); in snd_intel8x0m_probe()
|
H A D | via82xx_modem.c | 43 static int index = -2; /* Exclude the first card */ variable 47 module_param(index, int, 0444); 48 MODULE_PARM_DESC(index, "Index value for VIA 82xx bridge."); 96 #define VIA_REG_OFFSET_STOP_IDX 0x08 /* dword - stop index, channel type, sample rate */ 98 #define VIA_REG_OFFSET_CURR_INDEX 0x0f /* byte - channel current index (for via8233 only) */ 548 * calculate the linear position at the given sg-buffer index and the rest count 621 /* The via686a does not have the current index register, in snd_via686_pcm_pointer() 622 * so we need to calculate the index from CURR_PTR. in snd_via686_pcm_pointer() 1142 err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); in snd_via82xx_probe()
|
H A D | fm801.c | 32 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable 46 module_param_array(index, int, NULL, 0444); 47 MODULE_PARM_DESC(index, "Index value for the FM801 soundcard."); 157 * @ply_buf: playback buffer index 162 * @cap_buf: capture buffer index 1328 err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, in snd_card_fm801_probe()
|
/kernel/linux/linux-5.10/sound/pci/nm256/ |
H A D | nm256.c | 42 static int index = SNDRV_DEFAULT_IDX1; /* Index */ variable 53 module_param(index, int, 0444); 54 MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); 397 * return the index of the target rate 1674 err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); in snd_nm256_probe()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | sgtl5000.c | 1269 * is the array index and the following formula: 10^((idx−15)/40) * 100 1398 * Searching for a suitable index solving this formula: in sgtl5000_set_power_regs() 1521 /* return dai id 0, whatever the endpoint index */ in sgtl5000_of_xlate_dai_id() 1569 int i, ret, val, index; in sgtl5000_fill_defaults() local 1573 index = sgtl5000_reg_defaults[i].reg; in sgtl5000_fill_defaults() 1574 ret = regmap_write(sgtl5000->regmap, index, val); in sgtl5000_fill_defaults() 1578 __func__, ret, index, val); in sgtl5000_fill_defaults()
|
/kernel/linux/linux-5.10/sound/usb/misc/ |
H A D | ua101.c | 43 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; variable 48 module_param_array(index, int, NULL, 0444); 49 MODULE_PARM_DESC(index, "card index"); 1206 index[card_index], id[card_index], THIS_MODULE, in ua101_probe()
|
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | namei.c | 424 * Truncating the directory index table is not guaranteed. It in jfs_rmdir() 580 * Truncating the directory index table is not guaranteed. It in jfs_unlink() 723 maplock.index = 1; in jfs_free_zero_link() 743 maplock.index = 1; in jfs_free_zero_link() 1259 ASSERT(dtlck->index == 0); in jfs_rename() 1263 dtlck->index++; in jfs_rename() 1325 * Truncating the directory index table is not guaranteed. It in jfs_rename()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | transport.c | 1012 uint index = 0; in cifs_pick_channel() local 1020 index = (uint)atomic_inc_return(&ses->chan_seq); in cifs_pick_channel() 1021 index %= ses->chan_count; in cifs_pick_channel() 1023 return ses->chans[index].server; in cifs_pick_channel()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv10.c | 1176 int index, struct nvkm_gr **pgr) in nv10_gr_new_() 1185 return nvkm_gr_ctor(func, device, index, true, &gr->base); in nv10_gr_new_() 1218 nv10_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) in nv10_gr_new() argument 1220 return nv10_gr_new_(&nv10_gr, device, index, pgr); in nv10_gr_new() 1175 nv10_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, int index, struct nvkm_gr **pgr) nv10_gr_new_() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/stm/ |
H A D | ltdc.c | 213 /* The index gives the encoding of the pixel format for an HW version */ 786 u32 lofs = plane->index * LAY_OFS; in ltdc_plane_atomic_update() 880 ldev->plane_fpsi[plane->index].counter++; in ltdc_plane_atomic_update() 898 u32 lofs = plane->index * LAY_OFS; in ltdc_plane_atomic_disable() 912 struct fps_info *fpsi = &ldev->plane_fpsi[plane->index]; in ltdc_plane_atomic_print_state()
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-dev.c | 50 return sprintf(buf, "%i\n", vdev->index); in index_show() 52 static DEVICE_ATTR_RO(index); 486 * get_index - assign stream index number based on v4l2_dev 487 * @vdev: video_device to assign index number to, vdev->v4l2_dev should be assigned 492 * This means that we can always obtain a free stream index number since 496 * Returns a free index number. 510 set_bit(video_devices[i]->index, used); in get_index() 943 /* Part 2: find a free minor, device node number and device index. */ in __video_register_device() 1005 vdev->index = get_index(vdev); in __video_register_device()
|
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
H A D | t613.c | 294 u16 index) in reg_r() 301 index, in reg_r() 307 u16 index) in reg_w() 313 0, index, in reg_w() 293 reg_r(struct gspca_dev *gspca_dev, u16 index) reg_r() argument 306 reg_w(struct gspca_dev *gspca_dev, u16 index) reg_w() argument
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/ |
H A D | dvb_usb_core.c | 248 "%s: adap=%d active_fe=%d feed_type=%d setting pid [%s]: %04x (%04d) at index %d\n", in dvb_usb_start_feed() 251 dvbdmxfeed->pid, dvbdmxfeed->index); in dvb_usb_start_feed() 317 ret = adap->props->pid_filter(adap, dvbdmxfeed->index, in dvb_usb_start_feed() 335 "%s: adap=%d active_fe=%d feed_type=%d setting pid [%s]: %04x (%04d) at index %d\n", in dvb_usb_stop_feed() 338 dvbdmxfeed->pid, dvbdmxfeed->index); in dvb_usb_stop_feed() 345 ret = adap->props->pid_filter(adap, dvbdmxfeed->index, in dvb_usb_stop_feed()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | rs780_dpm.c | 798 int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); in rs780_parse_power_table() local 803 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in rs780_parse_power_table() 851 int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); in rs780_dpm_init() local 873 if (atom_parse_data_header(rdev->mode_info.atom_context, index, NULL, in rs780_dpm_init()
|
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/ |
H A D | rkisp1-isp.c | 575 if (code->index > 0) in rkisp1_isp_enum_mbus_code() 581 if (code->index >= ARRAY_SIZE(rkisp1_isp_formats)) in rkisp1_isp_enum_mbus_code() 590 if (code->index == pos - 1) { in rkisp1_isp_enum_mbus_code() 875 if (link->sink->index == RKISP1_ISP_PAD_SINK_PARAMS) in rkisp1_subdev_link_validate()
|
/kernel/linux/linux-5.10/drivers/staging/ks7010/ |
H A D | ks7010_sdio.c | 642 static int ks7010_sdio_update_index(struct ks_wlan_private *priv, u32 index) in ks7010_sdio_update_index() argument 647 data_buf = kmemdup(&index, sizeof(u32), GFP_KERNEL); in ks7010_sdio_update_index() 651 ret = ks7010_sdio_write(priv, WRITE_INDEX_REG, data_buf, sizeof(index)); in ks7010_sdio_update_index() 655 ret = ks7010_sdio_write(priv, READ_INDEX_REG, data_buf, sizeof(index)); in ks7010_sdio_update_index()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_compat_ioctl32.c | 567 assign_in_user(&kp->index, &up->index) || in get_atomisp_acc_fw_arg32() 583 assign_in_user(&up->index, &kp->index) || in put_atomisp_acc_fw_arg32()
|
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/ |
H A D | dvb_usb_core.c | 248 "%s: adap=%d active_fe=%d feed_type=%d setting pid [%s]: %04x (%04d) at index %d\n", in dvb_usb_start_feed() 251 dvbdmxfeed->pid, dvbdmxfeed->index); in dvb_usb_start_feed() 317 ret = adap->props->pid_filter(adap, dvbdmxfeed->index, in dvb_usb_start_feed() 335 "%s: adap=%d active_fe=%d feed_type=%d setting pid [%s]: %04x (%04d) at index %d\n", in dvb_usb_stop_feed() 338 dvbdmxfeed->pid, dvbdmxfeed->index); in dvb_usb_stop_feed() 345 ret = adap->props->pid_filter(adap, dvbdmxfeed->index, in dvb_usb_stop_feed()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | sm501.c | 1181 int index; in sm501_register_gpio_i2c() local 1184 for (index = 0; index < pdata->gpio_i2c_nr; index++, iic++) { in sm501_register_gpio_i2c()
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | wbsd.c | 115 static inline void wbsd_write_index(struct wbsd_host *host, u8 index, u8 value) in wbsd_write_index() argument 117 outb(index, host->base + WBSD_IDXR); in wbsd_write_index() 121 static inline u8 wbsd_read_index(struct wbsd_host *host, u8 index) in wbsd_read_index() argument 123 outb(index, host->base + WBSD_IDXR); in wbsd_read_index()
|
/kernel/linux/linux-6.6/drivers/net/dsa/ |
H A D | bcm_sf2_cfp.c | 850 s8 cpu_port = dsa_to_port(ds, port)->cpu_dp->index; in bcm_sf2_cfp_rule_insert() 1088 unsigned int index = 1, rules_cnt = 0; in bcm_sf2_cfp_rule_get_all() local 1090 for_each_set_bit_from(index, priv->cfp.unique, priv->num_cfp_rules) { in bcm_sf2_cfp_rule_get_all() 1091 rule_locs[rules_cnt] = index; in bcm_sf2_cfp_rule_get_all()
|
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-dev.c | 51 return sprintf(buf, "%i\n", vdev->index); in index_show() 53 static DEVICE_ATTR_RO(index); 490 * get_index - assign stream index number based on v4l2_dev 491 * @vdev: video_device to assign index number to, vdev->v4l2_dev should be assigned 496 * This means that we can always obtain a free stream index number since 500 * Returns a free index number. 514 __set_bit(video_devices[i]->index, used); in get_index() 947 /* Part 2: find a free minor, device node number and device index. */ in __video_register_device() 1009 vdev->index = get_index(vdev); in __video_register_device()
|
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | t613.c | 294 u16 index) in reg_r() 301 index, in reg_r() 307 u16 index) in reg_w() 313 0, index, in reg_w() 293 reg_r(struct gspca_dev *gspca_dev, u16 index) reg_r() argument 306 reg_w(struct gspca_dev *gspca_dev, u16 index) reg_w() argument
|