Home
last modified time | relevance | path

Searched refs:splitters (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/lib/
H A Dsg_split.c31 splitters[i].in_sg0 = NULL; in sg_calculate_split()
32 splitters[i].nents = 0; in sg_calculate_split()
155 struct sg_splitter *splitters; in sg_split() local
157 splitters = kcalloc(nb_splits, sizeof(*splitters), gfp_mask); in sg_split()
158 if (!splitters) in sg_split()
162 splitters, false); in sg_split()
168 splitters[i].out_sg = kmalloc_array(splitters[i].nents, in sg_split()
171 if (!splitters[i].out_sg) in sg_split()
193 kfree(splitters); in sg_split()
198 kfree(splitters[i].out_sg); in sg_split()
[all …]
/openbmc/qemu/hw/arm/
H A Dnpcm7xx_boards.c142 SplitIRQ *splitters = machine->fan_splitter; in npcm7xx_init_pwm_splitter() local
157 &splitters[splitter_no], TYPE_SPLIT_IRQ); in npcm7xx_init_pwm_splitter()
158 splitter = DEVICE(&splitters[splitter_no]); in npcm7xx_init_pwm_splitter()