Home
last modified time | relevance | path

Searched refs:mesg (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.12.1/drivers/spi/
Dspi-sh.c150 static int spi_sh_send(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_send() argument
197 if (list_is_last(&t->transfer_list, &mesg->transfers)) { in spi_sh_send()
215 static int spi_sh_receive(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_receive() argument
272 struct spi_message *mesg) in spi_sh_transfer_one_message() argument
282 list_for_each_entry(t, &mesg->transfers, transfer_list) { in spi_sh_transfer_one_message()
289 ret = spi_sh_send(ss, mesg, t); in spi_sh_transfer_one_message()
294 ret = spi_sh_receive(ss, mesg, t); in spi_sh_transfer_one_message()
298 mesg->actual_length += t->len; in spi_sh_transfer_one_message()
301 mesg->status = 0; in spi_sh_transfer_one_message()
316 mesg->status = ret; in spi_sh_transfer_one_message()
[all …]
Dspi-fsi.c425 struct spi_message *mesg) in fsi_spi_transfer_one_message() argument
428 u8 seq_slave = SPI_FSI_SEQUENCE_SEL_SLAVE(spi_get_chipselect(mesg->spi, 0) + 1); in fsi_spi_transfer_one_message()
437 list_for_each_entry(transfer, &mesg->transfers, transfer_list) { in fsi_spi_transfer_one_message()
465 &mesg->transfers)) { in fsi_spi_transfer_one_message()
507 mesg->status = rc; in fsi_spi_transfer_one_message()
Dspi.c2150 struct spi_message *mesg; in spi_finalize_current_message() local
2153 mesg = ctlr->cur_msg; in spi_finalize_current_message()
2156 list_for_each_entry(xfer, &mesg->transfers, transfer_list) { in spi_finalize_current_message()
2163 list_for_each_entry(xfer, &mesg->transfers, transfer_list) in spi_finalize_current_message()
2166 spi_unmap_msg(ctlr, mesg); in spi_finalize_current_message()
2168 if (mesg->prepared && ctlr->unprepare_message) { in spi_finalize_current_message()
2169 ret = ctlr->unprepare_message(ctlr, mesg); in spi_finalize_current_message()
2176 mesg->prepared = false; in spi_finalize_current_message()
2178 spi_maybe_unoptimize_message(mesg); in spi_finalize_current_message()
2185 trace_spi_message_done(mesg); in spi_finalize_current_message()
[all …]
Dspi-pic32-sqi.c258 struct spi_message *mesg, in pic32_sqi_one_transfer() argument
261 struct spi_device *spi = mesg->spi; in pic32_sqi_one_transfer()
/linux-6.12.1/fs/nfsd/
Dexport.c78 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse() argument
90 if (mesg[mlen - 1] != '\n') in expkey_parse()
92 mesg[mlen-1] = 0; in expkey_parse()
100 if (qword_get(&mesg, buf, PAGE_SIZE) <= 0) in expkey_parse()
110 if (qword_get(&mesg, buf, PAGE_SIZE) <= 0) in expkey_parse()
118 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
126 err = get_expiry(&mesg, &key.h.expiry_time); in expkey_parse()
141 len = qword_get(&mesg, buf, PAGE_SIZE); in expkey_parse()
455 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument
465 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse()
[all …]
Dnfsctl.c322 char *mesg = buf; in write_filehandle() local
334 dname = mesg; in write_filehandle()
335 len = qword_get(&mesg, dname, size); in write_filehandle()
340 len = qword_get(&mesg, path, size); in write_filehandle()
344 len = get_int(&mesg, &maxsize); in write_filehandle()
352 if (qword_get(&mesg, mesg, size) > 0) in write_filehandle()
367 mesg = buf; in write_filehandle()
369 qword_addhex(&mesg, &len, fh.fh_raw, fh.fh_size); in write_filehandle()
370 mesg[-1] = '\n'; in write_filehandle()
371 return mesg - buf; in write_filehandle()
[all …]
/linux-6.12.1/net/atm/
Dlec.c143 struct atmlec_msg *mesg; in lec_handle_bridge() local
149 mesg = (struct atmlec_msg *)skb2->data; in lec_handle_bridge()
150 mesg->type = l_topology_change; in lec_handle_bridge()
152 mesg->content.normal.flag = *buff & 0x01; in lec_handle_bridge()
347 struct atmlec_msg *mesg; in lec_atm_send() local
352 mesg = (struct atmlec_msg *)skb->data; in lec_atm_send()
355 pr_debug("%s: msg from zeppelin:%d\n", dev->name, mesg->type); in lec_atm_send()
356 switch (mesg->type) { in lec_atm_send()
358 eth_hw_addr_set(dev, mesg->content.normal.mac_addr); in lec_atm_send()
364 lec_addr_delete(priv, mesg->content.normal.atm_addr, in lec_atm_send()
[all …]
Dmpc.c78 static void set_mpc_ctrl_addr_rcvd(struct k_message *mesg,
80 static void set_mps_mac_addr_rcvd(struct k_message *mesg,
860 struct k_message mesg; in send_set_mps_ctrl_addr() local
864 mesg.type = SET_MPS_CTRL_ADDR; in send_set_mps_ctrl_addr()
865 memcpy(mesg.MPS_ctrl, addr, ATM_ESA_LEN); in send_set_mps_ctrl_addr()
866 msg_to_mpoad(&mesg, mpc); in send_set_mps_ctrl_addr()
912 struct k_message *mesg = (struct k_message *)skb->data; in msg_from_mpoad() local
920 switch (mesg->type) { in msg_from_mpoad()
923 MPOA_res_reply_rcvd(mesg, mpc); in msg_from_mpoad()
927 MPOA_trigger_rcvd(mesg, mpc); in msg_from_mpoad()
[all …]
/linux-6.12.1/drivers/misc/sgi-gru/
Dgrukservices.c578 void *mesg) in send_noop_message() argument
584 struct message_header save_mhdr, *mhdr = mesg; in send_noop_message()
614 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, 1, 1, in send_noop_message()
636 void *mesg, int lines) in send_message_queue_full() argument
667 if (send_noop_message(cb, mqd, mesg)) { in send_message_queue_full()
705 void *mesg, int lines) in send_message_put_nacked() argument
716 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, lines, 1, IMA); in send_message_put_nacked()
732 ret = send_noop_message(cb, mqd, mesg); in send_message_put_nacked()
753 void *mesg, int lines) in send_message_failure() argument
769 ret = send_message_queue_full(cb, mqd, mesg, lines); in send_message_failure()
[all …]
Dgrukservices.h82 void *mesg, unsigned int bytes);
/linux-6.12.1/net/netfilter/ipvs/
Dip_vs_sync.c275 struct ip_vs_sync_mesg *mesg; member
338 sb->mesg = kmalloc(len, GFP_ATOMIC); in ip_vs_sync_buff_create()
339 if (!sb->mesg) { in ip_vs_sync_buff_create()
343 sb->mesg->reserved = 0; /* old nr_conns i.e. must be zero now */ in ip_vs_sync_buff_create()
344 sb->mesg->version = SYNC_PROTO_VER; in ip_vs_sync_buff_create()
345 sb->mesg->syncid = ipvs->mcfg.syncid; in ip_vs_sync_buff_create()
346 sb->mesg->size = htons(sizeof(struct ip_vs_sync_mesg)); in ip_vs_sync_buff_create()
347 sb->mesg->nr_conns = 0; in ip_vs_sync_buff_create()
348 sb->mesg->spare = 0; in ip_vs_sync_buff_create()
349 sb->head = (unsigned char *)sb->mesg + sizeof(struct ip_vs_sync_mesg); in ip_vs_sync_buff_create()
[all …]
/linux-6.12.1/net/sunrpc/
Dsvcauth_unix.c179 char *mesg, int mlen) in ip_map_parse() argument
184 char *buf = mesg; in ip_map_parse()
199 if (mesg[mlen-1] != '\n') in ip_map_parse()
201 mesg[mlen-1] = 0; in ip_map_parse()
204 len = qword_get(&mesg, class, sizeof(class)); in ip_map_parse()
208 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
229 err = get_expiry(&mesg, &expiry); in ip_map_parse()
234 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
488 char *mesg, int mlen) in unix_gid_parse() argument
500 if (mesg[mlen - 1] != '\n') in unix_gid_parse()
[all …]
/linux-6.12.1/drivers/iio/dac/
Dti-dac082s085.c52 struct spi_message mesg; member
72 return spi_sync(ti_dac->mesg.spi, &ti_dac->mesg); in ti_dac_cmd()
281 spi_message_init_with_transfers(&ti_dac->mesg, &ti_dac->xfer, 1); in ti_dac_probe()
282 ti_dac->mesg.spi = spi; in ti_dac_probe()
/linux-6.12.1/drivers/ata/
Dacard-ahci.c65 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg);
112 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in acard_ahci_pci_device_suspend() argument
119 if (mesg.event & PM_EVENT_SUSPEND && in acard_ahci_pci_device_suspend()
126 if (mesg.event & PM_EVENT_SLEEP) { in acard_ahci_pci_device_suspend()
137 return ata_pci_device_suspend(pdev, mesg); in acard_ahci_pci_device_suspend()
Dpata_triflex.c198 static int triflex_ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in triflex_ata_pci_device_suspend() argument
202 ata_host_suspend(host, mesg); in triflex_ata_pci_device_suspend()
Dpata_cs5520.c253 static int cs5520_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in cs5520_pci_device_suspend() argument
257 ata_host_suspend(host, mesg); in cs5520_pci_device_suspend()
Dpata_macio.c871 static int pata_macio_do_suspend(struct pata_macio_priv *priv, pm_message_t mesg) in pata_macio_do_suspend() argument
874 ata_host_suspend(priv->host, mesg); in pata_macio_do_suspend()
1223 static int pata_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pata_macio_suspend() argument
1227 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_suspend()
1327 static int pata_macio_pci_suspend(struct pci_dev *pdev, pm_message_t mesg) in pata_macio_pci_suspend() argument
1331 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_pci_suspend()
Data_piix.c992 static int piix_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in piix_pci_device_suspend() argument
997 ata_host_suspend(host, mesg); in piix_pci_device_suspend()
1004 if (piix_broken_suspend() && (mesg.event & PM_EVENT_SLEEP)) { in piix_pci_device_suspend()
1019 ata_pci_device_do_suspend(pdev, mesg); in piix_pci_device_suspend()
Dlibata-core.c5096 static void ata_port_request_pm(struct ata_port *ap, pm_message_t mesg, in ata_port_request_pm() argument
5116 ap->pm_mesg = mesg; in ata_port_request_pm()
5131 static void ata_port_suspend(struct ata_port *ap, pm_message_t mesg, in ata_port_suspend() argument
5150 ata_port_request_pm(ap, mesg, 0, in ata_port_suspend()
5185 static void ata_port_resume(struct ata_port *ap, pm_message_t mesg, in ata_port_resume() argument
5188 ata_port_request_pm(ap, mesg, ATA_EH_RESET, in ata_port_resume()
5273 void ata_host_suspend(struct ata_host *host, pm_message_t mesg) in ata_host_suspend() argument
5275 host->dev->power.power_state = mesg; in ata_host_suspend()
6175 void ata_pci_device_do_suspend(struct pci_dev *pdev, pm_message_t mesg) in ata_pci_device_do_suspend() argument
6180 if (mesg.event & PM_EVENT_SLEEP) in ata_pci_device_do_suspend()
[all …]
/linux-6.12.1/net/sunrpc/auth_gss/
Dsvcauth_gss.c226 char *mesg, int mlen) in rsi_parse() argument
229 char *buf = mesg; in rsi_parse()
238 len = qword_get(&mesg, buf, mlen); in rsi_parse()
246 len = qword_get(&mesg, buf, mlen); in rsi_parse()
260 status = get_expiry(&mesg, &expiry); in rsi_parse()
266 len = qword_get(&mesg, buf, mlen); in rsi_parse()
272 len = qword_get(&mesg, buf, mlen); in rsi_parse()
280 len = qword_get(&mesg, buf, mlen); in rsi_parse()
288 len = qword_get(&mesg, buf, mlen); in rsi_parse()
465 char *mesg, int mlen) in rsc_parse() argument
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-max3191x.c81 struct spi_message mesg; member
130 val = spi_sync(spi, &max3191x->mesg); in max3191x_readout_locked()
417 spi_message_init_with_transfers(&max3191x->mesg, &max3191x->xfer, 1); in max3191x_probe()
/linux-6.12.1/drivers/video/fbdev/nvidia/
Dnvidia.c1045 static int nvidiafb_suspend_late(struct device *dev, pm_message_t mesg) in nvidiafb_suspend_late() argument
1050 if (mesg.event == PM_EVENT_PRETHAW) in nvidiafb_suspend_late()
1051 mesg.event = PM_EVENT_FREEZE; in nvidiafb_suspend_late()
1053 par->pm_state = mesg.event; in nvidiafb_suspend_late()
1055 if (mesg.event & PM_EVENT_SLEEP) { in nvidiafb_suspend_late()
1060 dev->power.power_state = mesg; in nvidiafb_suspend_late()
/linux-6.12.1/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c1298 char mesg[64]; in qlcnic_dump_fw() local
1299 char *msg[] = {mesg, NULL}; in qlcnic_dump_fw()
1390 snprintf(mesg, sizeof(mesg), "FW_DUMP=%s", adapter->netdev->name); in qlcnic_dump_fw()
/linux-6.12.1/include/linux/spi/
Dspi.h672 struct spi_message *mesg);
721 struct spi_message *mesg);
/linux-6.12.1/drivers/video/fbdev/savage/
Dsavagefb_driver.c2361 static int savagefb_suspend_late(struct device *dev, pm_message_t mesg) in savagefb_suspend_late() argument
2368 if (mesg.event == PM_EVENT_PRETHAW) in savagefb_suspend_late()
2369 mesg.event = PM_EVENT_FREEZE; in savagefb_suspend_late()
2370 par->pm_state = mesg.event; in savagefb_suspend_late()
2371 dev->power.power_state = mesg; in savagefb_suspend_late()
2377 if (mesg.event == PM_EVENT_FREEZE) in savagefb_suspend_late()

12