Home
last modified time | relevance | path

Searched refs:id_size (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/scripts/mod/
H A Dfile2alias.c58 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 Dfile2alias.c62 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 Docelot_io.c117 regfield.id_size = regfields[i].id_size; in ocelot_regfields_init()
/kernel/linux/linux-5.10/sound/soc/sh/rcar/
H A Dgen.c144 #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 Docelot_io.c134 regfield.id_size = regfields[i].id_size; in ocelot_regfields_init()
/kernel/linux/linux-6.6/sound/soc/sh/rcar/
H A Dgen.c153 #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 Dscsi_lib.c3078 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 Dscsi_lib.c3168 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 Dscsi_dh_alua.c178 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 Dinternal.h217 unsigned int id_size; member
H A Dregmap.c1244 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 Dscsi_dh_alua.c185 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 Dmtd_dataflash.c780 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 Dmtd_dataflash.c786 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 Dinternal.h230 unsigned int id_size; member
H A Dregmap.c1209 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 Dcmsis_liteos2.c99 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 Dregmap.h1159 * @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 Dregmap.h1331 * @id_size: port size if it has some ports
1338 unsigned int id_size; member
1352 .id_size = _size, \

Completed in 34 milliseconds