/kernel/linux/linux-5.10/scripts/mod/ |
H A D | file2alias.c | 58 unsigned long id_size; member 126 unsigned long size, unsigned long id_size, in device_id_check() 131 if (size % id_size || size < id_size) { in device_id_check() 137 modname, device_id, id_size, device_id, size, device_id); in device_id_check() 140 for (i = 0; i < id_size; i++ ) { in device_id_check() 141 if (*(uint8_t*)(symval+size-id_size+i)) { in device_id_check() 144 modname, device_id, id_size, size / id_size); in device_id_check() 145 for (i = 0; i < id_size; in device_id_check() 125 device_id_check(const char *modname, const char *device_id, unsigned long size, unsigned long id_size, void *symval) device_id_check() argument 333 const unsigned long id_size = SIZE_usb_device_id; do_usb_table() local 376 const unsigned long id_size = SIZE_of_device_id; do_of_table() local 575 const unsigned long id_size = SIZE_pnp_device_id; do_pnp_device_entry() local 601 const unsigned long id_size = SIZE_pnp_card_device_id; do_pnp_card_entries() local 1380 do_table(void *symval, unsigned long size, unsigned long id_size, const char *device_id, int (*do_entry)(const char *filename, void *symval, char *alias), struct module *mod) do_table() argument [all...] |
/kernel/linux/linux-6.6/scripts/mod/ |
H A D | file2alias.c | 62 unsigned long id_size; member 141 unsigned long size, unsigned long id_size, in device_id_check() 146 if (size % id_size || size < id_size) { in device_id_check() 149 modname, device_id, id_size, device_id, size, device_id); in device_id_check() 152 for (i = 0; i < id_size; i++ ) { in device_id_check() 153 if (*(uint8_t*)(symval+size-id_size+i)) { in device_id_check() 156 modname, device_id, id_size, size / id_size); in device_id_check() 157 for (i = 0; i < id_size; in device_id_check() 140 device_id_check(const char *modname, const char *device_id, unsigned long size, unsigned long id_size, void *symval) device_id_check() argument 345 const unsigned long id_size = SIZE_usb_device_id; do_usb_table() local 388 const unsigned long id_size = SIZE_of_device_id; do_of_table() local 600 const unsigned long id_size = SIZE_pnp_device_id; do_pnp_device_entry() local 626 const unsigned long id_size = SIZE_pnp_card_device_id; do_pnp_card_entries() local 1490 do_table(void *symval, unsigned long size, unsigned long id_size, const char *device_id, int (*do_entry)(const char *filename, void *symval, char *alias), struct module *mod) do_table() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
H A D | ocelot_io.c | 117 regfield.id_size = regfields[i].id_size; in ocelot_regfields_init()
|
/kernel/linux/linux-5.10/sound/soc/sh/rcar/ |
H A D | gen.c | 144 #define rsnd_gen_regmap_init(priv, id_size, reg_id, name, conf) \ 145 _rsnd_gen_regmap_init(priv, id_size, reg_id, name, conf, ARRAY_SIZE(conf)) 147 int id_size, in _rsnd_gen_regmap_init() 195 regf.id_size = id_size; in _rsnd_gen_regmap_init() 146 _rsnd_gen_regmap_init(struct rsnd_priv *priv, int id_size, int reg_id, const char *name, const struct rsnd_regmap_field_conf *conf, int conf_size) _rsnd_gen_regmap_init() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/ |
H A D | ocelot_io.c | 134 regfield.id_size = regfields[i].id_size; in ocelot_regfields_init()
|
/kernel/linux/linux-6.6/sound/soc/sh/rcar/ |
H A D | gen.c | 153 #define rsnd_gen_regmap_init(priv, id_size, reg_id, name, conf) \ 154 _rsnd_gen_regmap_init(priv, id_size, reg_id, name, conf, ARRAY_SIZE(conf)) 156 int id_size, in _rsnd_gen_regmap_init() 204 regf.id_size = id_size; in _rsnd_gen_regmap_init() 155 _rsnd_gen_regmap_init(struct rsnd_priv *priv, int id_size, int reg_id, const char *name, const struct rsnd_regmap_field_conf *conf, int conf_size) _rsnd_gen_regmap_init() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_lib.c | 3078 int id_size = -EINVAL; in scsi_vpd_lun_id() local 3111 id_size = snprintf(id, id_len, "t10.%*pE", in scsi_vpd_lun_id() 3121 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3126 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3131 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3146 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3151 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3170 cur_id_size = id_size = d[3]; in scsi_vpd_lun_id() 3184 return id_size; in scsi_vpd_lun_id()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_lib.c | 3168 int id_size = -EINVAL; in scsi_vpd_lun_id() local 3202 id_size = snprintf(id, id_len, "t10.%*pE", in scsi_vpd_lun_id() 3212 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3217 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3222 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3237 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3242 id_size = snprintf(id, id_len, in scsi_vpd_lun_id() 3261 cur_id_size = id_size = d[3]; in scsi_vpd_lun_id() 3273 return id_size; in scsi_vpd_lun_id()
|
/kernel/linux/linux-5.10/drivers/scsi/device_handler/ |
H A D | scsi_dh_alua.c | 178 static struct alua_port_group *alua_find_get_pg(char *id_str, size_t id_size, in alua_find_get_pg() argument 183 if (!id_str || !id_size || !strlen(id_str)) in alua_find_get_pg() 189 if (!pg->device_id_len || pg->device_id_len != id_size) in alua_find_get_pg() 191 if (strncmp(pg->device_id_str, id_str, id_size)) in alua_find_get_pg()
|
/kernel/linux/linux-5.10/drivers/base/regmap/ |
H A D | internal.h | 217 unsigned int id_size; member
|
H A D | regmap.c | 1244 rm_field->id_size = reg_field.id_size; in regmap_field_init() 2181 if (id >= field->id_size) in regmap_fields_update_bits_base() 2923 if (id >= field->id_size) in regmap_fields_read()
|
/kernel/linux/linux-6.6/drivers/scsi/device_handler/ |
H A D | scsi_dh_alua.c | 185 static struct alua_port_group *alua_find_get_pg(char *id_str, size_t id_size, in alua_find_get_pg() argument 190 if (!id_str || !id_size || !strlen(id_str)) in alua_find_get_pg() 196 if (!pg->device_id_len || pg->device_id_len != id_size) in alua_find_get_pg() 198 if (strncmp(pg->device_id_str, id_str, id_size)) in alua_find_get_pg()
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
H A D | mtd_dataflash.c | 780 const unsigned int id_size = 5; in jedec_probe() local 792 ret = spi_write_then_read(spi, &code, 1, id, id_size); in jedec_probe()
|
/kernel/linux/linux-6.6/drivers/mtd/devices/ |
H A D | mtd_dataflash.c | 786 const unsigned int id_size = 5; in jedec_probe() local 798 ret = spi_write_then_read(spi, &code, 1, id, id_size); in jedec_probe()
|
/kernel/linux/linux-6.6/drivers/base/regmap/ |
H A D | internal.h | 230 unsigned int id_size; member
|
H A D | regmap.c | 1209 rm_field->id_size = reg_field.id_size; in regmap_field_init() 2278 if (id >= field->id_size) in regmap_fields_update_bits_base() 3048 if (id >= field->id_size) in regmap_fields_read()
|
/kernel/liteos_m/kal/cmsis/ |
H A D | cmsis_liteos2.c | 99 osStatus_t osKernelGetInfo(osVersion_t *version, char *id_buf, uint32_t id_size)
in osKernelGetInfo() argument 103 if ((version == NULL) || (id_buf == NULL) || (id_size == 0)) {
in osKernelGetInfo() 107 ret = memcpy_s(id_buf, id_size, KERNEL_ID, sizeof(KERNEL_ID));
in osKernelGetInfo()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | regmap.h | 1159 * @id_size: port size if it has some ports 1166 unsigned int id_size; member 1180 .id_size = _size, \
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | regmap.h | 1331 * @id_size: port size if it has some ports 1338 unsigned int id_size; member 1352 .id_size = _size, \
|