Home
last modified time | relevance | path

Searched refs:setup (Results 1 – 25 of 500) sorted by relevance

12345678910>>...20

/drivers/gpu/drm/vc4/
Dvc4_render_cl.c52 static inline void rcl_u8(struct vc4_rcl_setup *setup, u8 val) in rcl_u8() argument
54 *(u8 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u8()
55 setup->next_offset += 1; in rcl_u8()
58 static inline void rcl_u16(struct vc4_rcl_setup *setup, u16 val) in rcl_u16() argument
60 *(u16 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u16()
61 setup->next_offset += 2; in rcl_u16()
64 static inline void rcl_u32(struct vc4_rcl_setup *setup, u32 val) in rcl_u32() argument
66 *(u32 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u32()
67 setup->next_offset += 4; in rcl_u32()
76 static void vc4_store_before_load(struct vc4_rcl_setup *setup) in vc4_store_before_load() argument
[all …]
/drivers/net/ethernet/cavium/liquidio/
Docteon_nic.h127 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd_o2() argument
146 port = (int)oct->instr_queue[setup->s.iq_no]->txpciq.s.port; in octnet_prepare_pci_cmd_o2()
156 if (!setup->s.gather) { in octnet_prepare_pci_cmd_o2()
157 ih2->dlengsz = setup->s.u.datasize; in octnet_prepare_pci_cmd_o2()
160 ih2->dlengsz = setup->s.u.gatherptrs; in octnet_prepare_pci_cmd_o2()
170 packet_params.s.ip_csum = setup->s.ip_csum; in octnet_prepare_pci_cmd_o2()
171 packet_params.s.transport_csum = setup->s.transport_csum; in octnet_prepare_pci_cmd_o2()
172 packet_params.s.tnl_csum = setup->s.tnl_csum; in octnet_prepare_pci_cmd_o2()
173 packet_params.s.tsflag = setup->s.timestamp; in octnet_prepare_pci_cmd_o2()
181 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd_o3() argument
[all …]
/drivers/scsi/
Daha152x.c723 struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup) in aha152x_probe_one() argument
739 shpnt->io_port = setup->io_port; in aha152x_probe_one()
741 shpnt->irq = setup->irq; in aha152x_probe_one()
743 if (!setup->tc1550) { in aha152x_probe_one()
744 HOSTIOPORT0 = setup->io_port; in aha152x_probe_one()
745 HOSTIOPORT1 = setup->io_port; in aha152x_probe_one()
747 HOSTIOPORT0 = setup->io_port+0x10; in aha152x_probe_one()
748 HOSTIOPORT1 = setup->io_port-0x10; in aha152x_probe_one()
752 RECONNECT = setup->reconnect; in aha152x_probe_one()
753 SYNCHRONOUS = setup->synchronous; in aha152x_probe_one()
[all …]
/drivers/pci/
DMakefile6 pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
7 irq.o vpd.o setup-bus.o vc.o
34 obj-$(CONFIG_ALPHA) += setup-irq.o
35 obj-$(CONFIG_ARC) += setup-irq.o
36 obj-$(CONFIG_ARM) += setup-irq.o
37 obj-$(CONFIG_ARM64) += setup-irq.o
38 obj-$(CONFIG_UNICORE32) += setup-irq.o
39 obj-$(CONFIG_SUPERH) += setup-irq.o
40 obj-$(CONFIG_MIPS) += setup-irq.o
41 obj-$(CONFIG_TILE) += setup-irq.o
[all …]
/drivers/clk/ti/
Dclk.c294 struct clk __init *ti_clk_register_clk(struct ti_clk *setup) in ti_clk_register_clk() argument
301 if (setup->clk) in ti_clk_register_clk()
302 return setup->clk; in ti_clk_register_clk()
304 switch (setup->type) { in ti_clk_register_clk()
306 fixed = setup->data; in ti_clk_register_clk()
308 clk = clk_register_fixed_rate(NULL, setup->name, NULL, 0, in ti_clk_register_clk()
312 clk = ti_clk_register_mux(setup); in ti_clk_register_clk()
315 clk = ti_clk_register_divider(setup); in ti_clk_register_clk()
318 clk = ti_clk_register_composite(setup); in ti_clk_register_clk()
321 fixed_factor = setup->data; in ti_clk_register_clk()
[all …]
Ddivider.c294 _get_div_table_from_setup(struct ti_clk_divider *setup, u8 *width) in _get_div_table_from_setup() argument
303 if (!setup->num_dividers) { in _get_div_table_from_setup()
305 flags = setup->flags; in _get_div_table_from_setup()
314 while (div < setup->max_div) { in _get_div_table_from_setup()
327 for (i = 0; i < setup->num_dividers; i++) in _get_div_table_from_setup()
328 if (setup->dividers[i]) in _get_div_table_from_setup()
338 for (i = 0; i < setup->num_dividers; i++) in _get_div_table_from_setup()
339 if (setup->dividers[i]) { in _get_div_table_from_setup()
340 table[valid_div].div = setup->dividers[i]; in _get_div_table_from_setup()
351 struct clk_hw *ti_clk_build_component_div(struct ti_clk_divider *setup) in ti_clk_build_component_div() argument
[all …]
Dclock.h186 struct clk *ti_clk_register_gate(struct ti_clk *setup);
187 struct clk *ti_clk_register_interface(struct ti_clk *setup);
188 struct clk *ti_clk_register_mux(struct ti_clk *setup);
189 struct clk *ti_clk_register_divider(struct ti_clk *setup);
190 struct clk *ti_clk_register_composite(struct ti_clk *setup);
191 struct clk *ti_clk_register_dpll(struct ti_clk *setup);
193 struct clk_hw *ti_clk_build_component_div(struct ti_clk_divider *setup);
194 struct clk_hw *ti_clk_build_component_gate(struct ti_clk_gate *setup);
195 struct clk_hw *ti_clk_build_component_mux(struct ti_clk_mux *setup);
198 struct clk *ti_clk_register_clk(struct ti_clk *setup);
Dgate.c132 struct clk *ti_clk_register_gate(struct ti_clk *setup) in ti_clk_register_gate() argument
142 gate = setup->data; in ti_clk_register_gate()
145 return ti_clk_register_interface(setup); in ti_clk_register_gate()
175 return _register_gate(NULL, setup->name, gate->parent, flags, in ti_clk_register_gate()
180 struct clk_hw *ti_clk_build_component_gate(struct ti_clk_gate *setup) in ti_clk_build_component_gate() argument
186 if (!setup) in ti_clk_build_component_gate()
194 reg->index = setup->module; in ti_clk_build_component_gate()
195 reg->offset = setup->reg; in ti_clk_build_component_gate()
197 gate->enable_bit = setup->bit_shift; in ti_clk_build_component_gate()
199 if (setup->flags & CLKF_NO_WAIT) in ti_clk_build_component_gate()
[all …]
Dmux.c138 struct clk *ti_clk_register_mux(struct ti_clk *setup) in ti_clk_register_mux() argument
149 mux = setup->data; in ti_clk_register_mux()
166 return _register_mux(NULL, setup->name, mux->parents, mux->num_parents, in ti_clk_register_mux()
230 struct clk_hw *ti_clk_build_component_mux(struct ti_clk_mux *setup) in ti_clk_build_component_mux() argument
236 if (!setup) in ti_clk_build_component_mux()
245 mux->shift = setup->bit_shift; in ti_clk_build_component_mux()
247 reg->index = setup->module; in ti_clk_build_component_mux()
248 reg->offset = setup->reg; in ti_clk_build_component_mux()
250 if (setup->flags & CLKF_INDEX_STARTS_AT_ONE) in ti_clk_build_component_mux()
253 num_parents = setup->num_parents; in ti_clk_build_component_mux()
/drivers/isdn/gigaset/
Di4l.c223 cntrl->parm.setup.phone, cntrl->parm.setup.eazmsn, in command_from_LL()
224 cntrl->parm.setup.si1, cntrl->parm.setup.si2); in command_from_LL()
253 l = 3 + strlen(cntrl->parm.setup.phone); in command_from_LL()
257 if (cntrl->parm.setup.phone[0] == '*' && in command_from_LL()
258 cntrl->parm.setup.phone[1] == '*') { in command_from_LL()
264 "D%s\r", cntrl->parm.setup.phone + 2); in command_from_LL()
270 "D%s\r", cntrl->parm.setup.phone); in command_from_LL()
273 l = strlen(cntrl->parm.setup.eazmsn); in command_from_LL()
280 cntrl->parm.setup.eazmsn); in command_from_LL()
283 switch (cntrl->parm.setup.si1) { in command_from_LL()
[all …]
/drivers/staging/i4l/pcbit/
Dcallbacks.c52 cbdata->data.setup.CalledPN); in cb_out_1()
59 if ((len = capi_conn_req(cbdata->data.setup.CalledPN, &skb, in cb_out_1()
147 if (cbdata->data.setup.CallingPN == NULL) { in cb_in_1()
149 strcpy(ictl.parm.setup.phone, "0"); in cb_in_1()
152 strcpy(ictl.parm.setup.phone, cbdata->data.setup.CallingPN); in cb_in_1()
154 if (cbdata->data.setup.CalledPN == NULL) { in cb_in_1()
156 strcpy(ictl.parm.setup.eazmsn, "0"); in cb_in_1()
159 strcpy(ictl.parm.setup.eazmsn, cbdata->data.setup.CalledPN); in cb_in_1()
161 ictl.parm.setup.si1 = 7; in cb_in_1()
162 ictl.parm.setup.si2 = 0; in cb_in_1()
[all …]
/drivers/ata/
Dpata_at91.c64 struct regmap_field *setup; member
119 int *setup, int *pulse, int *cycle, int *cs_pulse) in calc_smc_vals() argument
138 ret_val = adjust_smc_value(setup, range_setup, ARRAY_SIZE(range_setup)); in calc_smc_vals()
180 static void to_smc_format(int *setup, int *pulse, int *cycle, int *cs_pulse) in to_smc_format() argument
182 *setup = (*setup & 0x1f) | ((*setup & 0x80) >> 2); in to_smc_format()
221 unsigned int setup; /* SMC Setup width in MCK ticks */ in set_smc_timing() local
230 setup = calc_mck_cycles(ata->setup, mck_hz); in set_smc_timing()
235 ret = calc_smc_vals(dev, &setup, &pulse, &cycle, &cs_pulse); in set_smc_timing()
242 setup, pulse, cycle, cs_pulse); in set_smc_timing()
243 to_smc_format(&setup, &pulse, &cycle, &cs_pulse); in set_smc_timing()
[all …]
/drivers/net/wireless/intersil/p54/
Dfwio.c321 struct p54_setup_mac *setup; in p54_setup_mac() local
324 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*setup), in p54_setup_mac()
329 setup = (struct p54_setup_mac *) skb_put(skb, sizeof(*setup)); in p54_setup_mac()
361 setup->mac_mode = cpu_to_le16(mode); in p54_setup_mac()
362 memcpy(setup->mac_addr, priv->mac_addr, ETH_ALEN); in p54_setup_mac()
363 memcpy(setup->bssid, priv->bssid, ETH_ALEN); in p54_setup_mac()
364 setup->rx_antenna = 2 & priv->rx_diversity_mask; /* automatic */ in p54_setup_mac()
365 setup->rx_align = 0; in p54_setup_mac()
367 setup->v1.basic_rate_mask = cpu_to_le32(priv->basic_rate_mask); in p54_setup_mac()
368 memset(setup->v1.rts_rates, 0, 8); in p54_setup_mac()
[all …]
/drivers/acpi/acpica/
Devhandler.c365 acpi_adr_space_setup setup, void *context) in acpi_ev_install_space_handler() argument
393 setup = acpi_ev_system_memory_region_setup; in acpi_ev_install_space_handler()
399 setup = acpi_ev_io_space_region_setup; in acpi_ev_install_space_handler()
405 setup = acpi_ev_pci_config_region_setup; in acpi_ev_install_space_handler()
411 setup = acpi_ev_cmos_region_setup; in acpi_ev_install_space_handler()
417 setup = acpi_ev_pci_bar_region_setup; in acpi_ev_install_space_handler()
423 setup = NULL; in acpi_ev_install_space_handler()
435 if (!setup) { in acpi_ev_install_space_handler()
436 setup = acpi_ev_default_region_setup; in acpi_ev_install_space_handler()
532 handler_obj->address_space.setup = setup; in acpi_ev_install_space_handler()
/drivers/usb/usbip/
Dvudc_transfer.c71 struct usb_ctrlrequest *setup, in handle_control_request() argument
79 w_index = le16_to_cpu(setup->wIndex); in handle_control_request()
80 w_value = le16_to_cpu(setup->wValue); in handle_control_request()
81 switch (setup->bRequest) { in handle_control_request()
83 if (setup->bRequestType != DEV_REQUEST) in handle_control_request()
90 if (setup->bRequestType == DEV_REQUEST) { in handle_control_request()
111 } else if (setup->bRequestType == EP_REQUEST) { in handle_control_request()
124 if (setup->bRequestType == DEV_REQUEST) { in handle_control_request()
144 } else if (setup->bRequestType == EP_REQUEST) { in handle_control_request()
158 if (setup->bRequestType == DEV_INREQUEST in handle_control_request()
[all …]
/drivers/acpi/
Dacpi_apd.c46 int (*setup)(struct apd_private_data *pdata); member
76 .setup = acpi_apd_setup,
88 .setup = acpi_apd_setup,
96 .setup = acpi_apd_setup,
101 .setup = acpi_apd_setup,
136 if (dev_desc->setup) { in acpi_apd_create_device()
137 ret = dev_desc->setup(pdata); in acpi_apd_create_device()
/drivers/isdn/divert/
Disdn_divert.c80 strlcpy(cs->ics.parm.setup.phone, cs->deflect_dest, sizeof(cs->ics.parm.setup.phone)); in deflect_timer_expire()
81 strcpy(cs->ics.parm.setup.eazmsn, "Testtext delayed"); in deflect_timer_expire()
253 strlcpy(cs->ics.parm.setup.phone, to_nr, sizeof(cs->ics.parm.setup.phone)); in deflect_extern_action()
254 strcpy(cs->ics.parm.setup.eazmsn, "Testtext manual"); in deflect_extern_action()
402 if ((dv->rule.si1) && (dv->rule.si1 != ic->parm.setup.si1)) in isdn_divert_icall()
404 if ((dv->rule.si2) && (dv->rule.si2 != ic->parm.setup.si2)) in isdn_divert_icall()
408 p1 = ic->parm.setup.eazmsn; in isdn_divert_icall()
424 (ic->parm.setup.phone[0])) { in isdn_divert_icall()
426 p1 = ic->parm.setup.phone; in isdn_divert_icall()
461 if (!cs->ics.parm.setup.phone[0]) strcpy(cs->ics.parm.setup.phone, "0"); in isdn_divert_icall()
[all …]
/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c78 struct rdma_cq_op setup; in cxio_hal_cq_op() local
79 setup.id = cq->cqid; in cxio_hal_cq_op()
80 setup.credits = (op == CQ_CREDIT_UPDATE) ? credit : 0; in cxio_hal_cq_op()
81 setup.op = op; in cxio_hal_cq_op()
82 ret = rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_CQ_OP, &setup); in cxio_hal_cq_op()
127 struct rdma_cq_setup setup; in cxio_hal_clear_cq_ctx() local
128 setup.id = cqid; in cxio_hal_clear_cq_ctx()
129 setup.base_addr = 0; /* NULL address */ in cxio_hal_clear_cq_ctx()
130 setup.size = 0; /* disaable the CQ */ in cxio_hal_clear_cq_ctx()
131 setup.credits = 0; in cxio_hal_clear_cq_ctx()
[all …]
/drivers/net/arcnet/
Dcom20020.c102 lp->setup = lp->clockm ? 0 : (lp->clockp << 1); in com20020_check()
107 lp->setup = lp->setup | P1MODE; in com20020_check()
110 arcnet_outb(lp->setup, ioaddr, COM20020_REG_W_XREG); in com20020_check()
226 arcnet_outb(lp->setup, ioaddr, COM20020_REG_W_XREG); in com20020_found()
262 lp->setup >> 1, in com20020_found()
265 ((lp->setup & 0x0F) >> 1)]); in com20020_found()
381 if (!(lp->setup & PROMISCset)) in com20020_set_mc_list()
384 lp->setup |= PROMISCset; in com20020_set_mc_list()
385 arcnet_outb(lp->setup, ioaddr, COM20020_REG_W_XREG); in com20020_set_mc_list()
388 if ((lp->setup & PROMISCset)) in com20020_set_mc_list()
[all …]
/drivers/hwmon/
Dshtc1.c59 struct shtc1_platform_data setup; member
81 if (!data->setup.blocking_io) in shtc1_update_values()
166 if (data->setup.high_precision) { in shtc1_select_command()
167 data->command = data->setup.blocking_io ? in shtc1_select_command()
173 data->command = data->setup.blocking_io ? in shtc1_select_command()
214 data->setup.blocking_io = false; in shtc1_probe()
215 data->setup.high_precision = true; in shtc1_probe()
219 data->setup = *(struct shtc1_platform_data *)dev->platform_data; in shtc1_probe()
/drivers/spi/
Dspi-pxa2xx-pci.c38 int (*setup)(struct pci_dev *pdev, struct pxa_spi_info *c); member
125 .setup = lpss_spi_setup,
132 .setup = lpss_spi_setup,
139 .setup = lpss_spi_setup,
146 .setup = lpss_spi_setup,
153 .setup = mrfld_spi_setup,
164 .setup = lpss_spi_setup,
190 if (c->setup) { in pxa2xx_spi_pci_probe()
191 ret = c->setup(dev, c); in pxa2xx_spi_pci_probe()
/drivers/tty/serial/8250/
D8250_pci.c43 int (*setup)(struct serial_private *, member
1866 .setup = addidata_apci7800_setup,
1877 .setup = afavlab_setup,
1888 .setup = pci_hp_diva_setup,
1899 .setup = pci_default_setup,
1906 .setup = skip_tx_en_setup,
1913 .setup = skip_tx_en_setup,
1920 .setup = skip_tx_en_setup,
1927 .setup = ce4100_serial_setup,
1934 .setup = kt_serial_setup,
[all …]
/drivers/net/ethernet/dec/tulip/
Dmedia.c190 u16 setup[5]; in tulip_select_media() local
193 setup[i] = get_u16(&p[i*2 + 1]); in tulip_select_media()
210 setup[0], setup[1]); in tulip_select_media()
212 csr13val = setup[0]; in tulip_select_media()
213 csr14val = setup[1]; in tulip_select_media()
214 csr15dir = (setup[3]<<16) | setup[2]; in tulip_select_media()
215 csr15val = (setup[4]<<16) | setup[2]; in tulip_select_media()
224 csr15dir = (setup[0]<<16) | 0x0008; in tulip_select_media()
225 csr15val = (setup[1]<<16) | 0x0008; in tulip_select_media()
240 new_csr6 = 0x82020000 | ((setup[2] & 0x71) << 18); in tulip_select_media()
[all …]
/drivers/isdn/isdnloop/
Disdnloop.c122 isdnloop_parse_setup(char *setup, isdn_ctrl *cmd) in isdnloop_parse_setup() argument
124 char *t = setup; in isdnloop_parse_setup()
128 strlcpy(cmd->parm.setup.phone, t, sizeof(cmd->parm.setup.phone)); in isdnloop_parse_setup()
132 cmd->parm.setup.si1 = 0; in isdnloop_parse_setup()
134 cmd->parm.setup.si1 = simple_strtoul(t, NULL, 10); in isdnloop_parse_setup()
138 cmd->parm.setup.si2 = 0; in isdnloop_parse_setup()
140 cmd->parm.setup.si2 = in isdnloop_parse_setup()
142 strlcpy(cmd->parm.setup.eazmsn, s, sizeof(cmd->parm.setup.eazmsn)); in isdnloop_parse_setup()
143 cmd->parm.setup.plan = 0; in isdnloop_parse_setup()
144 cmd->parm.setup.screen = 0; in isdnloop_parse_setup()
[all …]
/drivers/i2c/
Di2c-smbus.c139 struct i2c_smbus_alert_setup *setup = dev_get_platdata(&ara->dev); in smbalert_probe() local
149 alert->alert_edge_triggered = setup->alert_edge_triggered; in smbalert_probe()
150 alert->irq = setup->irq; in smbalert_probe()
154 if (setup->irq > 0) { in smbalert_probe()
155 res = devm_request_irq(&ara->dev, setup->irq, smbalert_irq, in smbalert_probe()
163 setup->alert_edge_triggered ? "edge" : "level"); in smbalert_probe()
213 struct i2c_smbus_alert_setup *setup) in i2c_setup_smbus_alert() argument
217 .platform_data = setup, in i2c_setup_smbus_alert()

12345678910>>...20